]>
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] | |
1e0c8722 RD |
214 | #define SWIGTYPE_p_wxPyPanel swig_types[3] |
215 | #define SWIGTYPE_p_wxMenu swig_types[4] | |
f5b96ee1 RD |
216 | #define SWIGTYPE_p_wxFontData swig_types[5] |
217 | #define SWIGTYPE_p_wxEvent swig_types[6] | |
218 | #define SWIGTYPE_p_wxPrintData swig_types[7] | |
1e0c8722 | 219 | #define SWIGTYPE_p_wxTaskBarIcon swig_types[8] |
5e483524 RD |
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_wxTextEntryDialog 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_wxPrinter swig_types[35] | |
247 | #define SWIGTYPE_p_wxArrayInt swig_types[36] | |
248 | #define SWIGTYPE_p_wxEvtHandler swig_types[37] | |
249 | #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[38] | |
250 | #define SWIGTYPE_p_wxPyHtmlListBox swig_types[39] | |
251 | #define SWIGTYPE_p_wxPyVListBox swig_types[40] | |
252 | #define SWIGTYPE_p_wxRect swig_types[41] | |
253 | #define SWIGTYPE_p_char swig_types[42] | |
254 | #define SWIGTYPE_p_wxMiniFrame swig_types[43] | |
255 | #define SWIGTYPE_p_wxFrame swig_types[44] | |
256 | #define SWIGTYPE_p_wxPyPrintout swig_types[45] | |
257 | #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[46] | |
258 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[47] | |
259 | #define SWIGTYPE_p_wxStatusBar swig_types[48] | |
260 | #define SWIGTYPE_p_wxMDIParentFrame swig_types[49] | |
261 | #define SWIGTYPE_p_wxPoint swig_types[50] | |
262 | #define SWIGTYPE_p_wxObject swig_types[51] | |
263 | #define SWIGTYPE_p_wxOutputStream swig_types[52] | |
09c21d3b RD |
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] | |
f5b96ee1 RD |
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] | |
09c21d3b | 276 | #define SWIGTYPE_p_wxMenuBar swig_types[65] |
5e483524 RD |
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); | |
d14a1e28 RD |
618 | |
619 | ||
7722248d RD |
620 | wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){ |
621 | wxRect r; | |
622 | self->GetFieldRect(i, r); | |
623 | return r; | |
624 | } | |
33b885b9 RD |
625 | static const wxString wxPySplitterNameStr(wxT("splitter")); |
626 | static const wxString wxPySashNameStr(wxT("sashWindow")); | |
627 | static const wxString wxPySashLayoutNameStr(wxT("layoutWindow")); | |
d14a1e28 RD |
628 | |
629 | #include <wx/popupwin.h> | |
630 | ||
631 | ||
632 | class wxPyPopupTransientWindow : public wxPopupTransientWindow | |
633 | { | |
634 | public: | |
635 | wxPyPopupTransientWindow() : wxPopupTransientWindow() {} | |
636 | wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE) | |
637 | : wxPopupTransientWindow(parent, style) {} | |
638 | ||
639 | DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown); | |
640 | DEC_PYCALLBACK__(OnDismiss); | |
641 | DEC_PYCALLBACK_BOOL_(CanDismiss); | |
642 | PYPRIVATE; | |
643 | }; | |
644 | ||
645 | ||
646 | IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown); | |
647 | IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss); | |
648 | IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss); | |
649 | ||
650 | ||
651 | #include <wx/tipwin.h> | |
652 | ||
fd3f2efe RD |
653 | wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){ |
654 | return new wxTipWindow(parent, text, maxLength, NULL, rectBound); | |
d14a1e28 RD |
655 | } |
656 | ||
657 | #include <wx/tipwin.h> | |
658 | ||
659 | ||
660 | #include <wx/vscroll.h> | |
661 | ||
662 | ||
663 | class wxPyVScrolledWindow : public wxVScrolledWindow | |
664 | { | |
665 | DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow); | |
666 | public: | |
667 | wxPyVScrolledWindow() : wxVScrolledWindow() {} | |
668 | ||
669 | wxPyVScrolledWindow(wxWindow *parent, | |
670 | wxWindowID id = wxID_ANY, | |
671 | const wxPoint& pos = wxDefaultPosition, | |
672 | const wxSize& size = wxDefaultSize, | |
673 | long style = 0, | |
674 | const wxString& name = wxPyPanelNameStr) | |
675 | : wxVScrolledWindow(parent, id, pos, size, style, name) | |
676 | {} | |
677 | ||
678 | // Overridable virtuals | |
679 | ||
680 | // this function must be overridden in the derived class and it should | |
681 | // return the height of the given line in pixels | |
682 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight); | |
683 | ||
684 | ||
685 | // this function doesn't have to be overridden but it may be useful to do | |
686 | // it if calculating the lines heights is a relatively expensive operation | |
687 | // as it gives the user code a possibility to calculate several of them at | |
688 | // once | |
689 | // | |
690 | // OnGetLinesHint() is normally called just before OnGetLineHeight() but you | |
691 | // shouldn't rely on the latter being called for all lines in the interval | |
692 | // specified here. It is also possible that OnGetLineHeight() will be | |
693 | // called for the lines outside of this interval, so this is really just a | |
694 | // hint, not a promise. | |
695 | // | |
696 | // finally note that lineMin is inclusive, while lineMax is exclusive, as | |
697 | // usual | |
698 | DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint); | |
699 | ||
700 | ||
701 | // when the number of lines changes, we try to estimate the total height | |
702 | // of all lines which is a rather expensive operation in terms of lines | |
703 | // access, so if the user code may estimate the average height | |
704 | // better/faster than we do, it should override this function to implement | |
705 | // its own logic | |
706 | // | |
707 | // this function should return the best guess for the total height it may | |
708 | // make | |
709 | DEC_PYCALLBACK_COORD_const(EstimateTotalHeight); | |
710 | ||
711 | ||
712 | // Also expose some other interesting protected methods | |
713 | ||
714 | ||
715 | // find the index of the line we need to show at the top of the window such | |
716 | // that the last (fully or partially) visible line is the given one | |
ae8162c8 | 717 | size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false) |
d14a1e28 RD |
718 | { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); } |
719 | ||
720 | // get the total height of the lines between lineMin (inclusive) and | |
721 | // lineMax (exclusive) | |
722 | wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const | |
723 | { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); } | |
724 | ||
725 | ||
726 | PYPRIVATE; | |
727 | }; | |
728 | ||
729 | IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow); | |
730 | ||
731 | IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight); | |
732 | IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint); | |
733 | IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight); | |
734 | ||
735 | ||
c32bde28 RD |
736 | // See my_fragments.i |
737 | SWIGSTATICINLINE(int) | |
738 | SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val) | |
15afbcd0 | 739 | { |
c32bde28 RD |
740 | long v = 0; |
741 | if (SWIG_AsVal_long(obj, &v) && v < 0) { | |
742 | PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type"); | |
743 | return 0; | |
15afbcd0 | 744 | } |
c32bde28 RD |
745 | else if (val) |
746 | *val = (unsigned long)v; | |
747 | return 1; | |
15afbcd0 RD |
748 | } |
749 | ||
750 | ||
c32bde28 RD |
751 | SWIGSTATICINLINE(unsigned long) |
752 | SWIG_As_unsigned_SS_long(PyObject* obj) | |
15afbcd0 | 753 | { |
c32bde28 RD |
754 | unsigned long v; |
755 | if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) { | |
756 | /* | |
757 | this is needed to make valgrind/purify happier. the other | |
758 | solution is throw an exception, but since this code should work | |
759 | with plain C .... | |
760 | */ | |
761 | memset((void*)&v, 0, sizeof(unsigned long)); | |
15afbcd0 | 762 | } |
c32bde28 RD |
763 | return v; |
764 | } | |
765 | ||
766 | ||
767 | SWIGSTATICINLINE(int) | |
768 | SWIG_Check_unsigned_SS_long(PyObject* obj) | |
769 | { | |
770 | return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0); | |
15afbcd0 RD |
771 | } |
772 | ||
773 | ||
774 | SWIGSTATICINLINE(PyObject* ) | |
c32bde28 | 775 | SWIG_From_unsigned_SS_long(unsigned long value) |
994141e6 | 776 | { |
15afbcd0 RD |
777 | return (value > LONG_MAX) ? |
778 | PyLong_FromUnsignedLong(value) | |
c32bde28 | 779 | : PyInt_FromLong(swig_numeric_cast(value,long)); |
994141e6 RD |
780 | } |
781 | ||
782 | ||
d14a1e28 | 783 | #include <wx/vlbox.h> |
d14a1e28 | 784 | |
b2dc1044 | 785 | static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr); |
d14a1e28 RD |
786 | |
787 | class wxPyVListBox : public wxVListBox | |
788 | { | |
789 | DECLARE_ABSTRACT_CLASS(wxPyVListBox); | |
790 | public: | |
791 | wxPyVListBox() : wxVListBox() {} | |
792 | ||
793 | wxPyVListBox(wxWindow *parent, | |
794 | wxWindowID id = wxID_ANY, | |
795 | const wxPoint& pos = wxDefaultPosition, | |
796 | const wxSize& size = wxDefaultSize, | |
797 | long style = 0, | |
798 | const wxString& name = wxPyVListBoxNameStr) | |
799 | : wxVListBox(parent, id, pos, size, style, name) | |
800 | {} | |
801 | ||
802 | // Overridable virtuals | |
803 | ||
804 | // the derived class must implement this function to actually draw the item | |
805 | // with the given index on the provided DC | |
806 | // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0; | |
807 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem); | |
808 | ||
809 | ||
810 | // the derived class must implement this method to return the height of the | |
811 | // specified item | |
812 | // virtual wxCoord OnMeasureItem(size_t n) const = 0; | |
813 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem); | |
814 | ||
815 | ||
816 | // this method may be used to draw separators between the lines; note that | |
817 | // the rectangle may be modified, typically to deflate it a bit before | |
818 | // passing to OnDrawItem() | |
819 | // | |
820 | // the base class version doesn't do anything | |
821 | // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const; | |
822 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator); | |
823 | ||
824 | ||
825 | // this method is used to draw the items background and, maybe, a border | |
826 | // around it | |
827 | // | |
828 | // the base class version implements a reasonable default behaviour which | |
829 | // consists in drawing the selected item with the standard background | |
830 | // colour and drawing a border around the item if it is either selected or | |
831 | // current | |
832 | // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const; | |
833 | DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground); | |
834 | ||
835 | ||
836 | PYPRIVATE; | |
837 | }; | |
838 | ||
839 | IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox); | |
840 | ||
841 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem); | |
842 | IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem); | |
843 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator); | |
844 | IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground); | |
845 | ||
846 | ||
09c21d3b RD |
847 | PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){ |
848 | unsigned long cookie = 0; | |
849 | int selected = self->GetFirstSelected(cookie); | |
850 | bool blocked = wxPyBeginBlockThreads(); | |
851 | PyObject* tup = PyTuple_New(2); | |
852 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected)); | |
853 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie)); | |
854 | wxPyEndBlockThreads(blocked); | |
855 | return tup; | |
856 | } | |
857 | PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){ | |
858 | int selected = self->GetNextSelected(cookie); | |
859 | bool blocked = wxPyBeginBlockThreads(); | |
860 | PyObject* tup = PyTuple_New(2); | |
861 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected)); | |
862 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie)); | |
863 | wxPyEndBlockThreads(blocked); | |
864 | return tup; | |
865 | } | |
d14a1e28 RD |
866 | |
867 | #include <wx/htmllbox.h> | |
868 | ||
869 | ||
870 | class wxPyHtmlListBox : public wxHtmlListBox | |
871 | { | |
872 | DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox); | |
873 | public: | |
874 | wxPyHtmlListBox() : wxHtmlListBox() {} | |
875 | ||
876 | wxPyHtmlListBox(wxWindow *parent, | |
877 | wxWindowID id = wxID_ANY, | |
878 | const wxPoint& pos = wxDefaultPosition, | |
879 | const wxSize& size = wxDefaultSize, | |
880 | long style = 0, | |
881 | const wxString& name = wxPyVListBoxNameStr) | |
882 | : wxHtmlListBox(parent, id, pos, size, style, name) | |
883 | {} | |
884 | ||
885 | // Overridable virtuals | |
886 | ||
887 | // this method must be implemented in the derived class and should return | |
888 | // the body (i.e. without <html>) of the HTML for the given item | |
889 | DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem); | |
890 | ||
891 | // this function may be overridden to decorate HTML returned by OnGetItem() | |
892 | DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup); | |
893 | ||
894 | // TODO: | |
895 | // // this method allows to customize the selection appearance: it may be used | |
896 | // // to specify the colour of the text which normally has the given colour | |
897 | // // colFg when it is inside the selection | |
898 | // // | |
899 | // // by default, the original colour is not used at all and all text has the | |
900 | // // same (default for this system) colour inside selection | |
901 | // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const; | |
902 | ||
903 | // // this is the same as GetSelectedTextColour() but allows to customize the | |
904 | // // background colour -- this is even more rarely used as you can change it | |
905 | // // globally using SetSelectionBackground() | |
906 | // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const; | |
907 | ||
908 | ||
909 | PYPRIVATE; | |
910 | }; | |
911 | ||
912 | ||
913 | IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox) | |
914 | ||
915 | IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem); | |
916 | IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup); | |
917 | ||
918 | ||
919 | ||
920 | ||
921 | ||
ae8162c8 RD |
922 | #ifndef wxHAS_TASK_BAR_ICON |
923 | // implement dummy classes for platforms that don't have it | |
d14a1e28 RD |
924 | |
925 | class wxTaskBarIcon : public wxEvtHandler | |
926 | { | |
927 | public: | |
39f61e25 | 928 | wxTaskBarIcon() { wxPyRaiseNotImplemented(); } |
d14a1e28 | 929 | }; |
09c21d3b | 930 | |
d14a1e28 RD |
931 | |
932 | class wxTaskBarIconEvent : public wxEvent | |
933 | { | |
934 | public: | |
935 | wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *) | |
39f61e25 | 936 | { wxPyRaiseNotImplemented(); } |
d14a1e28 | 937 | virtual wxEvent* Clone() const { return NULL; } |
ae8162c8 RD |
938 | bool IsOk() const { return false; } |
939 | bool IsIconInstalled() const { return false; } | |
940 | bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; } | |
941 | bool RemoveIcon() { return false; } | |
942 | bool PopupMenu(wxMenu *menu) { return false; } | |
d14a1e28 RD |
943 | }; |
944 | ||
945 | enum { | |
946 | wxEVT_TASKBAR_MOVE = 0, | |
947 | wxEVT_TASKBAR_LEFT_DOWN = 0, | |
948 | wxEVT_TASKBAR_LEFT_UP = 0, | |
949 | wxEVT_TASKBAR_RIGHT_DOWN = 0, | |
950 | wxEVT_TASKBAR_RIGHT_UP = 0, | |
951 | wxEVT_TASKBAR_LEFT_DCLICK = 0, | |
952 | wxEVT_TASKBAR_RIGHT_DCLICK = 0, | |
953 | }; | |
09c21d3b RD |
954 | |
955 | ||
956 | #else | |
5e483524 RD |
957 | // Otherwise make a class that can virtualize CreatePopupMenu |
958 | class wxPyTaskBarIcon : public wxTaskBarIcon | |
959 | { | |
960 | DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon); | |
961 | public: | |
962 | wxPyTaskBarIcon() : wxTaskBarIcon() | |
963 | {} | |
964 | ||
965 | wxMenu* CreatePopupMenu() { | |
966 | wxMenu *rval = NULL; | |
967 | bool found; | |
968 | bool blocked = wxPyBeginBlockThreads(); | |
969 | if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) { | |
970 | PyObject* ro; | |
971 | wxMenu* ptr; | |
972 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); | |
973 | if (ro) { | |
974 | if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu"))) | |
975 | rval = ptr; | |
976 | Py_DECREF(ro); | |
977 | } | |
978 | } | |
979 | wxPyEndBlockThreads(blocked); | |
980 | if (! found) | |
981 | rval = wxTaskBarIcon::CreatePopupMenu(); | |
982 | return rval; | |
983 | } | |
984 | ||
985 | PYPRIVATE; | |
986 | }; | |
987 | ||
988 | IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon); | |
09c21d3b | 989 | |
d14a1e28 RD |
990 | #endif |
991 | ||
5e483524 | 992 | void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){ |
74a57fcd | 993 | self->RemoveIcon(); |
5e483524 | 994 | delete self; |
74a57fcd | 995 | } |
b2dc1044 RD |
996 | static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr); |
997 | static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr); | |
998 | static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr); | |
999 | static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr); | |
1000 | static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr); | |
1001 | static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr); | |
d14a1e28 RD |
1002 | PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){ |
1003 | wxArrayString arr; | |
1004 | self->GetFilenames(arr); | |
1005 | return wxArrayString2PyList_helper(arr); | |
1006 | } | |
1007 | PyObject *wxFileDialog_GetPaths(wxFileDialog *self){ | |
1008 | wxArrayString arr; | |
1009 | self->GetPaths(arr); | |
1010 | return wxArrayString2PyList_helper(arr); | |
1011 | } | |
1012 | PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){ | |
1013 | return wxArrayInt2PyList_helper(self->GetSelections()); | |
1014 | } | |
1015 | wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){ | |
1016 | return new wxSingleChoiceDialog(parent, message, caption, | |
1017 | choices, choices_array, NULL, style, pos); | |
1018 | } | |
1019 | ||
1020 | #include <wx/mdi.h> | |
1021 | ||
1022 | // C++ version of Python aware wxWindow | |
1023 | class wxPyWindow : public wxWindow | |
1024 | { | |
1025 | DECLARE_DYNAMIC_CLASS(wxPyWindow) | |
1026 | public: | |
1027 | wxPyWindow() : wxWindow() {} | |
1028 | wxPyWindow(wxWindow* parent, const wxWindowID id, | |
1029 | const wxPoint& pos = wxDefaultPosition, | |
1030 | const wxSize& size = wxDefaultSize, | |
1031 | long style = 0, | |
1032 | const wxString& name = wxPyPanelNameStr) | |
1033 | : wxWindow(parent, id, pos, size, style, name) {} | |
1034 | ||
db3e571a | 1035 | void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); } |
d14a1e28 RD |
1036 | |
1037 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
1038 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
1039 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
1040 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
1041 | ||
1042 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
1043 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
1044 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
1045 | ||
1046 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
1047 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
1048 | ||
1049 | DEC_PYCALLBACK__(InitDialog); | |
1050 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
1051 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
1052 | DEC_PYCALLBACK_BOOL_(Validate); | |
1053 | ||
1054 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
1055 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
1056 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
1057 | ||
1058 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
1059 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
1060 | ||
db3e571a | 1061 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
1cb4a8aa | 1062 | DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground); |
db3e571a | 1063 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
4276dc52 | 1064 | |
d14a1e28 RD |
1065 | PYPRIVATE; |
1066 | }; | |
1067 | ||
1068 | IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow); | |
1069 | ||
1070 | IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow); | |
1071 | IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize); | |
1072 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize); | |
1073 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize); | |
1074 | ||
1075 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize); | |
1076 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize); | |
1077 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition); | |
1078 | ||
1079 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize); | |
1080 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize); | |
1081 | ||
1082 | IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog); | |
1083 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow); | |
1084 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow); | |
1085 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate); | |
1086 | ||
1087 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus); | |
1088 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard); | |
1089 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize); | |
1090 | ||
1091 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild); | |
1092 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild); | |
1093 | ||
db3e571a | 1094 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours); |
1cb4a8aa | 1095 | IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground); |
db3e571a | 1096 | IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes); |
1cb4a8aa | 1097 | |
d14a1e28 RD |
1098 | |
1099 | // C++ version of Python aware wxPanel | |
1100 | class wxPyPanel : public wxPanel | |
1101 | { | |
1102 | DECLARE_DYNAMIC_CLASS(wxPyPanel) | |
1103 | public: | |
1104 | wxPyPanel() : wxPanel() {} | |
1105 | wxPyPanel(wxWindow* parent, const wxWindowID id, | |
1106 | const wxPoint& pos = wxDefaultPosition, | |
1107 | const wxSize& size = wxDefaultSize, | |
1108 | long style = 0, | |
1109 | const wxString& name = wxPyPanelNameStr) | |
1110 | : wxPanel(parent, id, pos, size, style, name) {} | |
1111 | ||
db3e571a RD |
1112 | void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); } |
1113 | ||
d14a1e28 RD |
1114 | |
1115 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
1116 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
1117 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
1118 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
1119 | ||
1120 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
1121 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
1122 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
1123 | ||
1124 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
1125 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
1126 | ||
1127 | DEC_PYCALLBACK__(InitDialog); | |
1128 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
1129 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
1130 | DEC_PYCALLBACK_BOOL_(Validate); | |
1131 | ||
1132 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
1133 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
1134 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
1135 | ||
1136 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
1137 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
1138 | ||
db3e571a | 1139 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
1cb4a8aa | 1140 | DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground); |
db3e571a | 1141 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
4276dc52 | 1142 | |
d14a1e28 RD |
1143 | PYPRIVATE; |
1144 | }; | |
1145 | ||
1146 | IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel); | |
1147 | ||
1148 | IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow); | |
1149 | IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize); | |
1150 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize); | |
1151 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize); | |
1152 | ||
1153 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize); | |
1154 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize); | |
1155 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition); | |
1156 | ||
1157 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize); | |
1158 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize); | |
1159 | ||
1160 | IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog); | |
1161 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow); | |
1162 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow); | |
1163 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate); | |
1164 | ||
1165 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus); | |
1166 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard); | |
1167 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize); | |
1168 | ||
1169 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild); | |
1170 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild); | |
1171 | ||
db3e571a | 1172 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours); |
1cb4a8aa | 1173 | IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground); |
db3e571a | 1174 | IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes); |
1cb4a8aa | 1175 | |
db3e571a | 1176 | |
1cb4a8aa RD |
1177 | // C++ version of Python aware wxScrolledWindow |
1178 | class wxPyScrolledWindow : public wxScrolledWindow | |
1179 | { | |
1180 | DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow) | |
1181 | public: | |
1182 | wxPyScrolledWindow() : wxScrolledWindow() {} | |
1183 | wxPyScrolledWindow(wxWindow* parent, const wxWindowID id, | |
1184 | const wxPoint& pos = wxDefaultPosition, | |
1185 | const wxSize& size = wxDefaultSize, | |
1186 | long style = 0, | |
1187 | const wxString& name = wxPyPanelNameStr) | |
1188 | : wxScrolledWindow(parent, id, pos, size, style, name) {} | |
1189 | ||
db3e571a | 1190 | void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); } |
1cb4a8aa RD |
1191 | |
1192 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
1193 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
1194 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
1195 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
1196 | ||
1197 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
1198 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
1199 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
1200 | ||
1201 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
1202 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
1203 | ||
1204 | DEC_PYCALLBACK__(InitDialog); | |
1205 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
1206 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
1207 | DEC_PYCALLBACK_BOOL_(Validate); | |
1208 | ||
1209 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
1210 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
1211 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
1212 | ||
1213 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
1214 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
1215 | ||
db3e571a | 1216 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
1cb4a8aa | 1217 | DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground); |
db3e571a | 1218 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
1cb4a8aa RD |
1219 | |
1220 | PYPRIVATE; | |
1221 | }; | |
1222 | ||
1223 | IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow); | |
1224 | ||
1225 | IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow); | |
1226 | IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize); | |
1227 | IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize); | |
1228 | IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize); | |
1229 | ||
1230 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize); | |
1231 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize); | |
1232 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition); | |
1233 | ||
1234 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize); | |
1235 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize); | |
1236 | ||
1237 | IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog); | |
1238 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow); | |
1239 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow); | |
1240 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate); | |
1241 | ||
1242 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus); | |
1243 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard); | |
1244 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize); | |
1245 | ||
1246 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild); | |
1247 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild); | |
1248 | ||
db3e571a | 1249 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours); |
1cb4a8aa | 1250 | IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground); |
db3e571a RD |
1251 | IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes); |
1252 | ||
d14a1e28 RD |
1253 | |
1254 | ||
1255 | #include "wx/wxPython/printfw.h" | |
1256 | ||
d14a1e28 | 1257 | |
33b885b9 RD |
1258 | static const wxString wxPyPrintoutTitleStr(wxT("Printout")); |
1259 | static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas")); | |
d14a1e28 RD |
1260 | |
1261 | ||
1262 | ||
1263 | // Since this one would be tough and ugly to do with the Macros... | |
1264 | void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
ae8162c8 | 1265 | bool hadErr = false; |
d14a1e28 RD |
1266 | bool found; |
1267 | ||
4f89f6a3 | 1268 | bool blocked = wxPyBeginBlockThreads(); |
d14a1e28 RD |
1269 | if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) { |
1270 | PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); | |
1271 | if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) { | |
1272 | PyObject* val; | |
1273 | ||
1274 | val = PyTuple_GetItem(result, 0); | |
1275 | if (PyInt_Check(val)) *minPage = PyInt_AsLong(val); | |
ae8162c8 | 1276 | else hadErr = true; |
d14a1e28 RD |
1277 | |
1278 | val = PyTuple_GetItem(result, 1); | |
1279 | if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val); | |
ae8162c8 | 1280 | else hadErr = true; |
d14a1e28 RD |
1281 | |
1282 | val = PyTuple_GetItem(result, 2); | |
1283 | if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val); | |
ae8162c8 | 1284 | else hadErr = true; |
d14a1e28 RD |
1285 | |
1286 | val = PyTuple_GetItem(result, 3); | |
1287 | if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val); | |
ae8162c8 | 1288 | else hadErr = true; |
d14a1e28 RD |
1289 | } |
1290 | else | |
ae8162c8 | 1291 | hadErr = true; |
d14a1e28 RD |
1292 | |
1293 | if (hadErr) { | |
1294 | PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers."); | |
1295 | PyErr_Print(); | |
1296 | } | |
1297 | Py_DECREF(result); | |
1298 | } | |
4f89f6a3 | 1299 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
1300 | if (! found) |
1301 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
1302 | } | |
1303 | ||
1304 | void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
1305 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
1306 | } | |
1307 | ||
1308 | ||
1309 | IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument); | |
1310 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument); | |
1311 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting); | |
1312 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting); | |
1313 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting); | |
1314 | IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage); | |
1315 | IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage); | |
1316 | ||
1317 | ||
1318 | ||
1319 | ||
1320 | ||
ae8162c8 RD |
1321 | #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \ |
1322 | bool CBNAME(wxPreviewCanvas* a, wxDC& b); \ | |
d14a1e28 RD |
1323 | bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b) |
1324 | ||
1325 | ||
ae8162c8 RD |
1326 | #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \ |
1327 | bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
1328 | bool rval=false; \ | |
1329 | bool found; \ | |
1330 | bool blocked = wxPyBeginBlockThreads(); \ | |
1331 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ | |
1332 | PyObject* win = wxPyMake_wxObject(a,false); \ | |
1333 | PyObject* dc = wxPyMake_wxObject(&b,false); \ | |
1334 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \ | |
1335 | Py_DECREF(win); \ | |
1336 | Py_DECREF(dc); \ | |
1337 | } \ | |
1338 | wxPyEndBlockThreads(blocked); \ | |
1339 | if (! found) \ | |
1340 | rval = PCLASS::CBNAME(a, b); \ | |
1341 | return rval; \ | |
1342 | } \ | |
1343 | bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
1344 | return PCLASS::CBNAME(a, b); \ | |
d14a1e28 RD |
1345 | } |
1346 | ||
1347 | ||
1348 | ||
1349 | ||
1350 | class wxPyPrintPreview : public wxPrintPreview | |
1351 | { | |
1352 | DECLARE_CLASS(wxPyPrintPreview) | |
1353 | public: | |
4276dc52 RD |
1354 | wxPyPrintPreview(wxPyPrintout* printout, |
1355 | wxPyPrintout* printoutForPrinting, | |
1356 | wxPrintDialogData* data=NULL) | |
1357 | : wxPrintPreview(printout, printoutForPrinting, data) | |
1358 | {} | |
d14a1e28 RD |
1359 | wxPyPrintPreview(wxPyPrintout* printout, |
1360 | wxPyPrintout* printoutForPrinting, | |
1361 | wxPrintData* data=NULL) | |
1362 | : wxPrintPreview(printout, printoutForPrinting, data) | |
1363 | {} | |
1364 | ||
1365 | DEC_PYCALLBACK_BOOL_INT(SetCurrentPage); | |
1366 | DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage); | |
1367 | DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage); | |
1368 | DEC_PYCALLBACK_BOOL_INT(RenderPage); | |
1369 | DEC_PYCALLBACK_VOID_INT(SetZoom); | |
1370 | DEC_PYCALLBACK_BOOL_BOOL(Print); | |
1371 | DEC_PYCALLBACK_VOID_(DetermineScaling); | |
1372 | ||
1373 | PYPRIVATE; | |
1374 | }; | |
1375 | ||
1376 | // Stupid renamed classes... Fix this in 2.5... | |
1377 | #if defined(__WXMSW__) | |
1378 | IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview ); | |
1379 | #elif defined(__WXMAC__) | |
1380 | IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview ); | |
1381 | #else | |
1382 | IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview ); | |
1383 | #endif | |
1384 | ||
1385 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage); | |
1386 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage); | |
1387 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage); | |
1388 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage); | |
1389 | IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom); | |
1390 | IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print); | |
1391 | IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling); | |
1392 | ||
1393 | ||
1394 | class wxPyPreviewFrame : public wxPreviewFrame | |
1395 | { | |
1396 | DECLARE_CLASS(wxPyPreviewFrame); | |
1397 | public: | |
1398 | wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent, | |
1399 | const wxString& title, | |
1400 | const wxPoint& pos = wxDefaultPosition, | |
1401 | const wxSize& size = wxDefaultSize, | |
1402 | long style = wxDEFAULT_FRAME_STYLE, | |
1403 | const wxString& name = wxPyFrameNameStr) | |
1404 | : wxPreviewFrame(preview, parent, title, pos, size, style, name) | |
1405 | {} | |
1406 | ||
1407 | void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; } | |
1408 | void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; } | |
1409 | ||
1410 | DEC_PYCALLBACK_VOID_(Initialize); | |
1411 | DEC_PYCALLBACK_VOID_(CreateCanvas); | |
1412 | DEC_PYCALLBACK_VOID_(CreateControlBar); | |
1413 | ||
1414 | PYPRIVATE; | |
1415 | }; | |
1416 | ||
1417 | IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame); | |
1418 | ||
1419 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize); | |
1420 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas); | |
1421 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar); | |
1422 | ||
1423 | ||
1424 | class wxPyPreviewControlBar : public wxPreviewControlBar | |
1425 | { | |
1426 | DECLARE_CLASS(wxPyPreviewControlBar); | |
1427 | public: | |
1428 | wxPyPreviewControlBar(wxPrintPreview *preview, | |
1429 | long buttons, | |
1430 | wxWindow *parent, | |
1431 | const wxPoint& pos = wxDefaultPosition, | |
1432 | const wxSize& size = wxDefaultSize, | |
1433 | long style = 0, | |
1434 | const wxString& name = wxPyPanelNameStr) | |
1435 | : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name) | |
1436 | {} | |
1437 | ||
1438 | void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; } | |
1439 | ||
1440 | DEC_PYCALLBACK_VOID_(CreateButtons); | |
1441 | DEC_PYCALLBACK_VOID_INT(SetZoomControl); | |
1442 | ||
1443 | PYPRIVATE; | |
1444 | }; | |
1445 | ||
1446 | IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar); | |
1447 | IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons); | |
1448 | IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl); | |
1449 | ||
1450 | #ifdef __cplusplus | |
1451 | extern "C" { | |
1452 | #endif | |
c32bde28 | 1453 | static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1454 | PyObject *resultobj; |
1455 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 1456 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
1457 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
1458 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1459 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1460 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1461 | long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
1462 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
1463 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
1464 | wxPanel *result; | |
1465 | wxPoint temp3 ; | |
1466 | wxSize temp4 ; | |
ae8162c8 | 1467 | bool temp6 = false ; |
d14a1e28 | 1468 | PyObject * obj0 = 0 ; |
994141e6 | 1469 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1470 | PyObject * obj2 = 0 ; |
1471 | PyObject * obj3 = 0 ; | |
994141e6 | 1472 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
1473 | PyObject * obj5 = 0 ; |
1474 | char *kwnames[] = { | |
1475 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1476 | }; | |
1477 | ||
994141e6 | 1478 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
1479 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
1480 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 1481 | if (obj1) { |
c32bde28 | 1482 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1483 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 1484 | } |
d14a1e28 RD |
1485 | if (obj2) { |
1486 | { | |
1487 | arg3 = &temp3; | |
1488 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1489 | } | |
1490 | } | |
1491 | if (obj3) { | |
1492 | { | |
1493 | arg4 = &temp4; | |
1494 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1495 | } | |
1496 | } | |
994141e6 | 1497 | if (obj4) { |
c32bde28 | 1498 | arg5 = (long)SWIG_As_long(obj4); |
15afbcd0 | 1499 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 1500 | } |
d14a1e28 RD |
1501 | if (obj5) { |
1502 | { | |
1503 | arg6 = wxString_in_helper(obj5); | |
1504 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 1505 | temp6 = true; |
d14a1e28 RD |
1506 | } |
1507 | } | |
1508 | { | |
e3b71cb8 | 1509 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
1510 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1511 | result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
1512 | ||
1513 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 1514 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 1515 | } |
b0f7404b | 1516 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1); |
d14a1e28 RD |
1517 | { |
1518 | if (temp6) | |
1519 | delete arg6; | |
1520 | } | |
1521 | return resultobj; | |
1522 | fail: | |
1523 | { | |
1524 | if (temp6) | |
1525 | delete arg6; | |
1526 | } | |
1527 | return NULL; | |
1528 | } | |
1529 | ||
1530 | ||
c32bde28 | 1531 | static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1532 | PyObject *resultobj; |
1533 | wxPanel *result; | |
1534 | char *kwnames[] = { | |
1535 | NULL | |
1536 | }; | |
1537 | ||
1538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail; | |
1539 | { | |
e3b71cb8 | 1540 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
1541 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1542 | result = (wxPanel *)new wxPanel(); | |
1543 | ||
1544 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 1545 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 1546 | } |
b0f7404b | 1547 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1); |
d14a1e28 RD |
1548 | return resultobj; |
1549 | fail: | |
1550 | return NULL; | |
1551 | } | |
1552 | ||
1553 | ||
c32bde28 | 1554 | static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1555 | PyObject *resultobj; |
1556 | wxPanel *arg1 = (wxPanel *) 0 ; | |
1557 | wxWindow *arg2 = (wxWindow *) 0 ; | |
cfe5e918 | 1558 | int arg3 = (int) (int)-1 ; |
d14a1e28 RD |
1559 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
1560 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1561 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1562 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1563 | long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
1564 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
1565 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
1566 | bool result; | |
1567 | wxPoint temp4 ; | |
1568 | wxSize temp5 ; | |
ae8162c8 | 1569 | bool temp7 = false ; |
d14a1e28 RD |
1570 | PyObject * obj0 = 0 ; |
1571 | PyObject * obj1 = 0 ; | |
994141e6 | 1572 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
1573 | PyObject * obj3 = 0 ; |
1574 | PyObject * obj4 = 0 ; | |
994141e6 | 1575 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
1576 | PyObject * obj6 = 0 ; |
1577 | char *kwnames[] = { | |
1578 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1579 | }; | |
1580 | ||
cfe5e918 | 1581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
1582 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel, |
1583 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1584 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
1585 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
cfe5e918 | 1586 | if (obj2) { |
c32bde28 | 1587 | arg3 = (int)SWIG_As_int(obj2); |
cfe5e918 RD |
1588 | if (PyErr_Occurred()) SWIG_fail; |
1589 | } | |
d14a1e28 RD |
1590 | if (obj3) { |
1591 | { | |
1592 | arg4 = &temp4; | |
1593 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1594 | } | |
1595 | } | |
1596 | if (obj4) { | |
1597 | { | |
1598 | arg5 = &temp5; | |
1599 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1600 | } | |
1601 | } | |
994141e6 | 1602 | if (obj5) { |
c32bde28 | 1603 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 1604 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 1605 | } |
d14a1e28 RD |
1606 | if (obj6) { |
1607 | { | |
1608 | arg7 = wxString_in_helper(obj6); | |
1609 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 1610 | temp7 = true; |
d14a1e28 RD |
1611 | } |
1612 | } | |
1613 | { | |
1614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1615 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
1616 | ||
1617 | wxPyEndAllowThreads(__tstate); | |
1618 | if (PyErr_Occurred()) SWIG_fail; | |
1619 | } | |
4f89f6a3 RD |
1620 | { |
1621 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1622 | } | |
d14a1e28 RD |
1623 | { |
1624 | if (temp7) | |
1625 | delete arg7; | |
1626 | } | |
1627 | return resultobj; | |
1628 | fail: | |
1629 | { | |
1630 | if (temp7) | |
1631 | delete arg7; | |
1632 | } | |
1633 | return NULL; | |
1634 | } | |
1635 | ||
1636 | ||
c32bde28 | 1637 | static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1638 | PyObject *resultobj; |
1639 | wxPanel *arg1 = (wxPanel *) 0 ; | |
1640 | PyObject * obj0 = 0 ; | |
1641 | char *kwnames[] = { | |
1642 | (char *) "self", NULL | |
1643 | }; | |
1644 | ||
1645 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1646 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel, |
1647 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1648 | { |
1649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1650 | (arg1)->InitDialog(); | |
1651 | ||
1652 | wxPyEndAllowThreads(__tstate); | |
1653 | if (PyErr_Occurred()) SWIG_fail; | |
1654 | } | |
1655 | Py_INCREF(Py_None); resultobj = Py_None; | |
1656 | return resultobj; | |
1657 | fail: | |
1658 | return NULL; | |
1659 | } | |
1660 | ||
1661 | ||
c32bde28 | 1662 | static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
22bfe96c RD |
1663 | PyObject *resultobj; |
1664 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
1665 | wxVisualAttributes result; | |
1666 | PyObject * obj0 = 0 ; | |
1667 | char *kwnames[] = { | |
1668 | (char *) "variant", NULL | |
1669 | }; | |
1670 | ||
1671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
1672 | if (obj0) { | |
c32bde28 | 1673 | arg1 = (int)SWIG_As_int(obj0); |
22bfe96c RD |
1674 | if (PyErr_Occurred()) SWIG_fail; |
1675 | } | |
1676 | { | |
e3b71cb8 | 1677 | if (!wxPyCheckForApp()) SWIG_fail; |
22bfe96c RD |
1678 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1679 | result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
1680 | ||
1681 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 1682 | if (PyErr_Occurred()) SWIG_fail; |
22bfe96c RD |
1683 | } |
1684 | { | |
1685 | wxVisualAttributes * resultptr; | |
1686 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
1687 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
1688 | } | |
1689 | return resultobj; | |
1690 | fail: | |
1691 | return NULL; | |
1692 | } | |
1693 | ||
1694 | ||
c32bde28 | 1695 | static PyObject * Panel_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
1696 | PyObject *obj; |
1697 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1698 | SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj); | |
1699 | Py_INCREF(obj); | |
1700 | return Py_BuildValue((char *)""); | |
1701 | } | |
c32bde28 | 1702 | static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1703 | PyObject *resultobj; |
1704 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 1705 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
1706 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
1707 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1708 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1709 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1710 | long arg5 = (long) wxHSCROLL|wxVSCROLL ; | |
1711 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
1712 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
1713 | wxScrolledWindow *result; | |
1714 | wxPoint temp3 ; | |
1715 | wxSize temp4 ; | |
ae8162c8 | 1716 | bool temp6 = false ; |
d14a1e28 | 1717 | PyObject * obj0 = 0 ; |
994141e6 | 1718 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1719 | PyObject * obj2 = 0 ; |
1720 | PyObject * obj3 = 0 ; | |
994141e6 | 1721 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
1722 | PyObject * obj5 = 0 ; |
1723 | char *kwnames[] = { | |
1724 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1725 | }; | |
1726 | ||
994141e6 | 1727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
1728 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
1729 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 1730 | if (obj1) { |
c32bde28 | 1731 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1732 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 1733 | } |
d14a1e28 RD |
1734 | if (obj2) { |
1735 | { | |
1736 | arg3 = &temp3; | |
1737 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1738 | } | |
1739 | } | |
1740 | if (obj3) { | |
1741 | { | |
1742 | arg4 = &temp4; | |
1743 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1744 | } | |
1745 | } | |
994141e6 | 1746 | if (obj4) { |
c32bde28 | 1747 | arg5 = (long)SWIG_As_long(obj4); |
15afbcd0 | 1748 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 1749 | } |
d14a1e28 RD |
1750 | if (obj5) { |
1751 | { | |
1752 | arg6 = wxString_in_helper(obj5); | |
1753 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 1754 | temp6 = true; |
d14a1e28 RD |
1755 | } |
1756 | } | |
1757 | { | |
e3b71cb8 | 1758 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
1759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1760 | result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
1761 | ||
1762 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 1763 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 1764 | } |
b0f7404b | 1765 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1); |
d14a1e28 RD |
1766 | { |
1767 | if (temp6) | |
1768 | delete arg6; | |
1769 | } | |
1770 | return resultobj; | |
1771 | fail: | |
1772 | { | |
1773 | if (temp6) | |
1774 | delete arg6; | |
1775 | } | |
1776 | return NULL; | |
1777 | } | |
1778 | ||
1779 | ||
c32bde28 | 1780 | static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1781 | PyObject *resultobj; |
1782 | wxScrolledWindow *result; | |
1783 | char *kwnames[] = { | |
1784 | NULL | |
1785 | }; | |
1786 | ||
1787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail; | |
1788 | { | |
e3b71cb8 | 1789 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
1790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1791 | result = (wxScrolledWindow *)new wxScrolledWindow(); | |
1792 | ||
1793 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 1794 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 1795 | } |
b0f7404b | 1796 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1); |
d14a1e28 RD |
1797 | return resultobj; |
1798 | fail: | |
1799 | return NULL; | |
1800 | } | |
1801 | ||
1802 | ||
c32bde28 | 1803 | static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1804 | PyObject *resultobj; |
1805 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1806 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 1807 | int arg3 = (int) (int)-1 ; |
d14a1e28 RD |
1808 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
1809 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1810 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1811 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1812 | long arg6 = (long) wxHSCROLL|wxVSCROLL ; | |
1813 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
1814 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
1815 | bool result; | |
1816 | wxPoint temp4 ; | |
1817 | wxSize temp5 ; | |
ae8162c8 | 1818 | bool temp7 = false ; |
d14a1e28 RD |
1819 | PyObject * obj0 = 0 ; |
1820 | PyObject * obj1 = 0 ; | |
994141e6 | 1821 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
1822 | PyObject * obj3 = 0 ; |
1823 | PyObject * obj4 = 0 ; | |
994141e6 | 1824 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
1825 | PyObject * obj6 = 0 ; |
1826 | char *kwnames[] = { | |
1827 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1828 | }; | |
1829 | ||
994141e6 | 1830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
1831 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1832 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1833 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
1834 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 1835 | if (obj2) { |
c32bde28 | 1836 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 1837 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 1838 | } |
d14a1e28 RD |
1839 | if (obj3) { |
1840 | { | |
1841 | arg4 = &temp4; | |
1842 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1843 | } | |
1844 | } | |
1845 | if (obj4) { | |
1846 | { | |
1847 | arg5 = &temp5; | |
1848 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1849 | } | |
1850 | } | |
994141e6 | 1851 | if (obj5) { |
c32bde28 | 1852 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 1853 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 1854 | } |
d14a1e28 RD |
1855 | if (obj6) { |
1856 | { | |
1857 | arg7 = wxString_in_helper(obj6); | |
1858 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 1859 | temp7 = true; |
d14a1e28 RD |
1860 | } |
1861 | } | |
1862 | { | |
1863 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1864 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
1865 | ||
1866 | wxPyEndAllowThreads(__tstate); | |
1867 | if (PyErr_Occurred()) SWIG_fail; | |
1868 | } | |
4f89f6a3 RD |
1869 | { |
1870 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1871 | } | |
d14a1e28 RD |
1872 | { |
1873 | if (temp7) | |
1874 | delete arg7; | |
1875 | } | |
1876 | return resultobj; | |
1877 | fail: | |
1878 | { | |
1879 | if (temp7) | |
1880 | delete arg7; | |
1881 | } | |
1882 | return NULL; | |
1883 | } | |
1884 | ||
1885 | ||
c32bde28 | 1886 | static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1887 | PyObject *resultobj; |
1888 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1889 | int arg2 ; | |
1890 | int arg3 ; | |
1891 | int arg4 ; | |
1892 | int arg5 ; | |
1893 | int arg6 = (int) 0 ; | |
1894 | int arg7 = (int) 0 ; | |
ae8162c8 | 1895 | bool arg8 = (bool) false ; |
d14a1e28 | 1896 | PyObject * obj0 = 0 ; |
994141e6 RD |
1897 | PyObject * obj1 = 0 ; |
1898 | PyObject * obj2 = 0 ; | |
1899 | PyObject * obj3 = 0 ; | |
1900 | PyObject * obj4 = 0 ; | |
1901 | PyObject * obj5 = 0 ; | |
1902 | PyObject * obj6 = 0 ; | |
d14a1e28 RD |
1903 | PyObject * obj7 = 0 ; |
1904 | char *kwnames[] = { | |
1905 | (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL | |
1906 | }; | |
1907 | ||
994141e6 | 1908 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
1909 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1910 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 1911 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1912 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 1913 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 1914 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 1915 | arg4 = (int)SWIG_As_int(obj3); |
15afbcd0 | 1916 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 1917 | arg5 = (int)SWIG_As_int(obj4); |
15afbcd0 | 1918 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 1919 | if (obj5) { |
c32bde28 | 1920 | arg6 = (int)SWIG_As_int(obj5); |
15afbcd0 | 1921 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 RD |
1922 | } |
1923 | if (obj6) { | |
c32bde28 | 1924 | arg7 = (int)SWIG_As_int(obj6); |
15afbcd0 | 1925 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 1926 | } |
d14a1e28 | 1927 | if (obj7) { |
c32bde28 | 1928 | arg8 = (bool)SWIG_As_bool(obj7); |
15afbcd0 | 1929 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1930 | } |
1931 | { | |
1932 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1933 | (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
1934 | ||
1935 | wxPyEndAllowThreads(__tstate); | |
1936 | if (PyErr_Occurred()) SWIG_fail; | |
1937 | } | |
1938 | Py_INCREF(Py_None); resultobj = Py_None; | |
1939 | return resultobj; | |
1940 | fail: | |
1941 | return NULL; | |
1942 | } | |
1943 | ||
1944 | ||
c32bde28 | 1945 | static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1946 | PyObject *resultobj; |
1947 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1948 | int arg2 ; | |
1949 | int arg3 ; | |
1950 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1951 | PyObject * obj1 = 0 ; |
1952 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1953 | char *kwnames[] = { |
1954 | (char *) "self",(char *) "x",(char *) "y", NULL | |
1955 | }; | |
1956 | ||
994141e6 | 1957 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1958 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1959 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 1960 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1961 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 1962 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 1963 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1964 | { |
1965 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1966 | (arg1)->Scroll(arg2,arg3); | |
1967 | ||
1968 | wxPyEndAllowThreads(__tstate); | |
1969 | if (PyErr_Occurred()) SWIG_fail; | |
1970 | } | |
1971 | Py_INCREF(Py_None); resultobj = Py_None; | |
1972 | return resultobj; | |
1973 | fail: | |
1974 | return NULL; | |
1975 | } | |
1976 | ||
1977 | ||
c32bde28 | 1978 | static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1979 | PyObject *resultobj; |
1980 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1981 | int arg2 ; | |
1982 | int result; | |
1983 | PyObject * obj0 = 0 ; | |
994141e6 | 1984 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1985 | char *kwnames[] = { |
1986 | (char *) "self",(char *) "orient", NULL | |
1987 | }; | |
1988 | ||
994141e6 | 1989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1990 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1991 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 1992 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1993 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1994 | { |
1995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1996 | result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2); | |
1997 | ||
1998 | wxPyEndAllowThreads(__tstate); | |
1999 | if (PyErr_Occurred()) SWIG_fail; | |
2000 | } | |
c32bde28 | 2001 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2002 | return resultobj; |
2003 | fail: | |
2004 | return NULL; | |
2005 | } | |
2006 | ||
2007 | ||
c32bde28 | 2008 | static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2009 | PyObject *resultobj; |
2010 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2011 | int arg2 ; | |
2012 | int arg3 ; | |
2013 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2014 | PyObject * obj1 = 0 ; |
2015 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2016 | char *kwnames[] = { |
2017 | (char *) "self",(char *) "orient",(char *) "pageSize", NULL | |
2018 | }; | |
2019 | ||
994141e6 | 2020 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2021 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2022 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 2023 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2024 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 2025 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 2026 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2027 | { |
2028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2029 | (arg1)->SetScrollPageSize(arg2,arg3); | |
2030 | ||
2031 | wxPyEndAllowThreads(__tstate); | |
2032 | if (PyErr_Occurred()) SWIG_fail; | |
2033 | } | |
2034 | Py_INCREF(Py_None); resultobj = Py_None; | |
2035 | return resultobj; | |
2036 | fail: | |
2037 | return NULL; | |
2038 | } | |
2039 | ||
2040 | ||
c32bde28 | 2041 | static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2042 | PyObject *resultobj; |
2043 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2044 | int arg2 ; | |
2045 | int arg3 ; | |
2046 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2047 | PyObject * obj1 = 0 ; |
2048 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2049 | char *kwnames[] = { |
2050 | (char *) "self",(char *) "xstep",(char *) "ystep", NULL | |
2051 | }; | |
2052 | ||
994141e6 | 2053 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2054 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2055 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 2056 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2057 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 2058 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 2059 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2060 | { |
2061 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2062 | (arg1)->SetScrollRate(arg2,arg3); | |
2063 | ||
2064 | wxPyEndAllowThreads(__tstate); | |
2065 | if (PyErr_Occurred()) SWIG_fail; | |
2066 | } | |
2067 | Py_INCREF(Py_None); resultobj = Py_None; | |
2068 | return resultobj; | |
2069 | fail: | |
2070 | return NULL; | |
2071 | } | |
2072 | ||
2073 | ||
c32bde28 | 2074 | static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2075 | PyObject *resultobj; |
2076 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2077 | int *arg2 = (int *) 0 ; | |
2078 | int *arg3 = (int *) 0 ; | |
2079 | int temp2 ; | |
c32bde28 | 2080 | int res2 = 0 ; |
d14a1e28 | 2081 | int temp3 ; |
c32bde28 | 2082 | int res3 = 0 ; |
d14a1e28 RD |
2083 | PyObject * obj0 = 0 ; |
2084 | char *kwnames[] = { | |
2085 | (char *) "self", NULL | |
2086 | }; | |
2087 | ||
c32bde28 RD |
2088 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
2089 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 2090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
2091 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2092 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2093 | { |
2094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2095 | ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3); | |
2096 | ||
2097 | wxPyEndAllowThreads(__tstate); | |
2098 | if (PyErr_Occurred()) SWIG_fail; | |
2099 | } | |
2100 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
2101 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
2102 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
2103 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
2104 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
2105 | return resultobj; |
2106 | fail: | |
2107 | return NULL; | |
2108 | } | |
2109 | ||
2110 | ||
c32bde28 | 2111 | static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2112 | PyObject *resultobj; |
2113 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2114 | bool arg2 ; | |
2115 | bool arg3 ; | |
2116 | PyObject * obj0 = 0 ; | |
2117 | PyObject * obj1 = 0 ; | |
2118 | PyObject * obj2 = 0 ; | |
2119 | char *kwnames[] = { | |
2120 | (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL | |
2121 | }; | |
2122 | ||
2123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
2124 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2125 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 2126 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 2127 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 2128 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 2129 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2130 | { |
2131 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2132 | (arg1)->EnableScrolling(arg2,arg3); | |
2133 | ||
2134 | wxPyEndAllowThreads(__tstate); | |
2135 | if (PyErr_Occurred()) SWIG_fail; | |
2136 | } | |
2137 | Py_INCREF(Py_None); resultobj = Py_None; | |
2138 | return resultobj; | |
2139 | fail: | |
2140 | return NULL; | |
2141 | } | |
2142 | ||
2143 | ||
c32bde28 | 2144 | static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2145 | PyObject *resultobj; |
2146 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2147 | int *arg2 = (int *) 0 ; | |
2148 | int *arg3 = (int *) 0 ; | |
2149 | int temp2 ; | |
c32bde28 | 2150 | int res2 = 0 ; |
d14a1e28 | 2151 | int temp3 ; |
c32bde28 | 2152 | int res3 = 0 ; |
d14a1e28 RD |
2153 | PyObject * obj0 = 0 ; |
2154 | char *kwnames[] = { | |
2155 | (char *) "self", NULL | |
2156 | }; | |
2157 | ||
c32bde28 RD |
2158 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
2159 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 2160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
2161 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2162 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2163 | { |
2164 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2165 | ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3); | |
2166 | ||
2167 | wxPyEndAllowThreads(__tstate); | |
2168 | if (PyErr_Occurred()) SWIG_fail; | |
2169 | } | |
2170 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
2171 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
2172 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
2173 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
2174 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
2175 | return resultobj; |
2176 | fail: | |
2177 | return NULL; | |
2178 | } | |
2179 | ||
2180 | ||
c32bde28 | 2181 | static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2182 | PyObject *resultobj; |
2183 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2184 | double arg2 ; | |
2185 | double arg3 ; | |
2186 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2187 | PyObject * obj1 = 0 ; |
2188 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2189 | char *kwnames[] = { |
2190 | (char *) "self",(char *) "xs",(char *) "ys", NULL | |
2191 | }; | |
2192 | ||
994141e6 | 2193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2194 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2195 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 2196 | arg2 = (double)SWIG_As_double(obj1); |
15afbcd0 | 2197 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 2198 | arg3 = (double)SWIG_As_double(obj2); |
15afbcd0 | 2199 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2200 | { |
2201 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2202 | (arg1)->SetScale(arg2,arg3); | |
2203 | ||
2204 | wxPyEndAllowThreads(__tstate); | |
2205 | if (PyErr_Occurred()) SWIG_fail; | |
2206 | } | |
2207 | Py_INCREF(Py_None); resultobj = Py_None; | |
2208 | return resultobj; | |
2209 | fail: | |
2210 | return NULL; | |
2211 | } | |
2212 | ||
2213 | ||
c32bde28 | 2214 | static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2215 | PyObject *resultobj; |
2216 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2217 | double result; | |
2218 | PyObject * obj0 = 0 ; | |
2219 | char *kwnames[] = { | |
2220 | (char *) "self", NULL | |
2221 | }; | |
2222 | ||
2223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2224 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2225 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2226 | { |
2227 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2228 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleX(); | |
2229 | ||
2230 | wxPyEndAllowThreads(__tstate); | |
2231 | if (PyErr_Occurred()) SWIG_fail; | |
2232 | } | |
c32bde28 | 2233 | resultobj = SWIG_From_double((double)result); |
d14a1e28 RD |
2234 | return resultobj; |
2235 | fail: | |
2236 | return NULL; | |
2237 | } | |
2238 | ||
2239 | ||
c32bde28 | 2240 | static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2241 | PyObject *resultobj; |
2242 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2243 | double result; | |
2244 | PyObject * obj0 = 0 ; | |
2245 | char *kwnames[] = { | |
2246 | (char *) "self", NULL | |
2247 | }; | |
2248 | ||
2249 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2250 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2251 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2252 | { |
2253 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2254 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleY(); | |
2255 | ||
2256 | wxPyEndAllowThreads(__tstate); | |
2257 | if (PyErr_Occurred()) SWIG_fail; | |
2258 | } | |
c32bde28 | 2259 | resultobj = SWIG_From_double((double)result); |
d14a1e28 RD |
2260 | return resultobj; |
2261 | fail: | |
2262 | return NULL; | |
2263 | } | |
2264 | ||
2265 | ||
c32bde28 | 2266 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) { |
d14a1e28 RD |
2267 | PyObject *resultobj; |
2268 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
322913ce RD |
2269 | wxPoint *arg2 = 0 ; |
2270 | wxPoint result; | |
2271 | wxPoint temp2 ; | |
d14a1e28 | 2272 | PyObject * obj0 = 0 ; |
322913ce | 2273 | PyObject * obj1 = 0 ; |
d14a1e28 | 2274 | |
322913ce | 2275 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail; |
15afbcd0 RD |
2276 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2277 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
322913ce RD |
2278 | { |
2279 | arg2 = &temp2; | |
2280 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2281 | } | |
d14a1e28 RD |
2282 | { |
2283 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 2284 | result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2); |
d14a1e28 RD |
2285 | |
2286 | wxPyEndAllowThreads(__tstate); | |
2287 | if (PyErr_Occurred()) SWIG_fail; | |
2288 | } | |
d14a1e28 | 2289 | { |
322913ce RD |
2290 | wxPoint * resultptr; |
2291 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 2292 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
2293 | } |
2294 | return resultobj; | |
2295 | fail: | |
2296 | return NULL; | |
2297 | } | |
2298 | ||
2299 | ||
c32bde28 | 2300 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) { |
d14a1e28 RD |
2301 | PyObject *resultobj; |
2302 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
322913ce RD |
2303 | int arg2 ; |
2304 | int arg3 ; | |
2305 | int *arg4 = (int *) 0 ; | |
2306 | int *arg5 = (int *) 0 ; | |
2307 | int temp4 ; | |
c32bde28 | 2308 | int res4 = 0 ; |
322913ce | 2309 | int temp5 ; |
c32bde28 | 2310 | int res5 = 0 ; |
d14a1e28 | 2311 | PyObject * obj0 = 0 ; |
994141e6 RD |
2312 | PyObject * obj1 = 0 ; |
2313 | PyObject * obj2 = 0 ; | |
d14a1e28 | 2314 | |
c32bde28 RD |
2315 | arg4 = &temp4; res4 = SWIG_NEWOBJ; |
2316 | arg5 = &temp5; res5 = SWIG_NEWOBJ; | |
994141e6 | 2317 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2318 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2319 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 2320 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2321 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 2322 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 2323 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2324 | { |
2325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 2326 | ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
2327 | |
2328 | wxPyEndAllowThreads(__tstate); | |
2329 | if (PyErr_Occurred()) SWIG_fail; | |
2330 | } | |
322913ce | 2331 | Py_INCREF(Py_None); resultobj = Py_None; |
c32bde28 RD |
2332 | resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ? |
2333 | SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0))); | |
2334 | resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ? | |
2335 | SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
2336 | return resultobj; |
2337 | fail: | |
2338 | return NULL; | |
2339 | } | |
2340 | ||
2341 | ||
2342 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) { | |
2343 | int argc; | |
2344 | PyObject *argv[4]; | |
2345 | int ii; | |
2346 | ||
2347 | argc = PyObject_Length(args); | |
2348 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
2349 | argv[ii] = PyTuple_GetItem(args,ii); | |
2350 | } | |
2351 | if (argc == 2) { | |
2352 | int _v; | |
2353 | { | |
2354 | void *ptr; | |
15afbcd0 | 2355 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
2356 | _v = 0; |
2357 | PyErr_Clear(); | |
2358 | } else { | |
2359 | _v = 1; | |
2360 | } | |
2361 | } | |
2362 | if (_v) { | |
2363 | { | |
2364 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
2365 | } | |
2366 | if (_v) { | |
322913ce | 2367 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args); |
d14a1e28 RD |
2368 | } |
2369 | } | |
2370 | } | |
2371 | if (argc == 3) { | |
2372 | int _v; | |
2373 | { | |
2374 | void *ptr; | |
15afbcd0 | 2375 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
2376 | _v = 0; |
2377 | PyErr_Clear(); | |
2378 | } else { | |
2379 | _v = 1; | |
2380 | } | |
2381 | } | |
2382 | if (_v) { | |
c32bde28 | 2383 | _v = SWIG_Check_int(argv[1]); |
d14a1e28 | 2384 | if (_v) { |
c32bde28 | 2385 | _v = SWIG_Check_int(argv[2]); |
d14a1e28 | 2386 | if (_v) { |
322913ce | 2387 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args); |
d14a1e28 RD |
2388 | } |
2389 | } | |
2390 | } | |
2391 | } | |
2392 | ||
2393 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'"); | |
2394 | return NULL; | |
2395 | } | |
2396 | ||
2397 | ||
c32bde28 | 2398 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) { |
d14a1e28 RD |
2399 | PyObject *resultobj; |
2400 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
322913ce RD |
2401 | wxPoint *arg2 = 0 ; |
2402 | wxPoint result; | |
2403 | wxPoint temp2 ; | |
d14a1e28 | 2404 | PyObject * obj0 = 0 ; |
322913ce | 2405 | PyObject * obj1 = 0 ; |
d14a1e28 | 2406 | |
322913ce | 2407 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail; |
15afbcd0 RD |
2408 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2409 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
322913ce RD |
2410 | { |
2411 | arg2 = &temp2; | |
2412 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2413 | } | |
d14a1e28 RD |
2414 | { |
2415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 2416 | result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2); |
d14a1e28 RD |
2417 | |
2418 | wxPyEndAllowThreads(__tstate); | |
2419 | if (PyErr_Occurred()) SWIG_fail; | |
2420 | } | |
d14a1e28 | 2421 | { |
322913ce RD |
2422 | wxPoint * resultptr; |
2423 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 2424 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
2425 | } |
2426 | return resultobj; | |
2427 | fail: | |
2428 | return NULL; | |
2429 | } | |
2430 | ||
2431 | ||
c32bde28 | 2432 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) { |
d14a1e28 RD |
2433 | PyObject *resultobj; |
2434 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
322913ce RD |
2435 | int arg2 ; |
2436 | int arg3 ; | |
2437 | int *arg4 = (int *) 0 ; | |
2438 | int *arg5 = (int *) 0 ; | |
2439 | int temp4 ; | |
c32bde28 | 2440 | int res4 = 0 ; |
322913ce | 2441 | int temp5 ; |
c32bde28 | 2442 | int res5 = 0 ; |
d14a1e28 | 2443 | PyObject * obj0 = 0 ; |
994141e6 RD |
2444 | PyObject * obj1 = 0 ; |
2445 | PyObject * obj2 = 0 ; | |
d14a1e28 | 2446 | |
c32bde28 RD |
2447 | arg4 = &temp4; res4 = SWIG_NEWOBJ; |
2448 | arg5 = &temp5; res5 = SWIG_NEWOBJ; | |
994141e6 | 2449 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2450 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2451 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 2452 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2453 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 2454 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 2455 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2456 | { |
2457 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 2458 | ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
2459 | |
2460 | wxPyEndAllowThreads(__tstate); | |
2461 | if (PyErr_Occurred()) SWIG_fail; | |
2462 | } | |
322913ce | 2463 | Py_INCREF(Py_None); resultobj = Py_None; |
c32bde28 RD |
2464 | resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ? |
2465 | SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0))); | |
2466 | resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ? | |
2467 | SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
2468 | return resultobj; |
2469 | fail: | |
2470 | return NULL; | |
2471 | } | |
2472 | ||
2473 | ||
2474 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) { | |
2475 | int argc; | |
2476 | PyObject *argv[4]; | |
2477 | int ii; | |
2478 | ||
2479 | argc = PyObject_Length(args); | |
2480 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
2481 | argv[ii] = PyTuple_GetItem(args,ii); | |
2482 | } | |
2483 | if (argc == 2) { | |
2484 | int _v; | |
2485 | { | |
2486 | void *ptr; | |
15afbcd0 | 2487 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
2488 | _v = 0; |
2489 | PyErr_Clear(); | |
2490 | } else { | |
2491 | _v = 1; | |
2492 | } | |
2493 | } | |
2494 | if (_v) { | |
2495 | { | |
2496 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
2497 | } | |
2498 | if (_v) { | |
322913ce | 2499 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args); |
d14a1e28 RD |
2500 | } |
2501 | } | |
2502 | } | |
2503 | if (argc == 3) { | |
2504 | int _v; | |
2505 | { | |
2506 | void *ptr; | |
15afbcd0 | 2507 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
2508 | _v = 0; |
2509 | PyErr_Clear(); | |
2510 | } else { | |
2511 | _v = 1; | |
2512 | } | |
2513 | } | |
2514 | if (_v) { | |
c32bde28 | 2515 | _v = SWIG_Check_int(argv[1]); |
d14a1e28 | 2516 | if (_v) { |
c32bde28 | 2517 | _v = SWIG_Check_int(argv[2]); |
d14a1e28 | 2518 | if (_v) { |
322913ce | 2519 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args); |
d14a1e28 RD |
2520 | } |
2521 | } | |
2522 | } | |
2523 | } | |
2524 | ||
2525 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'"); | |
2526 | return NULL; | |
2527 | } | |
2528 | ||
2529 | ||
c32bde28 | 2530 | static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2531 | PyObject *resultobj; |
2532 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2533 | PyObject * obj0 = 0 ; | |
2534 | char *kwnames[] = { | |
2535 | (char *) "self", NULL | |
2536 | }; | |
2537 | ||
2538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2539 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2540 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2541 | { |
2542 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2543 | (arg1)->AdjustScrollbars(); | |
2544 | ||
2545 | wxPyEndAllowThreads(__tstate); | |
2546 | if (PyErr_Occurred()) SWIG_fail; | |
2547 | } | |
2548 | Py_INCREF(Py_None); resultobj = Py_None; | |
2549 | return resultobj; | |
2550 | fail: | |
2551 | return NULL; | |
2552 | } | |
2553 | ||
2554 | ||
c32bde28 | 2555 | static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2556 | PyObject *resultobj; |
2557 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2558 | wxScrollWinEvent *arg2 = 0 ; | |
2559 | int result; | |
2560 | PyObject * obj0 = 0 ; | |
2561 | PyObject * obj1 = 0 ; | |
2562 | char *kwnames[] = { | |
2563 | (char *) "self",(char *) "event", NULL | |
2564 | }; | |
2565 | ||
2566 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2567 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2568 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2569 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent, | |
2570 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2571 | SWIG_fail; | |
d14a1e28 | 2572 | if (arg2 == NULL) { |
15afbcd0 RD |
2573 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2574 | SWIG_fail; | |
d14a1e28 RD |
2575 | } |
2576 | { | |
2577 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2578 | result = (int)(arg1)->CalcScrollInc(*arg2); | |
2579 | ||
2580 | wxPyEndAllowThreads(__tstate); | |
2581 | if (PyErr_Occurred()) SWIG_fail; | |
2582 | } | |
c32bde28 | 2583 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2584 | return resultobj; |
2585 | fail: | |
2586 | return NULL; | |
2587 | } | |
2588 | ||
2589 | ||
c32bde28 | 2590 | static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2591 | PyObject *resultobj; |
2592 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2593 | wxWindow *arg2 = (wxWindow *) 0 ; | |
2594 | PyObject * obj0 = 0 ; | |
2595 | PyObject * obj1 = 0 ; | |
2596 | char *kwnames[] = { | |
2597 | (char *) "self",(char *) "target", NULL | |
2598 | }; | |
2599 | ||
2600 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2601 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2602 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2603 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
2604 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2605 | { |
2606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2607 | (arg1)->SetTargetWindow(arg2); | |
2608 | ||
2609 | wxPyEndAllowThreads(__tstate); | |
2610 | if (PyErr_Occurred()) SWIG_fail; | |
2611 | } | |
2612 | Py_INCREF(Py_None); resultobj = Py_None; | |
2613 | return resultobj; | |
2614 | fail: | |
2615 | return NULL; | |
2616 | } | |
2617 | ||
2618 | ||
c32bde28 | 2619 | static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2620 | PyObject *resultobj; |
2621 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2622 | wxWindow *result; | |
2623 | PyObject * obj0 = 0 ; | |
2624 | char *kwnames[] = { | |
2625 | (char *) "self", NULL | |
2626 | }; | |
2627 | ||
2628 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2629 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2630 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2631 | { |
2632 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2633 | result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow(); | |
2634 | ||
2635 | wxPyEndAllowThreads(__tstate); | |
2636 | if (PyErr_Occurred()) SWIG_fail; | |
2637 | } | |
2638 | { | |
412d302d | 2639 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
2640 | } |
2641 | return resultobj; | |
2642 | fail: | |
2643 | return NULL; | |
2644 | } | |
2645 | ||
2646 | ||
c32bde28 | 2647 | static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) { |
f5b96ee1 RD |
2648 | PyObject *resultobj; |
2649 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2650 | wxDC *arg2 = 0 ; | |
2651 | PyObject * obj0 = 0 ; | |
2652 | PyObject * obj1 = 0 ; | |
2653 | char *kwnames[] = { | |
2654 | (char *) "self",(char *) "dc", NULL | |
2655 | }; | |
2656 | ||
2657 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail; | |
2658 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2659 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2660 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
2661 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2662 | SWIG_fail; | |
2663 | if (arg2 == NULL) { | |
2664 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
2665 | SWIG_fail; | |
2666 | } | |
2667 | { | |
2668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2669 | (arg1)->DoPrepareDC(*arg2); | |
2670 | ||
2671 | wxPyEndAllowThreads(__tstate); | |
2672 | if (PyErr_Occurred()) SWIG_fail; | |
2673 | } | |
2674 | Py_INCREF(Py_None); resultobj = Py_None; | |
2675 | return resultobj; | |
2676 | fail: | |
2677 | return NULL; | |
2678 | } | |
2679 | ||
2680 | ||
c32bde28 | 2681 | static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
22bfe96c RD |
2682 | PyObject *resultobj; |
2683 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
2684 | wxVisualAttributes result; | |
2685 | PyObject * obj0 = 0 ; | |
2686 | char *kwnames[] = { | |
2687 | (char *) "variant", NULL | |
2688 | }; | |
2689 | ||
2690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
2691 | if (obj0) { | |
c32bde28 | 2692 | arg1 = (int)SWIG_As_int(obj0); |
22bfe96c RD |
2693 | if (PyErr_Occurred()) SWIG_fail; |
2694 | } | |
2695 | { | |
e3b71cb8 | 2696 | if (!wxPyCheckForApp()) SWIG_fail; |
22bfe96c RD |
2697 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2698 | result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
2699 | ||
2700 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2701 | if (PyErr_Occurred()) SWIG_fail; |
22bfe96c RD |
2702 | } |
2703 | { | |
2704 | wxVisualAttributes * resultptr; | |
2705 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
2706 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
2707 | } | |
2708 | return resultobj; | |
2709 | fail: | |
2710 | return NULL; | |
2711 | } | |
2712 | ||
2713 | ||
c32bde28 | 2714 | static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
2715 | PyObject *obj; |
2716 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2717 | SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj); | |
2718 | Py_INCREF(obj); | |
2719 | return Py_BuildValue((char *)""); | |
2720 | } | |
c32bde28 | 2721 | static int _wrap_FrameNameStr_set(PyObject *) { |
b2dc1044 RD |
2722 | PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only."); |
2723 | return 1; | |
2724 | } | |
2725 | ||
2726 | ||
2727 | static PyObject *_wrap_FrameNameStr_get() { | |
2728 | PyObject *pyobj; | |
2729 | ||
2730 | { | |
2731 | #if wxUSE_UNICODE | |
2732 | pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
2733 | #else | |
2734 | pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
2735 | #endif | |
2736 | } | |
2737 | return pyobj; | |
2738 | } | |
2739 | ||
2740 | ||
c32bde28 | 2741 | static int _wrap_DialogNameStr_set(PyObject *) { |
b2dc1044 RD |
2742 | PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only."); |
2743 | return 1; | |
2744 | } | |
2745 | ||
2746 | ||
2747 | static PyObject *_wrap_DialogNameStr_get() { | |
2748 | PyObject *pyobj; | |
2749 | ||
2750 | { | |
2751 | #if wxUSE_UNICODE | |
2752 | pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
2753 | #else | |
2754 | pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
2755 | #endif | |
2756 | } | |
2757 | return pyobj; | |
2758 | } | |
2759 | ||
2760 | ||
c32bde28 | 2761 | static int _wrap_StatusLineNameStr_set(PyObject *) { |
b2dc1044 RD |
2762 | PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only."); |
2763 | return 1; | |
2764 | } | |
2765 | ||
2766 | ||
2767 | static PyObject *_wrap_StatusLineNameStr_get() { | |
2768 | PyObject *pyobj; | |
2769 | ||
2770 | { | |
2771 | #if wxUSE_UNICODE | |
2772 | pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
2773 | #else | |
2774 | pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
2775 | #endif | |
2776 | } | |
2777 | return pyobj; | |
2778 | } | |
2779 | ||
2780 | ||
c32bde28 | 2781 | static int _wrap_ToolBarNameStr_set(PyObject *) { |
b2dc1044 RD |
2782 | PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only."); |
2783 | return 1; | |
2784 | } | |
2785 | ||
2786 | ||
2787 | static PyObject *_wrap_ToolBarNameStr_get() { | |
2788 | PyObject *pyobj; | |
2789 | ||
2790 | { | |
2791 | #if wxUSE_UNICODE | |
2792 | pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
2793 | #else | |
2794 | pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
2795 | #endif | |
2796 | } | |
2797 | return pyobj; | |
2798 | } | |
2799 | ||
2800 | ||
c32bde28 | 2801 | static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2802 | PyObject *resultobj; |
2803 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
ae8162c8 | 2804 | bool arg2 = (bool) true ; |
d14a1e28 RD |
2805 | PyObject * obj0 = 0 ; |
2806 | PyObject * obj1 = 0 ; | |
2807 | char *kwnames[] = { | |
2808 | (char *) "self",(char *) "maximize", NULL | |
2809 | }; | |
2810 | ||
2811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2812 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2813 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 2814 | if (obj1) { |
c32bde28 | 2815 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 2816 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2817 | } |
2818 | { | |
2819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2820 | (arg1)->Maximize(arg2); | |
2821 | ||
2822 | wxPyEndAllowThreads(__tstate); | |
2823 | if (PyErr_Occurred()) SWIG_fail; | |
2824 | } | |
2825 | Py_INCREF(Py_None); resultobj = Py_None; | |
2826 | return resultobj; | |
2827 | fail: | |
2828 | return NULL; | |
2829 | } | |
2830 | ||
2831 | ||
c32bde28 | 2832 | static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2833 | PyObject *resultobj; |
2834 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2835 | PyObject * obj0 = 0 ; | |
2836 | char *kwnames[] = { | |
2837 | (char *) "self", NULL | |
2838 | }; | |
2839 | ||
2840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2841 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2842 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2843 | { |
2844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2845 | (arg1)->Restore(); | |
2846 | ||
2847 | wxPyEndAllowThreads(__tstate); | |
2848 | if (PyErr_Occurred()) SWIG_fail; | |
2849 | } | |
2850 | Py_INCREF(Py_None); resultobj = Py_None; | |
2851 | return resultobj; | |
2852 | fail: | |
2853 | return NULL; | |
2854 | } | |
2855 | ||
2856 | ||
c32bde28 | 2857 | static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2858 | PyObject *resultobj; |
2859 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
ae8162c8 | 2860 | bool arg2 = (bool) true ; |
d14a1e28 RD |
2861 | PyObject * obj0 = 0 ; |
2862 | PyObject * obj1 = 0 ; | |
2863 | char *kwnames[] = { | |
2864 | (char *) "self",(char *) "iconize", NULL | |
2865 | }; | |
2866 | ||
2867 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2868 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2869 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 2870 | if (obj1) { |
c32bde28 | 2871 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 2872 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2873 | } |
2874 | { | |
2875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2876 | (arg1)->Iconize(arg2); | |
2877 | ||
2878 | wxPyEndAllowThreads(__tstate); | |
2879 | if (PyErr_Occurred()) SWIG_fail; | |
2880 | } | |
2881 | Py_INCREF(Py_None); resultobj = Py_None; | |
2882 | return resultobj; | |
2883 | fail: | |
2884 | return NULL; | |
2885 | } | |
2886 | ||
2887 | ||
c32bde28 | 2888 | static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2889 | PyObject *resultobj; |
2890 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2891 | bool result; | |
2892 | PyObject * obj0 = 0 ; | |
2893 | char *kwnames[] = { | |
2894 | (char *) "self", NULL | |
2895 | }; | |
2896 | ||
2897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2898 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2899 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2900 | { |
2901 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2902 | result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized(); | |
2903 | ||
2904 | wxPyEndAllowThreads(__tstate); | |
2905 | if (PyErr_Occurred()) SWIG_fail; | |
2906 | } | |
4f89f6a3 RD |
2907 | { |
2908 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2909 | } | |
d14a1e28 RD |
2910 | return resultobj; |
2911 | fail: | |
2912 | return NULL; | |
2913 | } | |
2914 | ||
2915 | ||
c32bde28 | 2916 | static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2917 | PyObject *resultobj; |
2918 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2919 | bool result; | |
2920 | PyObject * obj0 = 0 ; | |
2921 | char *kwnames[] = { | |
2922 | (char *) "self", NULL | |
2923 | }; | |
2924 | ||
2925 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2926 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2927 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2928 | { |
2929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2930 | result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized(); | |
2931 | ||
2932 | wxPyEndAllowThreads(__tstate); | |
2933 | if (PyErr_Occurred()) SWIG_fail; | |
2934 | } | |
4f89f6a3 RD |
2935 | { |
2936 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2937 | } | |
d14a1e28 RD |
2938 | return resultobj; |
2939 | fail: | |
2940 | return NULL; | |
2941 | } | |
2942 | ||
2943 | ||
c32bde28 | 2944 | static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2945 | PyObject *resultobj; |
2946 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2947 | wxIcon result; | |
2948 | PyObject * obj0 = 0 ; | |
2949 | char *kwnames[] = { | |
2950 | (char *) "self", NULL | |
2951 | }; | |
2952 | ||
2953 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2954 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2955 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2956 | { |
2957 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2958 | result = ((wxTopLevelWindow const *)arg1)->GetIcon(); | |
2959 | ||
2960 | wxPyEndAllowThreads(__tstate); | |
2961 | if (PyErr_Occurred()) SWIG_fail; | |
2962 | } | |
2963 | { | |
2964 | wxIcon * resultptr; | |
2965 | resultptr = new wxIcon((wxIcon &) result); | |
15afbcd0 | 2966 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1); |
d14a1e28 RD |
2967 | } |
2968 | return resultobj; | |
2969 | fail: | |
2970 | return NULL; | |
2971 | } | |
2972 | ||
2973 | ||
c32bde28 | 2974 | static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2975 | PyObject *resultobj; |
2976 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2977 | wxIcon *arg2 = 0 ; | |
2978 | PyObject * obj0 = 0 ; | |
2979 | PyObject * obj1 = 0 ; | |
2980 | char *kwnames[] = { | |
2981 | (char *) "self",(char *) "icon", NULL | |
2982 | }; | |
2983 | ||
2984 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2985 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2986 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2987 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon, | |
2988 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2989 | SWIG_fail; | |
d14a1e28 | 2990 | if (arg2 == NULL) { |
15afbcd0 RD |
2991 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2992 | SWIG_fail; | |
d14a1e28 RD |
2993 | } |
2994 | { | |
2995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2996 | (arg1)->SetIcon((wxIcon const &)*arg2); | |
2997 | ||
2998 | wxPyEndAllowThreads(__tstate); | |
2999 | if (PyErr_Occurred()) SWIG_fail; | |
3000 | } | |
3001 | Py_INCREF(Py_None); resultobj = Py_None; | |
3002 | return resultobj; | |
3003 | fail: | |
3004 | return NULL; | |
3005 | } | |
3006 | ||
3007 | ||
c32bde28 | 3008 | static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3009 | PyObject *resultobj; |
3010 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3011 | wxIconBundle *arg2 = 0 ; | |
3012 | PyObject * obj0 = 0 ; | |
3013 | PyObject * obj1 = 0 ; | |
3014 | char *kwnames[] = { | |
3015 | (char *) "self",(char *) "icons", NULL | |
3016 | }; | |
3017 | ||
3018 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3019 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
3020 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3021 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle, | |
3022 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
3023 | SWIG_fail; | |
d14a1e28 | 3024 | if (arg2 == NULL) { |
15afbcd0 RD |
3025 | PyErr_SetString(PyExc_TypeError,"null reference"); |
3026 | SWIG_fail; | |
d14a1e28 RD |
3027 | } |
3028 | { | |
3029 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3030 | (arg1)->SetIcons((wxIconBundle const &)*arg2); | |
3031 | ||
3032 | wxPyEndAllowThreads(__tstate); | |
3033 | if (PyErr_Occurred()) SWIG_fail; | |
3034 | } | |
3035 | Py_INCREF(Py_None); resultobj = Py_None; | |
3036 | return resultobj; | |
3037 | fail: | |
3038 | return NULL; | |
3039 | } | |
3040 | ||
3041 | ||
c32bde28 | 3042 | static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3043 | PyObject *resultobj; |
3044 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3045 | bool arg2 ; | |
3046 | long arg3 = (long) wxFULLSCREEN_ALL ; | |
3047 | bool result; | |
3048 | PyObject * obj0 = 0 ; | |
3049 | PyObject * obj1 = 0 ; | |
994141e6 | 3050 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3051 | char *kwnames[] = { |
3052 | (char *) "self",(char *) "show",(char *) "style", NULL | |
3053 | }; | |
3054 | ||
994141e6 | 3055 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3056 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
3057 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 3058 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 3059 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 3060 | if (obj2) { |
c32bde28 | 3061 | arg3 = (long)SWIG_As_long(obj2); |
15afbcd0 | 3062 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 3063 | } |
d14a1e28 RD |
3064 | { |
3065 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3066 | result = (bool)(arg1)->ShowFullScreen(arg2,arg3); | |
3067 | ||
3068 | wxPyEndAllowThreads(__tstate); | |
3069 | if (PyErr_Occurred()) SWIG_fail; | |
3070 | } | |
4f89f6a3 RD |
3071 | { |
3072 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3073 | } | |
d14a1e28 RD |
3074 | return resultobj; |
3075 | fail: | |
3076 | return NULL; | |
3077 | } | |
3078 | ||
3079 | ||
c32bde28 | 3080 | static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3081 | PyObject *resultobj; |
3082 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3083 | bool result; | |
3084 | PyObject * obj0 = 0 ; | |
3085 | char *kwnames[] = { | |
3086 | (char *) "self", NULL | |
3087 | }; | |
3088 | ||
3089 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3090 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
3091 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3092 | { |
3093 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3094 | result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen(); | |
3095 | ||
3096 | wxPyEndAllowThreads(__tstate); | |
3097 | if (PyErr_Occurred()) SWIG_fail; | |
3098 | } | |
4f89f6a3 RD |
3099 | { |
3100 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3101 | } | |
d14a1e28 RD |
3102 | return resultobj; |
3103 | fail: | |
3104 | return NULL; | |
3105 | } | |
3106 | ||
3107 | ||
c32bde28 | 3108 | static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3109 | PyObject *resultobj; |
3110 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3111 | wxString *arg2 = 0 ; | |
ae8162c8 | 3112 | bool temp2 = false ; |
d14a1e28 RD |
3113 | PyObject * obj0 = 0 ; |
3114 | PyObject * obj1 = 0 ; | |
3115 | char *kwnames[] = { | |
3116 | (char *) "self",(char *) "title", NULL | |
3117 | }; | |
3118 | ||
3119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3120 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
3121 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3122 | { |
3123 | arg2 = wxString_in_helper(obj1); | |
3124 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 3125 | temp2 = true; |
d14a1e28 RD |
3126 | } |
3127 | { | |
3128 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3129 | (arg1)->SetTitle((wxString const &)*arg2); | |
3130 | ||
3131 | wxPyEndAllowThreads(__tstate); | |
3132 | if (PyErr_Occurred()) SWIG_fail; | |
3133 | } | |
3134 | Py_INCREF(Py_None); resultobj = Py_None; | |
3135 | { | |
3136 | if (temp2) | |
3137 | delete arg2; | |
3138 | } | |
3139 | return resultobj; | |
3140 | fail: | |
3141 | { | |
3142 | if (temp2) | |
3143 | delete arg2; | |
3144 | } | |
3145 | return NULL; | |
3146 | } | |
3147 | ||
3148 | ||
c32bde28 | 3149 | static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3150 | PyObject *resultobj; |
3151 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3152 | wxString result; | |
3153 | PyObject * obj0 = 0 ; | |
3154 | char *kwnames[] = { | |
3155 | (char *) "self", NULL | |
3156 | }; | |
3157 | ||
3158 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3159 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
3160 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3161 | { |
3162 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3163 | result = ((wxTopLevelWindow const *)arg1)->GetTitle(); | |
3164 | ||
3165 | wxPyEndAllowThreads(__tstate); | |
3166 | if (PyErr_Occurred()) SWIG_fail; | |
3167 | } | |
3168 | { | |
3169 | #if wxUSE_UNICODE | |
3170 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
3171 | #else | |
3172 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
3173 | #endif | |
3174 | } | |
3175 | return resultobj; | |
3176 | fail: | |
3177 | return NULL; | |
3178 | } | |
3179 | ||
3180 | ||
c32bde28 | 3181 | static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3182 | PyObject *resultobj; |
3183 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3184 | wxRegion *arg2 = 0 ; | |
3185 | bool result; | |
3186 | PyObject * obj0 = 0 ; | |
3187 | PyObject * obj1 = 0 ; | |
3188 | char *kwnames[] = { | |
3189 | (char *) "self",(char *) "region", NULL | |
3190 | }; | |
3191 | ||
3192 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3193 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
3194 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3195 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion, | |
3196 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
3197 | SWIG_fail; | |
d14a1e28 | 3198 | if (arg2 == NULL) { |
15afbcd0 RD |
3199 | PyErr_SetString(PyExc_TypeError,"null reference"); |
3200 | SWIG_fail; | |
d14a1e28 RD |
3201 | } |
3202 | { | |
3203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3204 | result = (bool)(arg1)->SetShape((wxRegion const &)*arg2); | |
3205 | ||
3206 | wxPyEndAllowThreads(__tstate); | |
3207 | if (PyErr_Occurred()) SWIG_fail; | |
3208 | } | |
4f89f6a3 RD |
3209 | { |
3210 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3211 | } | |
d14a1e28 RD |
3212 | return resultobj; |
3213 | fail: | |
3214 | return NULL; | |
3215 | } | |
3216 | ||
3217 | ||
c32bde28 RD |
3218 | static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) { |
3219 | PyObject *resultobj; | |
3220 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3221 | int arg2 = (int) wxUSER_ATTENTION_INFO ; | |
3222 | PyObject * obj0 = 0 ; | |
3223 | PyObject * obj1 = 0 ; | |
3224 | char *kwnames[] = { | |
3225 | (char *) "self",(char *) "flags", NULL | |
3226 | }; | |
3227 | ||
3228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail; | |
3229 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
3230 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3231 | if (obj1) { | |
3232 | arg2 = (int)SWIG_As_int(obj1); | |
3233 | if (PyErr_Occurred()) SWIG_fail; | |
3234 | } | |
3235 | { | |
3236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3237 | (arg1)->RequestUserAttention(arg2); | |
3238 | ||
3239 | wxPyEndAllowThreads(__tstate); | |
3240 | if (PyErr_Occurred()) SWIG_fail; | |
3241 | } | |
3242 | Py_INCREF(Py_None); resultobj = Py_None; | |
3243 | return resultobj; | |
3244 | fail: | |
3245 | return NULL; | |
3246 | } | |
3247 | ||
3248 | ||
b6294124 RD |
3249 | static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) { |
3250 | PyObject *resultobj; | |
3251 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3252 | bool result; | |
3253 | PyObject * obj0 = 0 ; | |
3254 | char *kwnames[] = { | |
3255 | (char *) "self", NULL | |
3256 | }; | |
3257 | ||
3258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail; | |
3259 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
3260 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3261 | { | |
3262 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3263 | result = (bool)(arg1)->IsActive(); | |
3264 | ||
3265 | wxPyEndAllowThreads(__tstate); | |
3266 | if (PyErr_Occurred()) SWIG_fail; | |
3267 | } | |
3268 | { | |
3269 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3270 | } | |
3271 | return resultobj; | |
3272 | fail: | |
3273 | return NULL; | |
3274 | } | |
3275 | ||
3276 | ||
c32bde28 | 3277 | static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
3278 | PyObject *obj; |
3279 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3280 | SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj); | |
3281 | Py_INCREF(obj); | |
3282 | return Py_BuildValue((char *)""); | |
3283 | } | |
c32bde28 | 3284 | static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3285 | PyObject *resultobj; |
3286 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 RD |
3287 | int arg2 = (int) (int)-1 ; |
3288 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
3289 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d14a1e28 RD |
3290 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
3291 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
3292 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
3293 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
3294 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
3295 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
3296 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
3297 | wxFrame *result; | |
ae8162c8 | 3298 | bool temp3 = false ; |
d14a1e28 RD |
3299 | wxPoint temp4 ; |
3300 | wxSize temp5 ; | |
ae8162c8 | 3301 | bool temp7 = false ; |
d14a1e28 | 3302 | PyObject * obj0 = 0 ; |
994141e6 | 3303 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3304 | PyObject * obj2 = 0 ; |
3305 | PyObject * obj3 = 0 ; | |
3306 | PyObject * obj4 = 0 ; | |
994141e6 | 3307 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
3308 | PyObject * obj6 = 0 ; |
3309 | char *kwnames[] = { | |
3310 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3311 | }; | |
3312 | ||
248ed943 | 3313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
3314 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
3315 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 3316 | if (obj1) { |
c32bde28 | 3317 | arg2 = (int)SWIG_As_int(obj1); |
248ed943 RD |
3318 | if (PyErr_Occurred()) SWIG_fail; |
3319 | } | |
3320 | if (obj2) { | |
3321 | { | |
3322 | arg3 = wxString_in_helper(obj2); | |
3323 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 3324 | temp3 = true; |
248ed943 | 3325 | } |
d14a1e28 RD |
3326 | } |
3327 | if (obj3) { | |
3328 | { | |
3329 | arg4 = &temp4; | |
3330 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
3331 | } | |
3332 | } | |
3333 | if (obj4) { | |
3334 | { | |
3335 | arg5 = &temp5; | |
3336 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
3337 | } | |
3338 | } | |
994141e6 | 3339 | if (obj5) { |
c32bde28 | 3340 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 3341 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 3342 | } |
d14a1e28 RD |
3343 | if (obj6) { |
3344 | { | |
3345 | arg7 = wxString_in_helper(obj6); | |
3346 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 3347 | temp7 = true; |
d14a1e28 RD |
3348 | } |
3349 | } | |
3350 | { | |
e3b71cb8 | 3351 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
3352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
3353 | result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
3354 | ||
3355 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 3356 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 3357 | } |
b0f7404b | 3358 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1); |
d14a1e28 RD |
3359 | { |
3360 | if (temp3) | |
3361 | delete arg3; | |
3362 | } | |
3363 | { | |
3364 | if (temp7) | |
3365 | delete arg7; | |
3366 | } | |
3367 | return resultobj; | |
3368 | fail: | |
3369 | { | |
3370 | if (temp3) | |
3371 | delete arg3; | |
3372 | } | |
3373 | { | |
3374 | if (temp7) | |
3375 | delete arg7; | |
3376 | } | |
3377 | return NULL; | |
3378 | } | |
3379 | ||
3380 | ||
c32bde28 | 3381 | static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3382 | PyObject *resultobj; |
3383 | wxFrame *result; | |
3384 | char *kwnames[] = { | |
3385 | NULL | |
3386 | }; | |
3387 | ||
3388 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail; | |
3389 | { | |
e3b71cb8 | 3390 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
3391 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
3392 | result = (wxFrame *)new wxFrame(); | |
3393 | ||
3394 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 3395 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 3396 | } |
b0f7404b | 3397 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1); |
d14a1e28 RD |
3398 | return resultobj; |
3399 | fail: | |
3400 | return NULL; | |
3401 | } | |
3402 | ||
3403 | ||
c32bde28 | 3404 | static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3405 | PyObject *resultobj; |
3406 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3407 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 RD |
3408 | int arg3 = (int) (int)-1 ; |
3409 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
3410 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d14a1e28 RD |
3411 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
3412 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
3413 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
3414 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
3415 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
3416 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
3417 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
3418 | bool result; | |
ae8162c8 | 3419 | bool temp4 = false ; |
d14a1e28 RD |
3420 | wxPoint temp5 ; |
3421 | wxSize temp6 ; | |
ae8162c8 | 3422 | bool temp8 = false ; |
d14a1e28 RD |
3423 | PyObject * obj0 = 0 ; |
3424 | PyObject * obj1 = 0 ; | |
994141e6 | 3425 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3426 | PyObject * obj3 = 0 ; |
3427 | PyObject * obj4 = 0 ; | |
3428 | PyObject * obj5 = 0 ; | |
994141e6 | 3429 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
3430 | PyObject * obj7 = 0 ; |
3431 | char *kwnames[] = { | |
3432 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3433 | }; | |
3434 | ||
248ed943 | 3435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
3436 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3437 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3438 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
3439 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 3440 | if (obj2) { |
c32bde28 | 3441 | arg3 = (int)SWIG_As_int(obj2); |
248ed943 RD |
3442 | if (PyErr_Occurred()) SWIG_fail; |
3443 | } | |
3444 | if (obj3) { | |
3445 | { | |
3446 | arg4 = wxString_in_helper(obj3); | |
3447 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 3448 | temp4 = true; |
248ed943 | 3449 | } |
d14a1e28 RD |
3450 | } |
3451 | if (obj4) { | |
3452 | { | |
3453 | arg5 = &temp5; | |
3454 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
3455 | } | |
3456 | } | |
3457 | if (obj5) { | |
3458 | { | |
3459 | arg6 = &temp6; | |
3460 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
3461 | } | |
3462 | } | |
994141e6 | 3463 | if (obj6) { |
c32bde28 | 3464 | arg7 = (long)SWIG_As_long(obj6); |
15afbcd0 | 3465 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 3466 | } |
d14a1e28 RD |
3467 | if (obj7) { |
3468 | { | |
3469 | arg8 = wxString_in_helper(obj7); | |
3470 | if (arg8 == NULL) SWIG_fail; | |
ae8162c8 | 3471 | temp8 = true; |
d14a1e28 RD |
3472 | } |
3473 | } | |
3474 | { | |
3475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3476 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
3477 | ||
3478 | wxPyEndAllowThreads(__tstate); | |
3479 | if (PyErr_Occurred()) SWIG_fail; | |
3480 | } | |
4f89f6a3 RD |
3481 | { |
3482 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3483 | } | |
d14a1e28 RD |
3484 | { |
3485 | if (temp4) | |
3486 | delete arg4; | |
3487 | } | |
3488 | { | |
3489 | if (temp8) | |
3490 | delete arg8; | |
3491 | } | |
3492 | return resultobj; | |
3493 | fail: | |
3494 | { | |
3495 | if (temp4) | |
3496 | delete arg4; | |
3497 | } | |
3498 | { | |
3499 | if (temp8) | |
3500 | delete arg8; | |
3501 | } | |
3502 | return NULL; | |
3503 | } | |
3504 | ||
3505 | ||
c32bde28 | 3506 | static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3507 | PyObject *resultobj; |
3508 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3509 | wxPoint result; | |
3510 | PyObject * obj0 = 0 ; | |
3511 | char *kwnames[] = { | |
3512 | (char *) "self", NULL | |
3513 | }; | |
3514 | ||
3515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3516 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3517 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3518 | { |
3519 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3520 | result = ((wxFrame const *)arg1)->GetClientAreaOrigin(); | |
3521 | ||
3522 | wxPyEndAllowThreads(__tstate); | |
3523 | if (PyErr_Occurred()) SWIG_fail; | |
3524 | } | |
3525 | { | |
3526 | wxPoint * resultptr; | |
3527 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 3528 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
3529 | } |
3530 | return resultobj; | |
3531 | fail: | |
3532 | return NULL; | |
3533 | } | |
3534 | ||
3535 | ||
c32bde28 | 3536 | static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3537 | PyObject *resultobj; |
3538 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3539 | PyObject * obj0 = 0 ; | |
3540 | char *kwnames[] = { | |
3541 | (char *) "self", NULL | |
3542 | }; | |
3543 | ||
3544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3545 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3546 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3547 | { |
3548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3549 | (arg1)->SendSizeEvent(); | |
3550 | ||
3551 | wxPyEndAllowThreads(__tstate); | |
3552 | if (PyErr_Occurred()) SWIG_fail; | |
3553 | } | |
3554 | Py_INCREF(Py_None); resultobj = Py_None; | |
3555 | return resultobj; | |
3556 | fail: | |
3557 | return NULL; | |
3558 | } | |
3559 | ||
3560 | ||
c32bde28 | 3561 | static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3562 | PyObject *resultobj; |
3563 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3564 | wxMenuBar *arg2 = (wxMenuBar *) 0 ; | |
3565 | PyObject * obj0 = 0 ; | |
3566 | PyObject * obj1 = 0 ; | |
3567 | char *kwnames[] = { | |
3568 | (char *) "self",(char *) "menubar", NULL | |
3569 | }; | |
3570 | ||
3571 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3572 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3573 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3574 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar, | |
3575 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3576 | { |
3577 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3578 | (arg1)->SetMenuBar(arg2); | |
3579 | ||
3580 | wxPyEndAllowThreads(__tstate); | |
3581 | if (PyErr_Occurred()) SWIG_fail; | |
3582 | } | |
3583 | Py_INCREF(Py_None); resultobj = Py_None; | |
3584 | return resultobj; | |
3585 | fail: | |
3586 | return NULL; | |
3587 | } | |
3588 | ||
3589 | ||
c32bde28 | 3590 | static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3591 | PyObject *resultobj; |
3592 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3593 | wxMenuBar *result; | |
3594 | PyObject * obj0 = 0 ; | |
3595 | char *kwnames[] = { | |
3596 | (char *) "self", NULL | |
3597 | }; | |
3598 | ||
3599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3600 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3601 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3602 | { |
3603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3604 | result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar(); | |
3605 | ||
3606 | wxPyEndAllowThreads(__tstate); | |
3607 | if (PyErr_Occurred()) SWIG_fail; | |
3608 | } | |
3609 | { | |
412d302d | 3610 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
3611 | } |
3612 | return resultobj; | |
3613 | fail: | |
3614 | return NULL; | |
3615 | } | |
3616 | ||
3617 | ||
c32bde28 | 3618 | static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3619 | PyObject *resultobj; |
3620 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3621 | int arg2 ; | |
3622 | bool result; | |
3623 | PyObject * obj0 = 0 ; | |
994141e6 | 3624 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3625 | char *kwnames[] = { |
3626 | (char *) "self",(char *) "winid", NULL | |
3627 | }; | |
3628 | ||
994141e6 | 3629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3630 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3631 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 3632 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3633 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3634 | { |
3635 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3636 | result = (bool)(arg1)->ProcessCommand(arg2); | |
3637 | ||
3638 | wxPyEndAllowThreads(__tstate); | |
3639 | if (PyErr_Occurred()) SWIG_fail; | |
3640 | } | |
4f89f6a3 RD |
3641 | { |
3642 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3643 | } | |
d14a1e28 RD |
3644 | return resultobj; |
3645 | fail: | |
3646 | return NULL; | |
3647 | } | |
3648 | ||
3649 | ||
c32bde28 | 3650 | static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3651 | PyObject *resultobj; |
3652 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3653 | int arg2 = (int) 1 ; | |
4276dc52 | 3654 | long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ; |
e811c8ce | 3655 | int arg4 = (int) 0 ; |
d14a1e28 RD |
3656 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; |
3657 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
3658 | wxStatusBar *result; | |
ae8162c8 | 3659 | bool temp5 = false ; |
d14a1e28 | 3660 | PyObject * obj0 = 0 ; |
994141e6 RD |
3661 | PyObject * obj1 = 0 ; |
3662 | PyObject * obj2 = 0 ; | |
3663 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
3664 | PyObject * obj4 = 0 ; |
3665 | char *kwnames[] = { | |
3666 | (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL | |
3667 | }; | |
3668 | ||
994141e6 | 3669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
3670 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3671 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 3672 | if (obj1) { |
c32bde28 | 3673 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3674 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 RD |
3675 | } |
3676 | if (obj2) { | |
c32bde28 | 3677 | arg3 = (long)SWIG_As_long(obj2); |
15afbcd0 | 3678 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 RD |
3679 | } |
3680 | if (obj3) { | |
c32bde28 | 3681 | arg4 = (int)SWIG_As_int(obj3); |
15afbcd0 | 3682 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 3683 | } |
d14a1e28 RD |
3684 | if (obj4) { |
3685 | { | |
3686 | arg5 = wxString_in_helper(obj4); | |
3687 | if (arg5 == NULL) SWIG_fail; | |
ae8162c8 | 3688 | temp5 = true; |
d14a1e28 RD |
3689 | } |
3690 | } | |
3691 | { | |
3692 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3693 | result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5); | |
3694 | ||
3695 | wxPyEndAllowThreads(__tstate); | |
3696 | if (PyErr_Occurred()) SWIG_fail; | |
3697 | } | |
3698 | { | |
412d302d | 3699 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
3700 | } |
3701 | { | |
3702 | if (temp5) | |
3703 | delete arg5; | |
3704 | } | |
3705 | return resultobj; | |
3706 | fail: | |
3707 | { | |
3708 | if (temp5) | |
3709 | delete arg5; | |
3710 | } | |
3711 | return NULL; | |
3712 | } | |
3713 | ||
3714 | ||
c32bde28 | 3715 | static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3716 | PyObject *resultobj; |
3717 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3718 | wxStatusBar *result; | |
3719 | PyObject * obj0 = 0 ; | |
3720 | char *kwnames[] = { | |
3721 | (char *) "self", NULL | |
3722 | }; | |
3723 | ||
3724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3725 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3726 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3727 | { |
3728 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3729 | result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar(); | |
3730 | ||
3731 | wxPyEndAllowThreads(__tstate); | |
3732 | if (PyErr_Occurred()) SWIG_fail; | |
3733 | } | |
3734 | { | |
412d302d | 3735 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
3736 | } |
3737 | return resultobj; | |
3738 | fail: | |
3739 | return NULL; | |
3740 | } | |
3741 | ||
3742 | ||
c32bde28 | 3743 | static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3744 | PyObject *resultobj; |
3745 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3746 | wxStatusBar *arg2 = (wxStatusBar *) 0 ; | |
3747 | PyObject * obj0 = 0 ; | |
3748 | PyObject * obj1 = 0 ; | |
3749 | char *kwnames[] = { | |
3750 | (char *) "self",(char *) "statBar", NULL | |
3751 | }; | |
3752 | ||
3753 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3754 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3755 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3756 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar, | |
3757 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3758 | { |
3759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3760 | (arg1)->SetStatusBar(arg2); | |
3761 | ||
3762 | wxPyEndAllowThreads(__tstate); | |
3763 | if (PyErr_Occurred()) SWIG_fail; | |
3764 | } | |
3765 | Py_INCREF(Py_None); resultobj = Py_None; | |
3766 | return resultobj; | |
3767 | fail: | |
3768 | return NULL; | |
3769 | } | |
3770 | ||
3771 | ||
c32bde28 | 3772 | static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3773 | PyObject *resultobj; |
3774 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3775 | wxString *arg2 = 0 ; | |
3776 | int arg3 = (int) 0 ; | |
ae8162c8 | 3777 | bool temp2 = false ; |
d14a1e28 RD |
3778 | PyObject * obj0 = 0 ; |
3779 | PyObject * obj1 = 0 ; | |
994141e6 | 3780 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3781 | char *kwnames[] = { |
3782 | (char *) "self",(char *) "text",(char *) "number", NULL | |
3783 | }; | |
3784 | ||
994141e6 | 3785 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3786 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3787 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3788 | { |
3789 | arg2 = wxString_in_helper(obj1); | |
3790 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 3791 | temp2 = true; |
d14a1e28 | 3792 | } |
994141e6 | 3793 | if (obj2) { |
c32bde28 | 3794 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 3795 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 3796 | } |
d14a1e28 RD |
3797 | { |
3798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3799 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
3800 | ||
3801 | wxPyEndAllowThreads(__tstate); | |
3802 | if (PyErr_Occurred()) SWIG_fail; | |
3803 | } | |
3804 | Py_INCREF(Py_None); resultobj = Py_None; | |
3805 | { | |
3806 | if (temp2) | |
3807 | delete arg2; | |
3808 | } | |
3809 | return resultobj; | |
3810 | fail: | |
3811 | { | |
3812 | if (temp2) | |
3813 | delete arg2; | |
3814 | } | |
3815 | return NULL; | |
3816 | } | |
3817 | ||
3818 | ||
c32bde28 | 3819 | static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3820 | PyObject *resultobj; |
3821 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3822 | int arg2 ; | |
3823 | int *arg3 = (int *) 0 ; | |
3824 | PyObject * obj0 = 0 ; | |
3825 | PyObject * obj1 = 0 ; | |
3826 | char *kwnames[] = { | |
3827 | (char *) "self",(char *) "widths", NULL | |
3828 | }; | |
3829 | ||
3830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3831 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3832 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3833 | { |
3834 | arg2 = PyList_Size(obj1); | |
3835 | arg3 = int_LIST_helper(obj1); | |
3836 | if (arg3 == NULL) SWIG_fail; | |
3837 | } | |
3838 | { | |
3839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3840 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
3841 | ||
3842 | wxPyEndAllowThreads(__tstate); | |
3843 | if (PyErr_Occurred()) SWIG_fail; | |
3844 | } | |
3845 | Py_INCREF(Py_None); resultobj = Py_None; | |
3846 | { | |
3847 | if (arg3) delete [] arg3; | |
3848 | } | |
3849 | return resultobj; | |
3850 | fail: | |
3851 | { | |
3852 | if (arg3) delete [] arg3; | |
3853 | } | |
3854 | return NULL; | |
3855 | } | |
3856 | ||
3857 | ||
c32bde28 | 3858 | static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3859 | PyObject *resultobj; |
3860 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3861 | wxString *arg2 = 0 ; | |
3862 | int arg3 = (int) 0 ; | |
ae8162c8 | 3863 | bool temp2 = false ; |
d14a1e28 RD |
3864 | PyObject * obj0 = 0 ; |
3865 | PyObject * obj1 = 0 ; | |
994141e6 | 3866 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3867 | char *kwnames[] = { |
3868 | (char *) "self",(char *) "text",(char *) "number", NULL | |
3869 | }; | |
3870 | ||
994141e6 | 3871 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3872 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3873 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3874 | { |
3875 | arg2 = wxString_in_helper(obj1); | |
3876 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 3877 | temp2 = true; |
d14a1e28 | 3878 | } |
994141e6 | 3879 | if (obj2) { |
c32bde28 | 3880 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 3881 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 3882 | } |
d14a1e28 RD |
3883 | { |
3884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3885 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
3886 | ||
3887 | wxPyEndAllowThreads(__tstate); | |
3888 | if (PyErr_Occurred()) SWIG_fail; | |
3889 | } | |
3890 | Py_INCREF(Py_None); resultobj = Py_None; | |
3891 | { | |
3892 | if (temp2) | |
3893 | delete arg2; | |
3894 | } | |
3895 | return resultobj; | |
3896 | fail: | |
3897 | { | |
3898 | if (temp2) | |
3899 | delete arg2; | |
3900 | } | |
3901 | return NULL; | |
3902 | } | |
3903 | ||
3904 | ||
c32bde28 | 3905 | static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3906 | PyObject *resultobj; |
3907 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3908 | int arg2 = (int) 0 ; | |
3909 | PyObject * obj0 = 0 ; | |
994141e6 | 3910 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3911 | char *kwnames[] = { |
3912 | (char *) "self",(char *) "number", NULL | |
3913 | }; | |
3914 | ||
994141e6 | 3915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3916 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3917 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 3918 | if (obj1) { |
c32bde28 | 3919 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3920 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 3921 | } |
d14a1e28 RD |
3922 | { |
3923 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3924 | (arg1)->PopStatusText(arg2); | |
3925 | ||
3926 | wxPyEndAllowThreads(__tstate); | |
3927 | if (PyErr_Occurred()) SWIG_fail; | |
3928 | } | |
3929 | Py_INCREF(Py_None); resultobj = Py_None; | |
3930 | return resultobj; | |
3931 | fail: | |
3932 | return NULL; | |
3933 | } | |
3934 | ||
3935 | ||
c32bde28 | 3936 | static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3937 | PyObject *resultobj; |
3938 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3939 | int arg2 ; | |
3940 | PyObject * obj0 = 0 ; | |
994141e6 | 3941 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3942 | char *kwnames[] = { |
3943 | (char *) "self",(char *) "n", NULL | |
3944 | }; | |
3945 | ||
994141e6 | 3946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3947 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3948 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 3949 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3950 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3951 | { |
3952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3953 | (arg1)->SetStatusBarPane(arg2); | |
3954 | ||
3955 | wxPyEndAllowThreads(__tstate); | |
3956 | if (PyErr_Occurred()) SWIG_fail; | |
3957 | } | |
3958 | Py_INCREF(Py_None); resultobj = Py_None; | |
3959 | return resultobj; | |
3960 | fail: | |
3961 | return NULL; | |
3962 | } | |
3963 | ||
3964 | ||
c32bde28 | 3965 | static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3966 | PyObject *resultobj; |
3967 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3968 | int result; | |
3969 | PyObject * obj0 = 0 ; | |
3970 | char *kwnames[] = { | |
3971 | (char *) "self", NULL | |
3972 | }; | |
3973 | ||
3974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3975 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3976 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3977 | { |
3978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3979 | result = (int)((wxFrame const *)arg1)->GetStatusBarPane(); | |
3980 | ||
3981 | wxPyEndAllowThreads(__tstate); | |
3982 | if (PyErr_Occurred()) SWIG_fail; | |
3983 | } | |
c32bde28 | 3984 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
3985 | return resultobj; |
3986 | fail: | |
3987 | return NULL; | |
3988 | } | |
3989 | ||
3990 | ||
c32bde28 | 3991 | static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3992 | PyObject *resultobj; |
3993 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3994 | long arg2 = (long) -1 ; | |
e811c8ce | 3995 | int arg3 = (int) -1 ; |
d14a1e28 RD |
3996 | wxString const &arg4_defvalue = wxPyToolBarNameStr ; |
3997 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
3998 | wxToolBar *result; | |
ae8162c8 | 3999 | bool temp4 = false ; |
d14a1e28 | 4000 | PyObject * obj0 = 0 ; |
994141e6 RD |
4001 | PyObject * obj1 = 0 ; |
4002 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
4003 | PyObject * obj3 = 0 ; |
4004 | char *kwnames[] = { | |
4005 | (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL | |
4006 | }; | |
4007 | ||
994141e6 | 4008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
4009 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
4010 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 4011 | if (obj1) { |
c32bde28 | 4012 | arg2 = (long)SWIG_As_long(obj1); |
15afbcd0 | 4013 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 RD |
4014 | } |
4015 | if (obj2) { | |
c32bde28 | 4016 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 4017 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 4018 | } |
d14a1e28 RD |
4019 | if (obj3) { |
4020 | { | |
4021 | arg4 = wxString_in_helper(obj3); | |
4022 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 4023 | temp4 = true; |
d14a1e28 RD |
4024 | } |
4025 | } | |
4026 | { | |
4027 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4028 | result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4); | |
4029 | ||
4030 | wxPyEndAllowThreads(__tstate); | |
4031 | if (PyErr_Occurred()) SWIG_fail; | |
4032 | } | |
4033 | { | |
412d302d | 4034 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
4035 | } |
4036 | { | |
4037 | if (temp4) | |
4038 | delete arg4; | |
4039 | } | |
4040 | return resultobj; | |
4041 | fail: | |
4042 | { | |
4043 | if (temp4) | |
4044 | delete arg4; | |
4045 | } | |
4046 | return NULL; | |
4047 | } | |
4048 | ||
4049 | ||
c32bde28 | 4050 | static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4051 | PyObject *resultobj; |
4052 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4053 | wxToolBar *result; | |
4054 | PyObject * obj0 = 0 ; | |
4055 | char *kwnames[] = { | |
4056 | (char *) "self", NULL | |
4057 | }; | |
4058 | ||
4059 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4060 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
4061 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4062 | { |
4063 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4064 | result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar(); | |
4065 | ||
4066 | wxPyEndAllowThreads(__tstate); | |
4067 | if (PyErr_Occurred()) SWIG_fail; | |
4068 | } | |
4069 | { | |
412d302d | 4070 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
4071 | } |
4072 | return resultobj; | |
4073 | fail: | |
4074 | return NULL; | |
4075 | } | |
4076 | ||
4077 | ||
c32bde28 | 4078 | static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4079 | PyObject *resultobj; |
4080 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4081 | wxToolBar *arg2 = (wxToolBar *) 0 ; | |
4082 | PyObject * obj0 = 0 ; | |
4083 | PyObject * obj1 = 0 ; | |
4084 | char *kwnames[] = { | |
4085 | (char *) "self",(char *) "toolbar", NULL | |
4086 | }; | |
4087 | ||
4088 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4089 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
4090 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4091 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar, | |
4092 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4093 | { |
4094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4095 | (arg1)->SetToolBar(arg2); | |
4096 | ||
4097 | wxPyEndAllowThreads(__tstate); | |
4098 | if (PyErr_Occurred()) SWIG_fail; | |
4099 | } | |
4100 | Py_INCREF(Py_None); resultobj = Py_None; | |
4101 | return resultobj; | |
4102 | fail: | |
4103 | return NULL; | |
4104 | } | |
4105 | ||
4106 | ||
c32bde28 | 4107 | static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4108 | PyObject *resultobj; |
4109 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4110 | wxString *arg2 = 0 ; | |
4111 | bool arg3 ; | |
ae8162c8 | 4112 | bool temp2 = false ; |
d14a1e28 RD |
4113 | PyObject * obj0 = 0 ; |
4114 | PyObject * obj1 = 0 ; | |
4115 | PyObject * obj2 = 0 ; | |
4116 | char *kwnames[] = { | |
4117 | (char *) "self",(char *) "text",(char *) "show", NULL | |
4118 | }; | |
4119 | ||
4120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
4121 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
4122 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4123 | { |
4124 | arg2 = wxString_in_helper(obj1); | |
4125 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 4126 | temp2 = true; |
d14a1e28 | 4127 | } |
c32bde28 | 4128 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 4129 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4130 | { |
4131 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4132 | (arg1)->DoGiveHelp((wxString const &)*arg2,arg3); | |
4133 | ||
4134 | wxPyEndAllowThreads(__tstate); | |
4135 | if (PyErr_Occurred()) SWIG_fail; | |
4136 | } | |
4137 | Py_INCREF(Py_None); resultobj = Py_None; | |
4138 | { | |
4139 | if (temp2) | |
4140 | delete arg2; | |
4141 | } | |
4142 | return resultobj; | |
4143 | fail: | |
4144 | { | |
4145 | if (temp2) | |
4146 | delete arg2; | |
4147 | } | |
4148 | return NULL; | |
4149 | } | |
4150 | ||
4151 | ||
c32bde28 | 4152 | static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4153 | PyObject *resultobj; |
4154 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4155 | wxMenu *arg2 = (wxMenu *) NULL ; | |
4156 | PyObject * obj0 = 0 ; | |
4157 | PyObject * obj1 = 0 ; | |
4158 | char *kwnames[] = { | |
4159 | (char *) "self",(char *) "menu", NULL | |
4160 | }; | |
4161 | ||
4162 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4163 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
4164 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 4165 | if (obj1) { |
15afbcd0 RD |
4166 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu, |
4167 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4168 | } |
4169 | { | |
4170 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4171 | (arg1)->DoMenuUpdates(arg2); | |
4172 | ||
4173 | wxPyEndAllowThreads(__tstate); | |
4174 | if (PyErr_Occurred()) SWIG_fail; | |
4175 | } | |
4176 | Py_INCREF(Py_None); resultobj = Py_None; | |
4177 | return resultobj; | |
4178 | fail: | |
4179 | return NULL; | |
4180 | } | |
4181 | ||
4182 | ||
c32bde28 | 4183 | static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
22bfe96c RD |
4184 | PyObject *resultobj; |
4185 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
4186 | wxVisualAttributes result; | |
4187 | PyObject * obj0 = 0 ; | |
4188 | char *kwnames[] = { | |
4189 | (char *) "variant", NULL | |
4190 | }; | |
4191 | ||
4192 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
4193 | if (obj0) { | |
c32bde28 | 4194 | arg1 = (int)SWIG_As_int(obj0); |
22bfe96c RD |
4195 | if (PyErr_Occurred()) SWIG_fail; |
4196 | } | |
4197 | { | |
e3b71cb8 | 4198 | if (!wxPyCheckForApp()) SWIG_fail; |
22bfe96c RD |
4199 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4200 | result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
4201 | ||
4202 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4203 | if (PyErr_Occurred()) SWIG_fail; |
22bfe96c RD |
4204 | } |
4205 | { | |
4206 | wxVisualAttributes * resultptr; | |
4207 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
4208 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
4209 | } | |
4210 | return resultobj; | |
4211 | fail: | |
4212 | return NULL; | |
4213 | } | |
4214 | ||
4215 | ||
c32bde28 | 4216 | static PyObject * Frame_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
4217 | PyObject *obj; |
4218 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4219 | SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj); | |
4220 | Py_INCREF(obj); | |
4221 | return Py_BuildValue((char *)""); | |
4222 | } | |
c32bde28 | 4223 | static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4224 | PyObject *resultobj; |
4225 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 RD |
4226 | int arg2 = (int) (int)-1 ; |
4227 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
4228 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d14a1e28 RD |
4229 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
4230 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4231 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4232 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4233 | long arg6 = (long) wxDEFAULT_DIALOG_STYLE ; | |
4234 | wxString const &arg7_defvalue = wxPyDialogNameStr ; | |
4235 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
4236 | wxDialog *result; | |
ae8162c8 | 4237 | bool temp3 = false ; |
d14a1e28 RD |
4238 | wxPoint temp4 ; |
4239 | wxSize temp5 ; | |
ae8162c8 | 4240 | bool temp7 = false ; |
d14a1e28 | 4241 | PyObject * obj0 = 0 ; |
994141e6 | 4242 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4243 | PyObject * obj2 = 0 ; |
4244 | PyObject * obj3 = 0 ; | |
4245 | PyObject * obj4 = 0 ; | |
994141e6 | 4246 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
4247 | PyObject * obj6 = 0 ; |
4248 | char *kwnames[] = { | |
4249 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4250 | }; | |
4251 | ||
248ed943 | 4252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
4253 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
4254 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 4255 | if (obj1) { |
c32bde28 | 4256 | arg2 = (int)SWIG_As_int(obj1); |
248ed943 RD |
4257 | if (PyErr_Occurred()) SWIG_fail; |
4258 | } | |
4259 | if (obj2) { | |
4260 | { | |
4261 | arg3 = wxString_in_helper(obj2); | |
4262 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 4263 | temp3 = true; |
248ed943 | 4264 | } |
d14a1e28 RD |
4265 | } |
4266 | if (obj3) { | |
4267 | { | |
4268 | arg4 = &temp4; | |
4269 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4270 | } | |
4271 | } | |
4272 | if (obj4) { | |
4273 | { | |
4274 | arg5 = &temp5; | |
4275 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4276 | } | |
4277 | } | |
994141e6 | 4278 | if (obj5) { |
c32bde28 | 4279 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 4280 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 4281 | } |
d14a1e28 RD |
4282 | if (obj6) { |
4283 | { | |
4284 | arg7 = wxString_in_helper(obj6); | |
4285 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 4286 | temp7 = true; |
d14a1e28 RD |
4287 | } |
4288 | } | |
4289 | { | |
e3b71cb8 | 4290 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
4291 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4292 | result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
4293 | ||
4294 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4295 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 4296 | } |
b0f7404b | 4297 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1); |
d14a1e28 RD |
4298 | { |
4299 | if (temp3) | |
4300 | delete arg3; | |
4301 | } | |
4302 | { | |
4303 | if (temp7) | |
4304 | delete arg7; | |
4305 | } | |
4306 | return resultobj; | |
4307 | fail: | |
4308 | { | |
4309 | if (temp3) | |
4310 | delete arg3; | |
4311 | } | |
4312 | { | |
4313 | if (temp7) | |
4314 | delete arg7; | |
4315 | } | |
4316 | return NULL; | |
4317 | } | |
4318 | ||
4319 | ||
c32bde28 | 4320 | static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4321 | PyObject *resultobj; |
4322 | wxDialog *result; | |
4323 | char *kwnames[] = { | |
4324 | NULL | |
4325 | }; | |
4326 | ||
4327 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail; | |
4328 | { | |
e3b71cb8 | 4329 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
4330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4331 | result = (wxDialog *)new wxDialog(); | |
4332 | ||
4333 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4334 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 4335 | } |
b0f7404b | 4336 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1); |
d14a1e28 RD |
4337 | return resultobj; |
4338 | fail: | |
4339 | return NULL; | |
4340 | } | |
4341 | ||
4342 | ||
c32bde28 | 4343 | static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4344 | PyObject *resultobj; |
4345 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4346 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 RD |
4347 | int arg3 = (int) (int)-1 ; |
4348 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
4349 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d14a1e28 RD |
4350 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
4351 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
4352 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
4353 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
4354 | long arg7 = (long) wxDEFAULT_DIALOG_STYLE ; | |
4355 | wxString const &arg8_defvalue = wxPyDialogNameStr ; | |
4356 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
4357 | bool result; | |
ae8162c8 | 4358 | bool temp4 = false ; |
d14a1e28 RD |
4359 | wxPoint temp5 ; |
4360 | wxSize temp6 ; | |
ae8162c8 | 4361 | bool temp8 = false ; |
d14a1e28 RD |
4362 | PyObject * obj0 = 0 ; |
4363 | PyObject * obj1 = 0 ; | |
994141e6 | 4364 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4365 | PyObject * obj3 = 0 ; |
4366 | PyObject * obj4 = 0 ; | |
4367 | PyObject * obj5 = 0 ; | |
994141e6 | 4368 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
4369 | PyObject * obj7 = 0 ; |
4370 | char *kwnames[] = { | |
4371 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4372 | }; | |
4373 | ||
248ed943 | 4374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
4375 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4376 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4377 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
4378 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 4379 | if (obj2) { |
c32bde28 | 4380 | arg3 = (int)SWIG_As_int(obj2); |
248ed943 RD |
4381 | if (PyErr_Occurred()) SWIG_fail; |
4382 | } | |
4383 | if (obj3) { | |
4384 | { | |
4385 | arg4 = wxString_in_helper(obj3); | |
4386 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 4387 | temp4 = true; |
248ed943 | 4388 | } |
d14a1e28 RD |
4389 | } |
4390 | if (obj4) { | |
4391 | { | |
4392 | arg5 = &temp5; | |
4393 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
4394 | } | |
4395 | } | |
4396 | if (obj5) { | |
4397 | { | |
4398 | arg6 = &temp6; | |
4399 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
4400 | } | |
4401 | } | |
994141e6 | 4402 | if (obj6) { |
c32bde28 | 4403 | arg7 = (long)SWIG_As_long(obj6); |
15afbcd0 | 4404 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 4405 | } |
d14a1e28 RD |
4406 | if (obj7) { |
4407 | { | |
4408 | arg8 = wxString_in_helper(obj7); | |
4409 | if (arg8 == NULL) SWIG_fail; | |
ae8162c8 | 4410 | temp8 = true; |
d14a1e28 RD |
4411 | } |
4412 | } | |
4413 | { | |
4414 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4415 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
4416 | ||
4417 | wxPyEndAllowThreads(__tstate); | |
4418 | if (PyErr_Occurred()) SWIG_fail; | |
4419 | } | |
4f89f6a3 RD |
4420 | { |
4421 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4422 | } | |
d14a1e28 RD |
4423 | { |
4424 | if (temp4) | |
4425 | delete arg4; | |
4426 | } | |
4427 | { | |
4428 | if (temp8) | |
4429 | delete arg8; | |
4430 | } | |
4431 | return resultobj; | |
4432 | fail: | |
4433 | { | |
4434 | if (temp4) | |
4435 | delete arg4; | |
4436 | } | |
4437 | { | |
4438 | if (temp8) | |
4439 | delete arg8; | |
4440 | } | |
4441 | return NULL; | |
4442 | } | |
4443 | ||
4444 | ||
c32bde28 | 4445 | static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4446 | PyObject *resultobj; |
4447 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4448 | int arg2 ; | |
4449 | PyObject * obj0 = 0 ; | |
994141e6 | 4450 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4451 | char *kwnames[] = { |
4452 | (char *) "self",(char *) "returnCode", NULL | |
4453 | }; | |
4454 | ||
994141e6 | 4455 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4456 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4457 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 4458 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 4459 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4460 | { |
4461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4462 | (arg1)->SetReturnCode(arg2); | |
4463 | ||
4464 | wxPyEndAllowThreads(__tstate); | |
4465 | if (PyErr_Occurred()) SWIG_fail; | |
4466 | } | |
4467 | Py_INCREF(Py_None); resultobj = Py_None; | |
4468 | return resultobj; | |
4469 | fail: | |
4470 | return NULL; | |
4471 | } | |
4472 | ||
4473 | ||
c32bde28 | 4474 | static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4475 | PyObject *resultobj; |
4476 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4477 | int result; | |
4478 | PyObject * obj0 = 0 ; | |
4479 | char *kwnames[] = { | |
4480 | (char *) "self", NULL | |
4481 | }; | |
4482 | ||
4483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4484 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4485 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4486 | { |
4487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4488 | result = (int)((wxDialog const *)arg1)->GetReturnCode(); | |
4489 | ||
4490 | wxPyEndAllowThreads(__tstate); | |
4491 | if (PyErr_Occurred()) SWIG_fail; | |
4492 | } | |
c32bde28 | 4493 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
4494 | return resultobj; |
4495 | fail: | |
4496 | return NULL; | |
4497 | } | |
4498 | ||
4499 | ||
c32bde28 | 4500 | static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4501 | PyObject *resultobj; |
4502 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4503 | wxString *arg2 = 0 ; | |
4504 | wxSizer *result; | |
ae8162c8 | 4505 | bool temp2 = false ; |
d14a1e28 RD |
4506 | PyObject * obj0 = 0 ; |
4507 | PyObject * obj1 = 0 ; | |
4508 | char *kwnames[] = { | |
4509 | (char *) "self",(char *) "message", NULL | |
4510 | }; | |
4511 | ||
4512 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4513 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4514 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4515 | { |
4516 | arg2 = wxString_in_helper(obj1); | |
4517 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 4518 | temp2 = true; |
d14a1e28 RD |
4519 | } |
4520 | { | |
4521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4522 | result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2); | |
4523 | ||
4524 | wxPyEndAllowThreads(__tstate); | |
4525 | if (PyErr_Occurred()) SWIG_fail; | |
4526 | } | |
4527 | { | |
412d302d | 4528 | resultobj = wxPyMake_wxSizer(result, 0); |
d14a1e28 RD |
4529 | } |
4530 | { | |
4531 | if (temp2) | |
4532 | delete arg2; | |
4533 | } | |
4534 | return resultobj; | |
4535 | fail: | |
4536 | { | |
4537 | if (temp2) | |
4538 | delete arg2; | |
4539 | } | |
4540 | return NULL; | |
4541 | } | |
4542 | ||
4543 | ||
c32bde28 | 4544 | static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4545 | PyObject *resultobj; |
4546 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4547 | long arg2 ; | |
4548 | wxSizer *result; | |
4549 | PyObject * obj0 = 0 ; | |
994141e6 | 4550 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4551 | char *kwnames[] = { |
4552 | (char *) "self",(char *) "flags", NULL | |
4553 | }; | |
4554 | ||
994141e6 | 4555 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4556 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4557 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 4558 | arg2 = (long)SWIG_As_long(obj1); |
15afbcd0 | 4559 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4560 | { |
4561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4562 | result = (wxSizer *)(arg1)->CreateButtonSizer(arg2); | |
4563 | ||
4564 | wxPyEndAllowThreads(__tstate); | |
4565 | if (PyErr_Occurred()) SWIG_fail; | |
4566 | } | |
4567 | { | |
412d302d | 4568 | resultobj = wxPyMake_wxSizer(result, 0); |
d14a1e28 RD |
4569 | } |
4570 | return resultobj; | |
4571 | fail: | |
4572 | return NULL; | |
4573 | } | |
4574 | ||
4575 | ||
c32bde28 | 4576 | static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4577 | PyObject *resultobj; |
4578 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4579 | bool result; | |
4580 | PyObject * obj0 = 0 ; | |
4581 | char *kwnames[] = { | |
4582 | (char *) "self", NULL | |
4583 | }; | |
4584 | ||
4585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4586 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4587 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4588 | { |
4589 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4590 | result = (bool)((wxDialog const *)arg1)->IsModal(); | |
4591 | ||
4592 | wxPyEndAllowThreads(__tstate); | |
4593 | if (PyErr_Occurred()) SWIG_fail; | |
4594 | } | |
4f89f6a3 RD |
4595 | { |
4596 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4597 | } | |
d14a1e28 RD |
4598 | return resultobj; |
4599 | fail: | |
4600 | return NULL; | |
4601 | } | |
4602 | ||
4603 | ||
c32bde28 | 4604 | static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4605 | PyObject *resultobj; |
4606 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4607 | int result; | |
4608 | PyObject * obj0 = 0 ; | |
4609 | char *kwnames[] = { | |
4610 | (char *) "self", NULL | |
4611 | }; | |
4612 | ||
4613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4614 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4615 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4616 | { |
4617 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4618 | result = (int)(arg1)->ShowModal(); | |
4619 | ||
4620 | wxPyEndAllowThreads(__tstate); | |
4621 | if (PyErr_Occurred()) SWIG_fail; | |
4622 | } | |
c32bde28 | 4623 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
4624 | return resultobj; |
4625 | fail: | |
4626 | return NULL; | |
4627 | } | |
4628 | ||
4629 | ||
c32bde28 | 4630 | static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4631 | PyObject *resultobj; |
4632 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4633 | int arg2 ; | |
4634 | PyObject * obj0 = 0 ; | |
994141e6 | 4635 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4636 | char *kwnames[] = { |
4637 | (char *) "self",(char *) "retCode", NULL | |
4638 | }; | |
4639 | ||
994141e6 | 4640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4641 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4642 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 4643 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 4644 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4645 | { |
4646 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4647 | (arg1)->EndModal(arg2); | |
4648 | ||
4649 | wxPyEndAllowThreads(__tstate); | |
4650 | if (PyErr_Occurred()) SWIG_fail; | |
4651 | } | |
4652 | Py_INCREF(Py_None); resultobj = Py_None; | |
4653 | return resultobj; | |
4654 | fail: | |
4655 | return NULL; | |
4656 | } | |
4657 | ||
4658 | ||
c32bde28 | 4659 | static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
22bfe96c RD |
4660 | PyObject *resultobj; |
4661 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
4662 | wxVisualAttributes result; | |
4663 | PyObject * obj0 = 0 ; | |
4664 | char *kwnames[] = { | |
4665 | (char *) "variant", NULL | |
4666 | }; | |
4667 | ||
4668 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
4669 | if (obj0) { | |
c32bde28 | 4670 | arg1 = (int)SWIG_As_int(obj0); |
22bfe96c RD |
4671 | if (PyErr_Occurred()) SWIG_fail; |
4672 | } | |
4673 | { | |
e3b71cb8 | 4674 | if (!wxPyCheckForApp()) SWIG_fail; |
22bfe96c RD |
4675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4676 | result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
4677 | ||
4678 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4679 | if (PyErr_Occurred()) SWIG_fail; |
22bfe96c RD |
4680 | } |
4681 | { | |
4682 | wxVisualAttributes * resultptr; | |
4683 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
4684 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
4685 | } | |
4686 | return resultobj; | |
4687 | fail: | |
4688 | return NULL; | |
4689 | } | |
4690 | ||
4691 | ||
c32bde28 | 4692 | static PyObject * Dialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
4693 | PyObject *obj; |
4694 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4695 | SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj); | |
4696 | Py_INCREF(obj); | |
4697 | return Py_BuildValue((char *)""); | |
4698 | } | |
c32bde28 | 4699 | static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4700 | PyObject *resultobj; |
4701 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 RD |
4702 | int arg2 = (int) (int)-1 ; |
4703 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
4704 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d14a1e28 RD |
4705 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
4706 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4707 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4708 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4709 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
4710 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
4711 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
4712 | wxMiniFrame *result; | |
ae8162c8 | 4713 | bool temp3 = false ; |
d14a1e28 RD |
4714 | wxPoint temp4 ; |
4715 | wxSize temp5 ; | |
ae8162c8 | 4716 | bool temp7 = false ; |
d14a1e28 | 4717 | PyObject * obj0 = 0 ; |
994141e6 | 4718 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4719 | PyObject * obj2 = 0 ; |
4720 | PyObject * obj3 = 0 ; | |
4721 | PyObject * obj4 = 0 ; | |
994141e6 | 4722 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
4723 | PyObject * obj6 = 0 ; |
4724 | char *kwnames[] = { | |
4725 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4726 | }; | |
4727 | ||
248ed943 | 4728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
4729 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
4730 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 4731 | if (obj1) { |
c32bde28 | 4732 | arg2 = (int)SWIG_As_int(obj1); |
248ed943 RD |
4733 | if (PyErr_Occurred()) SWIG_fail; |
4734 | } | |
4735 | if (obj2) { | |
4736 | { | |
4737 | arg3 = wxString_in_helper(obj2); | |
4738 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 4739 | temp3 = true; |
248ed943 | 4740 | } |
d14a1e28 RD |
4741 | } |
4742 | if (obj3) { | |
4743 | { | |
4744 | arg4 = &temp4; | |
4745 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4746 | } | |
4747 | } | |
4748 | if (obj4) { | |
4749 | { | |
4750 | arg5 = &temp5; | |
4751 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4752 | } | |
4753 | } | |
994141e6 | 4754 | if (obj5) { |
c32bde28 | 4755 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 4756 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 4757 | } |
d14a1e28 RD |
4758 | if (obj6) { |
4759 | { | |
4760 | arg7 = wxString_in_helper(obj6); | |
4761 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 4762 | temp7 = true; |
d14a1e28 RD |
4763 | } |
4764 | } | |
4765 | { | |
e3b71cb8 | 4766 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
4767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4768 | result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
4769 | ||
4770 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4771 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 4772 | } |
15afbcd0 | 4773 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); |
d14a1e28 RD |
4774 | { |
4775 | if (temp3) | |
4776 | delete arg3; | |
4777 | } | |
4778 | { | |
4779 | if (temp7) | |
4780 | delete arg7; | |
4781 | } | |
4782 | return resultobj; | |
4783 | fail: | |
4784 | { | |
4785 | if (temp3) | |
4786 | delete arg3; | |
4787 | } | |
4788 | { | |
4789 | if (temp7) | |
4790 | delete arg7; | |
4791 | } | |
4792 | return NULL; | |
4793 | } | |
4794 | ||
4795 | ||
c32bde28 | 4796 | static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4797 | PyObject *resultobj; |
4798 | wxMiniFrame *result; | |
4799 | char *kwnames[] = { | |
4800 | NULL | |
4801 | }; | |
4802 | ||
4803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail; | |
4804 | { | |
e3b71cb8 | 4805 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
4806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4807 | result = (wxMiniFrame *)new wxMiniFrame(); | |
4808 | ||
4809 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4810 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 4811 | } |
15afbcd0 | 4812 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); |
d14a1e28 RD |
4813 | return resultobj; |
4814 | fail: | |
4815 | return NULL; | |
4816 | } | |
4817 | ||
4818 | ||
c32bde28 | 4819 | static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4820 | PyObject *resultobj; |
4821 | wxMiniFrame *arg1 = (wxMiniFrame *) 0 ; | |
4822 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 RD |
4823 | int arg3 = (int) (int)-1 ; |
4824 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
4825 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d14a1e28 RD |
4826 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
4827 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
4828 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
4829 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
4830 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
4831 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
4832 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
4833 | bool result; | |
ae8162c8 | 4834 | bool temp4 = false ; |
d14a1e28 RD |
4835 | wxPoint temp5 ; |
4836 | wxSize temp6 ; | |
ae8162c8 | 4837 | bool temp8 = false ; |
d14a1e28 RD |
4838 | PyObject * obj0 = 0 ; |
4839 | PyObject * obj1 = 0 ; | |
994141e6 | 4840 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4841 | PyObject * obj3 = 0 ; |
4842 | PyObject * obj4 = 0 ; | |
4843 | PyObject * obj5 = 0 ; | |
994141e6 | 4844 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
4845 | PyObject * obj7 = 0 ; |
4846 | char *kwnames[] = { | |
4847 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4848 | }; | |
4849 | ||
248ed943 | 4850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
4851 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame, |
4852 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4853 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
4854 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 4855 | if (obj2) { |
c32bde28 | 4856 | arg3 = (int)SWIG_As_int(obj2); |
248ed943 RD |
4857 | if (PyErr_Occurred()) SWIG_fail; |
4858 | } | |
4859 | if (obj3) { | |
4860 | { | |
4861 | arg4 = wxString_in_helper(obj3); | |
4862 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 4863 | temp4 = true; |
248ed943 | 4864 | } |
d14a1e28 RD |
4865 | } |
4866 | if (obj4) { | |
4867 | { | |
4868 | arg5 = &temp5; | |
4869 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
4870 | } | |
4871 | } | |
4872 | if (obj5) { | |
4873 | { | |
4874 | arg6 = &temp6; | |
4875 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
4876 | } | |
4877 | } | |
994141e6 | 4878 | if (obj6) { |
c32bde28 | 4879 | arg7 = (long)SWIG_As_long(obj6); |
15afbcd0 | 4880 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 4881 | } |
d14a1e28 RD |
4882 | if (obj7) { |
4883 | { | |
4884 | arg8 = wxString_in_helper(obj7); | |
4885 | if (arg8 == NULL) SWIG_fail; | |
ae8162c8 | 4886 | temp8 = true; |
d14a1e28 RD |
4887 | } |
4888 | } | |
4889 | { | |
4890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4891 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
4892 | ||
4893 | wxPyEndAllowThreads(__tstate); | |
4894 | if (PyErr_Occurred()) SWIG_fail; | |
4895 | } | |
4f89f6a3 RD |
4896 | { |
4897 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4898 | } | |
d14a1e28 RD |
4899 | { |
4900 | if (temp4) | |
4901 | delete arg4; | |
4902 | } | |
4903 | { | |
4904 | if (temp8) | |
4905 | delete arg8; | |
4906 | } | |
4907 | return resultobj; | |
4908 | fail: | |
4909 | { | |
4910 | if (temp4) | |
4911 | delete arg4; | |
4912 | } | |
4913 | { | |
4914 | if (temp8) | |
4915 | delete arg8; | |
4916 | } | |
4917 | return NULL; | |
4918 | } | |
4919 | ||
4920 | ||
c32bde28 | 4921 | static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
4922 | PyObject *obj; |
4923 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4924 | SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj); | |
4925 | Py_INCREF(obj); | |
4926 | return Py_BuildValue((char *)""); | |
4927 | } | |
c32bde28 | 4928 | static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4929 | PyObject *resultobj; |
4930 | wxBitmap *arg1 = 0 ; | |
4931 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 4932 | int arg3 ; |
d14a1e28 RD |
4933 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
4934 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4935 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4936 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4937 | long arg6 = (long) wxNO_BORDER ; | |
4938 | wxSplashScreenWindow *result; | |
4939 | wxPoint temp4 ; | |
4940 | wxSize temp5 ; | |
4941 | PyObject * obj0 = 0 ; | |
4942 | PyObject * obj1 = 0 ; | |
994141e6 | 4943 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4944 | PyObject * obj3 = 0 ; |
4945 | PyObject * obj4 = 0 ; | |
994141e6 | 4946 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
4947 | char *kwnames[] = { |
4948 | (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
4949 | }; | |
4950 | ||
994141e6 | 4951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
4952 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap, |
4953 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4954 | SWIG_fail; | |
d14a1e28 | 4955 | if (arg1 == NULL) { |
15afbcd0 RD |
4956 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4957 | SWIG_fail; | |
994141e6 | 4958 | } |
15afbcd0 RD |
4959 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
4960 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 4961 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 4962 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4963 | if (obj3) { |
4964 | { | |
4965 | arg4 = &temp4; | |
4966 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4967 | } | |
4968 | } | |
4969 | if (obj4) { | |
4970 | { | |
4971 | arg5 = &temp5; | |
4972 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4973 | } | |
4974 | } | |
994141e6 | 4975 | if (obj5) { |
c32bde28 | 4976 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 4977 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 4978 | } |
d14a1e28 | 4979 | { |
e3b71cb8 | 4980 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
4981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4982 | result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
4983 | ||
4984 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4985 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 4986 | } |
15afbcd0 | 4987 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1); |
d14a1e28 RD |
4988 | return resultobj; |
4989 | fail: | |
4990 | return NULL; | |
4991 | } | |
4992 | ||
4993 | ||
c32bde28 | 4994 | static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4995 | PyObject *resultobj; |
4996 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
4997 | wxBitmap *arg2 = 0 ; | |
4998 | PyObject * obj0 = 0 ; | |
4999 | PyObject * obj1 = 0 ; | |
5000 | char *kwnames[] = { | |
5001 | (char *) "self",(char *) "bitmap", NULL | |
5002 | }; | |
5003 | ||
5004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
5005 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow, |
5006 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5007 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap, | |
5008 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5009 | SWIG_fail; | |
d14a1e28 | 5010 | if (arg2 == NULL) { |
15afbcd0 RD |
5011 | PyErr_SetString(PyExc_TypeError,"null reference"); |
5012 | SWIG_fail; | |
d14a1e28 RD |
5013 | } |
5014 | { | |
5015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5016 | (arg1)->SetBitmap((wxBitmap const &)*arg2); | |
5017 | ||
5018 | wxPyEndAllowThreads(__tstate); | |
5019 | if (PyErr_Occurred()) SWIG_fail; | |
5020 | } | |
5021 | Py_INCREF(Py_None); resultobj = Py_None; | |
5022 | return resultobj; | |
5023 | fail: | |
5024 | return NULL; | |
5025 | } | |
5026 | ||
5027 | ||
c32bde28 | 5028 | static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5029 | PyObject *resultobj; |
5030 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
5031 | wxBitmap *result; | |
5032 | PyObject * obj0 = 0 ; | |
5033 | char *kwnames[] = { | |
5034 | (char *) "self", NULL | |
5035 | }; | |
5036 | ||
5037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5038 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow, |
5039 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5040 | { |
5041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5042 | { | |
5043 | wxBitmap &_result_ref = (arg1)->GetBitmap(); | |
5044 | result = (wxBitmap *) &_result_ref; | |
5045 | } | |
5046 | ||
5047 | wxPyEndAllowThreads(__tstate); | |
5048 | if (PyErr_Occurred()) SWIG_fail; | |
5049 | } | |
4276dc52 RD |
5050 | { |
5051 | wxBitmap* resultptr = new wxBitmap(*result); | |
5052 | resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1); | |
5053 | } | |
d14a1e28 RD |
5054 | return resultobj; |
5055 | fail: | |
5056 | return NULL; | |
5057 | } | |
5058 | ||
5059 | ||
c32bde28 | 5060 | static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
5061 | PyObject *obj; |
5062 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5063 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj); | |
5064 | Py_INCREF(obj); | |
5065 | return Py_BuildValue((char *)""); | |
5066 | } | |
c32bde28 | 5067 | static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5068 | PyObject *resultobj; |
5069 | wxBitmap *arg1 = 0 ; | |
5070 | long arg2 ; | |
5071 | int arg3 ; | |
5072 | wxWindow *arg4 = (wxWindow *) 0 ; | |
248ed943 | 5073 | int arg5 = (int) -1 ; |
d14a1e28 RD |
5074 | wxPoint const &arg6_defvalue = wxDefaultPosition ; |
5075 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
5076 | wxSize const &arg7_defvalue = wxDefaultSize ; | |
5077 | wxSize *arg7 = (wxSize *) &arg7_defvalue ; | |
5078 | long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ; | |
5079 | wxSplashScreen *result; | |
5080 | wxPoint temp6 ; | |
5081 | wxSize temp7 ; | |
5082 | PyObject * obj0 = 0 ; | |
994141e6 RD |
5083 | PyObject * obj1 = 0 ; |
5084 | PyObject * obj2 = 0 ; | |
d14a1e28 | 5085 | PyObject * obj3 = 0 ; |
994141e6 | 5086 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
5087 | PyObject * obj5 = 0 ; |
5088 | PyObject * obj6 = 0 ; | |
994141e6 | 5089 | PyObject * obj7 = 0 ; |
d14a1e28 RD |
5090 | char *kwnames[] = { |
5091 | (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
5092 | }; | |
5093 | ||
248ed943 | 5094 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
5095 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap, |
5096 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5097 | SWIG_fail; | |
d14a1e28 | 5098 | if (arg1 == NULL) { |
15afbcd0 RD |
5099 | PyErr_SetString(PyExc_TypeError,"null reference"); |
5100 | SWIG_fail; | |
5101 | } | |
c32bde28 | 5102 | arg2 = (long)SWIG_As_long(obj1); |
15afbcd0 | 5103 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 5104 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 RD |
5105 | if (PyErr_Occurred()) SWIG_fail; |
5106 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow, | |
5107 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 5108 | if (obj4) { |
c32bde28 | 5109 | arg5 = (int)SWIG_As_int(obj4); |
248ed943 RD |
5110 | if (PyErr_Occurred()) SWIG_fail; |
5111 | } | |
d14a1e28 RD |
5112 | if (obj5) { |
5113 | { | |
5114 | arg6 = &temp6; | |
5115 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
5116 | } | |
5117 | } | |
5118 | if (obj6) { | |
5119 | { | |
5120 | arg7 = &temp7; | |
5121 | if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail; | |
5122 | } | |
5123 | } | |
994141e6 | 5124 | if (obj7) { |
c32bde28 | 5125 | arg8 = (long)SWIG_As_long(obj7); |
15afbcd0 | 5126 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 5127 | } |
d14a1e28 | 5128 | { |
e3b71cb8 | 5129 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
5130 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5131 | result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8); | |
5132 | ||
5133 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5134 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 5135 | } |
15afbcd0 | 5136 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1); |
d14a1e28 RD |
5137 | return resultobj; |
5138 | fail: | |
5139 | return NULL; | |
5140 | } | |
5141 | ||
5142 | ||
c32bde28 | 5143 | static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5144 | PyObject *resultobj; |
5145 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
5146 | long result; | |
5147 | PyObject * obj0 = 0 ; | |
5148 | char *kwnames[] = { | |
5149 | (char *) "self", NULL | |
5150 | }; | |
5151 | ||
5152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5153 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen, |
5154 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5155 | { |
5156 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5157 | result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle(); | |
5158 | ||
5159 | wxPyEndAllowThreads(__tstate); | |
5160 | if (PyErr_Occurred()) SWIG_fail; | |
5161 | } | |
c32bde28 | 5162 | resultobj = SWIG_From_long((long)result); |
d14a1e28 RD |
5163 | return resultobj; |
5164 | fail: | |
5165 | return NULL; | |
5166 | } | |
5167 | ||
5168 | ||
c32bde28 | 5169 | static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5170 | PyObject *resultobj; |
5171 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
5172 | wxSplashScreenWindow *result; | |
5173 | PyObject * obj0 = 0 ; | |
5174 | char *kwnames[] = { | |
5175 | (char *) "self", NULL | |
5176 | }; | |
5177 | ||
5178 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5179 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen, |
5180 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5181 | { |
5182 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5183 | result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow(); | |
5184 | ||
5185 | wxPyEndAllowThreads(__tstate); | |
5186 | if (PyErr_Occurred()) SWIG_fail; | |
5187 | } | |
15afbcd0 | 5188 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0); |
d14a1e28 RD |
5189 | return resultobj; |
5190 | fail: | |
5191 | return NULL; | |
5192 | } | |
5193 | ||
5194 | ||
c32bde28 | 5195 | static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5196 | PyObject *resultobj; |
5197 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
5198 | int result; | |
5199 | PyObject * obj0 = 0 ; | |
5200 | char *kwnames[] = { | |
5201 | (char *) "self", NULL | |
5202 | }; | |
5203 | ||
5204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5205 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen, |
5206 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5207 | { |
5208 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5209 | result = (int)((wxSplashScreen const *)arg1)->GetTimeout(); | |
5210 | ||
5211 | wxPyEndAllowThreads(__tstate); | |
5212 | if (PyErr_Occurred()) SWIG_fail; | |
5213 | } | |
c32bde28 | 5214 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5215 | return resultobj; |
5216 | fail: | |
5217 | return NULL; | |
5218 | } | |
5219 | ||
5220 | ||
c32bde28 | 5221 | static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
5222 | PyObject *obj; |
5223 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5224 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj); | |
5225 | Py_INCREF(obj); | |
5226 | return Py_BuildValue((char *)""); | |
5227 | } | |
c32bde28 | 5228 | static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5229 | PyObject *resultobj; |
5230 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 5231 | int arg2 = (int) -1 ; |
4276dc52 | 5232 | long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ; |
d14a1e28 RD |
5233 | wxString const &arg4_defvalue = wxPyStatusLineNameStr ; |
5234 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
5235 | wxStatusBar *result; | |
ae8162c8 | 5236 | bool temp4 = false ; |
d14a1e28 | 5237 | PyObject * obj0 = 0 ; |
994141e6 RD |
5238 | PyObject * obj1 = 0 ; |
5239 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
5240 | PyObject * obj3 = 0 ; |
5241 | char *kwnames[] = { | |
5242 | (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
5243 | }; | |
5244 | ||
994141e6 | 5245 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
5246 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
5247 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 5248 | if (obj1) { |
c32bde28 | 5249 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5250 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 RD |
5251 | } |
5252 | if (obj2) { | |
c32bde28 | 5253 | arg3 = (long)SWIG_As_long(obj2); |
15afbcd0 | 5254 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 5255 | } |
d14a1e28 RD |
5256 | if (obj3) { |
5257 | { | |
5258 | arg4 = wxString_in_helper(obj3); | |
5259 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 5260 | temp4 = true; |
d14a1e28 RD |
5261 | } |
5262 | } | |
5263 | { | |
e3b71cb8 | 5264 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
5265 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5266 | result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4); | |
5267 | ||
5268 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5269 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 5270 | } |
b0f7404b | 5271 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1); |
d14a1e28 RD |
5272 | { |
5273 | if (temp4) | |
5274 | delete arg4; | |
5275 | } | |
5276 | return resultobj; | |
5277 | fail: | |
5278 | { | |
5279 | if (temp4) | |
5280 | delete arg4; | |
5281 | } | |
5282 | return NULL; | |
5283 | } | |
5284 | ||
5285 | ||
c32bde28 | 5286 | static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5287 | PyObject *resultobj; |
5288 | wxStatusBar *result; | |
5289 | char *kwnames[] = { | |
5290 | NULL | |
5291 | }; | |
5292 | ||
5293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail; | |
5294 | { | |
e3b71cb8 | 5295 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
5296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5297 | result = (wxStatusBar *)new wxStatusBar(); | |
5298 | ||
5299 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5300 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 5301 | } |
b0f7404b | 5302 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1); |
d14a1e28 RD |
5303 | return resultobj; |
5304 | fail: | |
5305 | return NULL; | |
5306 | } | |
5307 | ||
5308 | ||
c32bde28 | 5309 | static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5310 | PyObject *resultobj; |
5311 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5312 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 | 5313 | int arg3 = (int) -1 ; |
d14a1e28 RD |
5314 | long arg4 = (long) wxST_SIZEGRIP ; |
5315 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; | |
5316 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
5317 | bool result; | |
ae8162c8 | 5318 | bool temp5 = false ; |
d14a1e28 RD |
5319 | PyObject * obj0 = 0 ; |
5320 | PyObject * obj1 = 0 ; | |
994141e6 RD |
5321 | PyObject * obj2 = 0 ; |
5322 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
5323 | PyObject * obj4 = 0 ; |
5324 | char *kwnames[] = { | |
5325 | (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
5326 | }; | |
5327 | ||
248ed943 | 5328 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
5329 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5330 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5331 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5332 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 5333 | if (obj2) { |
c32bde28 | 5334 | arg3 = (int)SWIG_As_int(obj2); |
248ed943 RD |
5335 | if (PyErr_Occurred()) SWIG_fail; |
5336 | } | |
994141e6 | 5337 | if (obj3) { |
c32bde28 | 5338 | arg4 = (long)SWIG_As_long(obj3); |
15afbcd0 | 5339 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 5340 | } |
d14a1e28 RD |
5341 | if (obj4) { |
5342 | { | |
5343 | arg5 = wxString_in_helper(obj4); | |
5344 | if (arg5 == NULL) SWIG_fail; | |
ae8162c8 | 5345 | temp5 = true; |
d14a1e28 RD |
5346 | } |
5347 | } | |
5348 | { | |
5349 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5350 | result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5); | |
5351 | ||
5352 | wxPyEndAllowThreads(__tstate); | |
5353 | if (PyErr_Occurred()) SWIG_fail; | |
5354 | } | |
4f89f6a3 RD |
5355 | { |
5356 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5357 | } | |
d14a1e28 RD |
5358 | { |
5359 | if (temp5) | |
5360 | delete arg5; | |
5361 | } | |
5362 | return resultobj; | |
5363 | fail: | |
5364 | { | |
5365 | if (temp5) | |
5366 | delete arg5; | |
5367 | } | |
5368 | return NULL; | |
5369 | } | |
5370 | ||
5371 | ||
c32bde28 | 5372 | static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5373 | PyObject *resultobj; |
5374 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5375 | int arg2 = (int) 1 ; | |
5376 | PyObject * obj0 = 0 ; | |
994141e6 | 5377 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5378 | char *kwnames[] = { |
5379 | (char *) "self",(char *) "number", NULL | |
5380 | }; | |
5381 | ||
994141e6 | 5382 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5383 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5384 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 5385 | if (obj1) { |
c32bde28 | 5386 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5387 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 5388 | } |
d14a1e28 RD |
5389 | { |
5390 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5391 | (arg1)->SetFieldsCount(arg2); | |
5392 | ||
5393 | wxPyEndAllowThreads(__tstate); | |
5394 | if (PyErr_Occurred()) SWIG_fail; | |
5395 | } | |
5396 | Py_INCREF(Py_None); resultobj = Py_None; | |
5397 | return resultobj; | |
5398 | fail: | |
5399 | return NULL; | |
5400 | } | |
5401 | ||
5402 | ||
c32bde28 | 5403 | static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5404 | PyObject *resultobj; |
5405 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5406 | int result; | |
5407 | PyObject * obj0 = 0 ; | |
5408 | char *kwnames[] = { | |
5409 | (char *) "self", NULL | |
5410 | }; | |
5411 | ||
5412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5413 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5414 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5415 | { |
5416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5417 | result = (int)((wxStatusBar const *)arg1)->GetFieldsCount(); | |
5418 | ||
5419 | wxPyEndAllowThreads(__tstate); | |
5420 | if (PyErr_Occurred()) SWIG_fail; | |
5421 | } | |
c32bde28 | 5422 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5423 | return resultobj; |
5424 | fail: | |
5425 | return NULL; | |
5426 | } | |
5427 | ||
5428 | ||
c32bde28 | 5429 | static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5430 | PyObject *resultobj; |
5431 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5432 | wxString *arg2 = 0 ; | |
5433 | int arg3 = (int) 0 ; | |
ae8162c8 | 5434 | bool temp2 = false ; |
d14a1e28 RD |
5435 | PyObject * obj0 = 0 ; |
5436 | PyObject * obj1 = 0 ; | |
994141e6 | 5437 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
5438 | char *kwnames[] = { |
5439 | (char *) "self",(char *) "text",(char *) "number", NULL | |
5440 | }; | |
5441 | ||
994141e6 | 5442 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
5443 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5444 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5445 | { |
5446 | arg2 = wxString_in_helper(obj1); | |
5447 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 5448 | temp2 = true; |
d14a1e28 | 5449 | } |
994141e6 | 5450 | if (obj2) { |
c32bde28 | 5451 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 5452 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 5453 | } |
d14a1e28 RD |
5454 | { |
5455 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5456 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
5457 | ||
5458 | wxPyEndAllowThreads(__tstate); | |
5459 | if (PyErr_Occurred()) SWIG_fail; | |
5460 | } | |
5461 | Py_INCREF(Py_None); resultobj = Py_None; | |
5462 | { | |
5463 | if (temp2) | |
5464 | delete arg2; | |
5465 | } | |
5466 | return resultobj; | |
5467 | fail: | |
5468 | { | |
5469 | if (temp2) | |
5470 | delete arg2; | |
5471 | } | |
5472 | return NULL; | |
5473 | } | |
5474 | ||
5475 | ||
c32bde28 | 5476 | static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5477 | PyObject *resultobj; |
5478 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5479 | int arg2 = (int) 0 ; | |
5480 | wxString result; | |
5481 | PyObject * obj0 = 0 ; | |
994141e6 | 5482 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5483 | char *kwnames[] = { |
5484 | (char *) "self",(char *) "number", NULL | |
5485 | }; | |
5486 | ||
994141e6 | 5487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5488 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5489 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 5490 | if (obj1) { |
c32bde28 | 5491 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5492 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 5493 | } |
d14a1e28 RD |
5494 | { |
5495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5496 | result = ((wxStatusBar const *)arg1)->GetStatusText(arg2); | |
5497 | ||
5498 | wxPyEndAllowThreads(__tstate); | |
5499 | if (PyErr_Occurred()) SWIG_fail; | |
5500 | } | |
5501 | { | |
5502 | #if wxUSE_UNICODE | |
5503 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5504 | #else | |
5505 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5506 | #endif | |
5507 | } | |
5508 | return resultobj; | |
5509 | fail: | |
5510 | return NULL; | |
5511 | } | |
5512 | ||
5513 | ||
c32bde28 | 5514 | static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5515 | PyObject *resultobj; |
5516 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5517 | wxString *arg2 = 0 ; | |
5518 | int arg3 = (int) 0 ; | |
ae8162c8 | 5519 | bool temp2 = false ; |
d14a1e28 RD |
5520 | PyObject * obj0 = 0 ; |
5521 | PyObject * obj1 = 0 ; | |
994141e6 | 5522 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
5523 | char *kwnames[] = { |
5524 | (char *) "self",(char *) "text",(char *) "number", NULL | |
5525 | }; | |
5526 | ||
994141e6 | 5527 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
5528 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5529 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5530 | { |
5531 | arg2 = wxString_in_helper(obj1); | |
5532 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 5533 | temp2 = true; |
d14a1e28 | 5534 | } |
994141e6 | 5535 | if (obj2) { |
c32bde28 | 5536 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 5537 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 5538 | } |
d14a1e28 RD |
5539 | { |
5540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5541 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
5542 | ||
5543 | wxPyEndAllowThreads(__tstate); | |
5544 | if (PyErr_Occurred()) SWIG_fail; | |
5545 | } | |
5546 | Py_INCREF(Py_None); resultobj = Py_None; | |
5547 | { | |
5548 | if (temp2) | |
5549 | delete arg2; | |
5550 | } | |
5551 | return resultobj; | |
5552 | fail: | |
5553 | { | |
5554 | if (temp2) | |
5555 | delete arg2; | |
5556 | } | |
5557 | return NULL; | |
5558 | } | |
5559 | ||
5560 | ||
c32bde28 | 5561 | static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5562 | PyObject *resultobj; |
5563 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5564 | int arg2 = (int) 0 ; | |
5565 | PyObject * obj0 = 0 ; | |
994141e6 | 5566 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5567 | char *kwnames[] = { |
5568 | (char *) "self",(char *) "number", NULL | |
5569 | }; | |
5570 | ||
994141e6 | 5571 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5572 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5573 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 5574 | if (obj1) { |
c32bde28 | 5575 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5576 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 5577 | } |
d14a1e28 RD |
5578 | { |
5579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5580 | (arg1)->PopStatusText(arg2); | |
5581 | ||
5582 | wxPyEndAllowThreads(__tstate); | |
5583 | if (PyErr_Occurred()) SWIG_fail; | |
5584 | } | |
5585 | Py_INCREF(Py_None); resultobj = Py_None; | |
5586 | return resultobj; | |
5587 | fail: | |
5588 | return NULL; | |
5589 | } | |
5590 | ||
5591 | ||
c32bde28 | 5592 | static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5593 | PyObject *resultobj; |
5594 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5595 | int arg2 ; | |
5596 | int *arg3 = (int *) 0 ; | |
5597 | PyObject * obj0 = 0 ; | |
5598 | PyObject * obj1 = 0 ; | |
5599 | char *kwnames[] = { | |
5600 | (char *) "self",(char *) "widths", NULL | |
5601 | }; | |
5602 | ||
5603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
5604 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5605 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5606 | { |
5607 | arg2 = PyList_Size(obj1); | |
5608 | arg3 = int_LIST_helper(obj1); | |
5609 | if (arg3 == NULL) SWIG_fail; | |
5610 | } | |
5611 | { | |
5612 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5613 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
5614 | ||
5615 | wxPyEndAllowThreads(__tstate); | |
5616 | if (PyErr_Occurred()) SWIG_fail; | |
5617 | } | |
5618 | Py_INCREF(Py_None); resultobj = Py_None; | |
5619 | { | |
5620 | if (arg3) delete [] arg3; | |
5621 | } | |
5622 | return resultobj; | |
5623 | fail: | |
5624 | { | |
5625 | if (arg3) delete [] arg3; | |
5626 | } | |
5627 | return NULL; | |
5628 | } | |
5629 | ||
5630 | ||
c32bde28 | 5631 | static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) { |
f16ab95d RD |
5632 | PyObject *resultobj; |
5633 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5634 | int arg2 ; | |
5635 | int *arg3 = (int *) 0 ; | |
5636 | PyObject * obj0 = 0 ; | |
5637 | PyObject * obj1 = 0 ; | |
5638 | char *kwnames[] = { | |
5639 | (char *) "self",(char *) "styles", NULL | |
5640 | }; | |
5641 | ||
5642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail; | |
5643 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, | |
5644 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5645 | { | |
5646 | arg2 = PyList_Size(obj1); | |
5647 | arg3 = int_LIST_helper(obj1); | |
5648 | if (arg3 == NULL) SWIG_fail; | |
5649 | } | |
5650 | { | |
5651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5652 | (arg1)->SetStatusStyles(arg2,(int const *)arg3); | |
5653 | ||
5654 | wxPyEndAllowThreads(__tstate); | |
5655 | if (PyErr_Occurred()) SWIG_fail; | |
5656 | } | |
5657 | Py_INCREF(Py_None); resultobj = Py_None; | |
5658 | { | |
5659 | if (arg3) delete [] arg3; | |
5660 | } | |
5661 | return resultobj; | |
5662 | fail: | |
5663 | { | |
5664 | if (arg3) delete [] arg3; | |
5665 | } | |
5666 | return NULL; | |
5667 | } | |
5668 | ||
5669 | ||
c32bde28 | 5670 | static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5671 | PyObject *resultobj; |
5672 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5673 | int arg2 ; | |
7722248d | 5674 | wxRect result; |
d14a1e28 | 5675 | PyObject * obj0 = 0 ; |
994141e6 | 5676 | PyObject * obj1 = 0 ; |
d14a1e28 | 5677 | char *kwnames[] = { |
7722248d | 5678 | (char *) "self",(char *) "i", NULL |
d14a1e28 RD |
5679 | }; |
5680 | ||
994141e6 | 5681 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5682 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5683 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 5684 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5685 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5686 | { |
5687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7722248d | 5688 | result = wxStatusBar_GetFieldRect(arg1,arg2); |
d14a1e28 RD |
5689 | |
5690 | wxPyEndAllowThreads(__tstate); | |
5691 | if (PyErr_Occurred()) SWIG_fail; | |
5692 | } | |
7722248d RD |
5693 | { |
5694 | wxRect * resultptr; | |
5695 | resultptr = new wxRect((wxRect &) result); | |
15afbcd0 | 5696 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
7722248d | 5697 | } |
d14a1e28 RD |
5698 | return resultobj; |
5699 | fail: | |
5700 | return NULL; | |
5701 | } | |
5702 | ||
5703 | ||
c32bde28 | 5704 | static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5705 | PyObject *resultobj; |
5706 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5707 | int arg2 ; | |
5708 | PyObject * obj0 = 0 ; | |
994141e6 | 5709 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5710 | char *kwnames[] = { |
5711 | (char *) "self",(char *) "height", NULL | |
5712 | }; | |
5713 | ||
994141e6 | 5714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",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; | |
c32bde28 | 5717 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5718 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5719 | { |
5720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5721 | (arg1)->SetMinHeight(arg2); | |
5722 | ||
5723 | wxPyEndAllowThreads(__tstate); | |
5724 | if (PyErr_Occurred()) SWIG_fail; | |
5725 | } | |
5726 | Py_INCREF(Py_None); resultobj = Py_None; | |
5727 | return resultobj; | |
5728 | fail: | |
5729 | return NULL; | |
5730 | } | |
5731 | ||
5732 | ||
c32bde28 | 5733 | static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5734 | PyObject *resultobj; |
5735 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5736 | int result; | |
5737 | PyObject * obj0 = 0 ; | |
5738 | char *kwnames[] = { | |
5739 | (char *) "self", NULL | |
5740 | }; | |
5741 | ||
5742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5743 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5744 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5745 | { |
5746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5747 | result = (int)((wxStatusBar const *)arg1)->GetBorderX(); | |
5748 | ||
5749 | wxPyEndAllowThreads(__tstate); | |
5750 | if (PyErr_Occurred()) SWIG_fail; | |
5751 | } | |
c32bde28 | 5752 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5753 | return resultobj; |
5754 | fail: | |
5755 | return NULL; | |
5756 | } | |
5757 | ||
5758 | ||
c32bde28 | 5759 | static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5760 | PyObject *resultobj; |
5761 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5762 | int result; | |
5763 | PyObject * obj0 = 0 ; | |
5764 | char *kwnames[] = { | |
5765 | (char *) "self", NULL | |
5766 | }; | |
5767 | ||
5768 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5769 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5770 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5771 | { |
5772 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5773 | result = (int)((wxStatusBar const *)arg1)->GetBorderY(); | |
5774 | ||
5775 | wxPyEndAllowThreads(__tstate); | |
5776 | if (PyErr_Occurred()) SWIG_fail; | |
5777 | } | |
c32bde28 | 5778 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5779 | return resultobj; |
5780 | fail: | |
5781 | return NULL; | |
5782 | } | |
5783 | ||
5784 | ||
c32bde28 | 5785 | static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
22bfe96c RD |
5786 | PyObject *resultobj; |
5787 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
5788 | wxVisualAttributes result; | |
5789 | PyObject * obj0 = 0 ; | |
5790 | char *kwnames[] = { | |
5791 | (char *) "variant", NULL | |
5792 | }; | |
5793 | ||
5794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
5795 | if (obj0) { | |
c32bde28 | 5796 | arg1 = (int)SWIG_As_int(obj0); |
22bfe96c RD |
5797 | if (PyErr_Occurred()) SWIG_fail; |
5798 | } | |
5799 | { | |
e3b71cb8 | 5800 | if (!wxPyCheckForApp()) SWIG_fail; |
22bfe96c RD |
5801 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5802 | result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
5803 | ||
5804 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5805 | if (PyErr_Occurred()) SWIG_fail; |
22bfe96c RD |
5806 | } |
5807 | { | |
5808 | wxVisualAttributes * resultptr; | |
5809 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
5810 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
5811 | } | |
5812 | return resultobj; | |
5813 | fail: | |
5814 | return NULL; | |
5815 | } | |
5816 | ||
5817 | ||
c32bde28 | 5818 | static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
5819 | PyObject *obj; |
5820 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5821 | SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj); | |
5822 | Py_INCREF(obj); | |
5823 | return Py_BuildValue((char *)""); | |
5824 | } | |
c32bde28 | 5825 | static int _wrap_SplitterNameStr_set(PyObject *) { |
b2dc1044 RD |
5826 | PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only."); |
5827 | return 1; | |
5828 | } | |
5829 | ||
5830 | ||
5831 | static PyObject *_wrap_SplitterNameStr_get() { | |
5832 | PyObject *pyobj; | |
5833 | ||
5834 | { | |
5835 | #if wxUSE_UNICODE | |
5836 | pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
5837 | #else | |
5838 | pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
5839 | #endif | |
5840 | } | |
5841 | return pyobj; | |
5842 | } | |
5843 | ||
5844 | ||
c32bde28 | 5845 | static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5846 | PyObject *resultobj; |
5847 | wxWindow *arg1 = (wxWindow *) 0 ; | |
74a57fcd | 5848 | int arg2 = (int) -1 ; |
d14a1e28 RD |
5849 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
5850 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
5851 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
5852 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5853 | long arg5 = (long) wxSP_3D ; | |
5854 | wxString const &arg6_defvalue = wxPySplitterNameStr ; | |
5855 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
5856 | wxSplitterWindow *result; | |
5857 | wxPoint temp3 ; | |
5858 | wxSize temp4 ; | |
ae8162c8 | 5859 | bool temp6 = false ; |
d14a1e28 | 5860 | PyObject * obj0 = 0 ; |
994141e6 | 5861 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5862 | PyObject * obj2 = 0 ; |
5863 | PyObject * obj3 = 0 ; | |
994141e6 | 5864 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
5865 | PyObject * obj5 = 0 ; |
5866 | char *kwnames[] = { | |
994141e6 | 5867 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
5868 | }; |
5869 | ||
74a57fcd | 5870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
5871 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
5872 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
74a57fcd | 5873 | if (obj1) { |
c32bde28 | 5874 | arg2 = (int)SWIG_As_int(obj1); |
74a57fcd RD |
5875 | if (PyErr_Occurred()) SWIG_fail; |
5876 | } | |
d14a1e28 RD |
5877 | if (obj2) { |
5878 | { | |
5879 | arg3 = &temp3; | |
5880 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
5881 | } | |
5882 | } | |
5883 | if (obj3) { | |
5884 | { | |
5885 | arg4 = &temp4; | |
5886 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
5887 | } | |
5888 | } | |
15afbcd0 | 5889 | if (obj4) { |
c32bde28 | 5890 | arg5 = (long)SWIG_As_long(obj4); |
15afbcd0 | 5891 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 5892 | } |
d14a1e28 RD |
5893 | if (obj5) { |
5894 | { | |
5895 | arg6 = wxString_in_helper(obj5); | |
5896 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 5897 | temp6 = true; |
d14a1e28 RD |
5898 | } |
5899 | } | |
5900 | { | |
e3b71cb8 | 5901 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
5902 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5903 | result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
5904 | ||
5905 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5906 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 5907 | } |
15afbcd0 | 5908 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); |
d14a1e28 RD |
5909 | { |
5910 | if (temp6) | |
5911 | delete arg6; | |
5912 | } | |
5913 | return resultobj; | |
5914 | fail: | |
5915 | { | |
5916 | if (temp6) | |
5917 | delete arg6; | |
5918 | } | |
5919 | return NULL; | |
5920 | } | |
5921 | ||
5922 | ||
c32bde28 | 5923 | static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5924 | PyObject *resultobj; |
5925 | wxSplitterWindow *result; | |
5926 | char *kwnames[] = { | |
5927 | NULL | |
5928 | }; | |
5929 | ||
5930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail; | |
5931 | { | |
e3b71cb8 | 5932 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
5933 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5934 | result = (wxSplitterWindow *)new wxSplitterWindow(); | |
5935 | ||
5936 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5937 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 5938 | } |
15afbcd0 | 5939 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); |
d14a1e28 RD |
5940 | return resultobj; |
5941 | fail: | |
5942 | return NULL; | |
5943 | } | |
5944 | ||
5945 | ||
c32bde28 | 5946 | static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5947 | PyObject *resultobj; |
5948 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5949 | wxWindow *arg2 = (wxWindow *) 0 ; | |
74a57fcd | 5950 | int arg3 = (int) -1 ; |
d14a1e28 RD |
5951 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
5952 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
5953 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
5954 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
5955 | long arg6 = (long) wxSP_3D ; | |
5956 | wxString const &arg7_defvalue = wxPySplitterNameStr ; | |
5957 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
5958 | bool result; | |
5959 | wxPoint temp4 ; | |
5960 | wxSize temp5 ; | |
ae8162c8 | 5961 | bool temp7 = false ; |
d14a1e28 RD |
5962 | PyObject * obj0 = 0 ; |
5963 | PyObject * obj1 = 0 ; | |
994141e6 | 5964 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
5965 | PyObject * obj3 = 0 ; |
5966 | PyObject * obj4 = 0 ; | |
994141e6 | 5967 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
5968 | PyObject * obj6 = 0 ; |
5969 | char *kwnames[] = { | |
994141e6 | 5970 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
5971 | }; |
5972 | ||
74a57fcd | 5973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
5974 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5975 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5976 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5977 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
74a57fcd | 5978 | if (obj2) { |
c32bde28 | 5979 | arg3 = (int)SWIG_As_int(obj2); |
74a57fcd RD |
5980 | if (PyErr_Occurred()) SWIG_fail; |
5981 | } | |
d14a1e28 RD |
5982 | if (obj3) { |
5983 | { | |
5984 | arg4 = &temp4; | |
5985 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
5986 | } | |
5987 | } | |
5988 | if (obj4) { | |
5989 | { | |
5990 | arg5 = &temp5; | |
5991 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
5992 | } | |
5993 | } | |
994141e6 | 5994 | if (obj5) { |
c32bde28 | 5995 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 5996 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 5997 | } |
d14a1e28 RD |
5998 | if (obj6) { |
5999 | { | |
6000 | arg7 = wxString_in_helper(obj6); | |
6001 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 6002 | temp7 = true; |
d14a1e28 RD |
6003 | } |
6004 | } | |
6005 | { | |
6006 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6007 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
6008 | ||
6009 | wxPyEndAllowThreads(__tstate); | |
6010 | if (PyErr_Occurred()) SWIG_fail; | |
6011 | } | |
4f89f6a3 RD |
6012 | { |
6013 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6014 | } | |
d14a1e28 RD |
6015 | { |
6016 | if (temp7) | |
6017 | delete arg7; | |
6018 | } | |
6019 | return resultobj; | |
6020 | fail: | |
6021 | { | |
6022 | if (temp7) | |
6023 | delete arg7; | |
6024 | } | |
6025 | return NULL; | |
6026 | } | |
6027 | ||
6028 | ||
c32bde28 | 6029 | static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6030 | PyObject *resultobj; |
6031 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6032 | wxWindow *result; | |
6033 | PyObject * obj0 = 0 ; | |
6034 | char *kwnames[] = { | |
6035 | (char *) "self", NULL | |
6036 | }; | |
6037 | ||
6038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6039 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6040 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6041 | { |
6042 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6043 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1(); | |
6044 | ||
6045 | wxPyEndAllowThreads(__tstate); | |
6046 | if (PyErr_Occurred()) SWIG_fail; | |
6047 | } | |
6048 | { | |
412d302d | 6049 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
6050 | } |
6051 | return resultobj; | |
6052 | fail: | |
6053 | return NULL; | |
6054 | } | |
6055 | ||
6056 | ||
c32bde28 | 6057 | static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6058 | PyObject *resultobj; |
6059 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6060 | wxWindow *result; | |
6061 | PyObject * obj0 = 0 ; | |
6062 | char *kwnames[] = { | |
6063 | (char *) "self", NULL | |
6064 | }; | |
6065 | ||
6066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6067 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6068 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6069 | { |
6070 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6071 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2(); | |
6072 | ||
6073 | wxPyEndAllowThreads(__tstate); | |
6074 | if (PyErr_Occurred()) SWIG_fail; | |
6075 | } | |
6076 | { | |
412d302d | 6077 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
6078 | } |
6079 | return resultobj; | |
6080 | fail: | |
6081 | return NULL; | |
6082 | } | |
6083 | ||
6084 | ||
c32bde28 | 6085 | static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6086 | PyObject *resultobj; |
6087 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6088 | int arg2 ; | |
6089 | PyObject * obj0 = 0 ; | |
994141e6 | 6090 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6091 | char *kwnames[] = { |
6092 | (char *) "self",(char *) "mode", NULL | |
6093 | }; | |
6094 | ||
994141e6 | 6095 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6096 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6097 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 6098 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 6099 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6100 | { |
6101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6102 | (arg1)->SetSplitMode(arg2); | |
6103 | ||
6104 | wxPyEndAllowThreads(__tstate); | |
6105 | if (PyErr_Occurred()) SWIG_fail; | |
6106 | } | |
6107 | Py_INCREF(Py_None); resultobj = Py_None; | |
6108 | return resultobj; | |
6109 | fail: | |
6110 | return NULL; | |
6111 | } | |
6112 | ||
6113 | ||
c32bde28 | 6114 | static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6115 | PyObject *resultobj; |
6116 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6117 | int result; | |
6118 | PyObject * obj0 = 0 ; | |
6119 | char *kwnames[] = { | |
6120 | (char *) "self", NULL | |
6121 | }; | |
6122 | ||
6123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6124 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6125 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6126 | { |
6127 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6128 | result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode(); | |
6129 | ||
6130 | wxPyEndAllowThreads(__tstate); | |
6131 | if (PyErr_Occurred()) SWIG_fail; | |
6132 | } | |
c32bde28 | 6133 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
6134 | return resultobj; |
6135 | fail: | |
6136 | return NULL; | |
6137 | } | |
6138 | ||
6139 | ||
c32bde28 | 6140 | static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6141 | PyObject *resultobj; |
6142 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6143 | wxWindow *arg2 = (wxWindow *) 0 ; | |
6144 | PyObject * obj0 = 0 ; | |
6145 | PyObject * obj1 = 0 ; | |
6146 | char *kwnames[] = { | |
6147 | (char *) "self",(char *) "window", NULL | |
6148 | }; | |
6149 | ||
6150 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6151 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6152 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6153 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
6154 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6155 | { |
6156 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6157 | (arg1)->Initialize(arg2); | |
6158 | ||
6159 | wxPyEndAllowThreads(__tstate); | |
6160 | if (PyErr_Occurred()) SWIG_fail; | |
6161 | } | |
6162 | Py_INCREF(Py_None); resultobj = Py_None; | |
6163 | return resultobj; | |
6164 | fail: | |
6165 | return NULL; | |
6166 | } | |
6167 | ||
6168 | ||
c32bde28 | 6169 | static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6170 | PyObject *resultobj; |
6171 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6172 | wxWindow *arg2 = (wxWindow *) 0 ; | |
6173 | wxWindow *arg3 = (wxWindow *) 0 ; | |
6174 | int arg4 = (int) 0 ; | |
6175 | bool result; | |
6176 | PyObject * obj0 = 0 ; | |
6177 | PyObject * obj1 = 0 ; | |
6178 | PyObject * obj2 = 0 ; | |
994141e6 | 6179 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
6180 | char *kwnames[] = { |
6181 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
6182 | }; | |
6183 | ||
994141e6 | 6184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
6185 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6186 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6187 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
6188 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6189 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
6190 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 6191 | if (obj3) { |
c32bde28 | 6192 | arg4 = (int)SWIG_As_int(obj3); |
15afbcd0 | 6193 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 6194 | } |
d14a1e28 RD |
6195 | { |
6196 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6197 | result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4); | |
6198 | ||
6199 | wxPyEndAllowThreads(__tstate); | |
6200 | if (PyErr_Occurred()) SWIG_fail; | |
6201 | } | |
4f89f6a3 RD |
6202 | { |
6203 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6204 | } | |
d14a1e28 RD |
6205 | return resultobj; |
6206 | fail: | |
6207 | return NULL; | |
6208 | } | |
6209 | ||
6210 | ||
c32bde28 | 6211 | static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6212 | PyObject *resultobj; |
6213 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6214 | wxWindow *arg2 = (wxWindow *) 0 ; | |
6215 | wxWindow *arg3 = (wxWindow *) 0 ; | |
6216 | int arg4 = (int) 0 ; | |
6217 | bool result; | |
6218 | PyObject * obj0 = 0 ; | |
6219 | PyObject * obj1 = 0 ; | |
6220 | PyObject * obj2 = 0 ; | |
994141e6 | 6221 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
6222 | char *kwnames[] = { |
6223 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
6224 | }; | |
6225 | ||
994141e6 | 6226 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
6227 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6228 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6229 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
6230 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6231 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
6232 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 6233 | if (obj3) { |
c32bde28 | 6234 | arg4 = (int)SWIG_As_int(obj3); |
15afbcd0 | 6235 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 6236 | } |
d14a1e28 RD |
6237 | { |
6238 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6239 | result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4); | |
6240 | ||
6241 | wxPyEndAllowThreads(__tstate); | |
6242 | if (PyErr_Occurred()) SWIG_fail; | |
6243 | } | |
4f89f6a3 RD |
6244 | { |
6245 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6246 | } | |
d14a1e28 RD |
6247 | return resultobj; |
6248 | fail: | |
6249 | return NULL; | |
6250 | } | |
6251 | ||
6252 | ||
c32bde28 | 6253 | static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6254 | PyObject *resultobj; |
6255 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6256 | wxWindow *arg2 = (wxWindow *) NULL ; | |
6257 | bool result; | |
6258 | PyObject * obj0 = 0 ; | |
6259 | PyObject * obj1 = 0 ; | |
6260 | char *kwnames[] = { | |
6261 | (char *) "self",(char *) "toRemove", NULL | |
6262 | }; | |
6263 | ||
6264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6265 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6266 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 6267 | if (obj1) { |
15afbcd0 RD |
6268 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
6269 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6270 | } |
6271 | { | |
6272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6273 | result = (bool)(arg1)->Unsplit(arg2); | |
6274 | ||
6275 | wxPyEndAllowThreads(__tstate); | |
6276 | if (PyErr_Occurred()) SWIG_fail; | |
6277 | } | |
4f89f6a3 RD |
6278 | { |
6279 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6280 | } | |
d14a1e28 RD |
6281 | return resultobj; |
6282 | fail: | |
6283 | return NULL; | |
6284 | } | |
6285 | ||
6286 | ||
c32bde28 | 6287 | static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6288 | PyObject *resultobj; |
6289 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6290 | wxWindow *arg2 = (wxWindow *) 0 ; | |
6291 | wxWindow *arg3 = (wxWindow *) 0 ; | |
6292 | bool result; | |
6293 | PyObject * obj0 = 0 ; | |
6294 | PyObject * obj1 = 0 ; | |
6295 | PyObject * obj2 = 0 ; | |
6296 | char *kwnames[] = { | |
6297 | (char *) "self",(char *) "winOld",(char *) "winNew", NULL | |
6298 | }; | |
6299 | ||
6300 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
6301 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6302 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6303 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
6304 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6305 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
6306 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6307 | { |
6308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6309 | result = (bool)(arg1)->ReplaceWindow(arg2,arg3); | |
6310 | ||
6311 | wxPyEndAllowThreads(__tstate); | |
6312 | if (PyErr_Occurred()) SWIG_fail; | |
6313 | } | |
4f89f6a3 RD |
6314 | { |
6315 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6316 | } | |
d14a1e28 RD |
6317 | return resultobj; |
6318 | fail: | |
6319 | return NULL; | |
6320 | } | |
6321 | ||
6322 | ||
c32bde28 | 6323 | static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d00d1b88 RD |
6324 | PyObject *resultobj; |
6325 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6326 | PyObject * obj0 = 0 ; | |
6327 | char *kwnames[] = { | |
6328 | (char *) "self", NULL | |
6329 | }; | |
6330 | ||
6331 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail; | |
6332 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6333 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6334 | { | |
6335 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6336 | (arg1)->UpdateSize(); | |
6337 | ||
6338 | wxPyEndAllowThreads(__tstate); | |
6339 | if (PyErr_Occurred()) SWIG_fail; | |
6340 | } | |
6341 | Py_INCREF(Py_None); resultobj = Py_None; | |
6342 | return resultobj; | |
6343 | fail: | |
6344 | return NULL; | |
6345 | } | |
6346 | ||
6347 | ||
c32bde28 | 6348 | static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6349 | PyObject *resultobj; |
6350 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6351 | bool result; | |
6352 | PyObject * obj0 = 0 ; | |
6353 | char *kwnames[] = { | |
6354 | (char *) "self", NULL | |
6355 | }; | |
6356 | ||
6357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6358 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6359 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6360 | { |
6361 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6362 | result = (bool)((wxSplitterWindow const *)arg1)->IsSplit(); | |
6363 | ||
6364 | wxPyEndAllowThreads(__tstate); | |
6365 | if (PyErr_Occurred()) SWIG_fail; | |
6366 | } | |
4f89f6a3 RD |
6367 | { |
6368 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6369 | } | |
d14a1e28 RD |
6370 | return resultobj; |
6371 | fail: | |
6372 | return NULL; | |
6373 | } | |
6374 | ||
6375 | ||
c32bde28 | 6376 | static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6377 | PyObject *resultobj; |
6378 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6379 | int arg2 ; | |
6380 | PyObject * obj0 = 0 ; | |
994141e6 | 6381 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6382 | char *kwnames[] = { |
6383 | (char *) "self",(char *) "width", NULL | |
6384 | }; | |
6385 | ||
994141e6 | 6386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6387 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6388 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 6389 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 6390 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6391 | { |
6392 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6393 | (arg1)->SetSashSize(arg2); | |
6394 | ||
6395 | wxPyEndAllowThreads(__tstate); | |
6396 | if (PyErr_Occurred()) SWIG_fail; | |
6397 | } | |
6398 | Py_INCREF(Py_None); resultobj = Py_None; | |
6399 | return resultobj; | |
6400 | fail: | |
6401 | return NULL; | |
6402 | } | |
6403 | ||
6404 | ||
c32bde28 | 6405 | static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6406 | PyObject *resultobj; |
6407 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6408 | int arg2 ; | |
6409 | PyObject * obj0 = 0 ; | |
994141e6 | 6410 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6411 | char *kwnames[] = { |
6412 | (char *) "self",(char *) "width", NULL | |
6413 | }; | |
6414 | ||
994141e6 | 6415 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6416 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6417 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 6418 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 6419 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6420 | { |
6421 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6422 | (arg1)->SetBorderSize(arg2); | |
6423 | ||
6424 | wxPyEndAllowThreads(__tstate); | |
6425 | if (PyErr_Occurred()) SWIG_fail; | |
6426 | } | |
6427 | Py_INCREF(Py_None); resultobj = Py_None; | |
6428 | return resultobj; | |
6429 | fail: | |
6430 | return NULL; | |
6431 | } | |
6432 | ||
6433 | ||
c32bde28 | 6434 | static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6435 | PyObject *resultobj; |
6436 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6437 | int result; | |
6438 | PyObject * obj0 = 0 ; | |
6439 | char *kwnames[] = { | |
6440 | (char *) "self", NULL | |
6441 | }; | |
6442 | ||
6443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6444 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6445 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6446 | { |
6447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6448 | result = (int)((wxSplitterWindow const *)arg1)->GetSashSize(); | |
6449 | ||
6450 | wxPyEndAllowThreads(__tstate); | |
6451 | if (PyErr_Occurred()) SWIG_fail; | |
6452 | } | |
c32bde28 | 6453 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
6454 | return resultobj; |
6455 | fail: | |
6456 | return NULL; | |
6457 | } | |
6458 | ||
6459 | ||
c32bde28 | 6460 | static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6461 | PyObject *resultobj; |
6462 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6463 | int result; | |
6464 | PyObject * obj0 = 0 ; | |
6465 | char *kwnames[] = { | |
6466 | (char *) "self", NULL | |
6467 | }; | |
6468 | ||
6469 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6470 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6471 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6472 | { |
6473 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6474 | result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize(); | |
6475 | ||
6476 | wxPyEndAllowThreads(__tstate); | |
6477 | if (PyErr_Occurred()) SWIG_fail; | |
6478 | } | |
c32bde28 | 6479 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
6480 | return resultobj; |
6481 | fail: | |
6482 | return NULL; | |
6483 | } | |
6484 | ||
6485 | ||
c32bde28 | 6486 | static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6487 | PyObject *resultobj; |
6488 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6489 | int arg2 ; | |
ae8162c8 | 6490 | bool arg3 = (bool) true ; |
d14a1e28 | 6491 | PyObject * obj0 = 0 ; |
994141e6 | 6492 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6493 | PyObject * obj2 = 0 ; |
6494 | char *kwnames[] = { | |
6495 | (char *) "self",(char *) "position",(char *) "redraw", NULL | |
6496 | }; | |
6497 | ||
994141e6 | 6498 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
6499 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6500 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 6501 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 6502 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 6503 | if (obj2) { |
c32bde28 | 6504 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 6505 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6506 | } |
6507 | { | |
6508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6509 | (arg1)->SetSashPosition(arg2,arg3); | |
6510 | ||
6511 | wxPyEndAllowThreads(__tstate); | |
6512 | if (PyErr_Occurred()) SWIG_fail; | |
6513 | } | |
6514 | Py_INCREF(Py_None); resultobj = Py_None; | |
6515 | return resultobj; | |
6516 | fail: | |
6517 | return NULL; | |
6518 | } | |
6519 | ||
6520 | ||
c32bde28 | 6521 | static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6522 | PyObject *resultobj; |
6523 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6524 | int result; | |
6525 | PyObject * obj0 = 0 ; | |
6526 | char *kwnames[] = { | |
6527 | (char *) "self", NULL | |
6528 | }; | |
6529 | ||
6530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6531 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6532 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6533 | { |
6534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6535 | result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition(); | |
6536 | ||
6537 | wxPyEndAllowThreads(__tstate); | |
6538 | if (PyErr_Occurred()) SWIG_fail; | |
6539 | } | |
c32bde28 | 6540 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
6541 | return resultobj; |
6542 | fail: | |
6543 | return NULL; | |
6544 | } | |
6545 | ||
6546 | ||
c32bde28 | 6547 | static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6548 | PyObject *resultobj; |
6549 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6550 | int arg2 ; | |
6551 | PyObject * obj0 = 0 ; | |
994141e6 | 6552 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6553 | char *kwnames[] = { |
6554 | (char *) "self",(char *) "min", NULL | |
6555 | }; | |
6556 | ||
994141e6 | 6557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6558 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6559 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 6560 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 6561 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6562 | { |
6563 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6564 | (arg1)->SetMinimumPaneSize(arg2); | |
6565 | ||
6566 | wxPyEndAllowThreads(__tstate); | |
6567 | if (PyErr_Occurred()) SWIG_fail; | |
6568 | } | |
6569 | Py_INCREF(Py_None); resultobj = Py_None; | |
6570 | return resultobj; | |
6571 | fail: | |
6572 | return NULL; | |
6573 | } | |
6574 | ||
6575 | ||
c32bde28 | 6576 | static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6577 | PyObject *resultobj; |
6578 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6579 | int result; | |
6580 | PyObject * obj0 = 0 ; | |
6581 | char *kwnames[] = { | |
6582 | (char *) "self", NULL | |
6583 | }; | |
6584 | ||
6585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6586 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6587 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6588 | { |
6589 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6590 | result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize(); | |
6591 | ||
6592 | wxPyEndAllowThreads(__tstate); | |
6593 | if (PyErr_Occurred()) SWIG_fail; | |
6594 | } | |
c32bde28 | 6595 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
6596 | return resultobj; |
6597 | fail: | |
6598 | return NULL; | |
6599 | } | |
6600 | ||
6601 | ||
c32bde28 | 6602 | static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6603 | PyObject *resultobj; |
6604 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6605 | int arg2 ; | |
6606 | int arg3 ; | |
6607 | int arg4 = (int) 5 ; | |
6608 | bool result; | |
6609 | PyObject * obj0 = 0 ; | |
994141e6 RD |
6610 | PyObject * obj1 = 0 ; |
6611 | PyObject * obj2 = 0 ; | |
6612 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
6613 | char *kwnames[] = { |
6614 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
6615 | }; | |
6616 | ||
994141e6 | 6617 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
6618 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6619 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 6620 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 6621 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 6622 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 6623 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 6624 | if (obj3) { |
c32bde28 | 6625 | arg4 = (int)SWIG_As_int(obj3); |
15afbcd0 | 6626 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 6627 | } |
d14a1e28 RD |
6628 | { |
6629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6630 | result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4); | |
6631 | ||
6632 | wxPyEndAllowThreads(__tstate); | |
6633 | if (PyErr_Occurred()) SWIG_fail; | |
6634 | } | |
4f89f6a3 RD |
6635 | { |
6636 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6637 | } | |
d14a1e28 RD |
6638 | return resultobj; |
6639 | fail: | |
6640 | return NULL; | |
6641 | } | |
6642 | ||
6643 | ||
c32bde28 | 6644 | static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6645 | PyObject *resultobj; |
6646 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6647 | PyObject * obj0 = 0 ; | |
6648 | char *kwnames[] = { | |
6649 | (char *) "self", NULL | |
6650 | }; | |
6651 | ||
6652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6653 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6654 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6655 | { |
6656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6657 | (arg1)->SizeWindows(); | |
6658 | ||
6659 | wxPyEndAllowThreads(__tstate); | |
6660 | if (PyErr_Occurred()) SWIG_fail; | |
6661 | } | |
6662 | Py_INCREF(Py_None); resultobj = Py_None; | |
6663 | return resultobj; | |
6664 | fail: | |
6665 | return NULL; | |
6666 | } | |
6667 | ||
6668 | ||
c32bde28 | 6669 | static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6670 | PyObject *resultobj; |
6671 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6672 | bool arg2 ; | |
6673 | PyObject * obj0 = 0 ; | |
6674 | PyObject * obj1 = 0 ; | |
6675 | char *kwnames[] = { | |
6676 | (char *) "self",(char *) "needUpdating", NULL | |
6677 | }; | |
6678 | ||
6679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6680 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6681 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 6682 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 6683 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6684 | { |
6685 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6686 | (arg1)->SetNeedUpdating(arg2); | |
6687 | ||
6688 | wxPyEndAllowThreads(__tstate); | |
6689 | if (PyErr_Occurred()) SWIG_fail; | |
6690 | } | |
6691 | Py_INCREF(Py_None); resultobj = Py_None; | |
6692 | return resultobj; | |
6693 | fail: | |
6694 | return NULL; | |
6695 | } | |
6696 | ||
6697 | ||
c32bde28 | 6698 | static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6699 | PyObject *resultobj; |
6700 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6701 | bool result; | |
6702 | PyObject * obj0 = 0 ; | |
6703 | char *kwnames[] = { | |
6704 | (char *) "self", NULL | |
6705 | }; | |
6706 | ||
6707 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6708 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6709 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6710 | { |
6711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6712 | result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating(); | |
6713 | ||
6714 | wxPyEndAllowThreads(__tstate); | |
6715 | if (PyErr_Occurred()) SWIG_fail; | |
6716 | } | |
4f89f6a3 RD |
6717 | { |
6718 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6719 | } | |
d14a1e28 RD |
6720 | return resultobj; |
6721 | fail: | |
6722 | return NULL; | |
6723 | } | |
6724 | ||
6725 | ||
c32bde28 | 6726 | static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
22bfe96c RD |
6727 | PyObject *resultobj; |
6728 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
6729 | wxVisualAttributes result; | |
6730 | PyObject * obj0 = 0 ; | |
6731 | char *kwnames[] = { | |
6732 | (char *) "variant", NULL | |
6733 | }; | |
6734 | ||
6735 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
6736 | if (obj0) { | |
c32bde28 | 6737 | arg1 = (int)SWIG_As_int(obj0); |
22bfe96c RD |
6738 | if (PyErr_Occurred()) SWIG_fail; |
6739 | } | |
6740 | { | |
e3b71cb8 | 6741 | if (!wxPyCheckForApp()) SWIG_fail; |
22bfe96c RD |
6742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6743 | result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
6744 | ||
6745 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6746 | if (PyErr_Occurred()) SWIG_fail; |
22bfe96c RD |
6747 | } |
6748 | { | |
6749 | wxVisualAttributes * resultptr; | |
6750 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
6751 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
6752 | } | |
6753 | return resultobj; | |
6754 | fail: | |
6755 | return NULL; | |
6756 | } | |
6757 | ||
6758 | ||
c32bde28 | 6759 | static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
6760 | PyObject *obj; |
6761 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6762 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj); | |
6763 | Py_INCREF(obj); | |
6764 | return Py_BuildValue((char *)""); | |
6765 | } | |
c32bde28 | 6766 | static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6767 | PyObject *resultobj; |
6768 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
6769 | wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ; | |
6770 | wxSplitterEvent *result; | |
994141e6 | 6771 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
6772 | PyObject * obj1 = 0 ; |
6773 | char *kwnames[] = { | |
6774 | (char *) "type",(char *) "splitter", NULL | |
6775 | }; | |
6776 | ||
994141e6 RD |
6777 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail; |
6778 | if (obj0) { | |
c32bde28 | 6779 | arg1 = (wxEventType)SWIG_As_int(obj0); |
15afbcd0 | 6780 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 6781 | } |
d14a1e28 | 6782 | if (obj1) { |
15afbcd0 RD |
6783 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow, |
6784 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6785 | } |
6786 | { | |
6787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6788 | result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2); | |
6789 | ||
6790 | wxPyEndAllowThreads(__tstate); | |
6791 | if (PyErr_Occurred()) SWIG_fail; | |
6792 | } | |
15afbcd0 | 6793 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1); |
d14a1e28 RD |
6794 | return resultobj; |
6795 | fail: | |
6796 | return NULL; | |
6797 | } | |
6798 | ||
6799 | ||
c32bde28 | 6800 | static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6801 | PyObject *resultobj; |
6802 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6803 | int arg2 ; | |
6804 | PyObject * obj0 = 0 ; | |
994141e6 | 6805 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6806 | char *kwnames[] = { |
6807 | (char *) "self",(char *) "pos", NULL | |
6808 | }; | |
6809 | ||
994141e6 | 6810 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6811 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6812 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 6813 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 6814 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6815 | { |
6816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6817 | (arg1)->SetSashPosition(arg2); | |
6818 | ||
6819 | wxPyEndAllowThreads(__tstate); | |
6820 | if (PyErr_Occurred()) SWIG_fail; | |
6821 | } | |
6822 | Py_INCREF(Py_None); resultobj = Py_None; | |
6823 | return resultobj; | |
6824 | fail: | |
6825 | return NULL; | |
6826 | } | |
6827 | ||
6828 | ||
c32bde28 | 6829 | static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6830 | PyObject *resultobj; |
6831 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6832 | int result; | |
6833 | PyObject * obj0 = 0 ; | |
6834 | char *kwnames[] = { | |
6835 | (char *) "self", NULL | |
6836 | }; | |
6837 | ||
6838 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6839 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6840 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6841 | { |
6842 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6843 | result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition(); | |
6844 | ||
6845 | wxPyEndAllowThreads(__tstate); | |
6846 | if (PyErr_Occurred()) SWIG_fail; | |
6847 | } | |
c32bde28 | 6848 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
6849 | return resultobj; |
6850 | fail: | |
6851 | return NULL; | |
6852 | } | |
6853 | ||
6854 | ||
c32bde28 | 6855 | static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6856 | PyObject *resultobj; |
6857 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6858 | wxWindow *result; | |
6859 | PyObject * obj0 = 0 ; | |
6860 | char *kwnames[] = { | |
6861 | (char *) "self", NULL | |
6862 | }; | |
6863 | ||
6864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6865 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6866 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6867 | { |
6868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6869 | result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved(); | |
6870 | ||
6871 | wxPyEndAllowThreads(__tstate); | |
6872 | if (PyErr_Occurred()) SWIG_fail; | |
6873 | } | |
6874 | { | |
412d302d | 6875 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
6876 | } |
6877 | return resultobj; | |
6878 | fail: | |
6879 | return NULL; | |
6880 | } | |
6881 | ||
6882 | ||
c32bde28 | 6883 | static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6884 | PyObject *resultobj; |
6885 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6886 | int result; | |
6887 | PyObject * obj0 = 0 ; | |
6888 | char *kwnames[] = { | |
6889 | (char *) "self", NULL | |
6890 | }; | |
6891 | ||
6892 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6893 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6894 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6895 | { |
6896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6897 | result = (int)((wxSplitterEvent const *)arg1)->GetX(); | |
6898 | ||
6899 | wxPyEndAllowThreads(__tstate); | |
6900 | if (PyErr_Occurred()) SWIG_fail; | |
6901 | } | |
c32bde28 | 6902 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
6903 | return resultobj; |
6904 | fail: | |
6905 | return NULL; | |
6906 | } | |
6907 | ||
6908 | ||
c32bde28 | 6909 | static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6910 | PyObject *resultobj; |
6911 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6912 | int result; | |
6913 | PyObject * obj0 = 0 ; | |
6914 | char *kwnames[] = { | |
6915 | (char *) "self", NULL | |
6916 | }; | |
6917 | ||
6918 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6919 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6920 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6921 | { |
6922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6923 | result = (int)((wxSplitterEvent const *)arg1)->GetY(); | |
6924 | ||
6925 | wxPyEndAllowThreads(__tstate); | |
6926 | if (PyErr_Occurred()) SWIG_fail; | |
6927 | } | |
c32bde28 | 6928 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
6929 | return resultobj; |
6930 | fail: | |
6931 | return NULL; | |
6932 | } | |
6933 | ||
6934 | ||
c32bde28 | 6935 | static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
6936 | PyObject *obj; |
6937 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6938 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj); | |
6939 | Py_INCREF(obj); | |
6940 | return Py_BuildValue((char *)""); | |
6941 | } | |
c32bde28 | 6942 | static int _wrap_SashNameStr_set(PyObject *) { |
b2dc1044 RD |
6943 | PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only."); |
6944 | return 1; | |
6945 | } | |
6946 | ||
6947 | ||
6948 | static PyObject *_wrap_SashNameStr_get() { | |
6949 | PyObject *pyobj; | |
6950 | ||
6951 | { | |
6952 | #if wxUSE_UNICODE | |
6953 | pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
6954 | #else | |
6955 | pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
6956 | #endif | |
6957 | } | |
6958 | return pyobj; | |
6959 | } | |
6960 | ||
6961 | ||
c32bde28 | 6962 | static int _wrap_SashLayoutNameStr_set(PyObject *) { |
b2dc1044 RD |
6963 | PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only."); |
6964 | return 1; | |
6965 | } | |
6966 | ||
6967 | ||
6968 | static PyObject *_wrap_SashLayoutNameStr_get() { | |
6969 | PyObject *pyobj; | |
6970 | ||
6971 | { | |
6972 | #if wxUSE_UNICODE | |
6973 | pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
6974 | #else | |
6975 | pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
6976 | #endif | |
6977 | } | |
6978 | return pyobj; | |
6979 | } | |
6980 | ||
6981 | ||
c32bde28 | 6982 | static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6983 | PyObject *resultobj; |
6984 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 | 6985 | int arg2 = (int) -1 ; |
d14a1e28 RD |
6986 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
6987 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
6988 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
6989 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
6990 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
6991 | wxString const &arg6_defvalue = wxPySashNameStr ; | |
6992 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
6993 | wxSashWindow *result; | |
6994 | wxPoint temp3 ; | |
6995 | wxSize temp4 ; | |
ae8162c8 | 6996 | bool temp6 = false ; |
d14a1e28 | 6997 | PyObject * obj0 = 0 ; |
994141e6 | 6998 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6999 | PyObject * obj2 = 0 ; |
7000 | PyObject * obj3 = 0 ; | |
994141e6 | 7001 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
7002 | PyObject * obj5 = 0 ; |
7003 | char *kwnames[] = { | |
7004 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7005 | }; | |
7006 | ||
248ed943 | 7007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
7008 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
7009 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 7010 | if (obj1) { |
c32bde28 | 7011 | arg2 = (int)SWIG_As_int(obj1); |
248ed943 RD |
7012 | if (PyErr_Occurred()) SWIG_fail; |
7013 | } | |
d14a1e28 RD |
7014 | if (obj2) { |
7015 | { | |
7016 | arg3 = &temp3; | |
7017 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
7018 | } | |
7019 | } | |
7020 | if (obj3) { | |
7021 | { | |
7022 | arg4 = &temp4; | |
7023 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
7024 | } | |
7025 | } | |
994141e6 | 7026 | if (obj4) { |
c32bde28 | 7027 | arg5 = (long)SWIG_As_long(obj4); |
15afbcd0 | 7028 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 7029 | } |
d14a1e28 RD |
7030 | if (obj5) { |
7031 | { | |
7032 | arg6 = wxString_in_helper(obj5); | |
7033 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 7034 | temp6 = true; |
d14a1e28 RD |
7035 | } |
7036 | } | |
7037 | { | |
e3b71cb8 | 7038 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
7039 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
7040 | result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
7041 | ||
7042 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7043 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 7044 | } |
15afbcd0 | 7045 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); |
d14a1e28 RD |
7046 | { |
7047 | if (temp6) | |
7048 | delete arg6; | |
7049 | } | |
7050 | return resultobj; | |
7051 | fail: | |
7052 | { | |
7053 | if (temp6) | |
7054 | delete arg6; | |
7055 | } | |
7056 | return NULL; | |
7057 | } | |
7058 | ||
7059 | ||
c32bde28 | 7060 | static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7061 | PyObject *resultobj; |
7062 | wxSashWindow *result; | |
7063 | char *kwnames[] = { | |
7064 | NULL | |
7065 | }; | |
7066 | ||
7067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail; | |
7068 | { | |
e3b71cb8 | 7069 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
7070 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
7071 | result = (wxSashWindow *)new wxSashWindow(); | |
7072 | ||
7073 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7074 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 7075 | } |
15afbcd0 | 7076 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); |
d14a1e28 RD |
7077 | return resultobj; |
7078 | fail: | |
7079 | return NULL; | |
7080 | } | |
7081 | ||
7082 | ||
c32bde28 | 7083 | static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7084 | PyObject *resultobj; |
7085 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7086 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 | 7087 | int arg3 = (int) -1 ; |
d14a1e28 RD |
7088 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
7089 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
7090 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
7091 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
7092 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
7093 | wxString const &arg7_defvalue = wxPySashNameStr ; | |
7094 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
7095 | bool result; | |
7096 | wxPoint temp4 ; | |
7097 | wxSize temp5 ; | |
ae8162c8 | 7098 | bool temp7 = false ; |
d14a1e28 RD |
7099 | PyObject * obj0 = 0 ; |
7100 | PyObject * obj1 = 0 ; | |
994141e6 | 7101 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
7102 | PyObject * obj3 = 0 ; |
7103 | PyObject * obj4 = 0 ; | |
994141e6 | 7104 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
7105 | PyObject * obj6 = 0 ; |
7106 | char *kwnames[] = { | |
7107 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7108 | }; | |
7109 | ||
248ed943 | 7110 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
7111 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7112 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7113 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
7114 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 7115 | if (obj2) { |
c32bde28 | 7116 | arg3 = (int)SWIG_As_int(obj2); |
248ed943 RD |
7117 | if (PyErr_Occurred()) SWIG_fail; |
7118 | } | |
d14a1e28 RD |
7119 | if (obj3) { |
7120 | { | |
7121 | arg4 = &temp4; | |
7122 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
7123 | } | |
7124 | } | |
7125 | if (obj4) { | |
7126 | { | |
7127 | arg5 = &temp5; | |
7128 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
7129 | } | |
7130 | } | |
994141e6 | 7131 | if (obj5) { |
c32bde28 | 7132 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 7133 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 7134 | } |
d14a1e28 RD |
7135 | if (obj6) { |
7136 | { | |
7137 | arg7 = wxString_in_helper(obj6); | |
7138 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 7139 | temp7 = true; |
d14a1e28 RD |
7140 | } |
7141 | } | |
7142 | { | |
7143 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7144 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
7145 | ||
7146 | wxPyEndAllowThreads(__tstate); | |
7147 | if (PyErr_Occurred()) SWIG_fail; | |
7148 | } | |
4f89f6a3 RD |
7149 | { |
7150 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7151 | } | |
d14a1e28 RD |
7152 | { |
7153 | if (temp7) | |
7154 | delete arg7; | |
7155 | } | |
7156 | return resultobj; | |
7157 | fail: | |
7158 | { | |
7159 | if (temp7) | |
7160 | delete arg7; | |
7161 | } | |
7162 | return NULL; | |
7163 | } | |
7164 | ||
7165 | ||
c32bde28 | 7166 | static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7167 | PyObject *resultobj; |
7168 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7169 | int arg2 ; | |
7170 | bool arg3 ; | |
7171 | PyObject * obj0 = 0 ; | |
994141e6 | 7172 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7173 | PyObject * obj2 = 0 ; |
7174 | char *kwnames[] = { | |
7175 | (char *) "self",(char *) "edge",(char *) "sash", NULL | |
7176 | }; | |
7177 | ||
994141e6 | 7178 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
7179 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7180 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 7181 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7182 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 7183 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 7184 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7185 | { |
7186 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7187 | (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3); | |
7188 | ||
7189 | wxPyEndAllowThreads(__tstate); | |
7190 | if (PyErr_Occurred()) SWIG_fail; | |
7191 | } | |
7192 | Py_INCREF(Py_None); resultobj = Py_None; | |
7193 | return resultobj; | |
7194 | fail: | |
7195 | return NULL; | |
7196 | } | |
7197 | ||
7198 | ||
c32bde28 | 7199 | static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7200 | PyObject *resultobj; |
7201 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7202 | int arg2 ; | |
7203 | bool result; | |
7204 | PyObject * obj0 = 0 ; | |
994141e6 | 7205 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7206 | char *kwnames[] = { |
7207 | (char *) "self",(char *) "edge", NULL | |
7208 | }; | |
7209 | ||
994141e6 | 7210 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7211 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7212 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 7213 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7214 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7215 | { |
7216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7217 | result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2); | |
7218 | ||
7219 | wxPyEndAllowThreads(__tstate); | |
7220 | if (PyErr_Occurred()) SWIG_fail; | |
7221 | } | |
4f89f6a3 RD |
7222 | { |
7223 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7224 | } | |
d14a1e28 RD |
7225 | return resultobj; |
7226 | fail: | |
7227 | return NULL; | |
7228 | } | |
7229 | ||
7230 | ||
c32bde28 | 7231 | static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7232 | PyObject *resultobj; |
7233 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7234 | int arg2 ; | |
7235 | bool arg3 ; | |
7236 | PyObject * obj0 = 0 ; | |
994141e6 | 7237 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7238 | PyObject * obj2 = 0 ; |
7239 | char *kwnames[] = { | |
7240 | (char *) "self",(char *) "edge",(char *) "border", NULL | |
7241 | }; | |
7242 | ||
994141e6 | 7243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
7244 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7245 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 7246 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7247 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 7248 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 7249 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7250 | { |
7251 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7252 | (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3); | |
7253 | ||
7254 | wxPyEndAllowThreads(__tstate); | |
7255 | if (PyErr_Occurred()) SWIG_fail; | |
7256 | } | |
7257 | Py_INCREF(Py_None); resultobj = Py_None; | |
7258 | return resultobj; | |
7259 | fail: | |
7260 | return NULL; | |
7261 | } | |
7262 | ||
7263 | ||
c32bde28 | 7264 | static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7265 | PyObject *resultobj; |
7266 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7267 | int arg2 ; | |
7268 | bool result; | |
7269 | PyObject * obj0 = 0 ; | |
994141e6 | 7270 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7271 | char *kwnames[] = { |
7272 | (char *) "self",(char *) "edge", NULL | |
7273 | }; | |
7274 | ||
994141e6 | 7275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7276 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7277 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 7278 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7279 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7280 | { |
7281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7282 | result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2); | |
7283 | ||
7284 | wxPyEndAllowThreads(__tstate); | |
7285 | if (PyErr_Occurred()) SWIG_fail; | |
7286 | } | |
4f89f6a3 RD |
7287 | { |
7288 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7289 | } | |
d14a1e28 RD |
7290 | return resultobj; |
7291 | fail: | |
7292 | return NULL; | |
7293 | } | |
7294 | ||
7295 | ||
c32bde28 | 7296 | static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7297 | PyObject *resultobj; |
7298 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7299 | int arg2 ; | |
7300 | int result; | |
7301 | PyObject * obj0 = 0 ; | |
994141e6 | 7302 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7303 | char *kwnames[] = { |
7304 | (char *) "self",(char *) "edge", NULL | |
7305 | }; | |
7306 | ||
994141e6 | 7307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7308 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7309 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 7310 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7311 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7312 | { |
7313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7314 | result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2); | |
7315 | ||
7316 | wxPyEndAllowThreads(__tstate); | |
7317 | if (PyErr_Occurred()) SWIG_fail; | |
7318 | } | |
c32bde28 | 7319 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7320 | return resultobj; |
7321 | fail: | |
7322 | return NULL; | |
7323 | } | |
7324 | ||
7325 | ||
c32bde28 | 7326 | static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7327 | PyObject *resultobj; |
7328 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7329 | int arg2 ; | |
7330 | PyObject * obj0 = 0 ; | |
994141e6 | 7331 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7332 | char *kwnames[] = { |
7333 | (char *) "self",(char *) "width", NULL | |
7334 | }; | |
7335 | ||
994141e6 | 7336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7337 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7338 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 7339 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7340 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7341 | { |
7342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7343 | (arg1)->SetDefaultBorderSize(arg2); | |
7344 | ||
7345 | wxPyEndAllowThreads(__tstate); | |
7346 | if (PyErr_Occurred()) SWIG_fail; | |
7347 | } | |
7348 | Py_INCREF(Py_None); resultobj = Py_None; | |
7349 | return resultobj; | |
7350 | fail: | |
7351 | return NULL; | |
7352 | } | |
7353 | ||
7354 | ||
c32bde28 | 7355 | static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7356 | PyObject *resultobj; |
7357 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7358 | int result; | |
7359 | PyObject * obj0 = 0 ; | |
7360 | char *kwnames[] = { | |
7361 | (char *) "self", NULL | |
7362 | }; | |
7363 | ||
7364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7365 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7366 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7367 | { |
7368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7369 | result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize(); | |
7370 | ||
7371 | wxPyEndAllowThreads(__tstate); | |
7372 | if (PyErr_Occurred()) SWIG_fail; | |
7373 | } | |
c32bde28 | 7374 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7375 | return resultobj; |
7376 | fail: | |
7377 | return NULL; | |
7378 | } | |
7379 | ||
7380 | ||
c32bde28 | 7381 | static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7382 | PyObject *resultobj; |
7383 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7384 | int arg2 ; | |
7385 | PyObject * obj0 = 0 ; | |
994141e6 | 7386 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7387 | char *kwnames[] = { |
7388 | (char *) "self",(char *) "width", NULL | |
7389 | }; | |
7390 | ||
994141e6 | 7391 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7392 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7393 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 7394 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7395 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7396 | { |
7397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7398 | (arg1)->SetExtraBorderSize(arg2); | |
7399 | ||
7400 | wxPyEndAllowThreads(__tstate); | |
7401 | if (PyErr_Occurred()) SWIG_fail; | |
7402 | } | |
7403 | Py_INCREF(Py_None); resultobj = Py_None; | |
7404 | return resultobj; | |
7405 | fail: | |
7406 | return NULL; | |
7407 | } | |
7408 | ||
7409 | ||
c32bde28 | 7410 | static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7411 | PyObject *resultobj; |
7412 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7413 | int result; | |
7414 | PyObject * obj0 = 0 ; | |
7415 | char *kwnames[] = { | |
7416 | (char *) "self", NULL | |
7417 | }; | |
7418 | ||
7419 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7420 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7421 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7422 | { |
7423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7424 | result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize(); | |
7425 | ||
7426 | wxPyEndAllowThreads(__tstate); | |
7427 | if (PyErr_Occurred()) SWIG_fail; | |
7428 | } | |
c32bde28 | 7429 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7430 | return resultobj; |
7431 | fail: | |
7432 | return NULL; | |
7433 | } | |
7434 | ||
7435 | ||
c32bde28 | 7436 | static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7437 | PyObject *resultobj; |
7438 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7439 | int arg2 ; | |
7440 | PyObject * obj0 = 0 ; | |
994141e6 | 7441 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7442 | char *kwnames[] = { |
7443 | (char *) "self",(char *) "min", NULL | |
7444 | }; | |
7445 | ||
994141e6 | 7446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7447 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7448 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 7449 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7450 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7451 | { |
7452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7453 | (arg1)->SetMinimumSizeX(arg2); | |
7454 | ||
7455 | wxPyEndAllowThreads(__tstate); | |
7456 | if (PyErr_Occurred()) SWIG_fail; | |
7457 | } | |
7458 | Py_INCREF(Py_None); resultobj = Py_None; | |
7459 | return resultobj; | |
7460 | fail: | |
7461 | return NULL; | |
7462 | } | |
7463 | ||
7464 | ||
c32bde28 | 7465 | static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7466 | PyObject *resultobj; |
7467 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7468 | int arg2 ; | |
7469 | PyObject * obj0 = 0 ; | |
994141e6 | 7470 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7471 | char *kwnames[] = { |
7472 | (char *) "self",(char *) "min", NULL | |
7473 | }; | |
7474 | ||
994141e6 | 7475 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7476 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7477 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 7478 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7479 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7480 | { |
7481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7482 | (arg1)->SetMinimumSizeY(arg2); | |
7483 | ||
7484 | wxPyEndAllowThreads(__tstate); | |
7485 | if (PyErr_Occurred()) SWIG_fail; | |
7486 | } | |
7487 | Py_INCREF(Py_None); resultobj = Py_None; | |
7488 | return resultobj; | |
7489 | fail: | |
7490 | return NULL; | |
7491 | } | |
7492 | ||
7493 | ||
c32bde28 | 7494 | static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7495 | PyObject *resultobj; |
7496 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7497 | int result; | |
7498 | PyObject * obj0 = 0 ; | |
7499 | char *kwnames[] = { | |
7500 | (char *) "self", NULL | |
7501 | }; | |
7502 | ||
7503 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7504 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7505 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7506 | { |
7507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7508 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX(); | |
7509 | ||
7510 | wxPyEndAllowThreads(__tstate); | |
7511 | if (PyErr_Occurred()) SWIG_fail; | |
7512 | } | |
c32bde28 | 7513 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7514 | return resultobj; |
7515 | fail: | |
7516 | return NULL; | |
7517 | } | |
7518 | ||
7519 | ||
c32bde28 | 7520 | static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7521 | PyObject *resultobj; |
7522 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7523 | int result; | |
7524 | PyObject * obj0 = 0 ; | |
7525 | char *kwnames[] = { | |
7526 | (char *) "self", NULL | |
7527 | }; | |
7528 | ||
7529 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7530 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7531 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7532 | { |
7533 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7534 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY(); | |
7535 | ||
7536 | wxPyEndAllowThreads(__tstate); | |
7537 | if (PyErr_Occurred()) SWIG_fail; | |
7538 | } | |
c32bde28 | 7539 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7540 | return resultobj; |
7541 | fail: | |
7542 | return NULL; | |
7543 | } | |
7544 | ||
7545 | ||
c32bde28 | 7546 | static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7547 | PyObject *resultobj; |
7548 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7549 | int arg2 ; | |
7550 | PyObject * obj0 = 0 ; | |
994141e6 | 7551 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7552 | char *kwnames[] = { |
7553 | (char *) "self",(char *) "max", NULL | |
7554 | }; | |
7555 | ||
994141e6 | 7556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7557 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7558 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 7559 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7560 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7561 | { |
7562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7563 | (arg1)->SetMaximumSizeX(arg2); | |
7564 | ||
7565 | wxPyEndAllowThreads(__tstate); | |
7566 | if (PyErr_Occurred()) SWIG_fail; | |
7567 | } | |
7568 | Py_INCREF(Py_None); resultobj = Py_None; | |
7569 | return resultobj; | |
7570 | fail: | |
7571 | return NULL; | |
7572 | } | |
7573 | ||
7574 | ||
c32bde28 | 7575 | static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7576 | PyObject *resultobj; |
7577 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7578 | int arg2 ; | |
7579 | PyObject * obj0 = 0 ; | |
994141e6 | 7580 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7581 | char *kwnames[] = { |
7582 | (char *) "self",(char *) "max", NULL | |
7583 | }; | |
7584 | ||
994141e6 | 7585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7586 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7587 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 7588 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7589 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7590 | { |
7591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7592 | (arg1)->SetMaximumSizeY(arg2); | |
7593 | ||
7594 | wxPyEndAllowThreads(__tstate); | |
7595 | if (PyErr_Occurred()) SWIG_fail; | |
7596 | } | |
7597 | Py_INCREF(Py_None); resultobj = Py_None; | |
7598 | return resultobj; | |
7599 | fail: | |
7600 | return NULL; | |
7601 | } | |
7602 | ||
7603 | ||
c32bde28 | 7604 | static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7605 | PyObject *resultobj; |
7606 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7607 | int result; | |
7608 | PyObject * obj0 = 0 ; | |
7609 | char *kwnames[] = { | |
7610 | (char *) "self", NULL | |
7611 | }; | |
7612 | ||
7613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7614 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7615 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7616 | { |
7617 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7618 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX(); | |
7619 | ||
7620 | wxPyEndAllowThreads(__tstate); | |
7621 | if (PyErr_Occurred()) SWIG_fail; | |
7622 | } | |
c32bde28 | 7623 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7624 | return resultobj; |
7625 | fail: | |
7626 | return NULL; | |
7627 | } | |
7628 | ||
7629 | ||
c32bde28 | 7630 | static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7631 | PyObject *resultobj; |
7632 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7633 | int result; | |
7634 | PyObject * obj0 = 0 ; | |
7635 | char *kwnames[] = { | |
7636 | (char *) "self", NULL | |
7637 | }; | |
7638 | ||
7639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7640 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7641 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7642 | { |
7643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7644 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY(); | |
7645 | ||
7646 | wxPyEndAllowThreads(__tstate); | |
7647 | if (PyErr_Occurred()) SWIG_fail; | |
7648 | } | |
c32bde28 | 7649 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7650 | return resultobj; |
7651 | fail: | |
7652 | return NULL; | |
7653 | } | |
7654 | ||
7655 | ||
c32bde28 | 7656 | static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7657 | PyObject *resultobj; |
7658 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7659 | int arg2 ; | |
7660 | int arg3 ; | |
7661 | int arg4 = (int) 2 ; | |
7662 | int result; | |
7663 | PyObject * obj0 = 0 ; | |
994141e6 RD |
7664 | PyObject * obj1 = 0 ; |
7665 | PyObject * obj2 = 0 ; | |
7666 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
7667 | char *kwnames[] = { |
7668 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
7669 | }; | |
7670 | ||
994141e6 | 7671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
7672 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7673 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 7674 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7675 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 7676 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 7677 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 7678 | if (obj3) { |
c32bde28 | 7679 | arg4 = (int)SWIG_As_int(obj3); |
15afbcd0 | 7680 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 7681 | } |
d14a1e28 RD |
7682 | { |
7683 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7684 | result = (int)(arg1)->SashHitTest(arg2,arg3,arg4); | |
7685 | ||
7686 | wxPyEndAllowThreads(__tstate); | |
7687 | if (PyErr_Occurred()) SWIG_fail; | |
7688 | } | |
c32bde28 | 7689 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7690 | return resultobj; |
7691 | fail: | |
7692 | return NULL; | |
7693 | } | |
7694 | ||
7695 | ||
c32bde28 | 7696 | static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7697 | PyObject *resultobj; |
7698 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7699 | PyObject * obj0 = 0 ; | |
7700 | char *kwnames[] = { | |
7701 | (char *) "self", NULL | |
7702 | }; | |
7703 | ||
7704 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7705 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7706 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7707 | { |
7708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7709 | (arg1)->SizeWindows(); | |
7710 | ||
7711 | wxPyEndAllowThreads(__tstate); | |
7712 | if (PyErr_Occurred()) SWIG_fail; | |
7713 | } | |
7714 | Py_INCREF(Py_None); resultobj = Py_None; | |
7715 | return resultobj; | |
7716 | fail: | |
7717 | return NULL; | |
7718 | } | |
7719 | ||
7720 | ||
c32bde28 | 7721 | static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
7722 | PyObject *obj; |
7723 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7724 | SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj); | |
7725 | Py_INCREF(obj); | |
7726 | return Py_BuildValue((char *)""); | |
7727 | } | |
c32bde28 | 7728 | static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7729 | PyObject *resultobj; |
7730 | int arg1 = (int) 0 ; | |
7731 | int arg2 = (int) wxSASH_NONE ; | |
7732 | wxSashEvent *result; | |
994141e6 RD |
7733 | PyObject * obj0 = 0 ; |
7734 | PyObject * obj1 = 0 ; | |
d14a1e28 RD |
7735 | char *kwnames[] = { |
7736 | (char *) "id",(char *) "edge", NULL | |
7737 | }; | |
7738 | ||
994141e6 RD |
7739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail; |
7740 | if (obj0) { | |
c32bde28 | 7741 | arg1 = (int)SWIG_As_int(obj0); |
15afbcd0 | 7742 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 RD |
7743 | } |
7744 | if (obj1) { | |
c32bde28 | 7745 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7746 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 7747 | } |
d14a1e28 RD |
7748 | { |
7749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7750 | result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2); | |
7751 | ||
7752 | wxPyEndAllowThreads(__tstate); | |
7753 | if (PyErr_Occurred()) SWIG_fail; | |
7754 | } | |
15afbcd0 | 7755 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1); |
d14a1e28 RD |
7756 | return resultobj; |
7757 | fail: | |
7758 | return NULL; | |
7759 | } | |
7760 | ||
7761 | ||
c32bde28 | 7762 | static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7763 | PyObject *resultobj; |
7764 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7765 | int arg2 ; | |
7766 | PyObject * obj0 = 0 ; | |
994141e6 | 7767 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7768 | char *kwnames[] = { |
7769 | (char *) "self",(char *) "edge", NULL | |
7770 | }; | |
7771 | ||
994141e6 | 7772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7773 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7774 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 7775 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7776 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7777 | { |
7778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7779 | (arg1)->SetEdge((wxSashEdgePosition )arg2); | |
7780 | ||
7781 | wxPyEndAllowThreads(__tstate); | |
7782 | if (PyErr_Occurred()) SWIG_fail; | |
7783 | } | |
7784 | Py_INCREF(Py_None); resultobj = Py_None; | |
7785 | return resultobj; | |
7786 | fail: | |
7787 | return NULL; | |
7788 | } | |
7789 | ||
7790 | ||
c32bde28 | 7791 | static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7792 | PyObject *resultobj; |
7793 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7794 | int result; | |
7795 | PyObject * obj0 = 0 ; | |
7796 | char *kwnames[] = { | |
7797 | (char *) "self", NULL | |
7798 | }; | |
7799 | ||
7800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7801 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7802 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7803 | { |
7804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7805 | result = (int)((wxSashEvent const *)arg1)->GetEdge(); | |
7806 | ||
7807 | wxPyEndAllowThreads(__tstate); | |
7808 | if (PyErr_Occurred()) SWIG_fail; | |
7809 | } | |
c32bde28 | 7810 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7811 | return resultobj; |
7812 | fail: | |
7813 | return NULL; | |
7814 | } | |
7815 | ||
7816 | ||
c32bde28 | 7817 | static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7818 | PyObject *resultobj; |
7819 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7820 | wxRect *arg2 = 0 ; | |
7821 | wxRect temp2 ; | |
7822 | PyObject * obj0 = 0 ; | |
7823 | PyObject * obj1 = 0 ; | |
7824 | char *kwnames[] = { | |
7825 | (char *) "self",(char *) "rect", NULL | |
7826 | }; | |
7827 | ||
7828 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
7829 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7830 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7831 | { |
7832 | arg2 = &temp2; | |
7833 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
7834 | } | |
7835 | { | |
7836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7837 | (arg1)->SetDragRect((wxRect const &)*arg2); | |
7838 | ||
7839 | wxPyEndAllowThreads(__tstate); | |
7840 | if (PyErr_Occurred()) SWIG_fail; | |
7841 | } | |
7842 | Py_INCREF(Py_None); resultobj = Py_None; | |
7843 | return resultobj; | |
7844 | fail: | |
7845 | return NULL; | |
7846 | } | |
7847 | ||
7848 | ||
c32bde28 | 7849 | static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7850 | PyObject *resultobj; |
7851 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7852 | wxRect result; | |
7853 | PyObject * obj0 = 0 ; | |
7854 | char *kwnames[] = { | |
7855 | (char *) "self", NULL | |
7856 | }; | |
7857 | ||
7858 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7859 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7860 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7861 | { |
7862 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7863 | result = ((wxSashEvent const *)arg1)->GetDragRect(); | |
7864 | ||
7865 | wxPyEndAllowThreads(__tstate); | |
7866 | if (PyErr_Occurred()) SWIG_fail; | |
7867 | } | |
7868 | { | |
7869 | wxRect * resultptr; | |
7870 | resultptr = new wxRect((wxRect &) result); | |
15afbcd0 | 7871 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
d14a1e28 RD |
7872 | } |
7873 | return resultobj; | |
7874 | fail: | |
7875 | return NULL; | |
7876 | } | |
7877 | ||
7878 | ||
c32bde28 | 7879 | static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7880 | PyObject *resultobj; |
7881 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7882 | int arg2 ; | |
7883 | PyObject * obj0 = 0 ; | |
994141e6 | 7884 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7885 | char *kwnames[] = { |
7886 | (char *) "self",(char *) "status", NULL | |
7887 | }; | |
7888 | ||
994141e6 | 7889 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7890 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7891 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 7892 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7893 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7894 | { |
7895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7896 | (arg1)->SetDragStatus((wxSashDragStatus )arg2); | |
7897 | ||
7898 | wxPyEndAllowThreads(__tstate); | |
7899 | if (PyErr_Occurred()) SWIG_fail; | |
7900 | } | |
7901 | Py_INCREF(Py_None); resultobj = Py_None; | |
7902 | return resultobj; | |
7903 | fail: | |
7904 | return NULL; | |
7905 | } | |
7906 | ||
7907 | ||
c32bde28 | 7908 | static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7909 | PyObject *resultobj; |
7910 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7911 | int result; | |
7912 | PyObject * obj0 = 0 ; | |
7913 | char *kwnames[] = { | |
7914 | (char *) "self", NULL | |
7915 | }; | |
7916 | ||
7917 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7918 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7919 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7920 | { |
7921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7922 | result = (int)((wxSashEvent const *)arg1)->GetDragStatus(); | |
7923 | ||
7924 | wxPyEndAllowThreads(__tstate); | |
7925 | if (PyErr_Occurred()) SWIG_fail; | |
7926 | } | |
c32bde28 | 7927 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7928 | return resultobj; |
7929 | fail: | |
7930 | return NULL; | |
7931 | } | |
7932 | ||
7933 | ||
c32bde28 | 7934 | static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
7935 | PyObject *obj; |
7936 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7937 | SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj); | |
7938 | Py_INCREF(obj); | |
7939 | return Py_BuildValue((char *)""); | |
7940 | } | |
c32bde28 | 7941 | static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 7942 | PyObject *resultobj; |
e811c8ce | 7943 | int arg1 = (int) 0 ; |
d14a1e28 | 7944 | wxQueryLayoutInfoEvent *result; |
994141e6 | 7945 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
7946 | char *kwnames[] = { |
7947 | (char *) "id", NULL | |
7948 | }; | |
7949 | ||
994141e6 RD |
7950 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail; |
7951 | if (obj0) { | |
c32bde28 | 7952 | arg1 = (int)SWIG_As_int(obj0); |
15afbcd0 | 7953 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 7954 | } |
d14a1e28 RD |
7955 | { |
7956 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7957 | result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1); | |
7958 | ||
7959 | wxPyEndAllowThreads(__tstate); | |
7960 | if (PyErr_Occurred()) SWIG_fail; | |
7961 | } | |
15afbcd0 | 7962 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1); |
d14a1e28 RD |
7963 | return resultobj; |
7964 | fail: | |
7965 | return NULL; | |
7966 | } | |
7967 | ||
7968 | ||
c32bde28 | 7969 | static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7970 | PyObject *resultobj; |
7971 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7972 | int arg2 ; | |
7973 | PyObject * obj0 = 0 ; | |
994141e6 | 7974 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7975 | char *kwnames[] = { |
7976 | (char *) "self",(char *) "length", NULL | |
7977 | }; | |
7978 | ||
994141e6 | 7979 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7980 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7981 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 7982 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7983 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7984 | { |
7985 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7986 | (arg1)->SetRequestedLength(arg2); | |
7987 | ||
7988 | wxPyEndAllowThreads(__tstate); | |
7989 | if (PyErr_Occurred()) SWIG_fail; | |
7990 | } | |
7991 | Py_INCREF(Py_None); resultobj = Py_None; | |
7992 | return resultobj; | |
7993 | fail: | |
7994 | return NULL; | |
7995 | } | |
7996 | ||
7997 | ||
c32bde28 | 7998 | static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7999 | PyObject *resultobj; |
8000 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
8001 | int result; | |
8002 | PyObject * obj0 = 0 ; | |
8003 | char *kwnames[] = { | |
8004 | (char *) "self", NULL | |
8005 | }; | |
8006 | ||
8007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8008 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
8009 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8010 | { |
8011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8012 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength(); | |
8013 | ||
8014 | wxPyEndAllowThreads(__tstate); | |
8015 | if (PyErr_Occurred()) SWIG_fail; | |
8016 | } | |
c32bde28 | 8017 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
8018 | return resultobj; |
8019 | fail: | |
8020 | return NULL; | |
8021 | } | |
8022 | ||
8023 | ||
c32bde28 | 8024 | static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8025 | PyObject *resultobj; |
8026 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
8027 | int arg2 ; | |
8028 | PyObject * obj0 = 0 ; | |
994141e6 | 8029 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8030 | char *kwnames[] = { |
8031 | (char *) "self",(char *) "flags", NULL | |
8032 | }; | |
8033 | ||
994141e6 | 8034 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8035 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
8036 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 8037 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 8038 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
8039 | { |
8040 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8041 | (arg1)->SetFlags(arg2); | |
8042 | ||
8043 | wxPyEndAllowThreads(__tstate); | |
8044 | if (PyErr_Occurred()) SWIG_fail; | |
8045 | } | |
8046 | Py_INCREF(Py_None); resultobj = Py_None; | |
8047 | return resultobj; | |
8048 | fail: | |
8049 | return NULL; | |
8050 | } | |
8051 | ||
8052 | ||
c32bde28 | 8053 | static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8054 | PyObject *resultobj; |
8055 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
8056 | int result; | |
8057 | PyObject * obj0 = 0 ; | |
8058 | char *kwnames[] = { | |
8059 | (char *) "self", NULL | |
8060 | }; | |
8061 | ||
8062 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8063 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
8064 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8065 | { |
8066 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8067 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags(); | |
8068 | ||
8069 | wxPyEndAllowThreads(__tstate); | |
8070 | if (PyErr_Occurred()) SWIG_fail; | |
8071 | } | |
c32bde28 | 8072 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
8073 | return resultobj; |
8074 | fail: | |
8075 | return NULL; | |
8076 | } | |
8077 | ||
8078 | ||
c32bde28 | 8079 | static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8080 | PyObject *resultobj; |
8081 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
8082 | wxSize *arg2 = 0 ; | |
8083 | wxSize temp2 ; | |
8084 | PyObject * obj0 = 0 ; | |
8085 | PyObject * obj1 = 0 ; | |
8086 | char *kwnames[] = { | |
8087 | (char *) "self",(char *) "size", NULL | |
8088 | }; | |
8089 | ||
8090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
8091 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
8092 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8093 | { |
8094 | arg2 = &temp2; | |
8095 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
8096 | } | |
8097 | { | |
8098 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8099 | (arg1)->SetSize((wxSize const &)*arg2); | |
8100 | ||
8101 | wxPyEndAllowThreads(__tstate); | |
8102 | if (PyErr_Occurred()) SWIG_fail; | |
8103 | } | |
8104 | Py_INCREF(Py_None); resultobj = Py_None; | |
8105 | return resultobj; | |
8106 | fail: | |
8107 | return NULL; | |
8108 | } | |
8109 | ||
8110 | ||
c32bde28 | 8111 | static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8112 | PyObject *resultobj; |
8113 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
8114 | wxSize result; | |
8115 | PyObject * obj0 = 0 ; | |
8116 | char *kwnames[] = { | |
8117 | (char *) "self", NULL | |
8118 | }; | |
8119 | ||
8120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8121 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
8122 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8123 | { |
8124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8125 | result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize(); | |
8126 | ||
8127 | wxPyEndAllowThreads(__tstate); | |
8128 | if (PyErr_Occurred()) SWIG_fail; | |
8129 | } | |
8130 | { | |
8131 | wxSize * resultptr; | |
8132 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 8133 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
8134 | } |
8135 | return resultobj; | |
8136 | fail: | |
8137 | return NULL; | |
8138 | } | |
8139 | ||
8140 | ||
c32bde28 | 8141 | static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8142 | PyObject *resultobj; |
8143 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
8144 | int arg2 ; | |
8145 | PyObject * obj0 = 0 ; | |
994141e6 | 8146 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8147 | char *kwnames[] = { |
8148 | (char *) "self",(char *) "orient", NULL | |
8149 | }; | |
8150 | ||
994141e6 | 8151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8152 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
8153 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 8154 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 8155 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
8156 | { |
8157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8158 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
8159 | ||
8160 | wxPyEndAllowThreads(__tstate); | |
8161 | if (PyErr_Occurred()) SWIG_fail; | |
8162 | } | |
8163 | Py_INCREF(Py_None); resultobj = Py_None; | |
8164 | return resultobj; | |
8165 | fail: | |
8166 | return NULL; | |
8167 | } | |
8168 | ||
8169 | ||
c32bde28 | 8170 | static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8171 | PyObject *resultobj; |
8172 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
8173 | int result; | |
8174 | PyObject * obj0 = 0 ; | |
8175 | char *kwnames[] = { | |
8176 | (char *) "self", NULL | |
8177 | }; | |
8178 | ||
8179 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8180 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
8181 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8182 | { |
8183 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8184 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation(); | |
8185 | ||
8186 | wxPyEndAllowThreads(__tstate); | |
8187 | if (PyErr_Occurred()) SWIG_fail; | |
8188 | } | |
c32bde28 | 8189 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
8190 | return resultobj; |
8191 | fail: | |
8192 | return NULL; | |
8193 | } | |
8194 | ||
8195 | ||
c32bde28 | 8196 | static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8197 | PyObject *resultobj; |
8198 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
8199 | int arg2 ; | |
8200 | PyObject * obj0 = 0 ; | |
994141e6 | 8201 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8202 | char *kwnames[] = { |
8203 | (char *) "self",(char *) "align", NULL | |
8204 | }; | |
8205 | ||
994141e6 | 8206 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8207 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
8208 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 8209 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 8210 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
8211 | { |
8212 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8213 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
8214 | ||
8215 | wxPyEndAllowThreads(__tstate); | |
8216 | if (PyErr_Occurred()) SWIG_fail; | |
8217 | } | |
8218 | Py_INCREF(Py_None); resultobj = Py_None; | |
8219 | return resultobj; | |
8220 | fail: | |
8221 | return NULL; | |
8222 | } | |
8223 | ||
8224 | ||
c32bde28 | 8225 | static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8226 | PyObject *resultobj; |
8227 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
8228 | int result; | |
8229 | PyObject * obj0 = 0 ; | |
8230 | char *kwnames[] = { | |
8231 | (char *) "self", NULL | |
8232 | }; | |
8233 | ||
8234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8235 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
8236 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8237 | { |
8238 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8239 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment(); | |
8240 | ||
8241 | wxPyEndAllowThreads(__tstate); | |
8242 | if (PyErr_Occurred()) SWIG_fail; | |
8243 | } | |
c32bde28 | 8244 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
8245 | return resultobj; |
8246 | fail: | |
8247 | return NULL; | |
8248 | } | |
8249 | ||
8250 | ||
c32bde28 | 8251 | static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
8252 | PyObject *obj; |
8253 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8254 | SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj); | |
8255 | Py_INCREF(obj); | |
8256 | return Py_BuildValue((char *)""); | |
8257 | } | |
c32bde28 | 8258 | static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 8259 | PyObject *resultobj; |
e811c8ce | 8260 | int arg1 = (int) 0 ; |
d14a1e28 | 8261 | wxCalculateLayoutEvent *result; |
994141e6 | 8262 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
8263 | char *kwnames[] = { |
8264 | (char *) "id", NULL | |
8265 | }; | |
8266 | ||
994141e6 RD |
8267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail; |
8268 | if (obj0) { | |
c32bde28 | 8269 | arg1 = (int)SWIG_As_int(obj0); |
15afbcd0 | 8270 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 8271 | } |
d14a1e28 RD |
8272 | { |
8273 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8274 | result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1); | |
8275 | ||
8276 | wxPyEndAllowThreads(__tstate); | |
8277 | if (PyErr_Occurred()) SWIG_fail; | |
8278 | } | |
15afbcd0 | 8279 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1); |
d14a1e28 RD |
8280 | return resultobj; |
8281 | fail: | |
8282 | return NULL; | |
8283 | } | |
8284 | ||
8285 | ||
c32bde28 | 8286 | static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8287 | PyObject *resultobj; |
8288 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
8289 | int arg2 ; | |
8290 | PyObject * obj0 = 0 ; | |
994141e6 | 8291 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8292 | char *kwnames[] = { |
8293 | (char *) "self",(char *) "flags", NULL | |
8294 | }; | |
8295 | ||
994141e6 | 8296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8297 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
8298 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 8299 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 8300 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
8301 | { |
8302 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8303 | (arg1)->SetFlags(arg2); | |
8304 | ||
8305 | wxPyEndAllowThreads(__tstate); | |
8306 | if (PyErr_Occurred()) SWIG_fail; | |
8307 | } | |
8308 | Py_INCREF(Py_None); resultobj = Py_None; | |
8309 | return resultobj; | |
8310 | fail: | |
8311 | return NULL; | |
8312 | } | |
8313 | ||
8314 | ||
c32bde28 | 8315 | static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8316 | PyObject *resultobj; |
8317 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
8318 | int result; | |
8319 | PyObject * obj0 = 0 ; | |
8320 | char *kwnames[] = { | |
8321 | (char *) "self", NULL | |
8322 | }; | |
8323 | ||
8324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8325 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
8326 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8327 | { |
8328 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8329 | result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags(); | |
8330 | ||
8331 | wxPyEndAllowThreads(__tstate); | |
8332 | if (PyErr_Occurred()) SWIG_fail; | |
8333 | } | |
c32bde28 | 8334 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
8335 | return resultobj; |
8336 | fail: | |
8337 | return NULL; | |
8338 | } | |
8339 | ||
8340 | ||
c32bde28 | 8341 | static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8342 | PyObject *resultobj; |
8343 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
8344 | wxRect *arg2 = 0 ; | |
8345 | wxRect temp2 ; | |
8346 | PyObject * obj0 = 0 ; | |
8347 | PyObject * obj1 = 0 ; | |
8348 | char *kwnames[] = { | |
8349 | (char *) "self",(char *) "rect", NULL | |
8350 | }; | |
8351 | ||
8352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
8353 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
8354 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8355 | { |
8356 | arg2 = &temp2; | |
8357 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
8358 | } | |
8359 | { | |
8360 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8361 | (arg1)->SetRect((wxRect const &)*arg2); | |
8362 | ||
8363 | wxPyEndAllowThreads(__tstate); | |
8364 | if (PyErr_Occurred()) SWIG_fail; | |
8365 | } | |
8366 | Py_INCREF(Py_None); resultobj = Py_None; | |
8367 | return resultobj; | |
8368 | fail: | |
8369 | return NULL; | |
8370 | } | |
8371 | ||
8372 | ||
c32bde28 | 8373 | static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8374 | PyObject *resultobj; |
8375 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
8376 | wxRect result; | |
8377 | PyObject * obj0 = 0 ; | |
8378 | char *kwnames[] = { | |
8379 | (char *) "self", NULL | |
8380 | }; | |
8381 | ||
8382 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8383 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
8384 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8385 | { |
8386 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8387 | result = ((wxCalculateLayoutEvent const *)arg1)->GetRect(); | |
8388 | ||
8389 | wxPyEndAllowThreads(__tstate); | |
8390 | if (PyErr_Occurred()) SWIG_fail; | |
8391 | } | |
8392 | { | |
8393 | wxRect * resultptr; | |
8394 | resultptr = new wxRect((wxRect &) result); | |
15afbcd0 | 8395 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
d14a1e28 RD |
8396 | } |
8397 | return resultobj; | |
8398 | fail: | |
8399 | return NULL; | |
8400 | } | |
8401 | ||
8402 | ||
c32bde28 | 8403 | static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
8404 | PyObject *obj; |
8405 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8406 | SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj); | |
8407 | Py_INCREF(obj); | |
8408 | return Py_BuildValue((char *)""); | |
8409 | } | |
c32bde28 | 8410 | static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8411 | PyObject *resultobj; |
8412 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 | 8413 | int arg2 = (int) -1 ; |
d14a1e28 RD |
8414 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
8415 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
8416 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
8417 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
8418 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
8419 | wxString const &arg6_defvalue = wxPySashLayoutNameStr ; | |
8420 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
8421 | wxSashLayoutWindow *result; | |
8422 | wxPoint temp3 ; | |
8423 | wxSize temp4 ; | |
ae8162c8 | 8424 | bool temp6 = false ; |
d14a1e28 | 8425 | PyObject * obj0 = 0 ; |
994141e6 | 8426 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8427 | PyObject * obj2 = 0 ; |
8428 | PyObject * obj3 = 0 ; | |
994141e6 | 8429 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
8430 | PyObject * obj5 = 0 ; |
8431 | char *kwnames[] = { | |
8432 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8433 | }; | |
8434 | ||
248ed943 | 8435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
8436 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
8437 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 8438 | if (obj1) { |
c32bde28 | 8439 | arg2 = (int)SWIG_As_int(obj1); |
248ed943 RD |
8440 | if (PyErr_Occurred()) SWIG_fail; |
8441 | } | |
d14a1e28 RD |
8442 | if (obj2) { |
8443 | { | |
8444 | arg3 = &temp3; | |
8445 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8446 | } | |
8447 | } | |
8448 | if (obj3) { | |
8449 | { | |
8450 | arg4 = &temp4; | |
8451 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
8452 | } | |
8453 | } | |
994141e6 | 8454 | if (obj4) { |
c32bde28 | 8455 | arg5 = (long)SWIG_As_long(obj4); |
15afbcd0 | 8456 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 8457 | } |
d14a1e28 RD |
8458 | if (obj5) { |
8459 | { | |
8460 | arg6 = wxString_in_helper(obj5); | |
8461 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 8462 | temp6 = true; |
d14a1e28 RD |
8463 | } |
8464 | } | |
8465 | { | |
e3b71cb8 | 8466 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
8467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8468 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
8469 | ||
8470 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8471 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 8472 | } |
15afbcd0 | 8473 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); |
d14a1e28 RD |
8474 | { |
8475 | if (temp6) | |
8476 | delete arg6; | |
8477 | } | |
8478 | return resultobj; | |
8479 | fail: | |
8480 | { | |
8481 | if (temp6) | |
8482 | delete arg6; | |
8483 | } | |
8484 | return NULL; | |
8485 | } | |
8486 | ||
8487 | ||
c32bde28 | 8488 | static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8489 | PyObject *resultobj; |
8490 | wxSashLayoutWindow *result; | |
8491 | char *kwnames[] = { | |
8492 | NULL | |
8493 | }; | |
8494 | ||
8495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail; | |
8496 | { | |
e3b71cb8 | 8497 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
8498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8499 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(); | |
8500 | ||
8501 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8502 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 8503 | } |
15afbcd0 | 8504 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); |
d14a1e28 RD |
8505 | return resultobj; |
8506 | fail: | |
8507 | return NULL; | |
8508 | } | |
8509 | ||
8510 | ||
c32bde28 | 8511 | static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8512 | PyObject *resultobj; |
8513 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8514 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 | 8515 | int arg3 = (int) -1 ; |
d14a1e28 RD |
8516 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
8517 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
8518 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
8519 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
8520 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
8521 | wxString const &arg7_defvalue = wxPySashLayoutNameStr ; | |
8522 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
8523 | bool result; | |
8524 | wxPoint temp4 ; | |
8525 | wxSize temp5 ; | |
ae8162c8 | 8526 | bool temp7 = false ; |
d14a1e28 RD |
8527 | PyObject * obj0 = 0 ; |
8528 | PyObject * obj1 = 0 ; | |
994141e6 | 8529 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8530 | PyObject * obj3 = 0 ; |
8531 | PyObject * obj4 = 0 ; | |
994141e6 | 8532 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
8533 | PyObject * obj6 = 0 ; |
8534 | char *kwnames[] = { | |
8535 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8536 | }; | |
8537 | ||
248ed943 | 8538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
8539 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8540 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8541 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
8542 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 8543 | if (obj2) { |
c32bde28 | 8544 | arg3 = (int)SWIG_As_int(obj2); |
248ed943 RD |
8545 | if (PyErr_Occurred()) SWIG_fail; |
8546 | } | |
d14a1e28 RD |
8547 | if (obj3) { |
8548 | { | |
8549 | arg4 = &temp4; | |
8550 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8551 | } | |
8552 | } | |
8553 | if (obj4) { | |
8554 | { | |
8555 | arg5 = &temp5; | |
8556 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
8557 | } | |
8558 | } | |
994141e6 | 8559 | if (obj5) { |
c32bde28 | 8560 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 8561 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 8562 | } |
d14a1e28 RD |
8563 | if (obj6) { |
8564 | { | |
8565 | arg7 = wxString_in_helper(obj6); | |
8566 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 8567 | temp7 = true; |
d14a1e28 RD |
8568 | } |
8569 | } | |
8570 | { | |
8571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8572 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
8573 | ||
8574 | wxPyEndAllowThreads(__tstate); | |
8575 | if (PyErr_Occurred()) SWIG_fail; | |
8576 | } | |
4f89f6a3 RD |
8577 | { |
8578 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8579 | } | |
d14a1e28 RD |
8580 | { |
8581 | if (temp7) | |
8582 | delete arg7; | |
8583 | } | |
8584 | return resultobj; | |
8585 | fail: | |
8586 | { | |
8587 | if (temp7) | |
8588 | delete arg7; | |
8589 | } | |
8590 | return NULL; | |
8591 | } | |
8592 | ||
8593 | ||
c32bde28 | 8594 | static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8595 | PyObject *resultobj; |
8596 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8597 | int result; | |
8598 | PyObject * obj0 = 0 ; | |
8599 | char *kwnames[] = { | |
8600 | (char *) "self", NULL | |
8601 | }; | |
8602 | ||
8603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8604 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8605 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8606 | { |
8607 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8608 | result = (int)(arg1)->GetAlignment(); | |
8609 | ||
8610 | wxPyEndAllowThreads(__tstate); | |
8611 | if (PyErr_Occurred()) SWIG_fail; | |
8612 | } | |
c32bde28 | 8613 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
8614 | return resultobj; |
8615 | fail: | |
8616 | return NULL; | |
8617 | } | |
8618 | ||
8619 | ||
c32bde28 | 8620 | static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8621 | PyObject *resultobj; |
8622 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8623 | int result; | |
8624 | PyObject * obj0 = 0 ; | |
8625 | char *kwnames[] = { | |
8626 | (char *) "self", NULL | |
8627 | }; | |
8628 | ||
8629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8630 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8631 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8632 | { |
8633 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8634 | result = (int)(arg1)->GetOrientation(); | |
8635 | ||
8636 | wxPyEndAllowThreads(__tstate); | |
8637 | if (PyErr_Occurred()) SWIG_fail; | |
8638 | } | |
c32bde28 | 8639 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
8640 | return resultobj; |
8641 | fail: | |
8642 | return NULL; | |
8643 | } | |
8644 | ||
8645 | ||
c32bde28 | 8646 | static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8647 | PyObject *resultobj; |
8648 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8649 | int arg2 ; | |
8650 | PyObject * obj0 = 0 ; | |
994141e6 | 8651 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8652 | char *kwnames[] = { |
8653 | (char *) "self",(char *) "alignment", NULL | |
8654 | }; | |
8655 | ||
994141e6 | 8656 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8657 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8658 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 8659 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 8660 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
8661 | { |
8662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8663 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
8664 | ||
8665 | wxPyEndAllowThreads(__tstate); | |
8666 | if (PyErr_Occurred()) SWIG_fail; | |
8667 | } | |
8668 | Py_INCREF(Py_None); resultobj = Py_None; | |
8669 | return resultobj; | |
8670 | fail: | |
8671 | return NULL; | |
8672 | } | |
8673 | ||
8674 | ||
c32bde28 | 8675 | static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8676 | PyObject *resultobj; |
8677 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8678 | wxSize *arg2 = 0 ; | |
8679 | wxSize temp2 ; | |
8680 | PyObject * obj0 = 0 ; | |
8681 | PyObject * obj1 = 0 ; | |
8682 | char *kwnames[] = { | |
8683 | (char *) "self",(char *) "size", NULL | |
8684 | }; | |
8685 | ||
8686 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
8687 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8688 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8689 | { |
8690 | arg2 = &temp2; | |
8691 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
8692 | } | |
8693 | { | |
8694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8695 | (arg1)->SetDefaultSize((wxSize const &)*arg2); | |
8696 | ||
8697 | wxPyEndAllowThreads(__tstate); | |
8698 | if (PyErr_Occurred()) SWIG_fail; | |
8699 | } | |
8700 | Py_INCREF(Py_None); resultobj = Py_None; | |
8701 | return resultobj; | |
8702 | fail: | |
8703 | return NULL; | |
8704 | } | |
8705 | ||
8706 | ||
c32bde28 | 8707 | static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8708 | PyObject *resultobj; |
8709 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8710 | int arg2 ; | |
8711 | PyObject * obj0 = 0 ; | |
994141e6 | 8712 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8713 | char *kwnames[] = { |
8714 | (char *) "self",(char *) "orientation", NULL | |
8715 | }; | |
8716 | ||
994141e6 | 8717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8718 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8719 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 8720 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 8721 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
8722 | { |
8723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8724 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
8725 | ||
8726 | wxPyEndAllowThreads(__tstate); | |
8727 | if (PyErr_Occurred()) SWIG_fail; | |
8728 | } | |
8729 | Py_INCREF(Py_None); resultobj = Py_None; | |
8730 | return resultobj; | |
8731 | fail: | |
8732 | return NULL; | |
8733 | } | |
8734 | ||
8735 | ||
c32bde28 | 8736 | static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
8737 | PyObject *obj; |
8738 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8739 | SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj); | |
8740 | Py_INCREF(obj); | |
8741 | return Py_BuildValue((char *)""); | |
8742 | } | |
c32bde28 | 8743 | static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8744 | PyObject *resultobj; |
8745 | wxLayoutAlgorithm *result; | |
8746 | char *kwnames[] = { | |
8747 | NULL | |
8748 | }; | |
8749 | ||
8750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail; | |
8751 | { | |
8752 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8753 | result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm(); | |
8754 | ||
8755 | wxPyEndAllowThreads(__tstate); | |
8756 | if (PyErr_Occurred()) SWIG_fail; | |
8757 | } | |
15afbcd0 | 8758 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1); |
d14a1e28 RD |
8759 | return resultobj; |
8760 | fail: | |
8761 | return NULL; | |
8762 | } | |
8763 | ||
8764 | ||
c32bde28 | 8765 | static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8766 | PyObject *resultobj; |
8767 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8768 | PyObject * obj0 = 0 ; | |
8769 | char *kwnames[] = { | |
8770 | (char *) "self", NULL | |
8771 | }; | |
8772 | ||
8773 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8774 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8775 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8776 | { |
8777 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8778 | delete arg1; | |
8779 | ||
8780 | wxPyEndAllowThreads(__tstate); | |
8781 | if (PyErr_Occurred()) SWIG_fail; | |
8782 | } | |
8783 | Py_INCREF(Py_None); resultobj = Py_None; | |
8784 | return resultobj; | |
8785 | fail: | |
8786 | return NULL; | |
8787 | } | |
8788 | ||
8789 | ||
c32bde28 | 8790 | static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8791 | PyObject *resultobj; |
8792 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8793 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
8794 | wxRect *arg3 = (wxRect *) NULL ; | |
8795 | bool result; | |
8796 | PyObject * obj0 = 0 ; | |
8797 | PyObject * obj1 = 0 ; | |
8798 | PyObject * obj2 = 0 ; | |
8799 | char *kwnames[] = { | |
8800 | (char *) "self",(char *) "frame",(char *) "rect", NULL | |
8801 | }; | |
8802 | ||
8803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8804 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8805 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8806 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame, | |
8807 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 8808 | if (obj2) { |
15afbcd0 RD |
8809 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect, |
8810 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8811 | } |
8812 | { | |
8813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8814 | result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3); | |
8815 | ||
8816 | wxPyEndAllowThreads(__tstate); | |
8817 | if (PyErr_Occurred()) SWIG_fail; | |
8818 | } | |
4f89f6a3 RD |
8819 | { |
8820 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8821 | } | |
d14a1e28 RD |
8822 | return resultobj; |
8823 | fail: | |
8824 | return NULL; | |
8825 | } | |
8826 | ||
8827 | ||
c32bde28 | 8828 | static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8829 | PyObject *resultobj; |
8830 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8831 | wxFrame *arg2 = (wxFrame *) 0 ; | |
8832 | wxWindow *arg3 = (wxWindow *) NULL ; | |
8833 | bool result; | |
8834 | PyObject * obj0 = 0 ; | |
8835 | PyObject * obj1 = 0 ; | |
8836 | PyObject * obj2 = 0 ; | |
8837 | char *kwnames[] = { | |
8838 | (char *) "self",(char *) "frame",(char *) "mainWindow", NULL | |
8839 | }; | |
8840 | ||
8841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8842 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8843 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8844 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
8845 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 8846 | if (obj2) { |
15afbcd0 RD |
8847 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, |
8848 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8849 | } |
8850 | { | |
8851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8852 | result = (bool)(arg1)->LayoutFrame(arg2,arg3); | |
8853 | ||
8854 | wxPyEndAllowThreads(__tstate); | |
8855 | if (PyErr_Occurred()) SWIG_fail; | |
8856 | } | |
4f89f6a3 RD |
8857 | { |
8858 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8859 | } | |
d14a1e28 RD |
8860 | return resultobj; |
8861 | fail: | |
8862 | return NULL; | |
8863 | } | |
8864 | ||
8865 | ||
c32bde28 | 8866 | static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8867 | PyObject *resultobj; |
8868 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8869 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8870 | wxWindow *arg3 = (wxWindow *) NULL ; | |
8871 | bool result; | |
8872 | PyObject * obj0 = 0 ; | |
8873 | PyObject * obj1 = 0 ; | |
8874 | PyObject * obj2 = 0 ; | |
8875 | char *kwnames[] = { | |
8876 | (char *) "self",(char *) "parent",(char *) "mainWindow", NULL | |
8877 | }; | |
8878 | ||
8879 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8880 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8881 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8882 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
8883 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 8884 | if (obj2) { |
15afbcd0 RD |
8885 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, |
8886 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8887 | } |
8888 | { | |
8889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8890 | result = (bool)(arg1)->LayoutWindow(arg2,arg3); | |
8891 | ||
8892 | wxPyEndAllowThreads(__tstate); | |
8893 | if (PyErr_Occurred()) SWIG_fail; | |
8894 | } | |
4f89f6a3 RD |
8895 | { |
8896 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8897 | } | |
d14a1e28 RD |
8898 | return resultobj; |
8899 | fail: | |
8900 | return NULL; | |
8901 | } | |
8902 | ||
8903 | ||
c32bde28 | 8904 | static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
8905 | PyObject *obj; |
8906 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8907 | SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj); | |
8908 | Py_INCREF(obj); | |
8909 | return Py_BuildValue((char *)""); | |
8910 | } | |
c32bde28 | 8911 | static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8912 | PyObject *resultobj; |
8913 | wxWindow *arg1 = (wxWindow *) 0 ; | |
8914 | int arg2 = (int) wxBORDER_NONE ; | |
8915 | wxPopupWindow *result; | |
8916 | PyObject * obj0 = 0 ; | |
994141e6 | 8917 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8918 | char *kwnames[] = { |
8919 | (char *) "parent",(char *) "flags", NULL | |
8920 | }; | |
8921 | ||
994141e6 | 8922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8923 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
8924 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 8925 | if (obj1) { |
c32bde28 | 8926 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 8927 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 8928 | } |
d14a1e28 | 8929 | { |
e3b71cb8 | 8930 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
8931 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8932 | result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2); | |
8933 | ||
8934 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8935 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 8936 | } |
15afbcd0 | 8937 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); |
d14a1e28 RD |
8938 | return resultobj; |
8939 | fail: | |
8940 | return NULL; | |
8941 | } | |
8942 | ||
8943 | ||
c32bde28 | 8944 | static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8945 | PyObject *resultobj; |
8946 | wxPopupWindow *result; | |
8947 | char *kwnames[] = { | |
8948 | NULL | |
8949 | }; | |
8950 | ||
8951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail; | |
8952 | { | |
e3b71cb8 | 8953 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
8954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8955 | result = (wxPopupWindow *)new wxPopupWindow(); | |
8956 | ||
8957 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8958 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 8959 | } |
15afbcd0 | 8960 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); |
d14a1e28 RD |
8961 | return resultobj; |
8962 | fail: | |
8963 | return NULL; | |
8964 | } | |
8965 | ||
8966 | ||
c32bde28 | 8967 | static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8968 | PyObject *resultobj; |
8969 | wxPopupWindow *arg1 = (wxPopupWindow *) 0 ; | |
8970 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8971 | int arg3 = (int) wxBORDER_NONE ; | |
8972 | bool result; | |
8973 | PyObject * obj0 = 0 ; | |
8974 | PyObject * obj1 = 0 ; | |
994141e6 | 8975 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8976 | char *kwnames[] = { |
8977 | (char *) "self",(char *) "parent",(char *) "flags", NULL | |
8978 | }; | |
8979 | ||
994141e6 | 8980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
8981 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow, |
8982 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8983 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
8984 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 8985 | if (obj2) { |
c32bde28 | 8986 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 8987 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 8988 | } |
d14a1e28 RD |
8989 | { |
8990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8991 | result = (bool)(arg1)->Create(arg2,arg3); | |
8992 | ||
8993 | wxPyEndAllowThreads(__tstate); | |
8994 | if (PyErr_Occurred()) SWIG_fail; | |
8995 | } | |
4f89f6a3 RD |
8996 | { |
8997 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8998 | } | |
d14a1e28 RD |
8999 | return resultobj; |
9000 | fail: | |
9001 | return NULL; | |
9002 | } | |
9003 | ||
9004 | ||
c32bde28 | 9005 | static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9006 | PyObject *resultobj; |
9007 | wxPopupWindow *arg1 = (wxPopupWindow *) 0 ; | |
9008 | wxPoint *arg2 = 0 ; | |
9009 | wxSize *arg3 = 0 ; | |
9010 | wxPoint temp2 ; | |
9011 | wxSize temp3 ; | |
9012 | PyObject * obj0 = 0 ; | |
9013 | PyObject * obj1 = 0 ; | |
9014 | PyObject * obj2 = 0 ; | |
9015 | char *kwnames[] = { | |
9016 | (char *) "self",(char *) "ptOrigin",(char *) "size", NULL | |
9017 | }; | |
9018 | ||
9019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
9020 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow, |
9021 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9022 | { |
9023 | arg2 = &temp2; | |
9024 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
9025 | } | |
9026 | { | |
9027 | arg3 = &temp3; | |
9028 | if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail; | |
9029 | } | |
9030 | { | |
9031 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9032 | (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3); | |
9033 | ||
9034 | wxPyEndAllowThreads(__tstate); | |
9035 | if (PyErr_Occurred()) SWIG_fail; | |
9036 | } | |
9037 | Py_INCREF(Py_None); resultobj = Py_None; | |
9038 | return resultobj; | |
9039 | fail: | |
9040 | return NULL; | |
9041 | } | |
9042 | ||
9043 | ||
c32bde28 | 9044 | static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
9045 | PyObject *obj; |
9046 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9047 | SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj); | |
9048 | Py_INCREF(obj); | |
9049 | return Py_BuildValue((char *)""); | |
9050 | } | |
c32bde28 | 9051 | static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9052 | PyObject *resultobj; |
9053 | wxWindow *arg1 = (wxWindow *) 0 ; | |
9054 | int arg2 = (int) wxBORDER_NONE ; | |
9055 | wxPyPopupTransientWindow *result; | |
9056 | PyObject * obj0 = 0 ; | |
994141e6 | 9057 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9058 | char *kwnames[] = { |
9059 | (char *) "parent",(char *) "style", NULL | |
9060 | }; | |
9061 | ||
994141e6 | 9062 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
9063 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
9064 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 9065 | if (obj1) { |
c32bde28 | 9066 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 9067 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 9068 | } |
d14a1e28 | 9069 | { |
e3b71cb8 | 9070 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
9071 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9072 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2); | |
9073 | ||
9074 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 9075 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 9076 | } |
15afbcd0 | 9077 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); |
d14a1e28 RD |
9078 | return resultobj; |
9079 | fail: | |
9080 | return NULL; | |
9081 | } | |
9082 | ||
9083 | ||
c32bde28 | 9084 | static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9085 | PyObject *resultobj; |
9086 | wxPyPopupTransientWindow *result; | |
9087 | char *kwnames[] = { | |
9088 | NULL | |
9089 | }; | |
9090 | ||
9091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail; | |
9092 | { | |
e3b71cb8 | 9093 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
9094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9095 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(); | |
9096 | ||
9097 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 9098 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 9099 | } |
15afbcd0 | 9100 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); |
d14a1e28 RD |
9101 | return resultobj; |
9102 | fail: | |
9103 | return NULL; | |
9104 | } | |
9105 | ||
9106 | ||
c32bde28 | 9107 | static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9108 | PyObject *resultobj; |
9109 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
9110 | PyObject *arg2 = (PyObject *) 0 ; | |
9111 | PyObject *arg3 = (PyObject *) 0 ; | |
9112 | PyObject * obj0 = 0 ; | |
9113 | PyObject * obj1 = 0 ; | |
9114 | PyObject * obj2 = 0 ; | |
9115 | char *kwnames[] = { | |
9116 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
9117 | }; | |
9118 | ||
9119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
9120 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow, |
9121 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9122 | arg2 = obj1; |
9123 | arg3 = obj2; | |
9124 | { | |
9125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9126 | (arg1)->_setCallbackInfo(arg2,arg3); | |
9127 | ||
9128 | wxPyEndAllowThreads(__tstate); | |
9129 | if (PyErr_Occurred()) SWIG_fail; | |
9130 | } | |
9131 | Py_INCREF(Py_None); resultobj = Py_None; | |
9132 | return resultobj; | |
9133 | fail: | |
9134 | return NULL; | |
9135 | } | |
9136 | ||
9137 | ||
c32bde28 | 9138 | static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9139 | PyObject *resultobj; |
9140 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
9141 | wxWindow *arg2 = (wxWindow *) NULL ; | |
9142 | PyObject * obj0 = 0 ; | |
9143 | PyObject * obj1 = 0 ; | |
9144 | char *kwnames[] = { | |
9145 | (char *) "self",(char *) "focus", NULL | |
9146 | }; | |
9147 | ||
9148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9149 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow, |
9150 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 9151 | if (obj1) { |
15afbcd0 RD |
9152 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
9153 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9154 | } |
9155 | { | |
9156 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9157 | (arg1)->Popup(arg2); | |
9158 | ||
9159 | wxPyEndAllowThreads(__tstate); | |
9160 | if (PyErr_Occurred()) SWIG_fail; | |
9161 | } | |
9162 | Py_INCREF(Py_None); resultobj = Py_None; | |
9163 | return resultobj; | |
9164 | fail: | |
9165 | return NULL; | |
9166 | } | |
9167 | ||
9168 | ||
c32bde28 | 9169 | static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9170 | PyObject *resultobj; |
9171 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
9172 | PyObject * obj0 = 0 ; | |
9173 | char *kwnames[] = { | |
9174 | (char *) "self", NULL | |
9175 | }; | |
9176 | ||
9177 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9178 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow, |
9179 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9180 | { |
9181 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9182 | (arg1)->Dismiss(); | |
9183 | ||
9184 | wxPyEndAllowThreads(__tstate); | |
9185 | if (PyErr_Occurred()) SWIG_fail; | |
9186 | } | |
9187 | Py_INCREF(Py_None); resultobj = Py_None; | |
9188 | return resultobj; | |
9189 | fail: | |
9190 | return NULL; | |
9191 | } | |
9192 | ||
9193 | ||
c32bde28 | 9194 | static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
9195 | PyObject *obj; |
9196 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9197 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj); | |
9198 | Py_INCREF(obj); | |
9199 | return Py_BuildValue((char *)""); | |
9200 | } | |
c32bde28 | 9201 | static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9202 | PyObject *resultobj; |
9203 | wxWindow *arg1 = (wxWindow *) 0 ; | |
fd3f2efe | 9204 | wxString *arg2 = 0 ; |
e811c8ce | 9205 | int arg3 = (int) 100 ; |
d14a1e28 RD |
9206 | wxRect *arg4 = (wxRect *) NULL ; |
9207 | wxTipWindow *result; | |
ae8162c8 | 9208 | bool temp2 = false ; |
d14a1e28 RD |
9209 | PyObject * obj0 = 0 ; |
9210 | PyObject * obj1 = 0 ; | |
994141e6 | 9211 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
9212 | PyObject * obj3 = 0 ; |
9213 | char *kwnames[] = { | |
9214 | (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL | |
9215 | }; | |
9216 | ||
994141e6 | 9217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
9218 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
9219 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
fd3f2efe RD |
9220 | { |
9221 | arg2 = wxString_in_helper(obj1); | |
9222 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 9223 | temp2 = true; |
fd3f2efe | 9224 | } |
994141e6 | 9225 | if (obj2) { |
c32bde28 | 9226 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 9227 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 9228 | } |
d14a1e28 | 9229 | if (obj3) { |
15afbcd0 RD |
9230 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect, |
9231 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9232 | } |
9233 | { | |
e3b71cb8 | 9234 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 | 9235 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
fd3f2efe | 9236 | result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4); |
d14a1e28 RD |
9237 | |
9238 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 9239 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 9240 | } |
15afbcd0 | 9241 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1); |
fd3f2efe RD |
9242 | { |
9243 | if (temp2) | |
9244 | delete arg2; | |
9245 | } | |
d14a1e28 RD |
9246 | return resultobj; |
9247 | fail: | |
fd3f2efe RD |
9248 | { |
9249 | if (temp2) | |
9250 | delete arg2; | |
9251 | } | |
d14a1e28 RD |
9252 | return NULL; |
9253 | } | |
9254 | ||
9255 | ||
c32bde28 | 9256 | static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9257 | PyObject *resultobj; |
9258 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
9259 | wxRect *arg2 = 0 ; | |
9260 | wxRect temp2 ; | |
9261 | PyObject * obj0 = 0 ; | |
9262 | PyObject * obj1 = 0 ; | |
9263 | char *kwnames[] = { | |
9264 | (char *) "self",(char *) "rectBound", NULL | |
9265 | }; | |
9266 | ||
9267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9268 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow, |
9269 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9270 | { |
9271 | arg2 = &temp2; | |
9272 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
9273 | } | |
9274 | { | |
9275 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9276 | (arg1)->SetBoundingRect((wxRect const &)*arg2); | |
9277 | ||
9278 | wxPyEndAllowThreads(__tstate); | |
9279 | if (PyErr_Occurred()) SWIG_fail; | |
9280 | } | |
9281 | Py_INCREF(Py_None); resultobj = Py_None; | |
9282 | return resultobj; | |
9283 | fail: | |
9284 | return NULL; | |
9285 | } | |
9286 | ||
9287 | ||
c32bde28 | 9288 | static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9289 | PyObject *resultobj; |
9290 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
9291 | PyObject * obj0 = 0 ; | |
9292 | char *kwnames[] = { | |
9293 | (char *) "self", NULL | |
9294 | }; | |
9295 | ||
9296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9297 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow, |
9298 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9299 | { |
9300 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9301 | (arg1)->Close(); | |
9302 | ||
9303 | wxPyEndAllowThreads(__tstate); | |
9304 | if (PyErr_Occurred()) SWIG_fail; | |
9305 | } | |
9306 | Py_INCREF(Py_None); resultobj = Py_None; | |
9307 | return resultobj; | |
9308 | fail: | |
9309 | return NULL; | |
9310 | } | |
9311 | ||
9312 | ||
c32bde28 | 9313 | static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
9314 | PyObject *obj; |
9315 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9316 | SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj); | |
9317 | Py_INCREF(obj); | |
9318 | return Py_BuildValue((char *)""); | |
9319 | } | |
c32bde28 | 9320 | static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9321 | PyObject *resultobj; |
9322 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 9323 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
9324 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
9325 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
9326 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
9327 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
9328 | long arg5 = (long) 0 ; | |
9329 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
9330 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
9331 | wxPyVScrolledWindow *result; | |
9332 | wxPoint temp3 ; | |
9333 | wxSize temp4 ; | |
ae8162c8 | 9334 | bool temp6 = false ; |
d14a1e28 | 9335 | PyObject * obj0 = 0 ; |
994141e6 | 9336 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9337 | PyObject * obj2 = 0 ; |
9338 | PyObject * obj3 = 0 ; | |
994141e6 | 9339 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
9340 | PyObject * obj5 = 0 ; |
9341 | char *kwnames[] = { | |
9342 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9343 | }; | |
9344 | ||
994141e6 | 9345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
9346 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
9347 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 9348 | if (obj1) { |
c32bde28 | 9349 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 9350 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 9351 | } |
d14a1e28 RD |
9352 | if (obj2) { |
9353 | { | |
9354 | arg3 = &temp3; | |
9355 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
9356 | } | |
9357 | } | |
9358 | if (obj3) { | |
9359 | { | |
9360 | arg4 = &temp4; | |
9361 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
9362 | } | |
9363 | } | |
994141e6 | 9364 | if (obj4) { |
c32bde28 | 9365 | arg5 = (long)SWIG_As_long(obj4); |
15afbcd0 | 9366 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 9367 | } |
d14a1e28 RD |
9368 | if (obj5) { |
9369 | { | |
9370 | arg6 = wxString_in_helper(obj5); | |
9371 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 9372 | temp6 = true; |
d14a1e28 RD |
9373 | } |
9374 | } | |
9375 | { | |
e3b71cb8 | 9376 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
9377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9378 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
9379 | ||
9380 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 9381 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 9382 | } |
15afbcd0 | 9383 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); |
d14a1e28 RD |
9384 | { |
9385 | if (temp6) | |
9386 | delete arg6; | |
9387 | } | |
9388 | return resultobj; | |
9389 | fail: | |
9390 | { | |
9391 | if (temp6) | |
9392 | delete arg6; | |
9393 | } | |
9394 | return NULL; | |
9395 | } | |
9396 | ||
9397 | ||
c32bde28 | 9398 | static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9399 | PyObject *resultobj; |
9400 | wxPyVScrolledWindow *result; | |
9401 | char *kwnames[] = { | |
9402 | NULL | |
9403 | }; | |
9404 | ||
9405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail; | |
9406 | { | |
e3b71cb8 | 9407 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
9408 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9409 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(); | |
9410 | ||
9411 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 9412 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 9413 | } |
15afbcd0 | 9414 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); |
d14a1e28 RD |
9415 | return resultobj; |
9416 | fail: | |
9417 | return NULL; | |
9418 | } | |
9419 | ||
9420 | ||
c32bde28 | 9421 | static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9422 | PyObject *resultobj; |
9423 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9424 | PyObject *arg2 = (PyObject *) 0 ; | |
9425 | PyObject *arg3 = (PyObject *) 0 ; | |
9426 | PyObject * obj0 = 0 ; | |
9427 | PyObject * obj1 = 0 ; | |
9428 | PyObject * obj2 = 0 ; | |
9429 | char *kwnames[] = { | |
9430 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
9431 | }; | |
9432 | ||
9433 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
9434 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9435 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9436 | arg2 = obj1; |
9437 | arg3 = obj2; | |
9438 | { | |
9439 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9440 | (arg1)->_setCallbackInfo(arg2,arg3); | |
9441 | ||
9442 | wxPyEndAllowThreads(__tstate); | |
9443 | if (PyErr_Occurred()) SWIG_fail; | |
9444 | } | |
9445 | Py_INCREF(Py_None); resultobj = Py_None; | |
9446 | return resultobj; | |
9447 | fail: | |
9448 | return NULL; | |
9449 | } | |
9450 | ||
9451 | ||
c32bde28 | 9452 | static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9453 | PyObject *resultobj; |
9454 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9455 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 9456 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
9457 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
9458 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
9459 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
9460 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
9461 | long arg6 = (long) 0 ; | |
9462 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
9463 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
9464 | bool result; | |
9465 | wxPoint temp4 ; | |
9466 | wxSize temp5 ; | |
ae8162c8 | 9467 | bool temp7 = false ; |
d14a1e28 RD |
9468 | PyObject * obj0 = 0 ; |
9469 | PyObject * obj1 = 0 ; | |
994141e6 | 9470 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
9471 | PyObject * obj3 = 0 ; |
9472 | PyObject * obj4 = 0 ; | |
994141e6 | 9473 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
9474 | PyObject * obj6 = 0 ; |
9475 | char *kwnames[] = { | |
9476 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9477 | }; | |
9478 | ||
994141e6 | 9479 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
9480 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9481 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9482 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
9483 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 9484 | if (obj2) { |
c32bde28 | 9485 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 9486 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 9487 | } |
d14a1e28 RD |
9488 | if (obj3) { |
9489 | { | |
9490 | arg4 = &temp4; | |
9491 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
9492 | } | |
9493 | } | |
9494 | if (obj4) { | |
9495 | { | |
9496 | arg5 = &temp5; | |
9497 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
9498 | } | |
9499 | } | |
994141e6 | 9500 | if (obj5) { |
c32bde28 | 9501 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 9502 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 9503 | } |
d14a1e28 RD |
9504 | if (obj6) { |
9505 | { | |
9506 | arg7 = wxString_in_helper(obj6); | |
9507 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 9508 | temp7 = true; |
d14a1e28 RD |
9509 | } |
9510 | } | |
9511 | { | |
9512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9513 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
9514 | ||
9515 | wxPyEndAllowThreads(__tstate); | |
9516 | if (PyErr_Occurred()) SWIG_fail; | |
9517 | } | |
4f89f6a3 RD |
9518 | { |
9519 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9520 | } | |
d14a1e28 RD |
9521 | { |
9522 | if (temp7) | |
9523 | delete arg7; | |
9524 | } | |
9525 | return resultobj; | |
9526 | fail: | |
9527 | { | |
9528 | if (temp7) | |
9529 | delete arg7; | |
9530 | } | |
9531 | return NULL; | |
9532 | } | |
9533 | ||
9534 | ||
c32bde28 | 9535 | static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9536 | PyObject *resultobj; |
9537 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9538 | size_t arg2 ; | |
9539 | PyObject * obj0 = 0 ; | |
9540 | PyObject * obj1 = 0 ; | |
9541 | char *kwnames[] = { | |
9542 | (char *) "self",(char *) "count", NULL | |
9543 | }; | |
9544 | ||
9545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9546 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9547 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 9548 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
15afbcd0 | 9549 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
9550 | { |
9551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9552 | (arg1)->SetLineCount(arg2); | |
9553 | ||
9554 | wxPyEndAllowThreads(__tstate); | |
9555 | if (PyErr_Occurred()) SWIG_fail; | |
9556 | } | |
9557 | Py_INCREF(Py_None); resultobj = Py_None; | |
9558 | return resultobj; | |
9559 | fail: | |
9560 | return NULL; | |
9561 | } | |
9562 | ||
9563 | ||
c32bde28 | 9564 | static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9565 | PyObject *resultobj; |
9566 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9567 | size_t arg2 ; | |
9568 | bool result; | |
9569 | PyObject * obj0 = 0 ; | |
9570 | PyObject * obj1 = 0 ; | |
9571 | char *kwnames[] = { | |
9572 | (char *) "self",(char *) "line", NULL | |
9573 | }; | |
9574 | ||
9575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9576 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9577 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 9578 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
15afbcd0 | 9579 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
9580 | { |
9581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9582 | result = (bool)(arg1)->ScrollToLine(arg2); | |
9583 | ||
9584 | wxPyEndAllowThreads(__tstate); | |
9585 | if (PyErr_Occurred()) SWIG_fail; | |
9586 | } | |
4f89f6a3 RD |
9587 | { |
9588 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9589 | } | |
d14a1e28 RD |
9590 | return resultobj; |
9591 | fail: | |
9592 | return NULL; | |
9593 | } | |
9594 | ||
9595 | ||
c32bde28 | 9596 | static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9597 | PyObject *resultobj; |
9598 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9599 | int arg2 ; | |
9600 | bool result; | |
9601 | PyObject * obj0 = 0 ; | |
994141e6 | 9602 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9603 | char *kwnames[] = { |
9604 | (char *) "self",(char *) "lines", NULL | |
9605 | }; | |
9606 | ||
994141e6 | 9607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
9608 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9609 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 9610 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 9611 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
9612 | { |
9613 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9614 | result = (bool)(arg1)->ScrollLines(arg2); | |
9615 | ||
9616 | wxPyEndAllowThreads(__tstate); | |
9617 | if (PyErr_Occurred()) SWIG_fail; | |
9618 | } | |
4f89f6a3 RD |
9619 | { |
9620 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9621 | } | |
d14a1e28 RD |
9622 | return resultobj; |
9623 | fail: | |
9624 | return NULL; | |
9625 | } | |
9626 | ||
9627 | ||
c32bde28 | 9628 | static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9629 | PyObject *resultobj; |
9630 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9631 | int arg2 ; | |
9632 | bool result; | |
9633 | PyObject * obj0 = 0 ; | |
994141e6 | 9634 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9635 | char *kwnames[] = { |
9636 | (char *) "self",(char *) "pages", NULL | |
9637 | }; | |
9638 | ||
994141e6 | 9639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
9640 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9641 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 9642 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 9643 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
9644 | { |
9645 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9646 | result = (bool)(arg1)->ScrollPages(arg2); | |
9647 | ||
9648 | wxPyEndAllowThreads(__tstate); | |
9649 | if (PyErr_Occurred()) SWIG_fail; | |
9650 | } | |
4f89f6a3 RD |
9651 | { |
9652 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9653 | } | |
d14a1e28 RD |
9654 | return resultobj; |
9655 | fail: | |
9656 | return NULL; | |
9657 | } | |
9658 | ||
9659 | ||
c32bde28 | 9660 | static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9661 | PyObject *resultobj; |
9662 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9663 | size_t arg2 ; | |
9664 | PyObject * obj0 = 0 ; | |
9665 | PyObject * obj1 = 0 ; | |
9666 | char *kwnames[] = { | |
9667 | (char *) "self",(char *) "line", NULL | |
9668 | }; | |
9669 | ||
9670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9671 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9672 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 9673 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
15afbcd0 | 9674 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
9675 | { |
9676 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9677 | (arg1)->RefreshLine(arg2); | |
9678 | ||
9679 | wxPyEndAllowThreads(__tstate); | |
9680 | if (PyErr_Occurred()) SWIG_fail; | |
9681 | } | |
9682 | Py_INCREF(Py_None); resultobj = Py_None; | |
9683 | return resultobj; | |
9684 | fail: | |
9685 | return NULL; | |
9686 | } | |
9687 | ||
9688 | ||
c32bde28 | 9689 | static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9690 | PyObject *resultobj; |
9691 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9692 | size_t arg2 ; | |
9693 | size_t arg3 ; | |
9694 | PyObject * obj0 = 0 ; | |
9695 | PyObject * obj1 = 0 ; | |
9696 | PyObject * obj2 = 0 ; | |
9697 | char *kwnames[] = { | |
9698 | (char *) "self",(char *) "from",(char *) "to", NULL | |
9699 | }; | |
9700 | ||
9701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
9702 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9703 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 9704 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
15afbcd0 | 9705 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 9706 | arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2); |
15afbcd0 | 9707 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
9708 | { |
9709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9710 | (arg1)->RefreshLines(arg2,arg3); | |
9711 | ||
9712 | wxPyEndAllowThreads(__tstate); | |
9713 | if (PyErr_Occurred()) SWIG_fail; | |
9714 | } | |
9715 | Py_INCREF(Py_None); resultobj = Py_None; | |
9716 | return resultobj; | |
9717 | fail: | |
9718 | return NULL; | |
9719 | } | |
9720 | ||
9721 | ||
c32bde28 | 9722 | static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9723 | PyObject *resultobj; |
9724 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
e811c8ce RD |
9725 | int arg2 ; |
9726 | int arg3 ; | |
d14a1e28 RD |
9727 | int result; |
9728 | PyObject * obj0 = 0 ; | |
994141e6 RD |
9729 | PyObject * obj1 = 0 ; |
9730 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
9731 | char *kwnames[] = { |
9732 | (char *) "self",(char *) "x",(char *) "y", NULL | |
9733 | }; | |
9734 | ||
354693ff | 9735 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
9736 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9737 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 9738 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 9739 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 9740 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 9741 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
9742 | { |
9743 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9744 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3); | |
9745 | ||
9746 | wxPyEndAllowThreads(__tstate); | |
9747 | if (PyErr_Occurred()) SWIG_fail; | |
9748 | } | |
c32bde28 | 9749 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
9750 | return resultobj; |
9751 | fail: | |
9752 | return NULL; | |
9753 | } | |
9754 | ||
9755 | ||
c32bde28 | 9756 | static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9757 | PyObject *resultobj; |
9758 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9759 | wxPoint *arg2 = 0 ; | |
9760 | int result; | |
9761 | wxPoint temp2 ; | |
9762 | PyObject * obj0 = 0 ; | |
9763 | PyObject * obj1 = 0 ; | |
9764 | char *kwnames[] = { | |
9765 | (char *) "self",(char *) "pt", NULL | |
9766 | }; | |
9767 | ||
9768 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9769 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9770 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9771 | { |
9772 | arg2 = &temp2; | |
9773 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
9774 | } | |
9775 | { | |
9776 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9777 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2); | |
9778 | ||
9779 | wxPyEndAllowThreads(__tstate); | |
9780 | if (PyErr_Occurred()) SWIG_fail; | |
9781 | } | |
c32bde28 | 9782 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
9783 | return resultobj; |
9784 | fail: | |
9785 | return NULL; | |
9786 | } | |
9787 | ||
9788 | ||
c32bde28 | 9789 | static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9790 | PyObject *resultobj; |
9791 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9792 | PyObject * obj0 = 0 ; | |
9793 | char *kwnames[] = { | |
9794 | (char *) "self", NULL | |
9795 | }; | |
9796 | ||
9797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9798 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9799 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9800 | { |
9801 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9802 | (arg1)->RefreshAll(); | |
9803 | ||
9804 | wxPyEndAllowThreads(__tstate); | |
9805 | if (PyErr_Occurred()) SWIG_fail; | |
9806 | } | |
9807 | Py_INCREF(Py_None); resultobj = Py_None; | |
9808 | return resultobj; | |
9809 | fail: | |
9810 | return NULL; | |
9811 | } | |
9812 | ||
9813 | ||
c32bde28 | 9814 | static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9815 | PyObject *resultobj; |
9816 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9817 | size_t result; | |
9818 | PyObject * obj0 = 0 ; | |
9819 | char *kwnames[] = { | |
9820 | (char *) "self", NULL | |
9821 | }; | |
9822 | ||
9823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9824 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9825 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9826 | { |
9827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9828 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount(); | |
9829 | ||
9830 | wxPyEndAllowThreads(__tstate); | |
9831 | if (PyErr_Occurred()) SWIG_fail; | |
9832 | } | |
c32bde28 | 9833 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)result); |
d14a1e28 RD |
9834 | return resultobj; |
9835 | fail: | |
9836 | return NULL; | |
9837 | } | |
9838 | ||
9839 | ||
c32bde28 | 9840 | static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9841 | PyObject *resultobj; |
9842 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9843 | size_t result; | |
9844 | PyObject * obj0 = 0 ; | |
9845 | char *kwnames[] = { | |
9846 | (char *) "self", NULL | |
9847 | }; | |
9848 | ||
9849 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9850 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9851 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9852 | { |
9853 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9854 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine(); | |
9855 | ||
9856 | wxPyEndAllowThreads(__tstate); | |
9857 | if (PyErr_Occurred()) SWIG_fail; | |
9858 | } | |
c32bde28 | 9859 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)result); |
d14a1e28 RD |
9860 | return resultobj; |
9861 | fail: | |
9862 | return NULL; | |
9863 | } | |
9864 | ||
9865 | ||
c32bde28 | 9866 | static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9867 | PyObject *resultobj; |
9868 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9869 | size_t result; | |
9870 | PyObject * obj0 = 0 ; | |
9871 | char *kwnames[] = { | |
9872 | (char *) "self", NULL | |
9873 | }; | |
9874 | ||
9875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9876 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9877 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9878 | { |
9879 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9880 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine(); | |
9881 | ||
9882 | wxPyEndAllowThreads(__tstate); | |
9883 | if (PyErr_Occurred()) SWIG_fail; | |
9884 | } | |
c32bde28 | 9885 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)result); |
d14a1e28 RD |
9886 | return resultobj; |
9887 | fail: | |
9888 | return NULL; | |
9889 | } | |
9890 | ||
9891 | ||
c32bde28 | 9892 | static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9893 | PyObject *resultobj; |
9894 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9895 | size_t arg2 ; | |
9896 | bool result; | |
9897 | PyObject * obj0 = 0 ; | |
9898 | PyObject * obj1 = 0 ; | |
9899 | char *kwnames[] = { | |
9900 | (char *) "self",(char *) "line", NULL | |
9901 | }; | |
9902 | ||
9903 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9904 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9905 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 9906 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
15afbcd0 | 9907 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
9908 | { |
9909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9910 | result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2); | |
9911 | ||
9912 | wxPyEndAllowThreads(__tstate); | |
9913 | if (PyErr_Occurred()) SWIG_fail; | |
9914 | } | |
4f89f6a3 RD |
9915 | { |
9916 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9917 | } | |
d14a1e28 RD |
9918 | return resultobj; |
9919 | fail: | |
9920 | return NULL; | |
9921 | } | |
9922 | ||
9923 | ||
c32bde28 | 9924 | static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
9925 | PyObject *obj; |
9926 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9927 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj); | |
9928 | Py_INCREF(obj); | |
9929 | return Py_BuildValue((char *)""); | |
9930 | } | |
c32bde28 | 9931 | static int _wrap_VListBoxNameStr_set(PyObject *) { |
b2dc1044 RD |
9932 | PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only."); |
9933 | return 1; | |
9934 | } | |
9935 | ||
9936 | ||
9937 | static PyObject *_wrap_VListBoxNameStr_get() { | |
9938 | PyObject *pyobj; | |
9939 | ||
9940 | { | |
9941 | #if wxUSE_UNICODE | |
9942 | pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
9943 | #else | |
9944 | pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
9945 | #endif | |
9946 | } | |
9947 | return pyobj; | |
9948 | } | |
9949 | ||
9950 | ||
c32bde28 | 9951 | static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9952 | PyObject *resultobj; |
9953 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 9954 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
9955 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
9956 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
9957 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
9958 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
9959 | long arg5 = (long) 0 ; | |
9960 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
9961 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
9962 | wxPyVListBox *result; | |
9963 | wxPoint temp3 ; | |
9964 | wxSize temp4 ; | |
ae8162c8 | 9965 | bool temp6 = false ; |
d14a1e28 | 9966 | PyObject * obj0 = 0 ; |
994141e6 | 9967 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9968 | PyObject * obj2 = 0 ; |
9969 | PyObject * obj3 = 0 ; | |
994141e6 | 9970 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
9971 | PyObject * obj5 = 0 ; |
9972 | char *kwnames[] = { | |
9973 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9974 | }; | |
9975 | ||
994141e6 | 9976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
9977 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
9978 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 9979 | if (obj1) { |
c32bde28 | 9980 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 9981 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 9982 | } |
d14a1e28 RD |
9983 | if (obj2) { |
9984 | { | |
9985 | arg3 = &temp3; | |
9986 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
9987 | } | |
9988 | } | |
9989 | if (obj3) { | |
9990 | { | |
9991 | arg4 = &temp4; | |
9992 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
9993 | } | |
9994 | } | |
994141e6 | 9995 | if (obj4) { |
c32bde28 | 9996 | arg5 = (long)SWIG_As_long(obj4); |
15afbcd0 | 9997 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 9998 | } |
d14a1e28 RD |
9999 | if (obj5) { |
10000 | { | |
10001 | arg6 = wxString_in_helper(obj5); | |
10002 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 10003 | temp6 = true; |
d14a1e28 RD |
10004 | } |
10005 | } | |
10006 | { | |
e3b71cb8 | 10007 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
10008 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10009 | result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
10010 | ||
10011 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10012 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 10013 | } |
15afbcd0 | 10014 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); |
d14a1e28 RD |
10015 | { |
10016 | if (temp6) | |
10017 | delete arg6; | |
10018 | } | |
10019 | return resultobj; | |
10020 | fail: | |
10021 | { | |
10022 | if (temp6) | |
10023 | delete arg6; | |
10024 | } | |
10025 | return NULL; | |
10026 | } | |
10027 | ||
10028 | ||
c32bde28 | 10029 | static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10030 | PyObject *resultobj; |
10031 | wxPyVListBox *result; | |
10032 | char *kwnames[] = { | |
10033 | NULL | |
10034 | }; | |
10035 | ||
10036 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail; | |
10037 | { | |
e3b71cb8 | 10038 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
10039 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10040 | result = (wxPyVListBox *)new wxPyVListBox(); | |
10041 | ||
10042 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10043 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 10044 | } |
15afbcd0 | 10045 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); |
d14a1e28 RD |
10046 | return resultobj; |
10047 | fail: | |
10048 | return NULL; | |
10049 | } | |
10050 | ||
10051 | ||
c32bde28 | 10052 | static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10053 | PyObject *resultobj; |
10054 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10055 | PyObject *arg2 = (PyObject *) 0 ; | |
10056 | PyObject *arg3 = (PyObject *) 0 ; | |
10057 | PyObject * obj0 = 0 ; | |
10058 | PyObject * obj1 = 0 ; | |
10059 | PyObject * obj2 = 0 ; | |
10060 | char *kwnames[] = { | |
10061 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
10062 | }; | |
10063 | ||
10064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
10065 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10066 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10067 | arg2 = obj1; |
10068 | arg3 = obj2; | |
10069 | { | |
10070 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10071 | (arg1)->_setCallbackInfo(arg2,arg3); | |
10072 | ||
10073 | wxPyEndAllowThreads(__tstate); | |
10074 | if (PyErr_Occurred()) SWIG_fail; | |
10075 | } | |
10076 | Py_INCREF(Py_None); resultobj = Py_None; | |
10077 | return resultobj; | |
10078 | fail: | |
10079 | return NULL; | |
10080 | } | |
10081 | ||
10082 | ||
c32bde28 | 10083 | static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10084 | PyObject *resultobj; |
10085 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10086 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 10087 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
10088 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
10089 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
10090 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
10091 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
10092 | long arg6 = (long) 0 ; | |
10093 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
10094 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
10095 | bool result; | |
10096 | wxPoint temp4 ; | |
10097 | wxSize temp5 ; | |
ae8162c8 | 10098 | bool temp7 = false ; |
d14a1e28 RD |
10099 | PyObject * obj0 = 0 ; |
10100 | PyObject * obj1 = 0 ; | |
994141e6 | 10101 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
10102 | PyObject * obj3 = 0 ; |
10103 | PyObject * obj4 = 0 ; | |
994141e6 | 10104 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
10105 | PyObject * obj6 = 0 ; |
10106 | char *kwnames[] = { | |
10107 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10108 | }; | |
10109 | ||
994141e6 | 10110 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
10111 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10112 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10113 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
10114 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 10115 | if (obj2) { |
c32bde28 | 10116 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 10117 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 10118 | } |
d14a1e28 RD |
10119 | if (obj3) { |
10120 | { | |
10121 | arg4 = &temp4; | |
10122 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
10123 | } | |
10124 | } | |
10125 | if (obj4) { | |
10126 | { | |
10127 | arg5 = &temp5; | |
10128 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
10129 | } | |
10130 | } | |
994141e6 | 10131 | if (obj5) { |
c32bde28 | 10132 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 10133 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 10134 | } |
d14a1e28 RD |
10135 | if (obj6) { |
10136 | { | |
10137 | arg7 = wxString_in_helper(obj6); | |
10138 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 10139 | temp7 = true; |
d14a1e28 RD |
10140 | } |
10141 | } | |
10142 | { | |
10143 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10144 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
10145 | ||
10146 | wxPyEndAllowThreads(__tstate); | |
10147 | if (PyErr_Occurred()) SWIG_fail; | |
10148 | } | |
4f89f6a3 RD |
10149 | { |
10150 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10151 | } | |
d14a1e28 RD |
10152 | { |
10153 | if (temp7) | |
10154 | delete arg7; | |
10155 | } | |
10156 | return resultobj; | |
10157 | fail: | |
10158 | { | |
10159 | if (temp7) | |
10160 | delete arg7; | |
10161 | } | |
10162 | return NULL; | |
10163 | } | |
10164 | ||
10165 | ||
c32bde28 | 10166 | static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10167 | PyObject *resultobj; |
10168 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10169 | size_t result; | |
10170 | PyObject * obj0 = 0 ; | |
10171 | char *kwnames[] = { | |
10172 | (char *) "self", NULL | |
10173 | }; | |
10174 | ||
10175 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10176 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10177 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10178 | { |
10179 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10180 | result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount(); | |
10181 | ||
10182 | wxPyEndAllowThreads(__tstate); | |
10183 | if (PyErr_Occurred()) SWIG_fail; | |
10184 | } | |
c32bde28 | 10185 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)result); |
d14a1e28 RD |
10186 | return resultobj; |
10187 | fail: | |
10188 | return NULL; | |
10189 | } | |
10190 | ||
10191 | ||
c32bde28 | 10192 | static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10193 | PyObject *resultobj; |
10194 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10195 | bool result; | |
10196 | PyObject * obj0 = 0 ; | |
10197 | char *kwnames[] = { | |
10198 | (char *) "self", NULL | |
10199 | }; | |
10200 | ||
10201 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10202 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10203 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10204 | { |
10205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10206 | result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection(); | |
10207 | ||
10208 | wxPyEndAllowThreads(__tstate); | |
10209 | if (PyErr_Occurred()) SWIG_fail; | |
10210 | } | |
4f89f6a3 RD |
10211 | { |
10212 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10213 | } | |
d14a1e28 RD |
10214 | return resultobj; |
10215 | fail: | |
10216 | return NULL; | |
10217 | } | |
10218 | ||
10219 | ||
c32bde28 | 10220 | static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10221 | PyObject *resultobj; |
10222 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10223 | int result; | |
10224 | PyObject * obj0 = 0 ; | |
10225 | char *kwnames[] = { | |
10226 | (char *) "self", NULL | |
10227 | }; | |
10228 | ||
10229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10230 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10231 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10232 | { |
10233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10234 | result = (int)((wxPyVListBox const *)arg1)->GetSelection(); | |
10235 | ||
10236 | wxPyEndAllowThreads(__tstate); | |
10237 | if (PyErr_Occurred()) SWIG_fail; | |
10238 | } | |
c32bde28 | 10239 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
10240 | return resultobj; |
10241 | fail: | |
10242 | return NULL; | |
10243 | } | |
10244 | ||
10245 | ||
c32bde28 | 10246 | static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10247 | PyObject *resultobj; |
10248 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10249 | size_t arg2 ; | |
10250 | bool result; | |
10251 | PyObject * obj0 = 0 ; | |
10252 | PyObject * obj1 = 0 ; | |
10253 | char *kwnames[] = { | |
10254 | (char *) "self",(char *) "item", NULL | |
10255 | }; | |
10256 | ||
10257 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10258 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10259 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 10260 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
15afbcd0 | 10261 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
10262 | { |
10263 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10264 | result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2); | |
10265 | ||
10266 | wxPyEndAllowThreads(__tstate); | |
10267 | if (PyErr_Occurred()) SWIG_fail; | |
10268 | } | |
4f89f6a3 RD |
10269 | { |
10270 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10271 | } | |
d14a1e28 RD |
10272 | return resultobj; |
10273 | fail: | |
10274 | return NULL; | |
10275 | } | |
10276 | ||
10277 | ||
c32bde28 | 10278 | static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10279 | PyObject *resultobj; |
10280 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10281 | size_t arg2 ; | |
10282 | bool result; | |
10283 | PyObject * obj0 = 0 ; | |
10284 | PyObject * obj1 = 0 ; | |
10285 | char *kwnames[] = { | |
10286 | (char *) "self",(char *) "item", NULL | |
10287 | }; | |
10288 | ||
10289 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10290 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10291 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 10292 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
15afbcd0 | 10293 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
10294 | { |
10295 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10296 | result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2); | |
10297 | ||
10298 | wxPyEndAllowThreads(__tstate); | |
10299 | if (PyErr_Occurred()) SWIG_fail; | |
10300 | } | |
4f89f6a3 RD |
10301 | { |
10302 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10303 | } | |
d14a1e28 RD |
10304 | return resultobj; |
10305 | fail: | |
10306 | return NULL; | |
10307 | } | |
10308 | ||
10309 | ||
c32bde28 | 10310 | static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10311 | PyObject *resultobj; |
10312 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10313 | size_t result; | |
10314 | PyObject * obj0 = 0 ; | |
10315 | char *kwnames[] = { | |
10316 | (char *) "self", NULL | |
10317 | }; | |
10318 | ||
10319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10320 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10321 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10322 | { |
10323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10324 | result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount(); | |
10325 | ||
10326 | wxPyEndAllowThreads(__tstate); | |
10327 | if (PyErr_Occurred()) SWIG_fail; | |
10328 | } | |
c32bde28 | 10329 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)result); |
d14a1e28 RD |
10330 | return resultobj; |
10331 | fail: | |
10332 | return NULL; | |
10333 | } | |
10334 | ||
10335 | ||
c32bde28 | 10336 | static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10337 | PyObject *resultobj; |
10338 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
09c21d3b | 10339 | PyObject *result; |
d14a1e28 | 10340 | PyObject * obj0 = 0 ; |
d14a1e28 | 10341 | char *kwnames[] = { |
09c21d3b | 10342 | (char *) "self", NULL |
d14a1e28 RD |
10343 | }; |
10344 | ||
09c21d3b | 10345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
10346 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10347 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10348 | { |
10349 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
09c21d3b | 10350 | result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1); |
d14a1e28 RD |
10351 | |
10352 | wxPyEndAllowThreads(__tstate); | |
10353 | if (PyErr_Occurred()) SWIG_fail; | |
10354 | } | |
09c21d3b | 10355 | resultobj = result; |
d14a1e28 RD |
10356 | return resultobj; |
10357 | fail: | |
10358 | return NULL; | |
10359 | } | |
10360 | ||
10361 | ||
c32bde28 | 10362 | static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10363 | PyObject *resultobj; |
10364 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
09c21d3b RD |
10365 | unsigned long arg2 ; |
10366 | PyObject *result; | |
d14a1e28 RD |
10367 | PyObject * obj0 = 0 ; |
10368 | PyObject * obj1 = 0 ; | |
10369 | char *kwnames[] = { | |
10370 | (char *) "self",(char *) "cookie", NULL | |
10371 | }; | |
10372 | ||
10373 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10374 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10375 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 10376 | arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1); |
09c21d3b | 10377 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
10378 | { |
10379 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
09c21d3b | 10380 | result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2); |
d14a1e28 RD |
10381 | |
10382 | wxPyEndAllowThreads(__tstate); | |
10383 | if (PyErr_Occurred()) SWIG_fail; | |
10384 | } | |
09c21d3b | 10385 | resultobj = result; |
d14a1e28 RD |
10386 | return resultobj; |
10387 | fail: | |
10388 | return NULL; | |
10389 | } | |
10390 | ||
10391 | ||
c32bde28 | 10392 | static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10393 | PyObject *resultobj; |
10394 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10395 | wxPoint result; | |
10396 | PyObject * obj0 = 0 ; | |
10397 | char *kwnames[] = { | |
10398 | (char *) "self", NULL | |
10399 | }; | |
10400 | ||
10401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10402 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10403 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10404 | { |
10405 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10406 | result = ((wxPyVListBox const *)arg1)->GetMargins(); | |
10407 | ||
10408 | wxPyEndAllowThreads(__tstate); | |
10409 | if (PyErr_Occurred()) SWIG_fail; | |
10410 | } | |
10411 | { | |
10412 | wxPoint * resultptr; | |
10413 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 10414 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
10415 | } |
10416 | return resultobj; | |
10417 | fail: | |
10418 | return NULL; | |
10419 | } | |
10420 | ||
10421 | ||
c32bde28 | 10422 | static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10423 | PyObject *resultobj; |
10424 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10425 | wxColour *result; | |
10426 | PyObject * obj0 = 0 ; | |
10427 | char *kwnames[] = { | |
10428 | (char *) "self", NULL | |
10429 | }; | |
10430 | ||
10431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10432 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10433 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10434 | { |
10435 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10436 | { | |
10437 | wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground(); | |
10438 | result = (wxColour *) &_result_ref; | |
10439 | } | |
10440 | ||
10441 | wxPyEndAllowThreads(__tstate); | |
10442 | if (PyErr_Occurred()) SWIG_fail; | |
10443 | } | |
15afbcd0 | 10444 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0); |
d14a1e28 RD |
10445 | return resultobj; |
10446 | fail: | |
10447 | return NULL; | |
10448 | } | |
10449 | ||
10450 | ||
c32bde28 | 10451 | static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10452 | PyObject *resultobj; |
10453 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10454 | size_t arg2 ; | |
10455 | PyObject * obj0 = 0 ; | |
10456 | PyObject * obj1 = 0 ; | |
10457 | char *kwnames[] = { | |
10458 | (char *) "self",(char *) "count", NULL | |
10459 | }; | |
10460 | ||
10461 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10462 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10463 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 10464 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
15afbcd0 | 10465 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
10466 | { |
10467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10468 | (arg1)->SetItemCount(arg2); | |
10469 | ||
10470 | wxPyEndAllowThreads(__tstate); | |
10471 | if (PyErr_Occurred()) SWIG_fail; | |
10472 | } | |
10473 | Py_INCREF(Py_None); resultobj = Py_None; | |
10474 | return resultobj; | |
10475 | fail: | |
10476 | return NULL; | |
10477 | } | |
10478 | ||
10479 | ||
c32bde28 | 10480 | static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10481 | PyObject *resultobj; |
10482 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10483 | PyObject * obj0 = 0 ; | |
10484 | char *kwnames[] = { | |
10485 | (char *) "self", NULL | |
10486 | }; | |
10487 | ||
10488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10489 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10490 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10491 | { |
10492 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10493 | (arg1)->Clear(); | |
10494 | ||
10495 | wxPyEndAllowThreads(__tstate); | |
10496 | if (PyErr_Occurred()) SWIG_fail; | |
10497 | } | |
10498 | Py_INCREF(Py_None); resultobj = Py_None; | |
10499 | return resultobj; | |
10500 | fail: | |
10501 | return NULL; | |
10502 | } | |
10503 | ||
10504 | ||
c32bde28 | 10505 | static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10506 | PyObject *resultobj; |
10507 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10508 | int arg2 ; | |
10509 | PyObject * obj0 = 0 ; | |
994141e6 | 10510 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10511 | char *kwnames[] = { |
10512 | (char *) "self",(char *) "selection", NULL | |
10513 | }; | |
10514 | ||
994141e6 | 10515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
10516 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10517 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 10518 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 10519 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
10520 | { |
10521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10522 | (arg1)->SetSelection(arg2); | |
10523 | ||
10524 | wxPyEndAllowThreads(__tstate); | |
10525 | if (PyErr_Occurred()) SWIG_fail; | |
10526 | } | |
10527 | Py_INCREF(Py_None); resultobj = Py_None; | |
10528 | return resultobj; | |
10529 | fail: | |
10530 | return NULL; | |
10531 | } | |
10532 | ||
10533 | ||
c32bde28 | 10534 | static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10535 | PyObject *resultobj; |
10536 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10537 | size_t arg2 ; | |
ae8162c8 | 10538 | bool arg3 = (bool) true ; |
d14a1e28 RD |
10539 | bool result; |
10540 | PyObject * obj0 = 0 ; | |
10541 | PyObject * obj1 = 0 ; | |
10542 | PyObject * obj2 = 0 ; | |
10543 | char *kwnames[] = { | |
10544 | (char *) "self",(char *) "item",(char *) "select", NULL | |
10545 | }; | |
10546 | ||
10547 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
10548 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10549 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 10550 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
15afbcd0 | 10551 | if (PyErr_Occurred()) SWIG_fail; |
a41e16b6 | 10552 | if (obj2) { |
c32bde28 | 10553 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 10554 | if (PyErr_Occurred()) SWIG_fail; |
a41e16b6 | 10555 | } |
d14a1e28 RD |
10556 | { |
10557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10558 | result = (bool)(arg1)->Select(arg2,arg3); | |
10559 | ||
10560 | wxPyEndAllowThreads(__tstate); | |
10561 | if (PyErr_Occurred()) SWIG_fail; | |
10562 | } | |
4f89f6a3 RD |
10563 | { |
10564 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10565 | } | |
d14a1e28 RD |
10566 | return resultobj; |
10567 | fail: | |
10568 | return NULL; | |
10569 | } | |
10570 | ||
10571 | ||
c32bde28 | 10572 | static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10573 | PyObject *resultobj; |
10574 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10575 | size_t arg2 ; | |
10576 | size_t arg3 ; | |
10577 | bool result; | |
10578 | PyObject * obj0 = 0 ; | |
10579 | PyObject * obj1 = 0 ; | |
10580 | PyObject * obj2 = 0 ; | |
15afbcd0 RD |
10581 | char *kwnames[] = { |
10582 | (char *) "self",(char *) "from",(char *) "to", NULL | |
10583 | }; | |
10584 | ||
10585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10586 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10587 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 10588 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
15afbcd0 | 10589 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 10590 | arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2); |
15afbcd0 | 10591 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
10592 | { |
10593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10594 | result = (bool)(arg1)->SelectRange(arg2,arg3); | |
10595 | ||
10596 | wxPyEndAllowThreads(__tstate); | |
10597 | if (PyErr_Occurred()) SWIG_fail; | |
10598 | } | |
4f89f6a3 RD |
10599 | { |
10600 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10601 | } | |
d14a1e28 RD |
10602 | return resultobj; |
10603 | fail: | |
10604 | return NULL; | |
10605 | } | |
10606 | ||
10607 | ||
c32bde28 | 10608 | static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10609 | PyObject *resultobj; |
10610 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10611 | size_t arg2 ; | |
10612 | PyObject * obj0 = 0 ; | |
10613 | PyObject * obj1 = 0 ; | |
10614 | char *kwnames[] = { | |
10615 | (char *) "self",(char *) "item", NULL | |
10616 | }; | |
10617 | ||
10618 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10619 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10620 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 10621 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
15afbcd0 | 10622 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
10623 | { |
10624 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10625 | (arg1)->Toggle(arg2); | |
10626 | ||
10627 | wxPyEndAllowThreads(__tstate); | |
10628 | if (PyErr_Occurred()) SWIG_fail; | |
10629 | } | |
10630 | Py_INCREF(Py_None); resultobj = Py_None; | |
10631 | return resultobj; | |
10632 | fail: | |
10633 | return NULL; | |
10634 | } | |
10635 | ||
10636 | ||
c32bde28 | 10637 | static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10638 | PyObject *resultobj; |
10639 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10640 | bool result; | |
10641 | PyObject * obj0 = 0 ; | |
10642 | char *kwnames[] = { | |
10643 | (char *) "self", NULL | |
10644 | }; | |
10645 | ||
10646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10647 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10648 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10649 | { |
10650 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10651 | result = (bool)(arg1)->SelectAll(); | |
10652 | ||
10653 | wxPyEndAllowThreads(__tstate); | |
10654 | if (PyErr_Occurred()) SWIG_fail; | |
10655 | } | |
4f89f6a3 RD |
10656 | { |
10657 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10658 | } | |
d14a1e28 RD |
10659 | return resultobj; |
10660 | fail: | |
10661 | return NULL; | |
10662 | } | |
10663 | ||
10664 | ||
c32bde28 | 10665 | static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10666 | PyObject *resultobj; |
10667 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10668 | bool result; | |
10669 | PyObject * obj0 = 0 ; | |
10670 | char *kwnames[] = { | |
10671 | (char *) "self", NULL | |
10672 | }; | |
10673 | ||
10674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10675 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10676 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10677 | { |
10678 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10679 | result = (bool)(arg1)->DeselectAll(); | |
10680 | ||
10681 | wxPyEndAllowThreads(__tstate); | |
10682 | if (PyErr_Occurred()) SWIG_fail; | |
10683 | } | |
4f89f6a3 RD |
10684 | { |
10685 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10686 | } | |
d14a1e28 RD |
10687 | return resultobj; |
10688 | fail: | |
10689 | return NULL; | |
10690 | } | |
10691 | ||
10692 | ||
c32bde28 | 10693 | static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10694 | PyObject *resultobj; |
10695 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10696 | wxPoint *arg2 = 0 ; | |
10697 | wxPoint temp2 ; | |
10698 | PyObject * obj0 = 0 ; | |
10699 | PyObject * obj1 = 0 ; | |
10700 | char *kwnames[] = { | |
10701 | (char *) "self",(char *) "pt", NULL | |
10702 | }; | |
10703 | ||
10704 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10705 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10706 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10707 | { |
10708 | arg2 = &temp2; | |
10709 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
10710 | } | |
10711 | { | |
10712 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10713 | (arg1)->SetMargins((wxPoint const &)*arg2); | |
10714 | ||
10715 | wxPyEndAllowThreads(__tstate); | |
10716 | if (PyErr_Occurred()) SWIG_fail; | |
10717 | } | |
10718 | Py_INCREF(Py_None); resultobj = Py_None; | |
10719 | return resultobj; | |
10720 | fail: | |
10721 | return NULL; | |
10722 | } | |
10723 | ||
10724 | ||
c32bde28 | 10725 | static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10726 | PyObject *resultobj; |
10727 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
e811c8ce RD |
10728 | int arg2 ; |
10729 | int arg3 ; | |
d14a1e28 | 10730 | PyObject * obj0 = 0 ; |
994141e6 RD |
10731 | PyObject * obj1 = 0 ; |
10732 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
10733 | char *kwnames[] = { |
10734 | (char *) "self",(char *) "x",(char *) "y", NULL | |
10735 | }; | |
10736 | ||
994141e6 | 10737 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
10738 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10739 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 10740 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 10741 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 10742 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 10743 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
10744 | { |
10745 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10746 | (arg1)->SetMargins(arg2,arg3); | |
10747 | ||
10748 | wxPyEndAllowThreads(__tstate); | |
10749 | if (PyErr_Occurred()) SWIG_fail; | |
10750 | } | |
10751 | Py_INCREF(Py_None); resultobj = Py_None; | |
10752 | return resultobj; | |
10753 | fail: | |
10754 | return NULL; | |
10755 | } | |
10756 | ||
10757 | ||
c32bde28 | 10758 | static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10759 | PyObject *resultobj; |
10760 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10761 | wxColour *arg2 = 0 ; | |
10762 | wxColour temp2 ; | |
10763 | PyObject * obj0 = 0 ; | |
10764 | PyObject * obj1 = 0 ; | |
10765 | char *kwnames[] = { | |
10766 | (char *) "self",(char *) "col", NULL | |
10767 | }; | |
10768 | ||
10769 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10770 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10771 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10772 | { |
10773 | arg2 = &temp2; | |
10774 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
10775 | } | |
10776 | { | |
10777 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10778 | (arg1)->SetSelectionBackground((wxColour const &)*arg2); | |
10779 | ||
10780 | wxPyEndAllowThreads(__tstate); | |
10781 | if (PyErr_Occurred()) SWIG_fail; | |
10782 | } | |
10783 | Py_INCREF(Py_None); resultobj = Py_None; | |
10784 | return resultobj; | |
10785 | fail: | |
10786 | return NULL; | |
10787 | } | |
10788 | ||
10789 | ||
c32bde28 | 10790 | static PyObject * VListBox_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
10791 | PyObject *obj; |
10792 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10793 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj); | |
10794 | Py_INCREF(obj); | |
10795 | return Py_BuildValue((char *)""); | |
10796 | } | |
c32bde28 | 10797 | static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10798 | PyObject *resultobj; |
10799 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 10800 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
10801 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
10802 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
10803 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
10804 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
10805 | long arg5 = (long) 0 ; | |
10806 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
10807 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
10808 | wxPyHtmlListBox *result; | |
10809 | wxPoint temp3 ; | |
10810 | wxSize temp4 ; | |
ae8162c8 | 10811 | bool temp6 = false ; |
d14a1e28 | 10812 | PyObject * obj0 = 0 ; |
994141e6 | 10813 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10814 | PyObject * obj2 = 0 ; |
10815 | PyObject * obj3 = 0 ; | |
994141e6 | 10816 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
10817 | PyObject * obj5 = 0 ; |
10818 | char *kwnames[] = { | |
10819 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10820 | }; | |
10821 | ||
994141e6 | 10822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
10823 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
10824 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 10825 | if (obj1) { |
c32bde28 | 10826 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 10827 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 10828 | } |
d14a1e28 RD |
10829 | if (obj2) { |
10830 | { | |
10831 | arg3 = &temp3; | |
10832 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
10833 | } | |
10834 | } | |
10835 | if (obj3) { | |
10836 | { | |
10837 | arg4 = &temp4; | |
10838 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
10839 | } | |
10840 | } | |
994141e6 | 10841 | if (obj4) { |
c32bde28 | 10842 | arg5 = (long)SWIG_As_long(obj4); |
15afbcd0 | 10843 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 10844 | } |
d14a1e28 RD |
10845 | if (obj5) { |
10846 | { | |
10847 | arg6 = wxString_in_helper(obj5); | |
10848 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 10849 | temp6 = true; |
d14a1e28 RD |
10850 | } |
10851 | } | |
10852 | { | |
e3b71cb8 | 10853 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
10854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10855 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
10856 | ||
10857 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10858 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 10859 | } |
15afbcd0 | 10860 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); |
d14a1e28 RD |
10861 | { |
10862 | if (temp6) | |
10863 | delete arg6; | |
10864 | } | |
10865 | return resultobj; | |
10866 | fail: | |
10867 | { | |
10868 | if (temp6) | |
10869 | delete arg6; | |
10870 | } | |
10871 | return NULL; | |
10872 | } | |
10873 | ||
10874 | ||
c32bde28 | 10875 | static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10876 | PyObject *resultobj; |
10877 | wxPyHtmlListBox *result; | |
10878 | char *kwnames[] = { | |
10879 | NULL | |
10880 | }; | |
10881 | ||
10882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail; | |
10883 | { | |
e3b71cb8 | 10884 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
10885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10886 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(); | |
10887 | ||
10888 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10889 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 10890 | } |
15afbcd0 | 10891 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); |
d14a1e28 RD |
10892 | return resultobj; |
10893 | fail: | |
10894 | return NULL; | |
10895 | } | |
10896 | ||
10897 | ||
c32bde28 | 10898 | static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10899 | PyObject *resultobj; |
10900 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10901 | PyObject *arg2 = (PyObject *) 0 ; | |
10902 | PyObject *arg3 = (PyObject *) 0 ; | |
10903 | PyObject * obj0 = 0 ; | |
10904 | PyObject * obj1 = 0 ; | |
10905 | PyObject * obj2 = 0 ; | |
10906 | char *kwnames[] = { | |
10907 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
10908 | }; | |
10909 | ||
10910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
10911 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
10912 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10913 | arg2 = obj1; |
10914 | arg3 = obj2; | |
10915 | { | |
10916 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10917 | (arg1)->_setCallbackInfo(arg2,arg3); | |
10918 | ||
10919 | wxPyEndAllowThreads(__tstate); | |
10920 | if (PyErr_Occurred()) SWIG_fail; | |
10921 | } | |
10922 | Py_INCREF(Py_None); resultobj = Py_None; | |
10923 | return resultobj; | |
10924 | fail: | |
10925 | return NULL; | |
10926 | } | |
10927 | ||
10928 | ||
c32bde28 | 10929 | static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10930 | PyObject *resultobj; |
10931 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10932 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 10933 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
10934 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
10935 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
10936 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
10937 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
10938 | long arg6 = (long) 0 ; | |
10939 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
10940 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
10941 | bool result; | |
10942 | wxPoint temp4 ; | |
10943 | wxSize temp5 ; | |
ae8162c8 | 10944 | bool temp7 = false ; |
d14a1e28 RD |
10945 | PyObject * obj0 = 0 ; |
10946 | PyObject * obj1 = 0 ; | |
994141e6 | 10947 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
10948 | PyObject * obj3 = 0 ; |
10949 | PyObject * obj4 = 0 ; | |
994141e6 | 10950 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
10951 | PyObject * obj6 = 0 ; |
10952 | char *kwnames[] = { | |
10953 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10954 | }; | |
10955 | ||
994141e6 | 10956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
10957 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
10958 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10959 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
10960 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 10961 | if (obj2) { |
c32bde28 | 10962 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 10963 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 10964 | } |
d14a1e28 RD |
10965 | if (obj3) { |
10966 | { | |
10967 | arg4 = &temp4; | |
10968 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
10969 | } | |
10970 | } | |
10971 | if (obj4) { | |
10972 | { | |
10973 | arg5 = &temp5; | |
10974 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
10975 | } | |
10976 | } | |
994141e6 | 10977 | if (obj5) { |
c32bde28 | 10978 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 10979 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 10980 | } |
d14a1e28 RD |
10981 | if (obj6) { |
10982 | { | |
10983 | arg7 = wxString_in_helper(obj6); | |
10984 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 10985 | temp7 = true; |
d14a1e28 RD |
10986 | } |
10987 | } | |
10988 | { | |
10989 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10990 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
10991 | ||
10992 | wxPyEndAllowThreads(__tstate); | |
10993 | if (PyErr_Occurred()) SWIG_fail; | |
10994 | } | |
4f89f6a3 RD |
10995 | { |
10996 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10997 | } | |
d14a1e28 RD |
10998 | { |
10999 | if (temp7) | |
11000 | delete arg7; | |
11001 | } | |
11002 | return resultobj; | |
11003 | fail: | |
11004 | { | |
11005 | if (temp7) | |
11006 | delete arg7; | |
11007 | } | |
11008 | return NULL; | |
11009 | } | |
11010 | ||
11011 | ||
c32bde28 | 11012 | static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11013 | PyObject *resultobj; |
11014 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
11015 | PyObject * obj0 = 0 ; | |
11016 | char *kwnames[] = { | |
11017 | (char *) "self", NULL | |
11018 | }; | |
11019 | ||
11020 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11021 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
11022 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11023 | { |
11024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11025 | (arg1)->RefreshAll(); | |
11026 | ||
11027 | wxPyEndAllowThreads(__tstate); | |
11028 | if (PyErr_Occurred()) SWIG_fail; | |
11029 | } | |
11030 | Py_INCREF(Py_None); resultobj = Py_None; | |
11031 | return resultobj; | |
11032 | fail: | |
11033 | return NULL; | |
11034 | } | |
11035 | ||
11036 | ||
c32bde28 | 11037 | static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11038 | PyObject *resultobj; |
11039 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
11040 | size_t arg2 ; | |
11041 | PyObject * obj0 = 0 ; | |
11042 | PyObject * obj1 = 0 ; | |
11043 | char *kwnames[] = { | |
11044 | (char *) "self",(char *) "count", NULL | |
11045 | }; | |
11046 | ||
11047 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11048 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
11049 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 11050 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
15afbcd0 | 11051 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
11052 | { |
11053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11054 | (arg1)->SetItemCount(arg2); | |
11055 | ||
11056 | wxPyEndAllowThreads(__tstate); | |
11057 | if (PyErr_Occurred()) SWIG_fail; | |
11058 | } | |
11059 | Py_INCREF(Py_None); resultobj = Py_None; | |
11060 | return resultobj; | |
11061 | fail: | |
11062 | return NULL; | |
11063 | } | |
11064 | ||
11065 | ||
c32bde28 | 11066 | static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) { |
7fdaaabe RD |
11067 | PyObject *resultobj; |
11068 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
11069 | wxFileSystem *result; | |
11070 | PyObject * obj0 = 0 ; | |
11071 | char *kwnames[] = { | |
11072 | (char *) "self", NULL | |
11073 | }; | |
11074 | ||
11075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail; | |
11076 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, | |
11077 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11078 | { | |
11079 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11080 | { | |
11081 | wxFileSystem &_result_ref = (arg1)->GetFileSystem(); | |
11082 | result = (wxFileSystem *) &_result_ref; | |
11083 | } | |
11084 | ||
11085 | wxPyEndAllowThreads(__tstate); | |
11086 | if (PyErr_Occurred()) SWIG_fail; | |
11087 | } | |
11088 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0); | |
11089 | return resultobj; | |
11090 | fail: | |
11091 | return NULL; | |
11092 | } | |
11093 | ||
11094 | ||
c32bde28 | 11095 | static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
11096 | PyObject *obj; |
11097 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11098 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj); | |
11099 | Py_INCREF(obj); | |
11100 | return Py_BuildValue((char *)""); | |
11101 | } | |
c32bde28 | 11102 | static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 11103 | PyObject *resultobj; |
5e483524 | 11104 | wxPyTaskBarIcon *result; |
d14a1e28 RD |
11105 | char *kwnames[] = { |
11106 | NULL | |
11107 | }; | |
11108 | ||
11109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail; | |
11110 | { | |
e3b71cb8 | 11111 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 | 11112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5e483524 | 11113 | result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon(); |
d14a1e28 RD |
11114 | |
11115 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 11116 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 11117 | } |
5e483524 | 11118 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1); |
d14a1e28 RD |
11119 | return resultobj; |
11120 | fail: | |
11121 | return NULL; | |
11122 | } | |
11123 | ||
11124 | ||
5e483524 | 11125 | static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 11126 | PyObject *resultobj; |
5e483524 RD |
11127 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
11128 | PyObject *arg2 = (PyObject *) 0 ; | |
11129 | PyObject *arg3 = (PyObject *) 0 ; | |
11130 | int arg4 ; | |
d14a1e28 | 11131 | PyObject * obj0 = 0 ; |
5e483524 RD |
11132 | PyObject * obj1 = 0 ; |
11133 | PyObject * obj2 = 0 ; | |
11134 | PyObject * obj3 = 0 ; | |
d14a1e28 | 11135 | char *kwnames[] = { |
5e483524 | 11136 | (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL |
d14a1e28 RD |
11137 | }; |
11138 | ||
5e483524 RD |
11139 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
11140 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon, | |
15afbcd0 | 11141 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
5e483524 RD |
11142 | arg2 = obj1; |
11143 | arg3 = obj2; | |
11144 | arg4 = (int)SWIG_As_int(obj3); | |
11145 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
11146 | { |
11147 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 11148 | (arg1)->_setCallbackInfo(arg2,arg3,arg4); |
d14a1e28 RD |
11149 | |
11150 | wxPyEndAllowThreads(__tstate); | |
11151 | if (PyErr_Occurred()) SWIG_fail; | |
11152 | } | |
11153 | Py_INCREF(Py_None); resultobj = Py_None; | |
11154 | return resultobj; | |
11155 | fail: | |
11156 | return NULL; | |
11157 | } | |
11158 | ||
11159 | ||
c32bde28 | 11160 | static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { |
74a57fcd | 11161 | PyObject *resultobj; |
5e483524 | 11162 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
74a57fcd RD |
11163 | PyObject * obj0 = 0 ; |
11164 | char *kwnames[] = { | |
11165 | (char *) "self", NULL | |
11166 | }; | |
11167 | ||
11168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail; | |
5e483524 | 11169 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon, |
74a57fcd RD |
11170 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
11171 | { | |
11172 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 11173 | wxPyTaskBarIcon_Destroy(arg1); |
74a57fcd RD |
11174 | |
11175 | wxPyEndAllowThreads(__tstate); | |
11176 | if (PyErr_Occurred()) SWIG_fail; | |
11177 | } | |
11178 | Py_INCREF(Py_None); resultobj = Py_None; | |
11179 | return resultobj; | |
11180 | fail: | |
11181 | return NULL; | |
11182 | } | |
11183 | ||
11184 | ||
c32bde28 | 11185 | static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 11186 | PyObject *resultobj; |
5e483524 | 11187 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
d14a1e28 RD |
11188 | bool result; |
11189 | PyObject * obj0 = 0 ; | |
11190 | char *kwnames[] = { | |
11191 | (char *) "self", NULL | |
11192 | }; | |
11193 | ||
11194 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail; | |
5e483524 | 11195 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon, |
15afbcd0 | 11196 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
d14a1e28 RD |
11197 | { |
11198 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 11199 | result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk(); |
d14a1e28 RD |
11200 | |
11201 | wxPyEndAllowThreads(__tstate); | |
11202 | if (PyErr_Occurred()) SWIG_fail; | |
11203 | } | |
4f89f6a3 RD |
11204 | { |
11205 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11206 | } | |
d14a1e28 RD |
11207 | return resultobj; |
11208 | fail: | |
11209 | return NULL; | |
11210 | } | |
11211 | ||
11212 | ||
c32bde28 | 11213 | static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 11214 | PyObject *resultobj; |
5e483524 | 11215 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
d14a1e28 RD |
11216 | bool result; |
11217 | PyObject * obj0 = 0 ; | |
11218 | char *kwnames[] = { | |
11219 | (char *) "self", NULL | |
11220 | }; | |
11221 | ||
11222 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail; | |
5e483524 | 11223 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon, |
15afbcd0 | 11224 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
d14a1e28 RD |
11225 | { |
11226 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 11227 | result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled(); |
d14a1e28 RD |
11228 | |
11229 | wxPyEndAllowThreads(__tstate); | |
11230 | if (PyErr_Occurred()) SWIG_fail; | |
11231 | } | |
4f89f6a3 RD |
11232 | { |
11233 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11234 | } | |
d14a1e28 RD |
11235 | return resultobj; |
11236 | fail: | |
11237 | return NULL; | |
11238 | } | |
11239 | ||
11240 | ||
c32bde28 | 11241 | static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 11242 | PyObject *resultobj; |
5e483524 | 11243 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
d14a1e28 RD |
11244 | wxIcon *arg2 = 0 ; |
11245 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11246 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11247 | bool result; | |
ae8162c8 | 11248 | bool temp3 = false ; |
d14a1e28 RD |
11249 | PyObject * obj0 = 0 ; |
11250 | PyObject * obj1 = 0 ; | |
11251 | PyObject * obj2 = 0 ; | |
11252 | char *kwnames[] = { | |
11253 | (char *) "self",(char *) "icon",(char *) "tooltip", NULL | |
11254 | }; | |
11255 | ||
11256 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5e483524 | 11257 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon, |
15afbcd0 RD |
11258 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
11259 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon, | |
11260 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
11261 | SWIG_fail; | |
d14a1e28 | 11262 | if (arg2 == NULL) { |
15afbcd0 RD |
11263 | PyErr_SetString(PyExc_TypeError,"null reference"); |
11264 | SWIG_fail; | |
d14a1e28 RD |
11265 | } |
11266 | if (obj2) { | |
11267 | { | |
11268 | arg3 = wxString_in_helper(obj2); | |
11269 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 11270 | temp3 = true; |
d14a1e28 RD |
11271 | } |
11272 | } | |
11273 | { | |
11274 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11275 | result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3); | |
11276 | ||
11277 | wxPyEndAllowThreads(__tstate); | |
11278 | if (PyErr_Occurred()) SWIG_fail; | |
11279 | } | |
4f89f6a3 RD |
11280 | { |
11281 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11282 | } | |
d14a1e28 RD |
11283 | { |
11284 | if (temp3) | |
11285 | delete arg3; | |
11286 | } | |
11287 | return resultobj; | |
11288 | fail: | |
11289 | { | |
11290 | if (temp3) | |
11291 | delete arg3; | |
11292 | } | |
11293 | return NULL; | |
11294 | } | |
11295 | ||
11296 | ||
c32bde28 | 11297 | static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 11298 | PyObject *resultobj; |
5e483524 | 11299 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
d14a1e28 RD |
11300 | bool result; |
11301 | PyObject * obj0 = 0 ; | |
11302 | char *kwnames[] = { | |
11303 | (char *) "self", NULL | |
11304 | }; | |
11305 | ||
11306 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail; | |
5e483524 | 11307 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon, |
15afbcd0 | 11308 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
d14a1e28 RD |
11309 | { |
11310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11311 | result = (bool)(arg1)->RemoveIcon(); | |
11312 | ||
11313 | wxPyEndAllowThreads(__tstate); | |
11314 | if (PyErr_Occurred()) SWIG_fail; | |
11315 | } | |
4f89f6a3 RD |
11316 | { |
11317 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11318 | } | |
d14a1e28 RD |
11319 | return resultobj; |
11320 | fail: | |
11321 | return NULL; | |
11322 | } | |
11323 | ||
11324 | ||
c32bde28 | 11325 | static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 11326 | PyObject *resultobj; |
5e483524 | 11327 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
d14a1e28 RD |
11328 | wxMenu *arg2 = (wxMenu *) 0 ; |
11329 | bool result; | |
11330 | PyObject * obj0 = 0 ; | |
11331 | PyObject * obj1 = 0 ; | |
11332 | char *kwnames[] = { | |
11333 | (char *) "self",(char *) "menu", NULL | |
11334 | }; | |
11335 | ||
11336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail; | |
5e483524 | 11337 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon, |
15afbcd0 RD |
11338 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
11339 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu, | |
11340 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11341 | { |
11342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11343 | result = (bool)(arg1)->PopupMenu(arg2); | |
11344 | ||
11345 | wxPyEndAllowThreads(__tstate); | |
11346 | if (PyErr_Occurred()) SWIG_fail; | |
11347 | } | |
4f89f6a3 RD |
11348 | { |
11349 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11350 | } | |
d14a1e28 RD |
11351 | return resultobj; |
11352 | fail: | |
11353 | return NULL; | |
11354 | } | |
11355 | ||
11356 | ||
c32bde28 | 11357 | static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
11358 | PyObject *obj; |
11359 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5e483524 | 11360 | SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj); |
d14a1e28 RD |
11361 | Py_INCREF(obj); |
11362 | return Py_BuildValue((char *)""); | |
11363 | } | |
c32bde28 | 11364 | static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11365 | PyObject *resultobj; |
11366 | wxEventType arg1 ; | |
11367 | wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ; | |
11368 | wxTaskBarIconEvent *result; | |
994141e6 | 11369 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
11370 | PyObject * obj1 = 0 ; |
11371 | char *kwnames[] = { | |
11372 | (char *) "evtType",(char *) "tbIcon", NULL | |
11373 | }; | |
11374 | ||
994141e6 | 11375 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail; |
c32bde28 | 11376 | arg1 = (wxEventType)SWIG_As_int(obj0); |
15afbcd0 RD |
11377 | if (PyErr_Occurred()) SWIG_fail; |
11378 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon, | |
11379 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11380 | { |
11381 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11382 | result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2); | |
11383 | ||
11384 | wxPyEndAllowThreads(__tstate); | |
11385 | if (PyErr_Occurred()) SWIG_fail; | |
11386 | } | |
15afbcd0 | 11387 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1); |
d14a1e28 RD |
11388 | return resultobj; |
11389 | fail: | |
11390 | return NULL; | |
11391 | } | |
11392 | ||
11393 | ||
c32bde28 | 11394 | static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
11395 | PyObject *obj; |
11396 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11397 | SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj); | |
11398 | Py_INCREF(obj); | |
11399 | return Py_BuildValue((char *)""); | |
11400 | } | |
c32bde28 | 11401 | static int _wrap_FileSelectorPromptStr_set(PyObject *) { |
b2dc1044 RD |
11402 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only."); |
11403 | return 1; | |
11404 | } | |
11405 | ||
11406 | ||
11407 | static PyObject *_wrap_FileSelectorPromptStr_get() { | |
11408 | PyObject *pyobj; | |
11409 | ||
11410 | { | |
11411 | #if wxUSE_UNICODE | |
11412 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
11413 | #else | |
11414 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
11415 | #endif | |
11416 | } | |
11417 | return pyobj; | |
11418 | } | |
11419 | ||
11420 | ||
c32bde28 | 11421 | static int _wrap_DirSelectorPromptStr_set(PyObject *) { |
b2dc1044 RD |
11422 | PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only."); |
11423 | return 1; | |
11424 | } | |
11425 | ||
11426 | ||
11427 | static PyObject *_wrap_DirSelectorPromptStr_get() { | |
11428 | PyObject *pyobj; | |
11429 | ||
11430 | { | |
11431 | #if wxUSE_UNICODE | |
11432 | pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
11433 | #else | |
11434 | pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
11435 | #endif | |
11436 | } | |
11437 | return pyobj; | |
11438 | } | |
11439 | ||
11440 | ||
c32bde28 | 11441 | static int _wrap_DirDialogNameStr_set(PyObject *) { |
b2dc1044 RD |
11442 | PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only."); |
11443 | return 1; | |
11444 | } | |
11445 | ||
11446 | ||
11447 | static PyObject *_wrap_DirDialogNameStr_get() { | |
11448 | PyObject *pyobj; | |
11449 | ||
11450 | { | |
11451 | #if wxUSE_UNICODE | |
11452 | pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
11453 | #else | |
11454 | pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
11455 | #endif | |
11456 | } | |
11457 | return pyobj; | |
11458 | } | |
11459 | ||
11460 | ||
c32bde28 | 11461 | static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) { |
b2dc1044 RD |
11462 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only."); |
11463 | return 1; | |
11464 | } | |
11465 | ||
11466 | ||
11467 | static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() { | |
11468 | PyObject *pyobj; | |
11469 | ||
11470 | { | |
11471 | #if wxUSE_UNICODE | |
11472 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
11473 | #else | |
11474 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
11475 | #endif | |
11476 | } | |
11477 | return pyobj; | |
11478 | } | |
11479 | ||
11480 | ||
c32bde28 | 11481 | static int _wrap_GetTextFromUserPromptStr_set(PyObject *) { |
b2dc1044 RD |
11482 | PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only."); |
11483 | return 1; | |
11484 | } | |
11485 | ||
11486 | ||
11487 | static PyObject *_wrap_GetTextFromUserPromptStr_get() { | |
11488 | PyObject *pyobj; | |
11489 | ||
11490 | { | |
11491 | #if wxUSE_UNICODE | |
11492 | pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
11493 | #else | |
11494 | pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
11495 | #endif | |
11496 | } | |
11497 | return pyobj; | |
11498 | } | |
11499 | ||
11500 | ||
c32bde28 | 11501 | static int _wrap_MessageBoxCaptionStr_set(PyObject *) { |
b2dc1044 RD |
11502 | PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only."); |
11503 | return 1; | |
11504 | } | |
11505 | ||
11506 | ||
11507 | static PyObject *_wrap_MessageBoxCaptionStr_get() { | |
11508 | PyObject *pyobj; | |
11509 | ||
11510 | { | |
11511 | #if wxUSE_UNICODE | |
11512 | pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
11513 | #else | |
11514 | pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
11515 | #endif | |
11516 | } | |
11517 | return pyobj; | |
11518 | } | |
11519 | ||
11520 | ||
c32bde28 | 11521 | static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11522 | PyObject *resultobj; |
11523 | wxColourData *result; | |
11524 | char *kwnames[] = { | |
11525 | NULL | |
11526 | }; | |
11527 | ||
11528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail; | |
11529 | { | |
11530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11531 | result = (wxColourData *)new wxColourData(); | |
11532 | ||
11533 | wxPyEndAllowThreads(__tstate); | |
11534 | if (PyErr_Occurred()) SWIG_fail; | |
11535 | } | |
15afbcd0 | 11536 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1); |
d14a1e28 RD |
11537 | return resultobj; |
11538 | fail: | |
11539 | return NULL; | |
11540 | } | |
11541 | ||
11542 | ||
c32bde28 | 11543 | static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11544 | PyObject *resultobj; |
11545 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11546 | PyObject * obj0 = 0 ; | |
11547 | char *kwnames[] = { | |
11548 | (char *) "self", NULL | |
11549 | }; | |
11550 | ||
11551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11552 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11553 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11554 | { |
11555 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11556 | delete arg1; | |
11557 | ||
11558 | wxPyEndAllowThreads(__tstate); | |
11559 | if (PyErr_Occurred()) SWIG_fail; | |
11560 | } | |
11561 | Py_INCREF(Py_None); resultobj = Py_None; | |
11562 | return resultobj; | |
11563 | fail: | |
11564 | return NULL; | |
11565 | } | |
11566 | ||
11567 | ||
c32bde28 | 11568 | static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11569 | PyObject *resultobj; |
11570 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11571 | bool result; | |
11572 | PyObject * obj0 = 0 ; | |
11573 | char *kwnames[] = { | |
11574 | (char *) "self", NULL | |
11575 | }; | |
11576 | ||
11577 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11578 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11579 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11580 | { |
11581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11582 | result = (bool)(arg1)->GetChooseFull(); | |
11583 | ||
11584 | wxPyEndAllowThreads(__tstate); | |
11585 | if (PyErr_Occurred()) SWIG_fail; | |
11586 | } | |
4f89f6a3 RD |
11587 | { |
11588 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11589 | } | |
d14a1e28 RD |
11590 | return resultobj; |
11591 | fail: | |
11592 | return NULL; | |
11593 | } | |
11594 | ||
11595 | ||
c32bde28 | 11596 | static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11597 | PyObject *resultobj; |
11598 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11599 | wxColour result; | |
11600 | PyObject * obj0 = 0 ; | |
11601 | char *kwnames[] = { | |
11602 | (char *) "self", NULL | |
11603 | }; | |
11604 | ||
11605 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11606 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11607 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11608 | { |
11609 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11610 | result = (arg1)->GetColour(); | |
11611 | ||
11612 | wxPyEndAllowThreads(__tstate); | |
11613 | if (PyErr_Occurred()) SWIG_fail; | |
11614 | } | |
11615 | { | |
11616 | wxColour * resultptr; | |
11617 | resultptr = new wxColour((wxColour &) result); | |
15afbcd0 | 11618 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
11619 | } |
11620 | return resultobj; | |
11621 | fail: | |
11622 | return NULL; | |
11623 | } | |
11624 | ||
11625 | ||
c32bde28 | 11626 | static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11627 | PyObject *resultobj; |
11628 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11629 | int arg2 ; | |
11630 | wxColour result; | |
11631 | PyObject * obj0 = 0 ; | |
994141e6 | 11632 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11633 | char *kwnames[] = { |
11634 | (char *) "self",(char *) "i", NULL | |
11635 | }; | |
11636 | ||
994141e6 | 11637 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
11638 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11639 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 11640 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 11641 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
11642 | { |
11643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11644 | result = (arg1)->GetCustomColour(arg2); | |
11645 | ||
11646 | wxPyEndAllowThreads(__tstate); | |
11647 | if (PyErr_Occurred()) SWIG_fail; | |
11648 | } | |
11649 | { | |
11650 | wxColour * resultptr; | |
11651 | resultptr = new wxColour((wxColour &) result); | |
15afbcd0 | 11652 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
11653 | } |
11654 | return resultobj; | |
11655 | fail: | |
11656 | return NULL; | |
11657 | } | |
11658 | ||
11659 | ||
c32bde28 | 11660 | static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11661 | PyObject *resultobj; |
11662 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11663 | int arg2 ; | |
11664 | PyObject * obj0 = 0 ; | |
994141e6 | 11665 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11666 | char *kwnames[] = { |
11667 | (char *) "self",(char *) "flag", NULL | |
11668 | }; | |
11669 | ||
994141e6 | 11670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
11671 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11672 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 11673 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 11674 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
11675 | { |
11676 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11677 | (arg1)->SetChooseFull(arg2); | |
11678 | ||
11679 | wxPyEndAllowThreads(__tstate); | |
11680 | if (PyErr_Occurred()) SWIG_fail; | |
11681 | } | |
11682 | Py_INCREF(Py_None); resultobj = Py_None; | |
11683 | return resultobj; | |
11684 | fail: | |
11685 | return NULL; | |
11686 | } | |
11687 | ||
11688 | ||
c32bde28 | 11689 | static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11690 | PyObject *resultobj; |
11691 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11692 | wxColour *arg2 = 0 ; | |
11693 | wxColour temp2 ; | |
11694 | PyObject * obj0 = 0 ; | |
11695 | PyObject * obj1 = 0 ; | |
11696 | char *kwnames[] = { | |
11697 | (char *) "self",(char *) "colour", NULL | |
11698 | }; | |
11699 | ||
11700 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11701 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11702 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11703 | { |
11704 | arg2 = &temp2; | |
11705 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
11706 | } | |
11707 | { | |
11708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11709 | (arg1)->SetColour((wxColour const &)*arg2); | |
11710 | ||
11711 | wxPyEndAllowThreads(__tstate); | |
11712 | if (PyErr_Occurred()) SWIG_fail; | |
11713 | } | |
11714 | Py_INCREF(Py_None); resultobj = Py_None; | |
11715 | return resultobj; | |
11716 | fail: | |
11717 | return NULL; | |
11718 | } | |
11719 | ||
11720 | ||
c32bde28 | 11721 | static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11722 | PyObject *resultobj; |
11723 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11724 | int arg2 ; | |
11725 | wxColour *arg3 = 0 ; | |
11726 | wxColour temp3 ; | |
11727 | PyObject * obj0 = 0 ; | |
994141e6 | 11728 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11729 | PyObject * obj2 = 0 ; |
11730 | char *kwnames[] = { | |
11731 | (char *) "self",(char *) "i",(char *) "colour", NULL | |
11732 | }; | |
11733 | ||
994141e6 | 11734 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
11735 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11736 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 11737 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 11738 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
11739 | { |
11740 | arg3 = &temp3; | |
11741 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
11742 | } | |
11743 | { | |
11744 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11745 | (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3); | |
11746 | ||
11747 | wxPyEndAllowThreads(__tstate); | |
11748 | if (PyErr_Occurred()) SWIG_fail; | |
11749 | } | |
11750 | Py_INCREF(Py_None); resultobj = Py_None; | |
11751 | return resultobj; | |
11752 | fail: | |
11753 | return NULL; | |
11754 | } | |
11755 | ||
11756 | ||
c32bde28 | 11757 | static PyObject * ColourData_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
11758 | PyObject *obj; |
11759 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11760 | SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj); | |
11761 | Py_INCREF(obj); | |
11762 | return Py_BuildValue((char *)""); | |
11763 | } | |
c32bde28 | 11764 | static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11765 | PyObject *resultobj; |
11766 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11767 | wxColourData *arg2 = (wxColourData *) NULL ; | |
11768 | wxColourDialog *result; | |
11769 | PyObject * obj0 = 0 ; | |
11770 | PyObject * obj1 = 0 ; | |
11771 | char *kwnames[] = { | |
11772 | (char *) "parent",(char *) "data", NULL | |
11773 | }; | |
11774 | ||
11775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11776 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
11777 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 11778 | if (obj1) { |
15afbcd0 RD |
11779 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData, |
11780 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11781 | } |
11782 | { | |
e3b71cb8 | 11783 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
11784 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
11785 | result = (wxColourDialog *)new wxColourDialog(arg1,arg2); | |
11786 | ||
11787 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 11788 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 11789 | } |
15afbcd0 | 11790 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1); |
d14a1e28 RD |
11791 | return resultobj; |
11792 | fail: | |
11793 | return NULL; | |
11794 | } | |
11795 | ||
11796 | ||
c32bde28 | 11797 | static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11798 | PyObject *resultobj; |
11799 | wxColourDialog *arg1 = (wxColourDialog *) 0 ; | |
11800 | wxColourData *result; | |
11801 | PyObject * obj0 = 0 ; | |
11802 | char *kwnames[] = { | |
11803 | (char *) "self", NULL | |
11804 | }; | |
11805 | ||
11806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11807 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog, |
11808 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11809 | { |
11810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11811 | { | |
11812 | wxColourData &_result_ref = (arg1)->GetColourData(); | |
11813 | result = (wxColourData *) &_result_ref; | |
11814 | } | |
11815 | ||
11816 | wxPyEndAllowThreads(__tstate); | |
11817 | if (PyErr_Occurred()) SWIG_fail; | |
11818 | } | |
15afbcd0 | 11819 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0); |
d14a1e28 RD |
11820 | return resultobj; |
11821 | fail: | |
11822 | return NULL; | |
11823 | } | |
11824 | ||
11825 | ||
c32bde28 | 11826 | static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
11827 | PyObject *obj; |
11828 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11829 | SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj); | |
11830 | Py_INCREF(obj); | |
11831 | return Py_BuildValue((char *)""); | |
11832 | } | |
c32bde28 | 11833 | static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11834 | PyObject *resultobj; |
11835 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11836 | wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ; | |
11837 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
11838 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11839 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11840 | long arg4 = (long) 0 ; | |
11841 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
11842 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
11843 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
11844 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
11845 | wxString const &arg7_defvalue = wxPyDirDialogNameStr ; | |
11846 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
11847 | wxDirDialog *result; | |
ae8162c8 RD |
11848 | bool temp2 = false ; |
11849 | bool temp3 = false ; | |
d14a1e28 RD |
11850 | wxPoint temp5 ; |
11851 | wxSize temp6 ; | |
ae8162c8 | 11852 | bool temp7 = false ; |
d14a1e28 RD |
11853 | PyObject * obj0 = 0 ; |
11854 | PyObject * obj1 = 0 ; | |
11855 | PyObject * obj2 = 0 ; | |
994141e6 | 11856 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
11857 | PyObject * obj4 = 0 ; |
11858 | PyObject * obj5 = 0 ; | |
11859 | PyObject * obj6 = 0 ; | |
11860 | char *kwnames[] = { | |
11861 | (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL | |
11862 | }; | |
11863 | ||
994141e6 | 11864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
11865 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
11866 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11867 | if (obj1) { |
11868 | { | |
11869 | arg2 = wxString_in_helper(obj1); | |
11870 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 11871 | temp2 = true; |
d14a1e28 RD |
11872 | } |
11873 | } | |
11874 | if (obj2) { | |
11875 | { | |
11876 | arg3 = wxString_in_helper(obj2); | |
11877 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 11878 | temp3 = true; |
d14a1e28 RD |
11879 | } |
11880 | } | |
994141e6 | 11881 | if (obj3) { |
c32bde28 | 11882 | arg4 = (long)SWIG_As_long(obj3); |
15afbcd0 | 11883 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 11884 | } |
d14a1e28 RD |
11885 | if (obj4) { |
11886 | { | |
11887 | arg5 = &temp5; | |
11888 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
11889 | } | |
11890 | } | |
11891 | if (obj5) { | |
11892 | { | |
11893 | arg6 = &temp6; | |
11894 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
11895 | } | |
11896 | } | |
11897 | if (obj6) { | |
11898 | { | |
11899 | arg7 = wxString_in_helper(obj6); | |
11900 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 11901 | temp7 = true; |
d14a1e28 RD |
11902 | } |
11903 | } | |
11904 | { | |
e3b71cb8 | 11905 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
11906 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
11907 | result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7); | |
11908 | ||
11909 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 11910 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 11911 | } |
15afbcd0 | 11912 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1); |
d14a1e28 RD |
11913 | { |
11914 | if (temp2) | |
11915 | delete arg2; | |
11916 | } | |
11917 | { | |
11918 | if (temp3) | |
11919 | delete arg3; | |
11920 | } | |
11921 | { | |
11922 | if (temp7) | |
11923 | delete arg7; | |
11924 | } | |
11925 | return resultobj; | |
11926 | fail: | |
11927 | { | |
11928 | if (temp2) | |
11929 | delete arg2; | |
11930 | } | |
11931 | { | |
11932 | if (temp3) | |
11933 | delete arg3; | |
11934 | } | |
11935 | { | |
11936 | if (temp7) | |
11937 | delete arg7; | |
11938 | } | |
11939 | return NULL; | |
11940 | } | |
11941 | ||
11942 | ||
c32bde28 | 11943 | static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11944 | PyObject *resultobj; |
11945 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11946 | wxString result; | |
11947 | PyObject * obj0 = 0 ; | |
11948 | char *kwnames[] = { | |
11949 | (char *) "self", NULL | |
11950 | }; | |
11951 | ||
11952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11953 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
11954 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11955 | { |
11956 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11957 | result = (arg1)->GetPath(); | |
11958 | ||
11959 | wxPyEndAllowThreads(__tstate); | |
11960 | if (PyErr_Occurred()) SWIG_fail; | |
11961 | } | |
11962 | { | |
11963 | #if wxUSE_UNICODE | |
11964 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11965 | #else | |
11966 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11967 | #endif | |
11968 | } | |
11969 | return resultobj; | |
11970 | fail: | |
11971 | return NULL; | |
11972 | } | |
11973 | ||
11974 | ||
c32bde28 | 11975 | static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11976 | PyObject *resultobj; |
11977 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11978 | wxString result; | |
11979 | PyObject * obj0 = 0 ; | |
11980 | char *kwnames[] = { | |
11981 | (char *) "self", NULL | |
11982 | }; | |
11983 | ||
11984 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11985 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
11986 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11987 | { |
11988 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11989 | result = (arg1)->GetMessage(); | |
11990 | ||
11991 | wxPyEndAllowThreads(__tstate); | |
11992 | if (PyErr_Occurred()) SWIG_fail; | |
11993 | } | |
11994 | { | |
11995 | #if wxUSE_UNICODE | |
11996 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11997 | #else | |
11998 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11999 | #endif | |
12000 | } | |
12001 | return resultobj; | |
12002 | fail: | |
12003 | return NULL; | |
12004 | } | |
12005 | ||
12006 | ||
c32bde28 | 12007 | static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12008 | PyObject *resultobj; |
12009 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
12010 | long result; | |
12011 | PyObject * obj0 = 0 ; | |
12012 | char *kwnames[] = { | |
12013 | (char *) "self", NULL | |
12014 | }; | |
12015 | ||
12016 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12017 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
12018 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12019 | { |
12020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12021 | result = (long)(arg1)->GetStyle(); | |
12022 | ||
12023 | wxPyEndAllowThreads(__tstate); | |
12024 | if (PyErr_Occurred()) SWIG_fail; | |
12025 | } | |
c32bde28 | 12026 | resultobj = SWIG_From_long((long)result); |
d14a1e28 RD |
12027 | return resultobj; |
12028 | fail: | |
12029 | return NULL; | |
12030 | } | |
12031 | ||
12032 | ||
c32bde28 | 12033 | static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12034 | PyObject *resultobj; |
12035 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
12036 | wxString *arg2 = 0 ; | |
ae8162c8 | 12037 | bool temp2 = false ; |
d14a1e28 RD |
12038 | PyObject * obj0 = 0 ; |
12039 | PyObject * obj1 = 0 ; | |
12040 | char *kwnames[] = { | |
12041 | (char *) "self",(char *) "message", NULL | |
12042 | }; | |
12043 | ||
12044 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12045 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
12046 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12047 | { |
12048 | arg2 = wxString_in_helper(obj1); | |
12049 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 12050 | temp2 = true; |
d14a1e28 RD |
12051 | } |
12052 | { | |
12053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12054 | (arg1)->SetMessage((wxString const &)*arg2); | |
12055 | ||
12056 | wxPyEndAllowThreads(__tstate); | |
12057 | if (PyErr_Occurred()) SWIG_fail; | |
12058 | } | |
12059 | Py_INCREF(Py_None); resultobj = Py_None; | |
12060 | { | |
12061 | if (temp2) | |
12062 | delete arg2; | |
12063 | } | |
12064 | return resultobj; | |
12065 | fail: | |
12066 | { | |
12067 | if (temp2) | |
12068 | delete arg2; | |
12069 | } | |
12070 | return NULL; | |
12071 | } | |
12072 | ||
12073 | ||
c32bde28 | 12074 | static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12075 | PyObject *resultobj; |
12076 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
12077 | wxString *arg2 = 0 ; | |
ae8162c8 | 12078 | bool temp2 = false ; |
d14a1e28 RD |
12079 | PyObject * obj0 = 0 ; |
12080 | PyObject * obj1 = 0 ; | |
12081 | char *kwnames[] = { | |
12082 | (char *) "self",(char *) "path", NULL | |
12083 | }; | |
12084 | ||
12085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12086 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
12087 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12088 | { |
12089 | arg2 = wxString_in_helper(obj1); | |
12090 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 12091 | temp2 = true; |
d14a1e28 RD |
12092 | } |
12093 | { | |
12094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12095 | (arg1)->SetPath((wxString const &)*arg2); | |
12096 | ||
12097 | wxPyEndAllowThreads(__tstate); | |
12098 | if (PyErr_Occurred()) SWIG_fail; | |
12099 | } | |
12100 | Py_INCREF(Py_None); resultobj = Py_None; | |
12101 | { | |
12102 | if (temp2) | |
12103 | delete arg2; | |
12104 | } | |
12105 | return resultobj; | |
12106 | fail: | |
12107 | { | |
12108 | if (temp2) | |
12109 | delete arg2; | |
12110 | } | |
12111 | return NULL; | |
12112 | } | |
12113 | ||
12114 | ||
c32bde28 | 12115 | static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
12116 | PyObject *obj; |
12117 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12118 | SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj); | |
12119 | Py_INCREF(obj); | |
12120 | return Py_BuildValue((char *)""); | |
12121 | } | |
c32bde28 | 12122 | static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12123 | PyObject *resultobj; |
12124 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12125 | wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ; | |
12126 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
12127 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
12128 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12129 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
12130 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
12131 | wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ; | |
12132 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
12133 | long arg6 = (long) 0 ; | |
12134 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
12135 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
12136 | wxFileDialog *result; | |
ae8162c8 RD |
12137 | bool temp2 = false ; |
12138 | bool temp3 = false ; | |
12139 | bool temp4 = false ; | |
12140 | bool temp5 = false ; | |
d14a1e28 RD |
12141 | wxPoint temp7 ; |
12142 | PyObject * obj0 = 0 ; | |
12143 | PyObject * obj1 = 0 ; | |
12144 | PyObject * obj2 = 0 ; | |
12145 | PyObject * obj3 = 0 ; | |
12146 | PyObject * obj4 = 0 ; | |
994141e6 | 12147 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
12148 | PyObject * obj6 = 0 ; |
12149 | char *kwnames[] = { | |
12150 | (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL | |
12151 | }; | |
12152 | ||
994141e6 | 12153 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
12154 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
12155 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12156 | if (obj1) { |
12157 | { | |
12158 | arg2 = wxString_in_helper(obj1); | |
12159 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 12160 | temp2 = true; |
d14a1e28 RD |
12161 | } |
12162 | } | |
12163 | if (obj2) { | |
12164 | { | |
12165 | arg3 = wxString_in_helper(obj2); | |
12166 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 12167 | temp3 = true; |
d14a1e28 RD |
12168 | } |
12169 | } | |
12170 | if (obj3) { | |
12171 | { | |
12172 | arg4 = wxString_in_helper(obj3); | |
12173 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 12174 | temp4 = true; |
d14a1e28 RD |
12175 | } |
12176 | } | |
12177 | if (obj4) { | |
12178 | { | |
12179 | arg5 = wxString_in_helper(obj4); | |
12180 | if (arg5 == NULL) SWIG_fail; | |
ae8162c8 | 12181 | temp5 = true; |
d14a1e28 RD |
12182 | } |
12183 | } | |
994141e6 | 12184 | if (obj5) { |
c32bde28 | 12185 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 12186 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 12187 | } |
d14a1e28 RD |
12188 | if (obj6) { |
12189 | { | |
12190 | arg7 = &temp7; | |
12191 | if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail; | |
12192 | } | |
12193 | } | |
12194 | { | |
e3b71cb8 | 12195 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
12196 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
12197 | result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7); | |
12198 | ||
12199 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 12200 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 12201 | } |
15afbcd0 | 12202 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1); |
d14a1e28 RD |
12203 | { |
12204 | if (temp2) | |
12205 | delete arg2; | |
12206 | } | |
12207 | { | |
12208 | if (temp3) | |
12209 | delete arg3; | |
12210 | } | |
12211 | { | |
12212 | if (temp4) | |
12213 | delete arg4; | |
12214 | } | |
12215 | { | |
12216 | if (temp5) | |
12217 | delete arg5; | |
12218 | } | |
12219 | return resultobj; | |
12220 | fail: | |
12221 | { | |
12222 | if (temp2) | |
12223 | delete arg2; | |
12224 | } | |
12225 | { | |
12226 | if (temp3) | |
12227 | delete arg3; | |
12228 | } | |
12229 | { | |
12230 | if (temp4) | |
12231 | delete arg4; | |
12232 | } | |
12233 | { | |
12234 | if (temp5) | |
12235 | delete arg5; | |
12236 | } | |
12237 | return NULL; | |
12238 | } | |
12239 | ||
12240 | ||
c32bde28 | 12241 | static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12242 | PyObject *resultobj; |
12243 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12244 | wxString *arg2 = 0 ; | |
ae8162c8 | 12245 | bool temp2 = false ; |
d14a1e28 RD |
12246 | PyObject * obj0 = 0 ; |
12247 | PyObject * obj1 = 0 ; | |
12248 | char *kwnames[] = { | |
12249 | (char *) "self",(char *) "message", NULL | |
12250 | }; | |
12251 | ||
12252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12253 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12254 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12255 | { |
12256 | arg2 = wxString_in_helper(obj1); | |
12257 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 12258 | temp2 = true; |
d14a1e28 RD |
12259 | } |
12260 | { | |
12261 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12262 | (arg1)->SetMessage((wxString const &)*arg2); | |
12263 | ||
12264 | wxPyEndAllowThreads(__tstate); | |
12265 | if (PyErr_Occurred()) SWIG_fail; | |
12266 | } | |
12267 | Py_INCREF(Py_None); resultobj = Py_None; | |
12268 | { | |
12269 | if (temp2) | |
12270 | delete arg2; | |
12271 | } | |
12272 | return resultobj; | |
12273 | fail: | |
12274 | { | |
12275 | if (temp2) | |
12276 | delete arg2; | |
12277 | } | |
12278 | return NULL; | |
12279 | } | |
12280 | ||
12281 | ||
c32bde28 | 12282 | static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12283 | PyObject *resultobj; |
12284 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12285 | wxString *arg2 = 0 ; | |
ae8162c8 | 12286 | bool temp2 = false ; |
d14a1e28 RD |
12287 | PyObject * obj0 = 0 ; |
12288 | PyObject * obj1 = 0 ; | |
12289 | char *kwnames[] = { | |
12290 | (char *) "self",(char *) "path", NULL | |
12291 | }; | |
12292 | ||
12293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12294 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12295 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12296 | { |
12297 | arg2 = wxString_in_helper(obj1); | |
12298 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 12299 | temp2 = true; |
d14a1e28 RD |
12300 | } |
12301 | { | |
12302 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12303 | (arg1)->SetPath((wxString const &)*arg2); | |
12304 | ||
12305 | wxPyEndAllowThreads(__tstate); | |
12306 | if (PyErr_Occurred()) SWIG_fail; | |
12307 | } | |
12308 | Py_INCREF(Py_None); resultobj = Py_None; | |
12309 | { | |
12310 | if (temp2) | |
12311 | delete arg2; | |
12312 | } | |
12313 | return resultobj; | |
12314 | fail: | |
12315 | { | |
12316 | if (temp2) | |
12317 | delete arg2; | |
12318 | } | |
12319 | return NULL; | |
12320 | } | |
12321 | ||
12322 | ||
c32bde28 | 12323 | static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12324 | PyObject *resultobj; |
12325 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12326 | wxString *arg2 = 0 ; | |
ae8162c8 | 12327 | bool temp2 = false ; |
d14a1e28 RD |
12328 | PyObject * obj0 = 0 ; |
12329 | PyObject * obj1 = 0 ; | |
12330 | char *kwnames[] = { | |
12331 | (char *) "self",(char *) "dir", NULL | |
12332 | }; | |
12333 | ||
12334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12335 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12336 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12337 | { |
12338 | arg2 = wxString_in_helper(obj1); | |
12339 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 12340 | temp2 = true; |
d14a1e28 RD |
12341 | } |
12342 | { | |
12343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12344 | (arg1)->SetDirectory((wxString const &)*arg2); | |
12345 | ||
12346 | wxPyEndAllowThreads(__tstate); | |
12347 | if (PyErr_Occurred()) SWIG_fail; | |
12348 | } | |
12349 | Py_INCREF(Py_None); resultobj = Py_None; | |
12350 | { | |
12351 | if (temp2) | |
12352 | delete arg2; | |
12353 | } | |
12354 | return resultobj; | |
12355 | fail: | |
12356 | { | |
12357 | if (temp2) | |
12358 | delete arg2; | |
12359 | } | |
12360 | return NULL; | |
12361 | } | |
12362 | ||
12363 | ||
c32bde28 | 12364 | static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12365 | PyObject *resultobj; |
12366 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12367 | wxString *arg2 = 0 ; | |
ae8162c8 | 12368 | bool temp2 = false ; |
d14a1e28 RD |
12369 | PyObject * obj0 = 0 ; |
12370 | PyObject * obj1 = 0 ; | |
12371 | char *kwnames[] = { | |
12372 | (char *) "self",(char *) "name", NULL | |
12373 | }; | |
12374 | ||
12375 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12376 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12377 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12378 | { |
12379 | arg2 = wxString_in_helper(obj1); | |
12380 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 12381 | temp2 = true; |
d14a1e28 RD |
12382 | } |
12383 | { | |
12384 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12385 | (arg1)->SetFilename((wxString const &)*arg2); | |
12386 | ||
12387 | wxPyEndAllowThreads(__tstate); | |
12388 | if (PyErr_Occurred()) SWIG_fail; | |
12389 | } | |
12390 | Py_INCREF(Py_None); resultobj = Py_None; | |
12391 | { | |
12392 | if (temp2) | |
12393 | delete arg2; | |
12394 | } | |
12395 | return resultobj; | |
12396 | fail: | |
12397 | { | |
12398 | if (temp2) | |
12399 | delete arg2; | |
12400 | } | |
12401 | return NULL; | |
12402 | } | |
12403 | ||
12404 | ||
c32bde28 | 12405 | static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12406 | PyObject *resultobj; |
12407 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12408 | wxString *arg2 = 0 ; | |
ae8162c8 | 12409 | bool temp2 = false ; |
d14a1e28 RD |
12410 | PyObject * obj0 = 0 ; |
12411 | PyObject * obj1 = 0 ; | |
12412 | char *kwnames[] = { | |
12413 | (char *) "self",(char *) "wildCard", NULL | |
12414 | }; | |
12415 | ||
12416 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12417 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12418 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12419 | { |
12420 | arg2 = wxString_in_helper(obj1); | |
12421 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 12422 | temp2 = true; |
d14a1e28 RD |
12423 | } |
12424 | { | |
12425 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12426 | (arg1)->SetWildcard((wxString const &)*arg2); | |
12427 | ||
12428 | wxPyEndAllowThreads(__tstate); | |
12429 | if (PyErr_Occurred()) SWIG_fail; | |
12430 | } | |
12431 | Py_INCREF(Py_None); resultobj = Py_None; | |
12432 | { | |
12433 | if (temp2) | |
12434 | delete arg2; | |
12435 | } | |
12436 | return resultobj; | |
12437 | fail: | |
12438 | { | |
12439 | if (temp2) | |
12440 | delete arg2; | |
12441 | } | |
12442 | return NULL; | |
12443 | } | |
12444 | ||
12445 | ||
c32bde28 | 12446 | static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12447 | PyObject *resultobj; |
12448 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12449 | long arg2 ; | |
12450 | PyObject * obj0 = 0 ; | |
994141e6 | 12451 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12452 | char *kwnames[] = { |
12453 | (char *) "self",(char *) "style", NULL | |
12454 | }; | |
12455 | ||
994141e6 | 12456 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
12457 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12458 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 12459 | arg2 = (long)SWIG_As_long(obj1); |
15afbcd0 | 12460 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
12461 | { |
12462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12463 | (arg1)->SetStyle(arg2); | |
12464 | ||
12465 | wxPyEndAllowThreads(__tstate); | |
12466 | if (PyErr_Occurred()) SWIG_fail; | |
12467 | } | |
12468 | Py_INCREF(Py_None); resultobj = Py_None; | |
12469 | return resultobj; | |
12470 | fail: | |
12471 | return NULL; | |
12472 | } | |
12473 | ||
12474 | ||
c32bde28 | 12475 | static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12476 | PyObject *resultobj; |
12477 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12478 | int arg2 ; | |
12479 | PyObject * obj0 = 0 ; | |
994141e6 | 12480 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12481 | char *kwnames[] = { |
12482 | (char *) "self",(char *) "filterIndex", NULL | |
12483 | }; | |
12484 | ||
994141e6 | 12485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
12486 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12487 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 12488 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 12489 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
12490 | { |
12491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12492 | (arg1)->SetFilterIndex(arg2); | |
12493 | ||
12494 | wxPyEndAllowThreads(__tstate); | |
12495 | if (PyErr_Occurred()) SWIG_fail; | |
12496 | } | |
12497 | Py_INCREF(Py_None); resultobj = Py_None; | |
12498 | return resultobj; | |
12499 | fail: | |
12500 | return NULL; | |
12501 | } | |
12502 | ||
12503 | ||
c32bde28 | 12504 | static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12505 | PyObject *resultobj; |
12506 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12507 | wxString result; | |
12508 | PyObject * obj0 = 0 ; | |
12509 | char *kwnames[] = { | |
12510 | (char *) "self", NULL | |
12511 | }; | |
12512 | ||
12513 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12514 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12515 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12516 | { |
12517 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12518 | result = ((wxFileDialog const *)arg1)->GetMessage(); | |
12519 | ||
12520 | wxPyEndAllowThreads(__tstate); | |
12521 | if (PyErr_Occurred()) SWIG_fail; | |
12522 | } | |
12523 | { | |
12524 | #if wxUSE_UNICODE | |
12525 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12526 | #else | |
12527 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12528 | #endif | |
12529 | } | |
12530 | return resultobj; | |
12531 | fail: | |
12532 | return NULL; | |
12533 | } | |
12534 | ||
12535 | ||
c32bde28 | 12536 | static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12537 | PyObject *resultobj; |
12538 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12539 | wxString result; | |
12540 | PyObject * obj0 = 0 ; | |
12541 | char *kwnames[] = { | |
12542 | (char *) "self", NULL | |
12543 | }; | |
12544 | ||
12545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12546 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12547 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12548 | { |
12549 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12550 | result = ((wxFileDialog const *)arg1)->GetPath(); | |
12551 | ||
12552 | wxPyEndAllowThreads(__tstate); | |
12553 | if (PyErr_Occurred()) SWIG_fail; | |
12554 | } | |
12555 | { | |
12556 | #if wxUSE_UNICODE | |
12557 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12558 | #else | |
12559 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12560 | #endif | |
12561 | } | |
12562 | return resultobj; | |
12563 | fail: | |
12564 | return NULL; | |
12565 | } | |
12566 | ||
12567 | ||
c32bde28 | 12568 | static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12569 | PyObject *resultobj; |
12570 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12571 | wxString result; | |
12572 | PyObject * obj0 = 0 ; | |
12573 | char *kwnames[] = { | |
12574 | (char *) "self", NULL | |
12575 | }; | |
12576 | ||
12577 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12578 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12579 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12580 | { |
12581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12582 | result = ((wxFileDialog const *)arg1)->GetDirectory(); | |
12583 | ||
12584 | wxPyEndAllowThreads(__tstate); | |
12585 | if (PyErr_Occurred()) SWIG_fail; | |
12586 | } | |
12587 | { | |
12588 | #if wxUSE_UNICODE | |
12589 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12590 | #else | |
12591 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12592 | #endif | |
12593 | } | |
12594 | return resultobj; | |
12595 | fail: | |
12596 | return NULL; | |
12597 | } | |
12598 | ||
12599 | ||
c32bde28 | 12600 | static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12601 | PyObject *resultobj; |
12602 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12603 | wxString result; | |
12604 | PyObject * obj0 = 0 ; | |
12605 | char *kwnames[] = { | |
12606 | (char *) "self", NULL | |
12607 | }; | |
12608 | ||
12609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12610 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12611 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12612 | { |
12613 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12614 | result = ((wxFileDialog const *)arg1)->GetFilename(); | |
12615 | ||
12616 | wxPyEndAllowThreads(__tstate); | |
12617 | if (PyErr_Occurred()) SWIG_fail; | |
12618 | } | |
12619 | { | |
12620 | #if wxUSE_UNICODE | |
12621 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12622 | #else | |
12623 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12624 | #endif | |
12625 | } | |
12626 | return resultobj; | |
12627 | fail: | |
12628 | return NULL; | |
12629 | } | |
12630 | ||
12631 | ||
c32bde28 | 12632 | static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12633 | PyObject *resultobj; |
12634 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12635 | wxString result; | |
12636 | PyObject * obj0 = 0 ; | |
12637 | char *kwnames[] = { | |
12638 | (char *) "self", NULL | |
12639 | }; | |
12640 | ||
12641 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12642 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12643 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12644 | { |
12645 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12646 | result = ((wxFileDialog const *)arg1)->GetWildcard(); | |
12647 | ||
12648 | wxPyEndAllowThreads(__tstate); | |
12649 | if (PyErr_Occurred()) SWIG_fail; | |
12650 | } | |
12651 | { | |
12652 | #if wxUSE_UNICODE | |
12653 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12654 | #else | |
12655 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12656 | #endif | |
12657 | } | |
12658 | return resultobj; | |
12659 | fail: | |
12660 | return NULL; | |
12661 | } | |
12662 | ||
12663 | ||
c32bde28 | 12664 | static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12665 | PyObject *resultobj; |
12666 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12667 | long result; | |
12668 | PyObject * obj0 = 0 ; | |
12669 | char *kwnames[] = { | |
12670 | (char *) "self", NULL | |
12671 | }; | |
12672 | ||
12673 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12674 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12675 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12676 | { |
12677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12678 | result = (long)((wxFileDialog const *)arg1)->GetStyle(); | |
12679 | ||
12680 | wxPyEndAllowThreads(__tstate); | |
12681 | if (PyErr_Occurred()) SWIG_fail; | |
12682 | } | |
c32bde28 | 12683 | resultobj = SWIG_From_long((long)result); |
d14a1e28 RD |
12684 | return resultobj; |
12685 | fail: | |
12686 | return NULL; | |
12687 | } | |
12688 | ||
12689 | ||
c32bde28 | 12690 | static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12691 | PyObject *resultobj; |
12692 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12693 | int result; | |
12694 | PyObject * obj0 = 0 ; | |
12695 | char *kwnames[] = { | |
12696 | (char *) "self", NULL | |
12697 | }; | |
12698 | ||
12699 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12700 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12701 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12702 | { |
12703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12704 | result = (int)((wxFileDialog const *)arg1)->GetFilterIndex(); | |
12705 | ||
12706 | wxPyEndAllowThreads(__tstate); | |
12707 | if (PyErr_Occurred()) SWIG_fail; | |
12708 | } | |
c32bde28 | 12709 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
12710 | return resultobj; |
12711 | fail: | |
12712 | return NULL; | |
12713 | } | |
12714 | ||
12715 | ||
c32bde28 | 12716 | static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12717 | PyObject *resultobj; |
12718 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12719 | PyObject *result; | |
12720 | PyObject * obj0 = 0 ; | |
12721 | char *kwnames[] = { | |
12722 | (char *) "self", NULL | |
12723 | }; | |
12724 | ||
12725 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12726 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12727 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12728 | { |
12729 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12730 | result = (PyObject *)wxFileDialog_GetFilenames(arg1); | |
12731 | ||
12732 | wxPyEndAllowThreads(__tstate); | |
12733 | if (PyErr_Occurred()) SWIG_fail; | |
12734 | } | |
12735 | resultobj = result; | |
12736 | return resultobj; | |
12737 | fail: | |
12738 | return NULL; | |
12739 | } | |
12740 | ||
12741 | ||
c32bde28 | 12742 | static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12743 | PyObject *resultobj; |
12744 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12745 | PyObject *result; | |
12746 | PyObject * obj0 = 0 ; | |
12747 | char *kwnames[] = { | |
12748 | (char *) "self", NULL | |
12749 | }; | |
12750 | ||
12751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12752 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12753 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12754 | { |
12755 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12756 | result = (PyObject *)wxFileDialog_GetPaths(arg1); | |
12757 | ||
12758 | wxPyEndAllowThreads(__tstate); | |
12759 | if (PyErr_Occurred()) SWIG_fail; | |
12760 | } | |
12761 | resultobj = result; | |
12762 | return resultobj; | |
12763 | fail: | |
12764 | return NULL; | |
12765 | } | |
12766 | ||
12767 | ||
c32bde28 | 12768 | static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
12769 | PyObject *obj; |
12770 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12771 | SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj); | |
12772 | Py_INCREF(obj); | |
12773 | return Py_BuildValue((char *)""); | |
12774 | } | |
c32bde28 | 12775 | static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12776 | PyObject *resultobj; |
12777 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12778 | wxString *arg2 = 0 ; | |
12779 | wxString *arg3 = 0 ; | |
4d5c3d91 | 12780 | int arg4 = (int) 0 ; |
248ed943 | 12781 | wxString *arg5 = (wxString *) NULL ; |
d14a1e28 RD |
12782 | long arg6 = (long) wxCHOICEDLG_STYLE ; |
12783 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
12784 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
12785 | wxMultiChoiceDialog *result; | |
ae8162c8 RD |
12786 | bool temp2 = false ; |
12787 | bool temp3 = false ; | |
4d5c3d91 | 12788 | wxPoint temp6 ; |
d14a1e28 RD |
12789 | PyObject * obj0 = 0 ; |
12790 | PyObject * obj1 = 0 ; | |
12791 | PyObject * obj2 = 0 ; | |
994141e6 | 12792 | PyObject * obj3 = 0 ; |
d14a1e28 | 12793 | PyObject * obj4 = 0 ; |
994141e6 | 12794 | PyObject * obj5 = 0 ; |
d14a1e28 | 12795 | char *kwnames[] = { |
4d5c3d91 | 12796 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL |
d14a1e28 RD |
12797 | }; |
12798 | ||
4d5c3d91 | 12799 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
12800 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
12801 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12802 | { |
12803 | arg2 = wxString_in_helper(obj1); | |
12804 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 12805 | temp2 = true; |
d14a1e28 RD |
12806 | } |
12807 | { | |
12808 | arg3 = wxString_in_helper(obj2); | |
12809 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 12810 | temp3 = true; |
d14a1e28 | 12811 | } |
4d5c3d91 RD |
12812 | if (obj3) { |
12813 | { | |
12814 | arg4 = PyList_Size(obj3); | |
12815 | arg5 = wxString_LIST_helper(obj3); | |
12816 | if (arg5 == NULL) SWIG_fail; | |
12817 | } | |
7eae615b | 12818 | } |
4d5c3d91 | 12819 | if (obj4) { |
c32bde28 | 12820 | arg6 = (long)SWIG_As_long(obj4); |
15afbcd0 | 12821 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 12822 | } |
4d5c3d91 | 12823 | if (obj5) { |
d14a1e28 | 12824 | { |
4d5c3d91 RD |
12825 | arg7 = &temp6; |
12826 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; | |
d14a1e28 RD |
12827 | } |
12828 | } | |
12829 | { | |
e3b71cb8 | 12830 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
12831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
12832 | result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
12833 | ||
12834 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 12835 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 12836 | } |
15afbcd0 | 12837 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1); |
d14a1e28 RD |
12838 | { |
12839 | if (temp2) | |
12840 | delete arg2; | |
12841 | } | |
12842 | { | |
12843 | if (temp3) | |
12844 | delete arg3; | |
12845 | } | |
7eae615b | 12846 | { |
4d5c3d91 | 12847 | if (arg5) delete [] arg5; |
7eae615b | 12848 | } |
d14a1e28 RD |
12849 | return resultobj; |
12850 | fail: | |
12851 | { | |
12852 | if (temp2) | |
12853 | delete arg2; | |
12854 | } | |
12855 | { | |
12856 | if (temp3) | |
12857 | delete arg3; | |
12858 | } | |
7eae615b | 12859 | { |
4d5c3d91 | 12860 | if (arg5) delete [] arg5; |
7eae615b | 12861 | } |
d14a1e28 RD |
12862 | return NULL; |
12863 | } | |
12864 | ||
12865 | ||
c32bde28 | 12866 | static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12867 | PyObject *resultobj; |
12868 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
12869 | wxArrayInt *arg2 = 0 ; | |
ae8162c8 | 12870 | bool temp2 = false ; |
d14a1e28 RD |
12871 | PyObject * obj0 = 0 ; |
12872 | PyObject * obj1 = 0 ; | |
12873 | char *kwnames[] = { | |
12874 | (char *) "self",(char *) "selections", NULL | |
12875 | }; | |
12876 | ||
12877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12878 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog, |
12879 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12880 | { |
12881 | if (! PySequence_Check(obj1)) { | |
12882 | PyErr_SetString(PyExc_TypeError, "Sequence of integers expected."); | |
12883 | SWIG_fail; | |
12884 | } | |
12885 | arg2 = new wxArrayInt; | |
ae8162c8 | 12886 | temp2 = true; |
d14a1e28 RD |
12887 | int i, len=PySequence_Length(obj1); |
12888 | for (i=0; i<len; i++) { | |
12889 | PyObject* item = PySequence_GetItem(obj1, i); | |
12890 | PyObject* number = PyNumber_Int(item); | |
12891 | arg2->Add(PyInt_AS_LONG(number)); | |
12892 | Py_DECREF(item); | |
12893 | Py_DECREF(number); | |
12894 | } | |
12895 | } | |
12896 | { | |
12897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12898 | (arg1)->SetSelections((wxArrayInt const &)*arg2); | |
12899 | ||
12900 | wxPyEndAllowThreads(__tstate); | |
12901 | if (PyErr_Occurred()) SWIG_fail; | |
12902 | } | |
12903 | Py_INCREF(Py_None); resultobj = Py_None; | |
12904 | { | |
3adfb63b | 12905 | if (temp2) delete arg2; |
d14a1e28 RD |
12906 | } |
12907 | return resultobj; | |
12908 | fail: | |
12909 | { | |
3adfb63b | 12910 | if (temp2) delete arg2; |
d14a1e28 RD |
12911 | } |
12912 | return NULL; | |
12913 | } | |
12914 | ||
12915 | ||
c32bde28 | 12916 | static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12917 | PyObject *resultobj; |
12918 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
12919 | PyObject *result; | |
12920 | PyObject * obj0 = 0 ; | |
12921 | char *kwnames[] = { | |
12922 | (char *) "self", NULL | |
12923 | }; | |
12924 | ||
12925 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12926 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog, |
12927 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12928 | { |
12929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12930 | result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1); | |
12931 | ||
12932 | wxPyEndAllowThreads(__tstate); | |
12933 | if (PyErr_Occurred()) SWIG_fail; | |
12934 | } | |
12935 | resultobj = result; | |
12936 | return resultobj; | |
12937 | fail: | |
12938 | return NULL; | |
12939 | } | |
12940 | ||
12941 | ||
c32bde28 | 12942 | static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
12943 | PyObject *obj; |
12944 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12945 | SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj); | |
12946 | Py_INCREF(obj); | |
12947 | return Py_BuildValue((char *)""); | |
12948 | } | |
c32bde28 | 12949 | static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12950 | PyObject *resultobj; |
12951 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12952 | wxString *arg2 = 0 ; | |
12953 | wxString *arg3 = 0 ; | |
12954 | int arg4 ; | |
12955 | wxString *arg5 = (wxString *) 0 ; | |
12956 | long arg6 = (long) wxCHOICEDLG_STYLE ; | |
12957 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
12958 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
12959 | wxSingleChoiceDialog *result; | |
ae8162c8 RD |
12960 | bool temp2 = false ; |
12961 | bool temp3 = false ; | |
d14a1e28 RD |
12962 | wxPoint temp6 ; |
12963 | PyObject * obj0 = 0 ; | |
12964 | PyObject * obj1 = 0 ; | |
12965 | PyObject * obj2 = 0 ; | |
12966 | PyObject * obj3 = 0 ; | |
994141e6 | 12967 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
12968 | PyObject * obj5 = 0 ; |
12969 | char *kwnames[] = { | |
12970 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL | |
12971 | }; | |
12972 | ||
994141e6 | 12973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
12974 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
12975 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12976 | { |
12977 | arg2 = wxString_in_helper(obj1); | |
12978 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 12979 | temp2 = true; |
d14a1e28 RD |
12980 | } |
12981 | { | |
12982 | arg3 = wxString_in_helper(obj2); | |
12983 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 12984 | temp3 = true; |
d14a1e28 RD |
12985 | } |
12986 | { | |
12987 | arg4 = PyList_Size(obj3); | |
12988 | arg5 = wxString_LIST_helper(obj3); | |
12989 | if (arg5 == NULL) SWIG_fail; | |
12990 | } | |
994141e6 | 12991 | if (obj4) { |
c32bde28 | 12992 | arg6 = (long)SWIG_As_long(obj4); |
15afbcd0 | 12993 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 12994 | } |
d14a1e28 RD |
12995 | if (obj5) { |
12996 | { | |
12997 | arg7 = &temp6; | |
12998 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; | |
12999 | } | |
13000 | } | |
13001 | { | |
e3b71cb8 | 13002 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
13003 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13004 | result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
13005 | ||
13006 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 13007 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 13008 | } |
15afbcd0 | 13009 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1); |
d14a1e28 RD |
13010 | { |
13011 | if (temp2) | |
13012 | delete arg2; | |
13013 | } | |
13014 | { | |
13015 | if (temp3) | |
13016 | delete arg3; | |
13017 | } | |
13018 | { | |
13019 | if (arg5) delete [] arg5; | |
13020 | } | |
13021 | return resultobj; | |
13022 | fail: | |
13023 | { | |
13024 | if (temp2) | |
13025 | delete arg2; | |
13026 | } | |
13027 | { | |
13028 | if (temp3) | |
13029 | delete arg3; | |
13030 | } | |
13031 | { | |
13032 | if (arg5) delete [] arg5; | |
13033 | } | |
13034 | return NULL; | |
13035 | } | |
13036 | ||
13037 | ||
c32bde28 | 13038 | static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13039 | PyObject *resultobj; |
13040 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
13041 | int result; | |
13042 | PyObject * obj0 = 0 ; | |
13043 | char *kwnames[] = { | |
13044 | (char *) "self", NULL | |
13045 | }; | |
13046 | ||
13047 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13048 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog, |
13049 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13050 | { |
13051 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13052 | result = (int)(arg1)->GetSelection(); | |
13053 | ||
13054 | wxPyEndAllowThreads(__tstate); | |
13055 | if (PyErr_Occurred()) SWIG_fail; | |
13056 | } | |
c32bde28 | 13057 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
13058 | return resultobj; |
13059 | fail: | |
13060 | return NULL; | |
13061 | } | |
13062 | ||
13063 | ||
c32bde28 | 13064 | static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13065 | PyObject *resultobj; |
13066 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
13067 | wxString result; | |
13068 | PyObject * obj0 = 0 ; | |
13069 | char *kwnames[] = { | |
13070 | (char *) "self", NULL | |
13071 | }; | |
13072 | ||
13073 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13074 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog, |
13075 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13076 | { |
13077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13078 | result = (arg1)->GetStringSelection(); | |
13079 | ||
13080 | wxPyEndAllowThreads(__tstate); | |
13081 | if (PyErr_Occurred()) SWIG_fail; | |
13082 | } | |
13083 | { | |
13084 | #if wxUSE_UNICODE | |
13085 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13086 | #else | |
13087 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13088 | #endif | |
13089 | } | |
13090 | return resultobj; | |
13091 | fail: | |
13092 | return NULL; | |
13093 | } | |
13094 | ||
13095 | ||
c32bde28 | 13096 | static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13097 | PyObject *resultobj; |
13098 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
13099 | int arg2 ; | |
13100 | PyObject * obj0 = 0 ; | |
994141e6 | 13101 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13102 | char *kwnames[] = { |
13103 | (char *) "self",(char *) "sel", NULL | |
13104 | }; | |
13105 | ||
994141e6 | 13106 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13107 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog, |
13108 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 13109 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13110 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13111 | { |
13112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13113 | (arg1)->SetSelection(arg2); | |
13114 | ||
13115 | wxPyEndAllowThreads(__tstate); | |
13116 | if (PyErr_Occurred()) SWIG_fail; | |
13117 | } | |
13118 | Py_INCREF(Py_None); resultobj = Py_None; | |
13119 | return resultobj; | |
13120 | fail: | |
13121 | return NULL; | |
13122 | } | |
13123 | ||
13124 | ||
c32bde28 | 13125 | static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
13126 | PyObject *obj; |
13127 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13128 | SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj); | |
13129 | Py_INCREF(obj); | |
13130 | return Py_BuildValue((char *)""); | |
13131 | } | |
c32bde28 | 13132 | static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13133 | PyObject *resultobj; |
13134 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13135 | wxString *arg2 = 0 ; | |
13136 | wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ; | |
13137 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13138 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
13139 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
13140 | long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
13141 | wxPoint const &arg6_defvalue = wxDefaultPosition ; | |
13142 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
13143 | wxTextEntryDialog *result; | |
ae8162c8 RD |
13144 | bool temp2 = false ; |
13145 | bool temp3 = false ; | |
13146 | bool temp4 = false ; | |
d14a1e28 RD |
13147 | wxPoint temp6 ; |
13148 | PyObject * obj0 = 0 ; | |
13149 | PyObject * obj1 = 0 ; | |
13150 | PyObject * obj2 = 0 ; | |
13151 | PyObject * obj3 = 0 ; | |
994141e6 | 13152 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
13153 | PyObject * obj5 = 0 ; |
13154 | char *kwnames[] = { | |
13155 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL | |
13156 | }; | |
13157 | ||
994141e6 | 13158 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
13159 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
13160 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13161 | { |
13162 | arg2 = wxString_in_helper(obj1); | |
13163 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 13164 | temp2 = true; |
d14a1e28 RD |
13165 | } |
13166 | if (obj2) { | |
13167 | { | |
13168 | arg3 = wxString_in_helper(obj2); | |
13169 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 13170 | temp3 = true; |
d14a1e28 RD |
13171 | } |
13172 | } | |
13173 | if (obj3) { | |
13174 | { | |
13175 | arg4 = wxString_in_helper(obj3); | |
13176 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 13177 | temp4 = true; |
d14a1e28 RD |
13178 | } |
13179 | } | |
994141e6 | 13180 | if (obj4) { |
c32bde28 | 13181 | arg5 = (long)SWIG_As_long(obj4); |
15afbcd0 | 13182 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 13183 | } |
d14a1e28 RD |
13184 | if (obj5) { |
13185 | { | |
13186 | arg6 = &temp6; | |
13187 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
13188 | } | |
13189 | } | |
13190 | { | |
e3b71cb8 | 13191 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
13192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13193 | result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6); | |
13194 | ||
13195 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 13196 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 13197 | } |
15afbcd0 | 13198 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1); |
d14a1e28 RD |
13199 | { |
13200 | if (temp2) | |
13201 | delete arg2; | |
13202 | } | |
13203 | { | |
13204 | if (temp3) | |
13205 | delete arg3; | |
13206 | } | |
13207 | { | |
13208 | if (temp4) | |
13209 | delete arg4; | |
13210 | } | |
13211 | return resultobj; | |
13212 | fail: | |
13213 | { | |
13214 | if (temp2) | |
13215 | delete arg2; | |
13216 | } | |
13217 | { | |
13218 | if (temp3) | |
13219 | delete arg3; | |
13220 | } | |
13221 | { | |
13222 | if (temp4) | |
13223 | delete arg4; | |
13224 | } | |
13225 | return NULL; | |
13226 | } | |
13227 | ||
13228 | ||
c32bde28 | 13229 | static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13230 | PyObject *resultobj; |
13231 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
13232 | wxString result; | |
13233 | PyObject * obj0 = 0 ; | |
13234 | char *kwnames[] = { | |
13235 | (char *) "self", NULL | |
13236 | }; | |
13237 | ||
13238 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13239 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog, |
13240 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13241 | { |
13242 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13243 | result = (arg1)->GetValue(); | |
13244 | ||
13245 | wxPyEndAllowThreads(__tstate); | |
13246 | if (PyErr_Occurred()) SWIG_fail; | |
13247 | } | |
13248 | { | |
13249 | #if wxUSE_UNICODE | |
13250 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13251 | #else | |
13252 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13253 | #endif | |
13254 | } | |
13255 | return resultobj; | |
13256 | fail: | |
13257 | return NULL; | |
13258 | } | |
13259 | ||
13260 | ||
c32bde28 | 13261 | static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13262 | PyObject *resultobj; |
13263 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
13264 | wxString *arg2 = 0 ; | |
ae8162c8 | 13265 | bool temp2 = false ; |
d14a1e28 RD |
13266 | PyObject * obj0 = 0 ; |
13267 | PyObject * obj1 = 0 ; | |
13268 | char *kwnames[] = { | |
13269 | (char *) "self",(char *) "value", NULL | |
13270 | }; | |
13271 | ||
13272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13273 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog, |
13274 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13275 | { |
13276 | arg2 = wxString_in_helper(obj1); | |
13277 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 13278 | temp2 = true; |
d14a1e28 RD |
13279 | } |
13280 | { | |
13281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13282 | (arg1)->SetValue((wxString const &)*arg2); | |
13283 | ||
13284 | wxPyEndAllowThreads(__tstate); | |
13285 | if (PyErr_Occurred()) SWIG_fail; | |
13286 | } | |
13287 | Py_INCREF(Py_None); resultobj = Py_None; | |
13288 | { | |
13289 | if (temp2) | |
13290 | delete arg2; | |
13291 | } | |
13292 | return resultobj; | |
13293 | fail: | |
13294 | { | |
13295 | if (temp2) | |
13296 | delete arg2; | |
13297 | } | |
13298 | return NULL; | |
13299 | } | |
13300 | ||
13301 | ||
c32bde28 | 13302 | static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
13303 | PyObject *obj; |
13304 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13305 | SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj); | |
13306 | Py_INCREF(obj); | |
13307 | return Py_BuildValue((char *)""); | |
13308 | } | |
c32bde28 | 13309 | static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13310 | PyObject *resultobj; |
13311 | wxFontData *result; | |
13312 | char *kwnames[] = { | |
13313 | NULL | |
13314 | }; | |
13315 | ||
13316 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail; | |
13317 | { | |
13318 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13319 | result = (wxFontData *)new wxFontData(); | |
13320 | ||
13321 | wxPyEndAllowThreads(__tstate); | |
13322 | if (PyErr_Occurred()) SWIG_fail; | |
13323 | } | |
15afbcd0 | 13324 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1); |
d14a1e28 RD |
13325 | return resultobj; |
13326 | fail: | |
13327 | return NULL; | |
13328 | } | |
13329 | ||
13330 | ||
c32bde28 | 13331 | static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13332 | PyObject *resultobj; |
13333 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13334 | PyObject * obj0 = 0 ; | |
13335 | char *kwnames[] = { | |
13336 | (char *) "self", NULL | |
13337 | }; | |
13338 | ||
13339 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13340 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13341 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13342 | { |
13343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13344 | delete arg1; | |
13345 | ||
13346 | wxPyEndAllowThreads(__tstate); | |
13347 | if (PyErr_Occurred()) SWIG_fail; | |
13348 | } | |
13349 | Py_INCREF(Py_None); resultobj = Py_None; | |
13350 | return resultobj; | |
13351 | fail: | |
13352 | return NULL; | |
13353 | } | |
13354 | ||
13355 | ||
c32bde28 | 13356 | static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13357 | PyObject *resultobj; |
13358 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13359 | bool arg2 ; | |
13360 | PyObject * obj0 = 0 ; | |
13361 | PyObject * obj1 = 0 ; | |
13362 | char *kwnames[] = { | |
13363 | (char *) "self",(char *) "enable", NULL | |
13364 | }; | |
13365 | ||
13366 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13367 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13368 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 13369 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 13370 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13371 | { |
13372 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13373 | (arg1)->EnableEffects(arg2); | |
13374 | ||
13375 | wxPyEndAllowThreads(__tstate); | |
13376 | if (PyErr_Occurred()) SWIG_fail; | |
13377 | } | |
13378 | Py_INCREF(Py_None); resultobj = Py_None; | |
13379 | return resultobj; | |
13380 | fail: | |
13381 | return NULL; | |
13382 | } | |
13383 | ||
13384 | ||
c32bde28 | 13385 | static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13386 | PyObject *resultobj; |
13387 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13388 | bool result; | |
13389 | PyObject * obj0 = 0 ; | |
13390 | char *kwnames[] = { | |
13391 | (char *) "self", NULL | |
13392 | }; | |
13393 | ||
13394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13395 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13396 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13397 | { |
13398 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13399 | result = (bool)(arg1)->GetAllowSymbols(); | |
13400 | ||
13401 | wxPyEndAllowThreads(__tstate); | |
13402 | if (PyErr_Occurred()) SWIG_fail; | |
13403 | } | |
4f89f6a3 RD |
13404 | { |
13405 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13406 | } | |
d14a1e28 RD |
13407 | return resultobj; |
13408 | fail: | |
13409 | return NULL; | |
13410 | } | |
13411 | ||
13412 | ||
c32bde28 | 13413 | static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13414 | PyObject *resultobj; |
13415 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13416 | wxColour result; | |
13417 | PyObject * obj0 = 0 ; | |
13418 | char *kwnames[] = { | |
13419 | (char *) "self", NULL | |
13420 | }; | |
13421 | ||
13422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13423 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13424 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13425 | { |
13426 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13427 | result = (arg1)->GetColour(); | |
13428 | ||
13429 | wxPyEndAllowThreads(__tstate); | |
13430 | if (PyErr_Occurred()) SWIG_fail; | |
13431 | } | |
13432 | { | |
13433 | wxColour * resultptr; | |
13434 | resultptr = new wxColour((wxColour &) result); | |
15afbcd0 | 13435 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
13436 | } |
13437 | return resultobj; | |
13438 | fail: | |
13439 | return NULL; | |
13440 | } | |
13441 | ||
13442 | ||
c32bde28 | 13443 | static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13444 | PyObject *resultobj; |
13445 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13446 | wxFont result; | |
13447 | PyObject * obj0 = 0 ; | |
13448 | char *kwnames[] = { | |
13449 | (char *) "self", NULL | |
13450 | }; | |
13451 | ||
13452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13453 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13454 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13455 | { |
13456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13457 | result = (arg1)->GetChosenFont(); | |
13458 | ||
13459 | wxPyEndAllowThreads(__tstate); | |
13460 | if (PyErr_Occurred()) SWIG_fail; | |
13461 | } | |
13462 | { | |
13463 | wxFont * resultptr; | |
13464 | resultptr = new wxFont((wxFont &) result); | |
15afbcd0 | 13465 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); |
d14a1e28 RD |
13466 | } |
13467 | return resultobj; | |
13468 | fail: | |
13469 | return NULL; | |
13470 | } | |
13471 | ||
13472 | ||
c32bde28 | 13473 | static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13474 | PyObject *resultobj; |
13475 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13476 | bool result; | |
13477 | PyObject * obj0 = 0 ; | |
13478 | char *kwnames[] = { | |
13479 | (char *) "self", NULL | |
13480 | }; | |
13481 | ||
13482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13483 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13484 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13485 | { |
13486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13487 | result = (bool)(arg1)->GetEnableEffects(); | |
13488 | ||
13489 | wxPyEndAllowThreads(__tstate); | |
13490 | if (PyErr_Occurred()) SWIG_fail; | |
13491 | } | |
4f89f6a3 RD |
13492 | { |
13493 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13494 | } | |
d14a1e28 RD |
13495 | return resultobj; |
13496 | fail: | |
13497 | return NULL; | |
13498 | } | |
13499 | ||
13500 | ||
c32bde28 | 13501 | static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13502 | PyObject *resultobj; |
13503 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13504 | wxFont result; | |
13505 | PyObject * obj0 = 0 ; | |
13506 | char *kwnames[] = { | |
13507 | (char *) "self", NULL | |
13508 | }; | |
13509 | ||
13510 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13511 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13512 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13513 | { |
13514 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13515 | result = (arg1)->GetInitialFont(); | |
13516 | ||
13517 | wxPyEndAllowThreads(__tstate); | |
13518 | if (PyErr_Occurred()) SWIG_fail; | |
13519 | } | |
13520 | { | |
13521 | wxFont * resultptr; | |
13522 | resultptr = new wxFont((wxFont &) result); | |
15afbcd0 | 13523 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); |
d14a1e28 RD |
13524 | } |
13525 | return resultobj; | |
13526 | fail: | |
13527 | return NULL; | |
13528 | } | |
13529 | ||
13530 | ||
c32bde28 | 13531 | static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13532 | PyObject *resultobj; |
13533 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13534 | bool result; | |
13535 | PyObject * obj0 = 0 ; | |
13536 | char *kwnames[] = { | |
13537 | (char *) "self", NULL | |
13538 | }; | |
13539 | ||
13540 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13541 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13542 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13543 | { |
13544 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13545 | result = (bool)(arg1)->GetShowHelp(); | |
13546 | ||
13547 | wxPyEndAllowThreads(__tstate); | |
13548 | if (PyErr_Occurred()) SWIG_fail; | |
13549 | } | |
4f89f6a3 RD |
13550 | { |
13551 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13552 | } | |
d14a1e28 RD |
13553 | return resultobj; |
13554 | fail: | |
13555 | return NULL; | |
13556 | } | |
13557 | ||
13558 | ||
c32bde28 | 13559 | static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13560 | PyObject *resultobj; |
13561 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13562 | bool arg2 ; | |
13563 | PyObject * obj0 = 0 ; | |
13564 | PyObject * obj1 = 0 ; | |
13565 | char *kwnames[] = { | |
13566 | (char *) "self",(char *) "allowSymbols", NULL | |
13567 | }; | |
13568 | ||
13569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13570 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13571 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 13572 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 13573 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13574 | { |
13575 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13576 | (arg1)->SetAllowSymbols(arg2); | |
13577 | ||
13578 | wxPyEndAllowThreads(__tstate); | |
13579 | if (PyErr_Occurred()) SWIG_fail; | |
13580 | } | |
13581 | Py_INCREF(Py_None); resultobj = Py_None; | |
13582 | return resultobj; | |
13583 | fail: | |
13584 | return NULL; | |
13585 | } | |
13586 | ||
13587 | ||
c32bde28 | 13588 | static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13589 | PyObject *resultobj; |
13590 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13591 | wxFont *arg2 = 0 ; | |
13592 | PyObject * obj0 = 0 ; | |
13593 | PyObject * obj1 = 0 ; | |
13594 | char *kwnames[] = { | |
13595 | (char *) "self",(char *) "font", NULL | |
13596 | }; | |
13597 | ||
13598 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13599 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13600 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13601 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont, | |
13602 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
13603 | SWIG_fail; | |
d14a1e28 | 13604 | if (arg2 == NULL) { |
15afbcd0 RD |
13605 | PyErr_SetString(PyExc_TypeError,"null reference"); |
13606 | SWIG_fail; | |
d14a1e28 RD |
13607 | } |
13608 | { | |
13609 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13610 | (arg1)->SetChosenFont((wxFont const &)*arg2); | |
13611 | ||
13612 | wxPyEndAllowThreads(__tstate); | |
13613 | if (PyErr_Occurred()) SWIG_fail; | |
13614 | } | |
13615 | Py_INCREF(Py_None); resultobj = Py_None; | |
13616 | return resultobj; | |
13617 | fail: | |
13618 | return NULL; | |
13619 | } | |
13620 | ||
13621 | ||
c32bde28 | 13622 | static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13623 | PyObject *resultobj; |
13624 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13625 | wxColour *arg2 = 0 ; | |
13626 | wxColour temp2 ; | |
13627 | PyObject * obj0 = 0 ; | |
13628 | PyObject * obj1 = 0 ; | |
13629 | char *kwnames[] = { | |
13630 | (char *) "self",(char *) "colour", NULL | |
13631 | }; | |
13632 | ||
13633 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13634 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13635 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13636 | { |
13637 | arg2 = &temp2; | |
13638 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
13639 | } | |
13640 | { | |
13641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13642 | (arg1)->SetColour((wxColour const &)*arg2); | |
13643 | ||
13644 | wxPyEndAllowThreads(__tstate); | |
13645 | if (PyErr_Occurred()) SWIG_fail; | |
13646 | } | |
13647 | Py_INCREF(Py_None); resultobj = Py_None; | |
13648 | return resultobj; | |
13649 | fail: | |
13650 | return NULL; | |
13651 | } | |
13652 | ||
13653 | ||
c32bde28 | 13654 | static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13655 | PyObject *resultobj; |
13656 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13657 | wxFont *arg2 = 0 ; | |
13658 | PyObject * obj0 = 0 ; | |
13659 | PyObject * obj1 = 0 ; | |
13660 | char *kwnames[] = { | |
13661 | (char *) "self",(char *) "font", NULL | |
13662 | }; | |
13663 | ||
13664 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13665 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13666 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13667 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont, | |
13668 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
13669 | SWIG_fail; | |
d14a1e28 | 13670 | if (arg2 == NULL) { |
15afbcd0 RD |
13671 | PyErr_SetString(PyExc_TypeError,"null reference"); |
13672 | SWIG_fail; | |
d14a1e28 RD |
13673 | } |
13674 | { | |
13675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13676 | (arg1)->SetInitialFont((wxFont const &)*arg2); | |
13677 | ||
13678 | wxPyEndAllowThreads(__tstate); | |
13679 | if (PyErr_Occurred()) SWIG_fail; | |
13680 | } | |
13681 | Py_INCREF(Py_None); resultobj = Py_None; | |
13682 | return resultobj; | |
13683 | fail: | |
13684 | return NULL; | |
13685 | } | |
13686 | ||
13687 | ||
c32bde28 | 13688 | static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13689 | PyObject *resultobj; |
13690 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13691 | int arg2 ; | |
13692 | int arg3 ; | |
13693 | PyObject * obj0 = 0 ; | |
994141e6 RD |
13694 | PyObject * obj1 = 0 ; |
13695 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
13696 | char *kwnames[] = { |
13697 | (char *) "self",(char *) "min",(char *) "max", NULL | |
13698 | }; | |
13699 | ||
994141e6 | 13700 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
13701 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13702 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 13703 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13704 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 13705 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 13706 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13707 | { |
13708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13709 | (arg1)->SetRange(arg2,arg3); | |
13710 | ||
13711 | wxPyEndAllowThreads(__tstate); | |
13712 | if (PyErr_Occurred()) SWIG_fail; | |
13713 | } | |
13714 | Py_INCREF(Py_None); resultobj = Py_None; | |
13715 | return resultobj; | |
13716 | fail: | |
13717 | return NULL; | |
13718 | } | |
13719 | ||
13720 | ||
c32bde28 | 13721 | static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13722 | PyObject *resultobj; |
13723 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13724 | bool arg2 ; | |
13725 | PyObject * obj0 = 0 ; | |
13726 | PyObject * obj1 = 0 ; | |
13727 | char *kwnames[] = { | |
13728 | (char *) "self",(char *) "showHelp", NULL | |
13729 | }; | |
13730 | ||
13731 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13732 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13733 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 13734 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 13735 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13736 | { |
13737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13738 | (arg1)->SetShowHelp(arg2); | |
13739 | ||
13740 | wxPyEndAllowThreads(__tstate); | |
13741 | if (PyErr_Occurred()) SWIG_fail; | |
13742 | } | |
13743 | Py_INCREF(Py_None); resultobj = Py_None; | |
13744 | return resultobj; | |
13745 | fail: | |
13746 | return NULL; | |
13747 | } | |
13748 | ||
13749 | ||
c32bde28 | 13750 | static PyObject * FontData_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
13751 | PyObject *obj; |
13752 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13753 | SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj); | |
13754 | Py_INCREF(obj); | |
13755 | return Py_BuildValue((char *)""); | |
13756 | } | |
c32bde28 | 13757 | static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 13758 | PyObject *resultobj; |
e498079e RD |
13759 | wxWindow *arg1 = (wxWindow *) 0 ; |
13760 | wxFontData *arg2 = 0 ; | |
13761 | wxFontDialog *result; | |
d14a1e28 | 13762 | PyObject * obj0 = 0 ; |
e498079e | 13763 | PyObject * obj1 = 0 ; |
15afbcd0 RD |
13764 | char *kwnames[] = { |
13765 | (char *) "parent",(char *) "data", NULL | |
13766 | }; | |
d14a1e28 | 13767 | |
15afbcd0 RD |
13768 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail; |
13769 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
13770 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13771 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData, | |
13772 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
13773 | SWIG_fail; | |
e498079e | 13774 | if (arg2 == NULL) { |
15afbcd0 RD |
13775 | PyErr_SetString(PyExc_TypeError,"null reference"); |
13776 | SWIG_fail; | |
e498079e | 13777 | } |
d14a1e28 | 13778 | { |
e3b71cb8 | 13779 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 | 13780 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
e498079e | 13781 | result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2); |
d14a1e28 RD |
13782 | |
13783 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 13784 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 13785 | } |
15afbcd0 | 13786 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1); |
d14a1e28 RD |
13787 | return resultobj; |
13788 | fail: | |
13789 | return NULL; | |
13790 | } | |
13791 | ||
13792 | ||
c32bde28 | 13793 | static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13794 | PyObject *resultobj; |
13795 | wxFontDialog *arg1 = (wxFontDialog *) 0 ; | |
e498079e | 13796 | wxFontData *result; |
d14a1e28 RD |
13797 | PyObject * obj0 = 0 ; |
13798 | char *kwnames[] = { | |
13799 | (char *) "self", NULL | |
13800 | }; | |
13801 | ||
e498079e | 13802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
13803 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog, |
13804 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13805 | { |
13806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
e498079e RD |
13807 | { |
13808 | wxFontData &_result_ref = (arg1)->GetFontData(); | |
13809 | result = (wxFontData *) &_result_ref; | |
13810 | } | |
d14a1e28 RD |
13811 | |
13812 | wxPyEndAllowThreads(__tstate); | |
13813 | if (PyErr_Occurred()) SWIG_fail; | |
13814 | } | |
15afbcd0 | 13815 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0); |
d14a1e28 RD |
13816 | return resultobj; |
13817 | fail: | |
13818 | return NULL; | |
13819 | } | |
13820 | ||
13821 | ||
c32bde28 | 13822 | static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
13823 | PyObject *obj; |
13824 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13825 | SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj); | |
13826 | Py_INCREF(obj); | |
13827 | return Py_BuildValue((char *)""); | |
13828 | } | |
c32bde28 | 13829 | static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13830 | PyObject *resultobj; |
13831 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13832 | wxString *arg2 = 0 ; | |
13833 | wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ; | |
13834 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13835 | long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
13836 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
13837 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
13838 | wxMessageDialog *result; | |
ae8162c8 RD |
13839 | bool temp2 = false ; |
13840 | bool temp3 = false ; | |
d14a1e28 RD |
13841 | wxPoint temp5 ; |
13842 | PyObject * obj0 = 0 ; | |
13843 | PyObject * obj1 = 0 ; | |
13844 | PyObject * obj2 = 0 ; | |
994141e6 | 13845 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
13846 | PyObject * obj4 = 0 ; |
13847 | char *kwnames[] = { | |
13848 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL | |
13849 | }; | |
13850 | ||
994141e6 | 13851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
13852 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
13853 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13854 | { |
13855 | arg2 = wxString_in_helper(obj1); | |
13856 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 13857 | temp2 = true; |
d14a1e28 RD |
13858 | } |
13859 | if (obj2) { | |
13860 | { | |
13861 | arg3 = wxString_in_helper(obj2); | |
13862 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 13863 | temp3 = true; |
d14a1e28 RD |
13864 | } |
13865 | } | |
994141e6 | 13866 | if (obj3) { |
c32bde28 | 13867 | arg4 = (long)SWIG_As_long(obj3); |
15afbcd0 | 13868 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 13869 | } |
d14a1e28 RD |
13870 | if (obj4) { |
13871 | { | |
13872 | arg5 = &temp5; | |
13873 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
13874 | } | |
13875 | } | |
13876 | { | |
e3b71cb8 | 13877 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
13878 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13879 | result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5); | |
13880 | ||
13881 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 13882 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 13883 | } |
15afbcd0 | 13884 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1); |
d14a1e28 RD |
13885 | { |
13886 | if (temp2) | |
13887 | delete arg2; | |
13888 | } | |
13889 | { | |
13890 | if (temp3) | |
13891 | delete arg3; | |
13892 | } | |
13893 | return resultobj; | |
13894 | fail: | |
13895 | { | |
13896 | if (temp2) | |
13897 | delete arg2; | |
13898 | } | |
13899 | { | |
13900 | if (temp3) | |
13901 | delete arg3; | |
13902 | } | |
13903 | return NULL; | |
13904 | } | |
13905 | ||
13906 | ||
c32bde28 | 13907 | static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
13908 | PyObject *obj; |
13909 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13910 | SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj); | |
13911 | Py_INCREF(obj); | |
13912 | return Py_BuildValue((char *)""); | |
13913 | } | |
c32bde28 | 13914 | static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13915 | PyObject *resultobj; |
13916 | wxString *arg1 = 0 ; | |
13917 | wxString *arg2 = 0 ; | |
13918 | int arg3 = (int) 100 ; | |
13919 | wxWindow *arg4 = (wxWindow *) NULL ; | |
13920 | int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ; | |
13921 | wxProgressDialog *result; | |
ae8162c8 RD |
13922 | bool temp1 = false ; |
13923 | bool temp2 = false ; | |
d14a1e28 RD |
13924 | PyObject * obj0 = 0 ; |
13925 | PyObject * obj1 = 0 ; | |
994141e6 | 13926 | PyObject * obj2 = 0 ; |
d14a1e28 | 13927 | PyObject * obj3 = 0 ; |
994141e6 | 13928 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
13929 | char *kwnames[] = { |
13930 | (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL | |
13931 | }; | |
13932 | ||
994141e6 | 13933 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
d14a1e28 RD |
13934 | { |
13935 | arg1 = wxString_in_helper(obj0); | |
13936 | if (arg1 == NULL) SWIG_fail; | |
ae8162c8 | 13937 | temp1 = true; |
d14a1e28 RD |
13938 | } |
13939 | { | |
13940 | arg2 = wxString_in_helper(obj1); | |
13941 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 13942 | temp2 = true; |
d14a1e28 | 13943 | } |
994141e6 | 13944 | if (obj2) { |
c32bde28 | 13945 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 13946 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 13947 | } |
d14a1e28 | 13948 | if (obj3) { |
15afbcd0 RD |
13949 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow, |
13950 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 13951 | } |
994141e6 | 13952 | if (obj4) { |
c32bde28 | 13953 | arg5 = (int)SWIG_As_int(obj4); |
15afbcd0 | 13954 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 13955 | } |
d14a1e28 | 13956 | { |
e3b71cb8 | 13957 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
13958 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13959 | result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5); | |
13960 | ||
13961 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 13962 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 13963 | } |
15afbcd0 | 13964 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1); |
d14a1e28 RD |
13965 | { |
13966 | if (temp1) | |
13967 | delete arg1; | |
13968 | } | |
13969 | { | |
13970 | if (temp2) | |
13971 | delete arg2; | |
13972 | } | |
13973 | return resultobj; | |
13974 | fail: | |
13975 | { | |
13976 | if (temp1) | |
13977 | delete arg1; | |
13978 | } | |
13979 | { | |
13980 | if (temp2) | |
13981 | delete arg2; | |
13982 | } | |
13983 | return NULL; | |
13984 | } | |
13985 | ||
13986 | ||
c32bde28 | 13987 | static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13988 | PyObject *resultobj; |
13989 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
13990 | int arg2 ; | |
13991 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
13992 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13993 | bool result; | |
ae8162c8 | 13994 | bool temp3 = false ; |
d14a1e28 | 13995 | PyObject * obj0 = 0 ; |
994141e6 | 13996 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13997 | PyObject * obj2 = 0 ; |
13998 | char *kwnames[] = { | |
13999 | (char *) "self",(char *) "value",(char *) "newmsg", NULL | |
14000 | }; | |
14001 | ||
994141e6 | 14002 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
14003 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog, |
14004 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 14005 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 14006 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
14007 | if (obj2) { |
14008 | { | |
14009 | arg3 = wxString_in_helper(obj2); | |
14010 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 14011 | temp3 = true; |
d14a1e28 RD |
14012 | } |
14013 | } | |
14014 | { | |
14015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14016 | result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3); | |
14017 | ||
14018 | wxPyEndAllowThreads(__tstate); | |
14019 | if (PyErr_Occurred()) SWIG_fail; | |
14020 | } | |
4f89f6a3 RD |
14021 | { |
14022 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14023 | } | |
d14a1e28 RD |
14024 | { |
14025 | if (temp3) | |
14026 | delete arg3; | |
14027 | } | |
14028 | return resultobj; | |
14029 | fail: | |
14030 | { | |
14031 | if (temp3) | |
14032 | delete arg3; | |
14033 | } | |
14034 | return NULL; | |
14035 | } | |
14036 | ||
14037 | ||
c32bde28 | 14038 | static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14039 | PyObject *resultobj; |
14040 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
14041 | PyObject * obj0 = 0 ; | |
14042 | char *kwnames[] = { | |
14043 | (char *) "self", NULL | |
14044 | }; | |
14045 | ||
14046 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14047 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog, |
14048 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14049 | { |
14050 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14051 | (arg1)->Resume(); | |
14052 | ||
14053 | wxPyEndAllowThreads(__tstate); | |
14054 | if (PyErr_Occurred()) SWIG_fail; | |
14055 | } | |
14056 | Py_INCREF(Py_None); resultobj = Py_None; | |
14057 | return resultobj; | |
14058 | fail: | |
14059 | return NULL; | |
14060 | } | |
14061 | ||
14062 | ||
c32bde28 | 14063 | static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
14064 | PyObject *obj; |
14065 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14066 | SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj); | |
14067 | Py_INCREF(obj); | |
14068 | return Py_BuildValue((char *)""); | |
14069 | } | |
c32bde28 | 14070 | static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14071 | PyObject *resultobj; |
14072 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
14073 | int arg2 = (int) 0 ; | |
14074 | wxFindDialogEvent *result; | |
994141e6 RD |
14075 | PyObject * obj0 = 0 ; |
14076 | PyObject * obj1 = 0 ; | |
d14a1e28 RD |
14077 | char *kwnames[] = { |
14078 | (char *) "commandType",(char *) "id", NULL | |
14079 | }; | |
14080 | ||
994141e6 RD |
14081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail; |
14082 | if (obj0) { | |
c32bde28 | 14083 | arg1 = (wxEventType)SWIG_As_int(obj0); |
15afbcd0 | 14084 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 RD |
14085 | } |
14086 | if (obj1) { | |
c32bde28 | 14087 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 14088 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 14089 | } |
d14a1e28 RD |
14090 | { |
14091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14092 | result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2); | |
14093 | ||
14094 | wxPyEndAllowThreads(__tstate); | |
14095 | if (PyErr_Occurred()) SWIG_fail; | |
14096 | } | |
15afbcd0 | 14097 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1); |
d14a1e28 RD |
14098 | return resultobj; |
14099 | fail: | |
14100 | return NULL; | |
14101 | } | |
14102 | ||
14103 | ||
c32bde28 | 14104 | static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14105 | PyObject *resultobj; |
14106 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
14107 | int result; | |
14108 | PyObject * obj0 = 0 ; | |
14109 | char *kwnames[] = { | |
14110 | (char *) "self", NULL | |
14111 | }; | |
14112 | ||
14113 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14114 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
14115 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14116 | { |
14117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14118 | result = (int)(arg1)->GetFlags(); | |
14119 | ||
14120 | wxPyEndAllowThreads(__tstate); | |
14121 | if (PyErr_Occurred()) SWIG_fail; | |
14122 | } | |
c32bde28 | 14123 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14124 | return resultobj; |
14125 | fail: | |
14126 | return NULL; | |
14127 | } | |
14128 | ||
14129 | ||
c32bde28 | 14130 | static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14131 | PyObject *resultobj; |
14132 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
cc6dd355 | 14133 | wxString *result; |
d14a1e28 RD |
14134 | PyObject * obj0 = 0 ; |
14135 | char *kwnames[] = { | |
14136 | (char *) "self", NULL | |
14137 | }; | |
14138 | ||
14139 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14140 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
14141 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14142 | { |
14143 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
cc6dd355 RD |
14144 | { |
14145 | wxString const &_result_ref = (arg1)->GetFindString(); | |
14146 | result = (wxString *) &_result_ref; | |
14147 | } | |
d14a1e28 RD |
14148 | |
14149 | wxPyEndAllowThreads(__tstate); | |
14150 | if (PyErr_Occurred()) SWIG_fail; | |
14151 | } | |
14152 | { | |
14153 | #if wxUSE_UNICODE | |
cc6dd355 | 14154 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); |
d14a1e28 | 14155 | #else |
cc6dd355 | 14156 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); |
d14a1e28 RD |
14157 | #endif |
14158 | } | |
14159 | return resultobj; | |
14160 | fail: | |
14161 | return NULL; | |
14162 | } | |
14163 | ||
14164 | ||
c32bde28 | 14165 | static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14166 | PyObject *resultobj; |
14167 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
14168 | wxString *result; | |
14169 | PyObject * obj0 = 0 ; | |
14170 | char *kwnames[] = { | |
14171 | (char *) "self", NULL | |
14172 | }; | |
14173 | ||
14174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14175 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
14176 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14177 | { |
14178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14179 | { | |
14180 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
14181 | result = (wxString *) &_result_ref; | |
14182 | } | |
14183 | ||
14184 | wxPyEndAllowThreads(__tstate); | |
14185 | if (PyErr_Occurred()) SWIG_fail; | |
14186 | } | |
cc6dd355 RD |
14187 | { |
14188 | #if wxUSE_UNICODE | |
14189 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
14190 | #else | |
14191 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
14192 | #endif | |
14193 | } | |
d14a1e28 RD |
14194 | return resultobj; |
14195 | fail: | |
14196 | return NULL; | |
14197 | } | |
14198 | ||
14199 | ||
c32bde28 | 14200 | static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14201 | PyObject *resultobj; |
14202 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
14203 | wxFindReplaceDialog *result; | |
14204 | PyObject * obj0 = 0 ; | |
14205 | char *kwnames[] = { | |
14206 | (char *) "self", NULL | |
14207 | }; | |
14208 | ||
14209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14210 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
14211 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14212 | { |
14213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14214 | result = (wxFindReplaceDialog *)(arg1)->GetDialog(); | |
14215 | ||
14216 | wxPyEndAllowThreads(__tstate); | |
14217 | if (PyErr_Occurred()) SWIG_fail; | |
14218 | } | |
15afbcd0 | 14219 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0); |
d14a1e28 RD |
14220 | return resultobj; |
14221 | fail: | |
14222 | return NULL; | |
14223 | } | |
14224 | ||
14225 | ||
c32bde28 | 14226 | static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14227 | PyObject *resultobj; |
14228 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
14229 | int arg2 ; | |
14230 | PyObject * obj0 = 0 ; | |
994141e6 | 14231 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14232 | char *kwnames[] = { |
14233 | (char *) "self",(char *) "flags", NULL | |
14234 | }; | |
14235 | ||
994141e6 | 14236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
14237 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
14238 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 14239 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 14240 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
14241 | { |
14242 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14243 | (arg1)->SetFlags(arg2); | |
14244 | ||
14245 | wxPyEndAllowThreads(__tstate); | |
14246 | if (PyErr_Occurred()) SWIG_fail; | |
14247 | } | |
14248 | Py_INCREF(Py_None); resultobj = Py_None; | |
14249 | return resultobj; | |
14250 | fail: | |
14251 | return NULL; | |
14252 | } | |
14253 | ||
14254 | ||
c32bde28 | 14255 | static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14256 | PyObject *resultobj; |
14257 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
14258 | wxString *arg2 = 0 ; | |
ae8162c8 | 14259 | bool temp2 = false ; |
d14a1e28 RD |
14260 | PyObject * obj0 = 0 ; |
14261 | PyObject * obj1 = 0 ; | |
14262 | char *kwnames[] = { | |
14263 | (char *) "self",(char *) "str", NULL | |
14264 | }; | |
14265 | ||
14266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
14267 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
14268 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14269 | { |
14270 | arg2 = wxString_in_helper(obj1); | |
14271 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14272 | temp2 = true; |
d14a1e28 RD |
14273 | } |
14274 | { | |
14275 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14276 | (arg1)->SetFindString((wxString const &)*arg2); | |
14277 | ||
14278 | wxPyEndAllowThreads(__tstate); | |
14279 | if (PyErr_Occurred()) SWIG_fail; | |
14280 | } | |
14281 | Py_INCREF(Py_None); resultobj = Py_None; | |
14282 | { | |
14283 | if (temp2) | |
14284 | delete arg2; | |
14285 | } | |
14286 | return resultobj; | |
14287 | fail: | |
14288 | { | |
14289 | if (temp2) | |
14290 | delete arg2; | |
14291 | } | |
14292 | return NULL; | |
14293 | } | |
14294 | ||
14295 | ||
c32bde28 | 14296 | static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14297 | PyObject *resultobj; |
14298 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
14299 | wxString *arg2 = 0 ; | |
ae8162c8 | 14300 | bool temp2 = false ; |
d14a1e28 RD |
14301 | PyObject * obj0 = 0 ; |
14302 | PyObject * obj1 = 0 ; | |
14303 | char *kwnames[] = { | |
14304 | (char *) "self",(char *) "str", NULL | |
14305 | }; | |
14306 | ||
14307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
14308 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
14309 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14310 | { |
14311 | arg2 = wxString_in_helper(obj1); | |
14312 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14313 | temp2 = true; |
d14a1e28 RD |
14314 | } |
14315 | { | |
14316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14317 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
14318 | ||
14319 | wxPyEndAllowThreads(__tstate); | |
14320 | if (PyErr_Occurred()) SWIG_fail; | |
14321 | } | |
14322 | Py_INCREF(Py_None); resultobj = Py_None; | |
14323 | { | |
14324 | if (temp2) | |
14325 | delete arg2; | |
14326 | } | |
14327 | return resultobj; | |
14328 | fail: | |
14329 | { | |
14330 | if (temp2) | |
14331 | delete arg2; | |
14332 | } | |
14333 | return NULL; | |
14334 | } | |
14335 | ||
14336 | ||
c32bde28 | 14337 | static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
14338 | PyObject *obj; |
14339 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14340 | SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj); | |
14341 | Py_INCREF(obj); | |
14342 | return Py_BuildValue((char *)""); | |
14343 | } | |
c32bde28 | 14344 | static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14345 | PyObject *resultobj; |
14346 | int arg1 = (int) 0 ; | |
14347 | wxFindReplaceData *result; | |
994141e6 | 14348 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
14349 | char *kwnames[] = { |
14350 | (char *) "flags", NULL | |
14351 | }; | |
14352 | ||
994141e6 RD |
14353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail; |
14354 | if (obj0) { | |
c32bde28 | 14355 | arg1 = (int)SWIG_As_int(obj0); |
15afbcd0 | 14356 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 14357 | } |
d14a1e28 RD |
14358 | { |
14359 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14360 | result = (wxFindReplaceData *)new wxFindReplaceData(arg1); | |
14361 | ||
14362 | wxPyEndAllowThreads(__tstate); | |
14363 | if (PyErr_Occurred()) SWIG_fail; | |
14364 | } | |
15afbcd0 | 14365 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1); |
d14a1e28 RD |
14366 | return resultobj; |
14367 | fail: | |
14368 | return NULL; | |
14369 | } | |
14370 | ||
14371 | ||
c32bde28 | 14372 | static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14373 | PyObject *resultobj; |
14374 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14375 | PyObject * obj0 = 0 ; | |
14376 | char *kwnames[] = { | |
14377 | (char *) "self", NULL | |
14378 | }; | |
14379 | ||
14380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14381 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
14382 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14383 | { |
14384 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14385 | delete arg1; | |
14386 | ||
14387 | wxPyEndAllowThreads(__tstate); | |
14388 | if (PyErr_Occurred()) SWIG_fail; | |
14389 | } | |
14390 | Py_INCREF(Py_None); resultobj = Py_None; | |
14391 | return resultobj; | |
14392 | fail: | |
14393 | return NULL; | |
14394 | } | |
14395 | ||
14396 | ||
c32bde28 | 14397 | static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14398 | PyObject *resultobj; |
14399 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14400 | wxString *result; | |
14401 | PyObject * obj0 = 0 ; | |
14402 | char *kwnames[] = { | |
14403 | (char *) "self", NULL | |
14404 | }; | |
14405 | ||
14406 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14407 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
14408 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14409 | { |
14410 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14411 | { | |
14412 | wxString const &_result_ref = (arg1)->GetFindString(); | |
14413 | result = (wxString *) &_result_ref; | |
14414 | } | |
14415 | ||
14416 | wxPyEndAllowThreads(__tstate); | |
14417 | if (PyErr_Occurred()) SWIG_fail; | |
14418 | } | |
cc6dd355 RD |
14419 | { |
14420 | #if wxUSE_UNICODE | |
14421 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
14422 | #else | |
14423 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
14424 | #endif | |
14425 | } | |
d14a1e28 RD |
14426 | return resultobj; |
14427 | fail: | |
14428 | return NULL; | |
14429 | } | |
14430 | ||
14431 | ||
c32bde28 | 14432 | static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14433 | PyObject *resultobj; |
14434 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14435 | wxString *result; | |
14436 | PyObject * obj0 = 0 ; | |
14437 | char *kwnames[] = { | |
14438 | (char *) "self", NULL | |
14439 | }; | |
14440 | ||
14441 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14442 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
14443 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14444 | { |
14445 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14446 | { | |
14447 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
14448 | result = (wxString *) &_result_ref; | |
14449 | } | |
14450 | ||
14451 | wxPyEndAllowThreads(__tstate); | |
14452 | if (PyErr_Occurred()) SWIG_fail; | |
14453 | } | |
cc6dd355 RD |
14454 | { |
14455 | #if wxUSE_UNICODE | |
14456 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
14457 | #else | |
14458 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
14459 | #endif | |
14460 | } | |
d14a1e28 RD |
14461 | return resultobj; |
14462 | fail: | |
14463 | return NULL; | |
14464 | } | |
14465 | ||
14466 | ||
c32bde28 | 14467 | static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14468 | PyObject *resultobj; |
14469 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14470 | int result; | |
14471 | PyObject * obj0 = 0 ; | |
14472 | char *kwnames[] = { | |
14473 | (char *) "self", NULL | |
14474 | }; | |
14475 | ||
14476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14477 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
14478 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14479 | { |
14480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14481 | result = (int)(arg1)->GetFlags(); | |
14482 | ||
14483 | wxPyEndAllowThreads(__tstate); | |
14484 | if (PyErr_Occurred()) SWIG_fail; | |
14485 | } | |
c32bde28 | 14486 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14487 | return resultobj; |
14488 | fail: | |
14489 | return NULL; | |
14490 | } | |
14491 | ||
14492 | ||
c32bde28 | 14493 | static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14494 | PyObject *resultobj; |
14495 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14496 | int arg2 ; | |
14497 | PyObject * obj0 = 0 ; | |
994141e6 | 14498 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14499 | char *kwnames[] = { |
14500 | (char *) "self",(char *) "flags", NULL | |
14501 | }; | |
14502 | ||
994141e6 | 14503 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
14504 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
14505 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 14506 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 14507 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
14508 | { |
14509 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14510 | (arg1)->SetFlags(arg2); | |
14511 | ||
14512 | wxPyEndAllowThreads(__tstate); | |
14513 | if (PyErr_Occurred()) SWIG_fail; | |
14514 | } | |
14515 | Py_INCREF(Py_None); resultobj = Py_None; | |
14516 | return resultobj; | |
14517 | fail: | |
14518 | return NULL; | |
14519 | } | |
14520 | ||
14521 | ||
c32bde28 | 14522 | static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14523 | PyObject *resultobj; |
14524 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14525 | wxString *arg2 = 0 ; | |
ae8162c8 | 14526 | bool temp2 = false ; |
d14a1e28 RD |
14527 | PyObject * obj0 = 0 ; |
14528 | PyObject * obj1 = 0 ; | |
14529 | char *kwnames[] = { | |
14530 | (char *) "self",(char *) "str", NULL | |
14531 | }; | |
14532 | ||
14533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
14534 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
14535 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14536 | { |
14537 | arg2 = wxString_in_helper(obj1); | |
14538 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14539 | temp2 = true; |
d14a1e28 RD |
14540 | } |
14541 | { | |
14542 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14543 | (arg1)->SetFindString((wxString const &)*arg2); | |
14544 | ||
14545 | wxPyEndAllowThreads(__tstate); | |
14546 | if (PyErr_Occurred()) SWIG_fail; | |
14547 | } | |
14548 | Py_INCREF(Py_None); resultobj = Py_None; | |
14549 | { | |
14550 | if (temp2) | |
14551 | delete arg2; | |
14552 | } | |
14553 | return resultobj; | |
14554 | fail: | |
14555 | { | |
14556 | if (temp2) | |
14557 | delete arg2; | |
14558 | } | |
14559 | return NULL; | |
14560 | } | |
14561 | ||
14562 | ||
c32bde28 | 14563 | static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14564 | PyObject *resultobj; |
14565 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14566 | wxString *arg2 = 0 ; | |
ae8162c8 | 14567 | bool temp2 = false ; |
d14a1e28 RD |
14568 | PyObject * obj0 = 0 ; |
14569 | PyObject * obj1 = 0 ; | |
14570 | char *kwnames[] = { | |
14571 | (char *) "self",(char *) "str", NULL | |
14572 | }; | |
14573 | ||
14574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
14575 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
14576 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14577 | { |
14578 | arg2 = wxString_in_helper(obj1); | |
14579 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14580 | temp2 = true; |
d14a1e28 RD |
14581 | } |
14582 | { | |
14583 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14584 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
14585 | ||
14586 | wxPyEndAllowThreads(__tstate); | |
14587 | if (PyErr_Occurred()) SWIG_fail; | |
14588 | } | |
14589 | Py_INCREF(Py_None); resultobj = Py_None; | |
14590 | { | |
14591 | if (temp2) | |
14592 | delete arg2; | |
14593 | } | |
14594 | return resultobj; | |
14595 | fail: | |
14596 | { | |
14597 | if (temp2) | |
14598 | delete arg2; | |
14599 | } | |
14600 | return NULL; | |
14601 | } | |
14602 | ||
14603 | ||
c32bde28 | 14604 | static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
14605 | PyObject *obj; |
14606 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14607 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj); | |
14608 | Py_INCREF(obj); | |
14609 | return Py_BuildValue((char *)""); | |
14610 | } | |
c32bde28 | 14611 | static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14612 | PyObject *resultobj; |
14613 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14614 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
14615 | wxString *arg3 = 0 ; | |
14616 | int arg4 = (int) 0 ; | |
14617 | wxFindReplaceDialog *result; | |
ae8162c8 | 14618 | bool temp3 = false ; |
d14a1e28 RD |
14619 | PyObject * obj0 = 0 ; |
14620 | PyObject * obj1 = 0 ; | |
14621 | PyObject * obj2 = 0 ; | |
994141e6 | 14622 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
14623 | char *kwnames[] = { |
14624 | (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
14625 | }; | |
14626 | ||
994141e6 | 14627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
14628 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
14629 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14630 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData, | |
14631 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14632 | { |
14633 | arg3 = wxString_in_helper(obj2); | |
14634 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 14635 | temp3 = true; |
d14a1e28 | 14636 | } |
994141e6 | 14637 | if (obj3) { |
c32bde28 | 14638 | arg4 = (int)SWIG_As_int(obj3); |
15afbcd0 | 14639 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 14640 | } |
d14a1e28 | 14641 | { |
e3b71cb8 | 14642 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
14643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14644 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4); | |
14645 | ||
14646 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14647 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 14648 | } |
15afbcd0 | 14649 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); |
d14a1e28 RD |
14650 | { |
14651 | if (temp3) | |
14652 | delete arg3; | |
14653 | } | |
14654 | return resultobj; | |
14655 | fail: | |
14656 | { | |
14657 | if (temp3) | |
14658 | delete arg3; | |
14659 | } | |
14660 | return NULL; | |
14661 | } | |
14662 | ||
14663 | ||
c32bde28 | 14664 | static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14665 | PyObject *resultobj; |
14666 | wxFindReplaceDialog *result; | |
14667 | char *kwnames[] = { | |
14668 | NULL | |
14669 | }; | |
14670 | ||
14671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail; | |
14672 | { | |
e3b71cb8 | 14673 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
14674 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14675 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(); | |
14676 | ||
14677 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14678 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 14679 | } |
15afbcd0 | 14680 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); |
d14a1e28 RD |
14681 | return resultobj; |
14682 | fail: | |
14683 | return NULL; | |
14684 | } | |
14685 | ||
14686 | ||
c32bde28 | 14687 | static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14688 | PyObject *resultobj; |
14689 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
14690 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14691 | wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ; | |
14692 | wxString *arg4 = 0 ; | |
14693 | int arg5 = (int) 0 ; | |
14694 | bool result; | |
ae8162c8 | 14695 | bool temp4 = false ; |
d14a1e28 RD |
14696 | PyObject * obj0 = 0 ; |
14697 | PyObject * obj1 = 0 ; | |
14698 | PyObject * obj2 = 0 ; | |
14699 | PyObject * obj3 = 0 ; | |
994141e6 | 14700 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
14701 | char *kwnames[] = { |
14702 | (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
14703 | }; | |
14704 | ||
994141e6 | 14705 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
14706 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog, |
14707 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14708 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
14709 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14710 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData, | |
14711 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14712 | { |
14713 | arg4 = wxString_in_helper(obj3); | |
14714 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 14715 | temp4 = true; |
d14a1e28 | 14716 | } |
994141e6 | 14717 | if (obj4) { |
c32bde28 | 14718 | arg5 = (int)SWIG_As_int(obj4); |
15afbcd0 | 14719 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 14720 | } |
d14a1e28 RD |
14721 | { |
14722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14723 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5); | |
14724 | ||
14725 | wxPyEndAllowThreads(__tstate); | |
14726 | if (PyErr_Occurred()) SWIG_fail; | |
14727 | } | |
4f89f6a3 RD |
14728 | { |
14729 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14730 | } | |
d14a1e28 RD |
14731 | { |
14732 | if (temp4) | |
14733 | delete arg4; | |
14734 | } | |
14735 | return resultobj; | |
14736 | fail: | |
14737 | { | |
14738 | if (temp4) | |
14739 | delete arg4; | |
14740 | } | |
14741 | return NULL; | |
14742 | } | |
14743 | ||
14744 | ||
c32bde28 | 14745 | static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14746 | PyObject *resultobj; |
14747 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
14748 | wxFindReplaceData *result; | |
14749 | PyObject * obj0 = 0 ; | |
14750 | char *kwnames[] = { | |
14751 | (char *) "self", NULL | |
14752 | }; | |
14753 | ||
14754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14755 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog, |
14756 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14757 | { |
14758 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14759 | result = (wxFindReplaceData *)(arg1)->GetData(); | |
14760 | ||
14761 | wxPyEndAllowThreads(__tstate); | |
14762 | if (PyErr_Occurred()) SWIG_fail; | |
14763 | } | |
15afbcd0 | 14764 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0); |
d14a1e28 RD |
14765 | return resultobj; |
14766 | fail: | |
14767 | return NULL; | |
14768 | } | |
14769 | ||
14770 | ||
c32bde28 | 14771 | static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14772 | PyObject *resultobj; |
14773 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
14774 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
14775 | PyObject * obj0 = 0 ; | |
14776 | PyObject * obj1 = 0 ; | |
14777 | char *kwnames[] = { | |
14778 | (char *) "self",(char *) "data", NULL | |
14779 | }; | |
14780 | ||
14781 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
14782 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog, |
14783 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14784 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData, | |
14785 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14786 | { |
14787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14788 | (arg1)->SetData(arg2); | |
14789 | ||
14790 | wxPyEndAllowThreads(__tstate); | |
14791 | if (PyErr_Occurred()) SWIG_fail; | |
14792 | } | |
14793 | Py_INCREF(Py_None); resultobj = Py_None; | |
14794 | return resultobj; | |
14795 | fail: | |
14796 | return NULL; | |
14797 | } | |
14798 | ||
14799 | ||
c32bde28 | 14800 | static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
14801 | PyObject *obj; |
14802 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14803 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj); | |
14804 | Py_INCREF(obj); | |
14805 | return Py_BuildValue((char *)""); | |
14806 | } | |
c32bde28 | 14807 | static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14808 | PyObject *resultobj; |
14809 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 RD |
14810 | int arg2 = (int) (int)-1 ; |
14811 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
14812 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d14a1e28 RD |
14813 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
14814 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
14815 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
14816 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
14817 | long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
14818 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
14819 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
14820 | wxMDIParentFrame *result; | |
ae8162c8 | 14821 | bool temp3 = false ; |
d14a1e28 RD |
14822 | wxPoint temp4 ; |
14823 | wxSize temp5 ; | |
ae8162c8 | 14824 | bool temp7 = false ; |
d14a1e28 | 14825 | PyObject * obj0 = 0 ; |
994141e6 | 14826 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14827 | PyObject * obj2 = 0 ; |
14828 | PyObject * obj3 = 0 ; | |
14829 | PyObject * obj4 = 0 ; | |
994141e6 | 14830 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
14831 | PyObject * obj6 = 0 ; |
14832 | char *kwnames[] = { | |
14833 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14834 | }; | |
14835 | ||
248ed943 | 14836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
14837 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
14838 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 14839 | if (obj1) { |
c32bde28 | 14840 | arg2 = (int)SWIG_As_int(obj1); |
248ed943 RD |
14841 | if (PyErr_Occurred()) SWIG_fail; |
14842 | } | |
14843 | if (obj2) { | |
14844 | { | |
14845 | arg3 = wxString_in_helper(obj2); | |
14846 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 14847 | temp3 = true; |
248ed943 | 14848 | } |
d14a1e28 RD |
14849 | } |
14850 | if (obj3) { | |
14851 | { | |
14852 | arg4 = &temp4; | |
14853 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
14854 | } | |
14855 | } | |
14856 | if (obj4) { | |
14857 | { | |
14858 | arg5 = &temp5; | |
14859 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
14860 | } | |
14861 | } | |
994141e6 | 14862 | if (obj5) { |
c32bde28 | 14863 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 14864 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 14865 | } |
d14a1e28 RD |
14866 | if (obj6) { |
14867 | { | |
14868 | arg7 = wxString_in_helper(obj6); | |
14869 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 14870 | temp7 = true; |
d14a1e28 RD |
14871 | } |
14872 | } | |
14873 | { | |
e3b71cb8 | 14874 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
14875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14876 | result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
14877 | ||
14878 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14879 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 14880 | } |
15afbcd0 | 14881 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); |
d14a1e28 RD |
14882 | { |
14883 | if (temp3) | |
14884 | delete arg3; | |
14885 | } | |
14886 | { | |
14887 | if (temp7) | |
14888 | delete arg7; | |
14889 | } | |
14890 | return resultobj; | |
14891 | fail: | |
14892 | { | |
14893 | if (temp3) | |
14894 | delete arg3; | |
14895 | } | |
14896 | { | |
14897 | if (temp7) | |
14898 | delete arg7; | |
14899 | } | |
14900 | return NULL; | |
14901 | } | |
14902 | ||
14903 | ||
c32bde28 | 14904 | static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14905 | PyObject *resultobj; |
14906 | wxMDIParentFrame *result; | |
14907 | char *kwnames[] = { | |
14908 | NULL | |
14909 | }; | |
14910 | ||
14911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail; | |
14912 | { | |
e3b71cb8 | 14913 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
14914 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14915 | result = (wxMDIParentFrame *)new wxMDIParentFrame(); | |
14916 | ||
14917 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14918 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 14919 | } |
15afbcd0 | 14920 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); |
d14a1e28 RD |
14921 | return resultobj; |
14922 | fail: | |
14923 | return NULL; | |
14924 | } | |
14925 | ||
14926 | ||
c32bde28 | 14927 | static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14928 | PyObject *resultobj; |
14929 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14930 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 RD |
14931 | int arg3 = (int) (int)-1 ; |
14932 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
14933 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d14a1e28 RD |
14934 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
14935 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
14936 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
14937 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
14938 | long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
14939 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
14940 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
14941 | bool result; | |
ae8162c8 | 14942 | bool temp4 = false ; |
d14a1e28 RD |
14943 | wxPoint temp5 ; |
14944 | wxSize temp6 ; | |
ae8162c8 | 14945 | bool temp8 = false ; |
d14a1e28 RD |
14946 | PyObject * obj0 = 0 ; |
14947 | PyObject * obj1 = 0 ; | |
994141e6 | 14948 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
14949 | PyObject * obj3 = 0 ; |
14950 | PyObject * obj4 = 0 ; | |
14951 | PyObject * obj5 = 0 ; | |
994141e6 | 14952 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
14953 | PyObject * obj7 = 0 ; |
14954 | char *kwnames[] = { | |
14955 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14956 | }; | |
14957 | ||
248ed943 | 14958 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
14959 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14960 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14961 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
14962 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 14963 | if (obj2) { |
c32bde28 | 14964 | arg3 = (int)SWIG_As_int(obj2); |
248ed943 RD |
14965 | if (PyErr_Occurred()) SWIG_fail; |
14966 | } | |
14967 | if (obj3) { | |
14968 | { | |
14969 | arg4 = wxString_in_helper(obj3); | |
14970 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 14971 | temp4 = true; |
248ed943 | 14972 | } |
d14a1e28 RD |
14973 | } |
14974 | if (obj4) { | |
14975 | { | |
14976 | arg5 = &temp5; | |
14977 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
14978 | } | |
14979 | } | |
14980 | if (obj5) { | |
14981 | { | |
14982 | arg6 = &temp6; | |
14983 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
14984 | } | |
14985 | } | |
994141e6 | 14986 | if (obj6) { |
c32bde28 | 14987 | arg7 = (long)SWIG_As_long(obj6); |
15afbcd0 | 14988 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 14989 | } |
d14a1e28 RD |
14990 | if (obj7) { |
14991 | { | |
14992 | arg8 = wxString_in_helper(obj7); | |
14993 | if (arg8 == NULL) SWIG_fail; | |
ae8162c8 | 14994 | temp8 = true; |
d14a1e28 RD |
14995 | } |
14996 | } | |
14997 | { | |
14998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14999 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
15000 | ||
15001 | wxPyEndAllowThreads(__tstate); | |
15002 | if (PyErr_Occurred()) SWIG_fail; | |
15003 | } | |
4f89f6a3 RD |
15004 | { |
15005 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15006 | } | |
d14a1e28 RD |
15007 | { |
15008 | if (temp4) | |
15009 | delete arg4; | |
15010 | } | |
15011 | { | |
15012 | if (temp8) | |
15013 | delete arg8; | |
15014 | } | |
15015 | return resultobj; | |
15016 | fail: | |
15017 | { | |
15018 | if (temp4) | |
15019 | delete arg4; | |
15020 | } | |
15021 | { | |
15022 | if (temp8) | |
15023 | delete arg8; | |
15024 | } | |
15025 | return NULL; | |
15026 | } | |
15027 | ||
15028 | ||
c32bde28 | 15029 | static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15030 | PyObject *resultobj; |
15031 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15032 | PyObject * obj0 = 0 ; | |
15033 | char *kwnames[] = { | |
15034 | (char *) "self", NULL | |
15035 | }; | |
15036 | ||
15037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15038 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
15039 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15040 | { |
15041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15042 | (arg1)->ActivateNext(); | |
15043 | ||
15044 | wxPyEndAllowThreads(__tstate); | |
15045 | if (PyErr_Occurred()) SWIG_fail; | |
15046 | } | |
15047 | Py_INCREF(Py_None); resultobj = Py_None; | |
15048 | return resultobj; | |
15049 | fail: | |
15050 | return NULL; | |
15051 | } | |
15052 | ||
15053 | ||
c32bde28 | 15054 | static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15055 | PyObject *resultobj; |
15056 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15057 | PyObject * obj0 = 0 ; | |
15058 | char *kwnames[] = { | |
15059 | (char *) "self", NULL | |
15060 | }; | |
15061 | ||
15062 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15063 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
15064 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15065 | { |
15066 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15067 | (arg1)->ActivatePrevious(); | |
15068 | ||
15069 | wxPyEndAllowThreads(__tstate); | |
15070 | if (PyErr_Occurred()) SWIG_fail; | |
15071 | } | |
15072 | Py_INCREF(Py_None); resultobj = Py_None; | |
15073 | return resultobj; | |
15074 | fail: | |
15075 | return NULL; | |
15076 | } | |
15077 | ||
15078 | ||
c32bde28 | 15079 | static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15080 | PyObject *resultobj; |
15081 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15082 | PyObject * obj0 = 0 ; | |
15083 | char *kwnames[] = { | |
15084 | (char *) "self", NULL | |
15085 | }; | |
15086 | ||
15087 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15088 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
15089 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15090 | { |
15091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15092 | (arg1)->ArrangeIcons(); | |
15093 | ||
15094 | wxPyEndAllowThreads(__tstate); | |
15095 | if (PyErr_Occurred()) SWIG_fail; | |
15096 | } | |
15097 | Py_INCREF(Py_None); resultobj = Py_None; | |
15098 | return resultobj; | |
15099 | fail: | |
15100 | return NULL; | |
15101 | } | |
15102 | ||
15103 | ||
c32bde28 | 15104 | static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15105 | PyObject *resultobj; |
15106 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15107 | PyObject * obj0 = 0 ; | |
15108 | char *kwnames[] = { | |
15109 | (char *) "self", NULL | |
15110 | }; | |
15111 | ||
15112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15113 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
15114 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15115 | { |
15116 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15117 | (arg1)->Cascade(); | |
15118 | ||
15119 | wxPyEndAllowThreads(__tstate); | |
15120 | if (PyErr_Occurred()) SWIG_fail; | |
15121 | } | |
15122 | Py_INCREF(Py_None); resultobj = Py_None; | |
15123 | return resultobj; | |
15124 | fail: | |
15125 | return NULL; | |
15126 | } | |
15127 | ||
15128 | ||
c32bde28 | 15129 | static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15130 | PyObject *resultobj; |
15131 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15132 | wxMDIChildFrame *result; | |
15133 | PyObject * obj0 = 0 ; | |
15134 | char *kwnames[] = { | |
15135 | (char *) "self", NULL | |
15136 | }; | |
15137 | ||
15138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15139 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
15140 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15141 | { |
15142 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15143 | result = (wxMDIChildFrame *)(arg1)->GetActiveChild(); | |
15144 | ||
15145 | wxPyEndAllowThreads(__tstate); | |
15146 | if (PyErr_Occurred()) SWIG_fail; | |
15147 | } | |
15148 | { | |
412d302d | 15149 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
15150 | } |
15151 | return resultobj; | |
15152 | fail: | |
15153 | return NULL; | |
15154 | } | |
15155 | ||
15156 | ||
c32bde28 | 15157 | static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15158 | PyObject *resultobj; |
15159 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15160 | wxMDIClientWindow *result; | |
15161 | PyObject * obj0 = 0 ; | |
15162 | char *kwnames[] = { | |
15163 | (char *) "self", NULL | |
15164 | }; | |
15165 | ||
15166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15167 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
15168 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15169 | { |
15170 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15171 | result = (wxMDIClientWindow *)(arg1)->GetClientWindow(); | |
15172 | ||
15173 | wxPyEndAllowThreads(__tstate); | |
15174 | if (PyErr_Occurred()) SWIG_fail; | |
15175 | } | |
15176 | { | |
412d302d | 15177 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
15178 | } |
15179 | return resultobj; | |
15180 | fail: | |
15181 | return NULL; | |
15182 | } | |
15183 | ||
15184 | ||
c32bde28 | 15185 | static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15186 | PyObject *resultobj; |
15187 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15188 | wxWindow *result; | |
15189 | PyObject * obj0 = 0 ; | |
15190 | char *kwnames[] = { | |
15191 | (char *) "self", NULL | |
15192 | }; | |
15193 | ||
15194 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15195 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
15196 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15197 | { |
15198 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15199 | result = (wxWindow *)(arg1)->GetToolBar(); | |
15200 | ||
15201 | wxPyEndAllowThreads(__tstate); | |
15202 | if (PyErr_Occurred()) SWIG_fail; | |
15203 | } | |
15204 | { | |
412d302d | 15205 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
15206 | } |
15207 | return resultobj; | |
15208 | fail: | |
15209 | return NULL; | |
15210 | } | |
15211 | ||
15212 | ||
c32bde28 | 15213 | static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15214 | PyObject *resultobj; |
15215 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15216 | PyObject * obj0 = 0 ; | |
15217 | char *kwnames[] = { | |
15218 | (char *) "self", NULL | |
15219 | }; | |
15220 | ||
15221 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15222 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
15223 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15224 | { |
15225 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15226 | (arg1)->Tile(); | |
15227 | ||
15228 | wxPyEndAllowThreads(__tstate); | |
15229 | if (PyErr_Occurred()) SWIG_fail; | |
15230 | } | |
15231 | Py_INCREF(Py_None); resultobj = Py_None; | |
15232 | return resultobj; | |
15233 | fail: | |
15234 | return NULL; | |
15235 | } | |
15236 | ||
15237 | ||
c32bde28 | 15238 | static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
15239 | PyObject *obj; |
15240 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15241 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj); | |
15242 | Py_INCREF(obj); | |
15243 | return Py_BuildValue((char *)""); | |
15244 | } | |
c32bde28 | 15245 | static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15246 | PyObject *resultobj; |
15247 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
248ed943 RD |
15248 | int arg2 = (int) (int)-1 ; |
15249 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
15250 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d14a1e28 RD |
15251 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
15252 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
15253 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
15254 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
15255 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
15256 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
15257 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
15258 | wxMDIChildFrame *result; | |
ae8162c8 | 15259 | bool temp3 = false ; |
d14a1e28 RD |
15260 | wxPoint temp4 ; |
15261 | wxSize temp5 ; | |
ae8162c8 | 15262 | bool temp7 = false ; |
d14a1e28 | 15263 | PyObject * obj0 = 0 ; |
994141e6 | 15264 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
15265 | PyObject * obj2 = 0 ; |
15266 | PyObject * obj3 = 0 ; | |
15267 | PyObject * obj4 = 0 ; | |
994141e6 | 15268 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
15269 | PyObject * obj6 = 0 ; |
15270 | char *kwnames[] = { | |
15271 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
15272 | }; | |
15273 | ||
248ed943 | 15274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
15275 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
15276 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 15277 | if (obj1) { |
c32bde28 | 15278 | arg2 = (int)SWIG_As_int(obj1); |
248ed943 RD |
15279 | if (PyErr_Occurred()) SWIG_fail; |
15280 | } | |
15281 | if (obj2) { | |
15282 | { | |
15283 | arg3 = wxString_in_helper(obj2); | |
15284 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 15285 | temp3 = true; |
248ed943 | 15286 | } |
d14a1e28 RD |
15287 | } |
15288 | if (obj3) { | |
15289 | { | |
15290 | arg4 = &temp4; | |
15291 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
15292 | } | |
15293 | } | |
15294 | if (obj4) { | |
15295 | { | |
15296 | arg5 = &temp5; | |
15297 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
15298 | } | |
15299 | } | |
994141e6 | 15300 | if (obj5) { |
c32bde28 | 15301 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 15302 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 15303 | } |
d14a1e28 RD |
15304 | if (obj6) { |
15305 | { | |
15306 | arg7 = wxString_in_helper(obj6); | |
15307 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 15308 | temp7 = true; |
d14a1e28 RD |
15309 | } |
15310 | } | |
15311 | { | |
e3b71cb8 | 15312 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
15313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15314 | result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
15315 | ||
15316 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15317 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 15318 | } |
b0f7404b | 15319 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1); |
d14a1e28 RD |
15320 | { |
15321 | if (temp3) | |
15322 | delete arg3; | |
15323 | } | |
15324 | { | |
15325 | if (temp7) | |
15326 | delete arg7; | |
15327 | } | |
15328 | return resultobj; | |
15329 | fail: | |
15330 | { | |
15331 | if (temp3) | |
15332 | delete arg3; | |
15333 | } | |
15334 | { | |
15335 | if (temp7) | |
15336 | delete arg7; | |
15337 | } | |
15338 | return NULL; | |
15339 | } | |
15340 | ||
15341 | ||
c32bde28 | 15342 | static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15343 | PyObject *resultobj; |
15344 | wxMDIChildFrame *result; | |
15345 | char *kwnames[] = { | |
15346 | NULL | |
15347 | }; | |
15348 | ||
15349 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail; | |
15350 | { | |
e3b71cb8 | 15351 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
15352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15353 | result = (wxMDIChildFrame *)new wxMDIChildFrame(); | |
15354 | ||
15355 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15356 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 15357 | } |
b0f7404b | 15358 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1); |
d14a1e28 RD |
15359 | return resultobj; |
15360 | fail: | |
15361 | return NULL; | |
15362 | } | |
15363 | ||
15364 | ||
c32bde28 | 15365 | static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15366 | PyObject *resultobj; |
15367 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
15368 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
248ed943 RD |
15369 | int arg3 = (int) (int)-1 ; |
15370 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
15371 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d14a1e28 RD |
15372 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
15373 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
15374 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
15375 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
15376 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
15377 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
15378 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
15379 | bool result; | |
ae8162c8 | 15380 | bool temp4 = false ; |
d14a1e28 RD |
15381 | wxPoint temp5 ; |
15382 | wxSize temp6 ; | |
ae8162c8 | 15383 | bool temp8 = false ; |
d14a1e28 RD |
15384 | PyObject * obj0 = 0 ; |
15385 | PyObject * obj1 = 0 ; | |
994141e6 | 15386 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
15387 | PyObject * obj3 = 0 ; |
15388 | PyObject * obj4 = 0 ; | |
15389 | PyObject * obj5 = 0 ; | |
994141e6 | 15390 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
15391 | PyObject * obj7 = 0 ; |
15392 | char *kwnames[] = { | |
15393 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
15394 | }; | |
15395 | ||
248ed943 | 15396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
15397 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
15398 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15399 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame, | |
15400 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 15401 | if (obj2) { |
c32bde28 | 15402 | arg3 = (int)SWIG_As_int(obj2); |
248ed943 RD |
15403 | if (PyErr_Occurred()) SWIG_fail; |
15404 | } | |
15405 | if (obj3) { | |
15406 | { | |
15407 | arg4 = wxString_in_helper(obj3); | |
15408 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 15409 | temp4 = true; |
248ed943 | 15410 | } |
d14a1e28 RD |
15411 | } |
15412 | if (obj4) { | |
15413 | { | |
15414 | arg5 = &temp5; | |
15415 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
15416 | } | |
15417 | } | |
15418 | if (obj5) { | |
15419 | { | |
15420 | arg6 = &temp6; | |
15421 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
15422 | } | |
15423 | } | |
994141e6 | 15424 | if (obj6) { |
c32bde28 | 15425 | arg7 = (long)SWIG_As_long(obj6); |
15afbcd0 | 15426 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 15427 | } |
d14a1e28 RD |
15428 | if (obj7) { |
15429 | { | |
15430 | arg8 = wxString_in_helper(obj7); | |
15431 | if (arg8 == NULL) SWIG_fail; | |
ae8162c8 | 15432 | temp8 = true; |
d14a1e28 RD |
15433 | } |
15434 | } | |
15435 | { | |
15436 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15437 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
15438 | ||
15439 | wxPyEndAllowThreads(__tstate); | |
15440 | if (PyErr_Occurred()) SWIG_fail; | |
15441 | } | |
4f89f6a3 RD |
15442 | { |
15443 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15444 | } | |
d14a1e28 RD |
15445 | { |
15446 | if (temp4) | |
15447 | delete arg4; | |
15448 | } | |
15449 | { | |
15450 | if (temp8) | |
15451 | delete arg8; | |
15452 | } | |
15453 | return resultobj; | |
15454 | fail: | |
15455 | { | |
15456 | if (temp4) | |
15457 | delete arg4; | |
15458 | } | |
15459 | { | |
15460 | if (temp8) | |
15461 | delete arg8; | |
15462 | } | |
15463 | return NULL; | |
15464 | } | |
15465 | ||
15466 | ||
c32bde28 | 15467 | static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15468 | PyObject *resultobj; |
15469 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
15470 | PyObject * obj0 = 0 ; | |
15471 | char *kwnames[] = { | |
15472 | (char *) "self", NULL | |
15473 | }; | |
15474 | ||
15475 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15476 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
15477 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15478 | { |
15479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15480 | (arg1)->Activate(); | |
15481 | ||
15482 | wxPyEndAllowThreads(__tstate); | |
15483 | if (PyErr_Occurred()) SWIG_fail; | |
15484 | } | |
15485 | Py_INCREF(Py_None); resultobj = Py_None; | |
15486 | return resultobj; | |
15487 | fail: | |
15488 | return NULL; | |
15489 | } | |
15490 | ||
15491 | ||
c32bde28 | 15492 | static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15493 | PyObject *resultobj; |
15494 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
15495 | bool arg2 ; | |
15496 | PyObject * obj0 = 0 ; | |
15497 | PyObject * obj1 = 0 ; | |
15498 | char *kwnames[] = { | |
15499 | (char *) "self",(char *) "maximize", NULL | |
15500 | }; | |
15501 | ||
15502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
15503 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
15504 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 15505 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 15506 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
15507 | { |
15508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15509 | (arg1)->Maximize(arg2); | |
15510 | ||
15511 | wxPyEndAllowThreads(__tstate); | |
15512 | if (PyErr_Occurred()) SWIG_fail; | |
15513 | } | |
15514 | Py_INCREF(Py_None); resultobj = Py_None; | |
15515 | return resultobj; | |
15516 | fail: | |
15517 | return NULL; | |
15518 | } | |
15519 | ||
15520 | ||
c32bde28 | 15521 | static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15522 | PyObject *resultobj; |
15523 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
15524 | PyObject * obj0 = 0 ; | |
15525 | char *kwnames[] = { | |
15526 | (char *) "self", NULL | |
15527 | }; | |
15528 | ||
15529 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15530 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
15531 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15532 | { |
15533 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15534 | (arg1)->Restore(); | |
15535 | ||
15536 | wxPyEndAllowThreads(__tstate); | |
15537 | if (PyErr_Occurred()) SWIG_fail; | |
15538 | } | |
15539 | Py_INCREF(Py_None); resultobj = Py_None; | |
15540 | return resultobj; | |
15541 | fail: | |
15542 | return NULL; | |
15543 | } | |
15544 | ||
15545 | ||
c32bde28 | 15546 | static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
15547 | PyObject *obj; |
15548 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15549 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj); | |
15550 | Py_INCREF(obj); | |
15551 | return Py_BuildValue((char *)""); | |
15552 | } | |
c32bde28 | 15553 | static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15554 | PyObject *resultobj; |
15555 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15556 | long arg2 = (long) 0 ; | |
15557 | wxMDIClientWindow *result; | |
15558 | PyObject * obj0 = 0 ; | |
994141e6 | 15559 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
15560 | char *kwnames[] = { |
15561 | (char *) "parent",(char *) "style", NULL | |
15562 | }; | |
15563 | ||
994141e6 | 15564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
15565 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
15566 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 15567 | if (obj1) { |
c32bde28 | 15568 | arg2 = (long)SWIG_As_long(obj1); |
15afbcd0 | 15569 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 15570 | } |
d14a1e28 | 15571 | { |
e3b71cb8 | 15572 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
15573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15574 | result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2); | |
15575 | ||
15576 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15577 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 15578 | } |
b0f7404b | 15579 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1); |
d14a1e28 RD |
15580 | return resultobj; |
15581 | fail: | |
15582 | return NULL; | |
15583 | } | |
15584 | ||
15585 | ||
c32bde28 | 15586 | static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15587 | PyObject *resultobj; |
15588 | wxMDIClientWindow *result; | |
15589 | char *kwnames[] = { | |
15590 | NULL | |
15591 | }; | |
15592 | ||
15593 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail; | |
15594 | { | |
e3b71cb8 | 15595 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
15596 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15597 | result = (wxMDIClientWindow *)new wxMDIClientWindow(); | |
15598 | ||
15599 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15600 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 15601 | } |
b0f7404b | 15602 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1); |
d14a1e28 RD |
15603 | return resultobj; |
15604 | fail: | |
15605 | return NULL; | |
15606 | } | |
15607 | ||
15608 | ||
c32bde28 | 15609 | static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15610 | PyObject *resultobj; |
15611 | wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ; | |
15612 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
15613 | long arg3 = (long) 0 ; | |
15614 | bool result; | |
15615 | PyObject * obj0 = 0 ; | |
15616 | PyObject * obj1 = 0 ; | |
994141e6 | 15617 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
15618 | char *kwnames[] = { |
15619 | (char *) "self",(char *) "parent",(char *) "style", NULL | |
15620 | }; | |
15621 | ||
994141e6 | 15622 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
15623 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow, |
15624 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15625 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame, | |
15626 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 15627 | if (obj2) { |
c32bde28 | 15628 | arg3 = (long)SWIG_As_long(obj2); |
15afbcd0 | 15629 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 15630 | } |
d14a1e28 RD |
15631 | { |
15632 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15633 | result = (bool)(arg1)->Create(arg2,arg3); | |
15634 | ||
15635 | wxPyEndAllowThreads(__tstate); | |
15636 | if (PyErr_Occurred()) SWIG_fail; | |
15637 | } | |
4f89f6a3 RD |
15638 | { |
15639 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15640 | } | |
d14a1e28 RD |
15641 | return resultobj; |
15642 | fail: | |
15643 | return NULL; | |
15644 | } | |
15645 | ||
15646 | ||
c32bde28 | 15647 | static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
15648 | PyObject *obj; |
15649 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15650 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj); | |
15651 | Py_INCREF(obj); | |
15652 | return Py_BuildValue((char *)""); | |
15653 | } | |
c32bde28 | 15654 | static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15655 | PyObject *resultobj; |
15656 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 | 15657 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
15658 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
15659 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
15660 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
15661 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
15662 | long arg5 = (long) 0 ; | |
15663 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
15664 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
15665 | wxPyWindow *result; | |
15666 | wxPoint temp3 ; | |
15667 | wxSize temp4 ; | |
ae8162c8 | 15668 | bool temp6 = false ; |
d14a1e28 | 15669 | PyObject * obj0 = 0 ; |
994141e6 | 15670 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
15671 | PyObject * obj2 = 0 ; |
15672 | PyObject * obj3 = 0 ; | |
994141e6 | 15673 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
15674 | PyObject * obj5 = 0 ; |
15675 | char *kwnames[] = { | |
15676 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
15677 | }; | |
15678 | ||
248ed943 | 15679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
15680 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
15681 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 15682 | if (obj1) { |
c32bde28 | 15683 | arg2 = (int)SWIG_As_int(obj1); |
248ed943 RD |
15684 | if (PyErr_Occurred()) SWIG_fail; |
15685 | } | |
d14a1e28 RD |
15686 | if (obj2) { |
15687 | { | |
15688 | arg3 = &temp3; | |
15689 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
15690 | } | |
15691 | } | |
15692 | if (obj3) { | |
15693 | { | |
15694 | arg4 = &temp4; | |
15695 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
15696 | } | |
15697 | } | |
994141e6 | 15698 | if (obj4) { |
c32bde28 | 15699 | arg5 = (long)SWIG_As_long(obj4); |
15afbcd0 | 15700 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 15701 | } |
d14a1e28 RD |
15702 | if (obj5) { |
15703 | { | |
15704 | arg6 = wxString_in_helper(obj5); | |
15705 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 15706 | temp6 = true; |
d14a1e28 RD |
15707 | } |
15708 | } | |
15709 | { | |
e3b71cb8 | 15710 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
15711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15712 | result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
15713 | ||
15714 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15715 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 15716 | } |
15afbcd0 | 15717 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1); |
d14a1e28 RD |
15718 | { |
15719 | if (temp6) | |
15720 | delete arg6; | |
15721 | } | |
15722 | return resultobj; | |
15723 | fail: | |
15724 | { | |
15725 | if (temp6) | |
15726 | delete arg6; | |
15727 | } | |
15728 | return NULL; | |
15729 | } | |
15730 | ||
15731 | ||
c32bde28 | 15732 | static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
15733 | PyObject *resultobj; |
15734 | wxPyWindow *result; | |
15735 | char *kwnames[] = { | |
15736 | NULL | |
15737 | }; | |
15738 | ||
15739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail; | |
15740 | { | |
e3b71cb8 | 15741 | if (!wxPyCheckForApp()) SWIG_fail; |
1cb4a8aa RD |
15742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15743 | result = (wxPyWindow *)new wxPyWindow(); | |
15744 | ||
15745 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15746 | if (PyErr_Occurred()) SWIG_fail; |
1cb4a8aa RD |
15747 | } |
15748 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1); | |
15749 | return resultobj; | |
15750 | fail: | |
15751 | return NULL; | |
15752 | } | |
15753 | ||
15754 | ||
c32bde28 | 15755 | static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15756 | PyObject *resultobj; |
15757 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15758 | PyObject *arg2 = (PyObject *) 0 ; | |
15759 | PyObject *arg3 = (PyObject *) 0 ; | |
15760 | PyObject * obj0 = 0 ; | |
15761 | PyObject * obj1 = 0 ; | |
15762 | PyObject * obj2 = 0 ; | |
15763 | char *kwnames[] = { | |
15764 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
15765 | }; | |
15766 | ||
15767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
15768 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15769 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15770 | arg2 = obj1; |
15771 | arg3 = obj2; | |
15772 | { | |
15773 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15774 | (arg1)->_setCallbackInfo(arg2,arg3); | |
15775 | ||
15776 | wxPyEndAllowThreads(__tstate); | |
15777 | if (PyErr_Occurred()) SWIG_fail; | |
15778 | } | |
15779 | Py_INCREF(Py_None); resultobj = Py_None; | |
15780 | return resultobj; | |
15781 | fail: | |
15782 | return NULL; | |
15783 | } | |
15784 | ||
15785 | ||
c32bde28 | 15786 | static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
db3e571a RD |
15787 | PyObject *resultobj; |
15788 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15789 | wxSize *arg2 = 0 ; | |
15790 | wxSize temp2 ; | |
15791 | PyObject * obj0 = 0 ; | |
15792 | PyObject * obj1 = 0 ; | |
15793 | char *kwnames[] = { | |
15794 | (char *) "self",(char *) "size", NULL | |
15795 | }; | |
15796 | ||
15797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail; | |
15798 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
15799 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15800 | { | |
15801 | arg2 = &temp2; | |
15802 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
15803 | } | |
15804 | { | |
15805 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15806 | (arg1)->SetBestSize((wxSize const &)*arg2); | |
15807 | ||
15808 | wxPyEndAllowThreads(__tstate); | |
15809 | if (PyErr_Occurred()) SWIG_fail; | |
15810 | } | |
15811 | Py_INCREF(Py_None); resultobj = Py_None; | |
15812 | return resultobj; | |
15813 | fail: | |
15814 | return NULL; | |
15815 | } | |
15816 | ||
15817 | ||
c32bde28 | 15818 | static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15819 | PyObject *resultobj; |
15820 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15821 | int arg2 ; | |
15822 | int arg3 ; | |
15823 | int arg4 ; | |
15824 | int arg5 ; | |
15825 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15826 | PyObject * obj1 = 0 ; |
15827 | PyObject * obj2 = 0 ; | |
15828 | PyObject * obj3 = 0 ; | |
15829 | PyObject * obj4 = 0 ; | |
d14a1e28 RD |
15830 | char *kwnames[] = { |
15831 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
15832 | }; | |
15833 | ||
994141e6 | 15834 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
15835 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15836 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 15837 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 15838 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 15839 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 15840 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 15841 | arg4 = (int)SWIG_As_int(obj3); |
15afbcd0 | 15842 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 15843 | arg5 = (int)SWIG_As_int(obj4); |
15afbcd0 | 15844 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
15845 | { |
15846 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15847 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
15848 | ||
15849 | wxPyEndAllowThreads(__tstate); | |
15850 | if (PyErr_Occurred()) SWIG_fail; | |
15851 | } | |
15852 | Py_INCREF(Py_None); resultobj = Py_None; | |
15853 | return resultobj; | |
15854 | fail: | |
15855 | return NULL; | |
15856 | } | |
15857 | ||
15858 | ||
c32bde28 | 15859 | static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15860 | PyObject *resultobj; |
15861 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15862 | int arg2 ; | |
15863 | int arg3 ; | |
15864 | int arg4 ; | |
15865 | int arg5 ; | |
15866 | int arg6 = (int) wxSIZE_AUTO ; | |
15867 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15868 | PyObject * obj1 = 0 ; |
15869 | PyObject * obj2 = 0 ; | |
15870 | PyObject * obj3 = 0 ; | |
15871 | PyObject * obj4 = 0 ; | |
15872 | PyObject * obj5 = 0 ; | |
d14a1e28 RD |
15873 | char *kwnames[] = { |
15874 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
15875 | }; | |
15876 | ||
994141e6 | 15877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
15878 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15879 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 15880 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 15881 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 15882 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 15883 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 15884 | arg4 = (int)SWIG_As_int(obj3); |
15afbcd0 | 15885 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 15886 | arg5 = (int)SWIG_As_int(obj4); |
15afbcd0 | 15887 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 15888 | if (obj5) { |
c32bde28 | 15889 | arg6 = (int)SWIG_As_int(obj5); |
15afbcd0 | 15890 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 15891 | } |
d14a1e28 RD |
15892 | { |
15893 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15894 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
15895 | ||
15896 | wxPyEndAllowThreads(__tstate); | |
15897 | if (PyErr_Occurred()) SWIG_fail; | |
15898 | } | |
15899 | Py_INCREF(Py_None); resultobj = Py_None; | |
15900 | return resultobj; | |
15901 | fail: | |
15902 | return NULL; | |
15903 | } | |
15904 | ||
15905 | ||
c32bde28 | 15906 | static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15907 | PyObject *resultobj; |
15908 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15909 | int arg2 ; | |
15910 | int arg3 ; | |
15911 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15912 | PyObject * obj1 = 0 ; |
15913 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
15914 | char *kwnames[] = { |
15915 | (char *) "self",(char *) "width",(char *) "height", NULL | |
15916 | }; | |
15917 | ||
994141e6 | 15918 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
15919 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15920 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 15921 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 15922 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 15923 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 15924 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
15925 | { |
15926 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15927 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
15928 | ||
15929 | wxPyEndAllowThreads(__tstate); | |
15930 | if (PyErr_Occurred()) SWIG_fail; | |
15931 | } | |
15932 | Py_INCREF(Py_None); resultobj = Py_None; | |
15933 | return resultobj; | |
15934 | fail: | |
15935 | return NULL; | |
15936 | } | |
15937 | ||
15938 | ||
c32bde28 | 15939 | static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15940 | PyObject *resultobj; |
15941 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15942 | int arg2 ; | |
15943 | int arg3 ; | |
15944 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15945 | PyObject * obj1 = 0 ; |
15946 | PyObject * obj2 = 0 ; | |
d14a1e28 | 15947 | char *kwnames[] = { |
15afbcd0 RD |
15948 | (char *) "self",(char *) "x",(char *) "y", NULL |
15949 | }; | |
15950 | ||
15951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15952 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
15953 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 15954 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 15955 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 15956 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 15957 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
15958 | { |
15959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15960 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
15961 | ||
15962 | wxPyEndAllowThreads(__tstate); | |
15963 | if (PyErr_Occurred()) SWIG_fail; | |
15964 | } | |
15965 | Py_INCREF(Py_None); resultobj = Py_None; | |
15966 | return resultobj; | |
15967 | fail: | |
15968 | return NULL; | |
15969 | } | |
15970 | ||
15971 | ||
c32bde28 | 15972 | static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15973 | PyObject *resultobj; |
15974 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15975 | int *arg2 = (int *) 0 ; | |
15976 | int *arg3 = (int *) 0 ; | |
15977 | int temp2 ; | |
c32bde28 | 15978 | int res2 = 0 ; |
d14a1e28 | 15979 | int temp3 ; |
c32bde28 | 15980 | int res3 = 0 ; |
d14a1e28 RD |
15981 | PyObject * obj0 = 0 ; |
15982 | char *kwnames[] = { | |
15983 | (char *) "self", NULL | |
15984 | }; | |
15985 | ||
c32bde28 RD |
15986 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
15987 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 15988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
15989 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15990 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15991 | { |
15992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15993 | ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3); | |
15994 | ||
15995 | wxPyEndAllowThreads(__tstate); | |
15996 | if (PyErr_Occurred()) SWIG_fail; | |
15997 | } | |
15998 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
15999 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
16000 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
16001 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
16002 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
16003 | return resultobj; |
16004 | fail: | |
16005 | return NULL; | |
16006 | } | |
16007 | ||
16008 | ||
c32bde28 | 16009 | static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16010 | PyObject *resultobj; |
16011 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16012 | int *arg2 = (int *) 0 ; | |
16013 | int *arg3 = (int *) 0 ; | |
16014 | int temp2 ; | |
c32bde28 | 16015 | int res2 = 0 ; |
d14a1e28 | 16016 | int temp3 ; |
c32bde28 | 16017 | int res3 = 0 ; |
d14a1e28 RD |
16018 | PyObject * obj0 = 0 ; |
16019 | char *kwnames[] = { | |
16020 | (char *) "self", NULL | |
16021 | }; | |
16022 | ||
c32bde28 RD |
16023 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
16024 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 16025 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
16026 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16027 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16028 | { |
16029 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16030 | ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
16031 | ||
16032 | wxPyEndAllowThreads(__tstate); | |
16033 | if (PyErr_Occurred()) SWIG_fail; | |
16034 | } | |
16035 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
16036 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
16037 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
16038 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
16039 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
16040 | return resultobj; |
16041 | fail: | |
16042 | return NULL; | |
16043 | } | |
16044 | ||
16045 | ||
c32bde28 | 16046 | static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16047 | PyObject *resultobj; |
16048 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16049 | int *arg2 = (int *) 0 ; | |
16050 | int *arg3 = (int *) 0 ; | |
16051 | int temp2 ; | |
c32bde28 | 16052 | int res2 = 0 ; |
d14a1e28 | 16053 | int temp3 ; |
c32bde28 | 16054 | int res3 = 0 ; |
d14a1e28 RD |
16055 | PyObject * obj0 = 0 ; |
16056 | char *kwnames[] = { | |
16057 | (char *) "self", NULL | |
16058 | }; | |
16059 | ||
c32bde28 RD |
16060 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
16061 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 16062 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
16063 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16064 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16065 | { |
16066 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16067 | ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3); | |
16068 | ||
16069 | wxPyEndAllowThreads(__tstate); | |
16070 | if (PyErr_Occurred()) SWIG_fail; | |
16071 | } | |
16072 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
16073 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
16074 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
16075 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
16076 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
16077 | return resultobj; |
16078 | fail: | |
16079 | return NULL; | |
16080 | } | |
16081 | ||
16082 | ||
c32bde28 | 16083 | static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16084 | PyObject *resultobj; |
16085 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16086 | wxSize result; | |
16087 | PyObject * obj0 = 0 ; | |
16088 | char *kwnames[] = { | |
16089 | (char *) "self", NULL | |
16090 | }; | |
16091 | ||
16092 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16093 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16094 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16095 | { |
16096 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16097 | result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize(); | |
16098 | ||
16099 | wxPyEndAllowThreads(__tstate); | |
16100 | if (PyErr_Occurred()) SWIG_fail; | |
16101 | } | |
16102 | { | |
16103 | wxSize * resultptr; | |
16104 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 16105 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
16106 | } |
16107 | return resultobj; | |
16108 | fail: | |
16109 | return NULL; | |
16110 | } | |
16111 | ||
16112 | ||
c32bde28 | 16113 | static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16114 | PyObject *resultobj; |
16115 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16116 | wxSize result; | |
16117 | PyObject * obj0 = 0 ; | |
16118 | char *kwnames[] = { | |
16119 | (char *) "self", NULL | |
16120 | }; | |
16121 | ||
16122 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16123 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16124 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16125 | { |
16126 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16127 | result = ((wxPyWindow const *)arg1)->base_DoGetBestSize(); | |
16128 | ||
16129 | wxPyEndAllowThreads(__tstate); | |
16130 | if (PyErr_Occurred()) SWIG_fail; | |
16131 | } | |
16132 | { | |
16133 | wxSize * resultptr; | |
16134 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 16135 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
16136 | } |
16137 | return resultobj; | |
16138 | fail: | |
16139 | return NULL; | |
16140 | } | |
16141 | ||
16142 | ||
c32bde28 | 16143 | static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16144 | PyObject *resultobj; |
16145 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16146 | PyObject * obj0 = 0 ; | |
16147 | char *kwnames[] = { | |
16148 | (char *) "self", NULL | |
16149 | }; | |
16150 | ||
16151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16152 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16153 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16154 | { |
16155 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16156 | (arg1)->base_InitDialog(); | |
16157 | ||
16158 | wxPyEndAllowThreads(__tstate); | |
16159 | if (PyErr_Occurred()) SWIG_fail; | |
16160 | } | |
16161 | Py_INCREF(Py_None); resultobj = Py_None; | |
16162 | return resultobj; | |
16163 | fail: | |
16164 | return NULL; | |
16165 | } | |
16166 | ||
16167 | ||
c32bde28 | 16168 | static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16169 | PyObject *resultobj; |
16170 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16171 | bool result; | |
16172 | PyObject * obj0 = 0 ; | |
16173 | char *kwnames[] = { | |
16174 | (char *) "self", NULL | |
16175 | }; | |
16176 | ||
16177 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16178 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16179 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16180 | { |
16181 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16182 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
16183 | ||
16184 | wxPyEndAllowThreads(__tstate); | |
16185 | if (PyErr_Occurred()) SWIG_fail; | |
16186 | } | |
4f89f6a3 RD |
16187 | { |
16188 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16189 | } | |
d14a1e28 RD |
16190 | return resultobj; |
16191 | fail: | |
16192 | return NULL; | |
16193 | } | |
16194 | ||
16195 | ||
c32bde28 | 16196 | static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16197 | PyObject *resultobj; |
16198 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16199 | bool result; | |
16200 | PyObject * obj0 = 0 ; | |
16201 | char *kwnames[] = { | |
16202 | (char *) "self", NULL | |
16203 | }; | |
16204 | ||
16205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16206 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16207 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16208 | { |
16209 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16210 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
16211 | ||
16212 | wxPyEndAllowThreads(__tstate); | |
16213 | if (PyErr_Occurred()) SWIG_fail; | |
16214 | } | |
4f89f6a3 RD |
16215 | { |
16216 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16217 | } | |
d14a1e28 RD |
16218 | return resultobj; |
16219 | fail: | |
16220 | return NULL; | |
16221 | } | |
16222 | ||
16223 | ||
c32bde28 | 16224 | static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16225 | PyObject *resultobj; |
16226 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16227 | bool result; | |
16228 | PyObject * obj0 = 0 ; | |
16229 | char *kwnames[] = { | |
16230 | (char *) "self", NULL | |
16231 | }; | |
16232 | ||
16233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16234 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16235 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16236 | { |
16237 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16238 | result = (bool)(arg1)->base_Validate(); | |
16239 | ||
16240 | wxPyEndAllowThreads(__tstate); | |
16241 | if (PyErr_Occurred()) SWIG_fail; | |
16242 | } | |
4f89f6a3 RD |
16243 | { |
16244 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16245 | } | |
d14a1e28 RD |
16246 | return resultobj; |
16247 | fail: | |
16248 | return NULL; | |
16249 | } | |
16250 | ||
16251 | ||
c32bde28 | 16252 | static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16253 | PyObject *resultobj; |
16254 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16255 | bool result; | |
16256 | PyObject * obj0 = 0 ; | |
16257 | char *kwnames[] = { | |
16258 | (char *) "self", NULL | |
16259 | }; | |
16260 | ||
16261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16262 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16263 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16264 | { |
16265 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16266 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus(); | |
16267 | ||
16268 | wxPyEndAllowThreads(__tstate); | |
16269 | if (PyErr_Occurred()) SWIG_fail; | |
16270 | } | |
4f89f6a3 RD |
16271 | { |
16272 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16273 | } | |
d14a1e28 RD |
16274 | return resultobj; |
16275 | fail: | |
16276 | return NULL; | |
16277 | } | |
16278 | ||
16279 | ||
c32bde28 | 16280 | static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16281 | PyObject *resultobj; |
16282 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16283 | bool result; | |
16284 | PyObject * obj0 = 0 ; | |
16285 | char *kwnames[] = { | |
16286 | (char *) "self", NULL | |
16287 | }; | |
16288 | ||
16289 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16290 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16291 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16292 | { |
16293 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16294 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
16295 | ||
16296 | wxPyEndAllowThreads(__tstate); | |
16297 | if (PyErr_Occurred()) SWIG_fail; | |
16298 | } | |
4f89f6a3 RD |
16299 | { |
16300 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16301 | } | |
d14a1e28 RD |
16302 | return resultobj; |
16303 | fail: | |
16304 | return NULL; | |
16305 | } | |
16306 | ||
16307 | ||
c32bde28 | 16308 | static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16309 | PyObject *resultobj; |
16310 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16311 | wxSize result; | |
16312 | PyObject * obj0 = 0 ; | |
16313 | char *kwnames[] = { | |
16314 | (char *) "self", NULL | |
16315 | }; | |
16316 | ||
16317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16318 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16319 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16320 | { |
16321 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16322 | result = ((wxPyWindow const *)arg1)->base_GetMaxSize(); | |
16323 | ||
16324 | wxPyEndAllowThreads(__tstate); | |
16325 | if (PyErr_Occurred()) SWIG_fail; | |
16326 | } | |
16327 | { | |
16328 | wxSize * resultptr; | |
16329 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 16330 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
16331 | } |
16332 | return resultobj; | |
16333 | fail: | |
16334 | return NULL; | |
16335 | } | |
16336 | ||
16337 | ||
c32bde28 | 16338 | static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16339 | PyObject *resultobj; |
16340 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16341 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16342 | PyObject * obj0 = 0 ; | |
16343 | PyObject * obj1 = 0 ; | |
16344 | char *kwnames[] = { | |
16345 | (char *) "self",(char *) "child", NULL | |
16346 | }; | |
16347 | ||
16348 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
16349 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16350 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16351 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
16352 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16353 | { |
16354 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16355 | (arg1)->base_AddChild(arg2); | |
16356 | ||
16357 | wxPyEndAllowThreads(__tstate); | |
16358 | if (PyErr_Occurred()) SWIG_fail; | |
16359 | } | |
16360 | Py_INCREF(Py_None); resultobj = Py_None; | |
16361 | return resultobj; | |
16362 | fail: | |
16363 | return NULL; | |
16364 | } | |
16365 | ||
16366 | ||
c32bde28 | 16367 | static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16368 | PyObject *resultobj; |
16369 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16370 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16371 | PyObject * obj0 = 0 ; | |
16372 | PyObject * obj1 = 0 ; | |
16373 | char *kwnames[] = { | |
16374 | (char *) "self",(char *) "child", NULL | |
16375 | }; | |
16376 | ||
16377 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
16378 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16379 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16380 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
16381 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16382 | { |
16383 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16384 | (arg1)->base_RemoveChild(arg2); | |
16385 | ||
16386 | wxPyEndAllowThreads(__tstate); | |
16387 | if (PyErr_Occurred()) SWIG_fail; | |
16388 | } | |
16389 | Py_INCREF(Py_None); resultobj = Py_None; | |
16390 | return resultobj; | |
16391 | fail: | |
16392 | return NULL; | |
16393 | } | |
16394 | ||
16395 | ||
c32bde28 | 16396 | static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
16397 | PyObject *resultobj; |
16398 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16399 | bool result; | |
16400 | PyObject * obj0 = 0 ; | |
16401 | char *kwnames[] = { | |
16402 | (char *) "self", NULL | |
16403 | }; | |
16404 | ||
16405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail; | |
16406 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16407 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16408 | { | |
16409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
db3e571a | 16410 | result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours(); |
1cb4a8aa RD |
16411 | |
16412 | wxPyEndAllowThreads(__tstate); | |
16413 | if (PyErr_Occurred()) SWIG_fail; | |
16414 | } | |
16415 | { | |
16416 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16417 | } | |
16418 | return resultobj; | |
16419 | fail: | |
16420 | return NULL; | |
16421 | } | |
16422 | ||
16423 | ||
c32bde28 | 16424 | static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
16425 | PyObject *resultobj; |
16426 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16427 | wxColour *arg2 = 0 ; | |
16428 | wxColour temp2 ; | |
16429 | PyObject * obj0 = 0 ; | |
16430 | PyObject * obj1 = 0 ; | |
16431 | char *kwnames[] = { | |
16432 | (char *) "self",(char *) "c", NULL | |
16433 | }; | |
16434 | ||
16435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail; | |
16436 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16437 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16438 | { | |
16439 | arg2 = &temp2; | |
16440 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
16441 | } | |
16442 | { | |
16443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16444 | (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2); | |
16445 | ||
16446 | wxPyEndAllowThreads(__tstate); | |
16447 | if (PyErr_Occurred()) SWIG_fail; | |
16448 | } | |
16449 | Py_INCREF(Py_None); resultobj = Py_None; | |
16450 | return resultobj; | |
16451 | fail: | |
16452 | return NULL; | |
16453 | } | |
16454 | ||
16455 | ||
c32bde28 | 16456 | static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
db3e571a RD |
16457 | PyObject *resultobj; |
16458 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16459 | wxVisualAttributes result; | |
16460 | PyObject * obj0 = 0 ; | |
16461 | char *kwnames[] = { | |
16462 | (char *) "self", NULL | |
16463 | }; | |
16464 | ||
16465 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail; | |
16466 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16467 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16468 | { | |
16469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16470 | result = (arg1)->base_GetDefaultAttributes(); | |
16471 | ||
16472 | wxPyEndAllowThreads(__tstate); | |
16473 | if (PyErr_Occurred()) SWIG_fail; | |
16474 | } | |
16475 | { | |
16476 | wxVisualAttributes * resultptr; | |
16477 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
16478 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
16479 | } | |
16480 | return resultobj; | |
16481 | fail: | |
16482 | return NULL; | |
16483 | } | |
16484 | ||
16485 | ||
c32bde28 | 16486 | static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
16487 | PyObject *obj; |
16488 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16489 | SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj); | |
16490 | Py_INCREF(obj); | |
16491 | return Py_BuildValue((char *)""); | |
16492 | } | |
c32bde28 | 16493 | static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16494 | PyObject *resultobj; |
16495 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 | 16496 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
16497 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
16498 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
16499 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
16500 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
16501 | long arg5 = (long) 0 ; | |
16502 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
16503 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
16504 | wxPyPanel *result; | |
16505 | wxPoint temp3 ; | |
16506 | wxSize temp4 ; | |
ae8162c8 | 16507 | bool temp6 = false ; |
d14a1e28 | 16508 | PyObject * obj0 = 0 ; |
994141e6 | 16509 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16510 | PyObject * obj2 = 0 ; |
16511 | PyObject * obj3 = 0 ; | |
994141e6 | 16512 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
16513 | PyObject * obj5 = 0 ; |
16514 | char *kwnames[] = { | |
16515 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
16516 | }; | |
16517 | ||
248ed943 | 16518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
16519 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
16520 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 16521 | if (obj1) { |
c32bde28 | 16522 | arg2 = (int)SWIG_As_int(obj1); |
248ed943 RD |
16523 | if (PyErr_Occurred()) SWIG_fail; |
16524 | } | |
d14a1e28 RD |
16525 | if (obj2) { |
16526 | { | |
16527 | arg3 = &temp3; | |
16528 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
16529 | } | |
16530 | } | |
16531 | if (obj3) { | |
16532 | { | |
16533 | arg4 = &temp4; | |
16534 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
16535 | } | |
16536 | } | |
994141e6 | 16537 | if (obj4) { |
c32bde28 | 16538 | arg5 = (long)SWIG_As_long(obj4); |
15afbcd0 | 16539 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 16540 | } |
d14a1e28 RD |
16541 | if (obj5) { |
16542 | { | |
16543 | arg6 = wxString_in_helper(obj5); | |
16544 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 16545 | temp6 = true; |
d14a1e28 RD |
16546 | } |
16547 | } | |
16548 | { | |
e3b71cb8 | 16549 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
16550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
16551 | result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
16552 | ||
16553 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 16554 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 16555 | } |
15afbcd0 | 16556 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1); |
d14a1e28 RD |
16557 | { |
16558 | if (temp6) | |
16559 | delete arg6; | |
16560 | } | |
16561 | return resultobj; | |
16562 | fail: | |
16563 | { | |
16564 | if (temp6) | |
16565 | delete arg6; | |
16566 | } | |
16567 | return NULL; | |
16568 | } | |
16569 | ||
16570 | ||
c32bde28 | 16571 | static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
16572 | PyObject *resultobj; |
16573 | wxPyPanel *result; | |
16574 | char *kwnames[] = { | |
16575 | NULL | |
16576 | }; | |
16577 | ||
16578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail; | |
16579 | { | |
e3b71cb8 | 16580 | if (!wxPyCheckForApp()) SWIG_fail; |
1cb4a8aa RD |
16581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
16582 | result = (wxPyPanel *)new wxPyPanel(); | |
16583 | ||
16584 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 16585 | if (PyErr_Occurred()) SWIG_fail; |
1cb4a8aa RD |
16586 | } |
16587 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1); | |
16588 | return resultobj; | |
16589 | fail: | |
16590 | return NULL; | |
16591 | } | |
16592 | ||
16593 | ||
c32bde28 | 16594 | static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16595 | PyObject *resultobj; |
16596 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16597 | PyObject *arg2 = (PyObject *) 0 ; | |
16598 | PyObject *arg3 = (PyObject *) 0 ; | |
16599 | PyObject * obj0 = 0 ; | |
16600 | PyObject * obj1 = 0 ; | |
16601 | PyObject * obj2 = 0 ; | |
16602 | char *kwnames[] = { | |
16603 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
16604 | }; | |
16605 | ||
16606 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
16607 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16608 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16609 | arg2 = obj1; |
16610 | arg3 = obj2; | |
16611 | { | |
16612 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16613 | (arg1)->_setCallbackInfo(arg2,arg3); | |
16614 | ||
16615 | wxPyEndAllowThreads(__tstate); | |
16616 | if (PyErr_Occurred()) SWIG_fail; | |
16617 | } | |
16618 | Py_INCREF(Py_None); resultobj = Py_None; | |
16619 | return resultobj; | |
16620 | fail: | |
16621 | return NULL; | |
16622 | } | |
16623 | ||
16624 | ||
c32bde28 | 16625 | static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
db3e571a RD |
16626 | PyObject *resultobj; |
16627 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16628 | wxSize *arg2 = 0 ; | |
16629 | wxSize temp2 ; | |
16630 | PyObject * obj0 = 0 ; | |
16631 | PyObject * obj1 = 0 ; | |
16632 | char *kwnames[] = { | |
16633 | (char *) "self",(char *) "size", NULL | |
16634 | }; | |
16635 | ||
16636 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail; | |
16637 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
16638 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16639 | { | |
16640 | arg2 = &temp2; | |
16641 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
16642 | } | |
16643 | { | |
16644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16645 | (arg1)->SetBestSize((wxSize const &)*arg2); | |
16646 | ||
16647 | wxPyEndAllowThreads(__tstate); | |
16648 | if (PyErr_Occurred()) SWIG_fail; | |
16649 | } | |
16650 | Py_INCREF(Py_None); resultobj = Py_None; | |
16651 | return resultobj; | |
16652 | fail: | |
16653 | return NULL; | |
16654 | } | |
16655 | ||
16656 | ||
c32bde28 | 16657 | static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16658 | PyObject *resultobj; |
16659 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16660 | int arg2 ; | |
16661 | int arg3 ; | |
16662 | int arg4 ; | |
16663 | int arg5 ; | |
16664 | PyObject * obj0 = 0 ; | |
994141e6 RD |
16665 | PyObject * obj1 = 0 ; |
16666 | PyObject * obj2 = 0 ; | |
16667 | PyObject * obj3 = 0 ; | |
16668 | PyObject * obj4 = 0 ; | |
d14a1e28 RD |
16669 | char *kwnames[] = { |
16670 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
16671 | }; | |
16672 | ||
994141e6 | 16673 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
16674 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16675 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 16676 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 16677 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 16678 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 16679 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 16680 | arg4 = (int)SWIG_As_int(obj3); |
15afbcd0 | 16681 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 16682 | arg5 = (int)SWIG_As_int(obj4); |
15afbcd0 | 16683 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
16684 | { |
16685 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16686 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
16687 | ||
16688 | wxPyEndAllowThreads(__tstate); | |
16689 | if (PyErr_Occurred()) SWIG_fail; | |
16690 | } | |
16691 | Py_INCREF(Py_None); resultobj = Py_None; | |
16692 | return resultobj; | |
16693 | fail: | |
16694 | return NULL; | |
16695 | } | |
16696 | ||
16697 | ||
c32bde28 | 16698 | static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16699 | PyObject *resultobj; |
16700 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16701 | int arg2 ; | |
16702 | int arg3 ; | |
16703 | int arg4 ; | |
16704 | int arg5 ; | |
16705 | int arg6 = (int) wxSIZE_AUTO ; | |
16706 | PyObject * obj0 = 0 ; | |
994141e6 RD |
16707 | PyObject * obj1 = 0 ; |
16708 | PyObject * obj2 = 0 ; | |
16709 | PyObject * obj3 = 0 ; | |
16710 | PyObject * obj4 = 0 ; | |
16711 | PyObject * obj5 = 0 ; | |
d14a1e28 RD |
16712 | char *kwnames[] = { |
16713 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
16714 | }; | |
16715 | ||
994141e6 | 16716 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
16717 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16718 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 16719 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 16720 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 16721 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 16722 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 16723 | arg4 = (int)SWIG_As_int(obj3); |
15afbcd0 | 16724 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 16725 | arg5 = (int)SWIG_As_int(obj4); |
15afbcd0 | 16726 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 16727 | if (obj5) { |
c32bde28 | 16728 | arg6 = (int)SWIG_As_int(obj5); |
15afbcd0 | 16729 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 16730 | } |
d14a1e28 RD |
16731 | { |
16732 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16733 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
16734 | ||
16735 | wxPyEndAllowThreads(__tstate); | |
16736 | if (PyErr_Occurred()) SWIG_fail; | |
16737 | } | |
16738 | Py_INCREF(Py_None); resultobj = Py_None; | |
16739 | return resultobj; | |
16740 | fail: | |
16741 | return NULL; | |
16742 | } | |
16743 | ||
16744 | ||
c32bde28 | 16745 | static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16746 | PyObject *resultobj; |
16747 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16748 | int arg2 ; | |
16749 | int arg3 ; | |
16750 | PyObject * obj0 = 0 ; | |
994141e6 RD |
16751 | PyObject * obj1 = 0 ; |
16752 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
16753 | char *kwnames[] = { |
16754 | (char *) "self",(char *) "width",(char *) "height", NULL | |
16755 | }; | |
16756 | ||
994141e6 | 16757 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
16758 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16759 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 16760 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 16761 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 16762 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 16763 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
16764 | { |
16765 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16766 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
16767 | ||
16768 | wxPyEndAllowThreads(__tstate); | |
16769 | if (PyErr_Occurred()) SWIG_fail; | |
16770 | } | |
16771 | Py_INCREF(Py_None); resultobj = Py_None; | |
16772 | return resultobj; | |
16773 | fail: | |
16774 | return NULL; | |
16775 | } | |
16776 | ||
16777 | ||
c32bde28 | 16778 | static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16779 | PyObject *resultobj; |
16780 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16781 | int arg2 ; | |
16782 | int arg3 ; | |
16783 | PyObject * obj0 = 0 ; | |
994141e6 RD |
16784 | PyObject * obj1 = 0 ; |
16785 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
16786 | char *kwnames[] = { |
16787 | (char *) "self",(char *) "x",(char *) "y", NULL | |
16788 | }; | |
16789 | ||
994141e6 | 16790 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
16791 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16792 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 16793 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 16794 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 16795 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 16796 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
16797 | { |
16798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16799 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
16800 | ||
16801 | wxPyEndAllowThreads(__tstate); | |
16802 | if (PyErr_Occurred()) SWIG_fail; | |
16803 | } | |
16804 | Py_INCREF(Py_None); resultobj = Py_None; | |
16805 | return resultobj; | |
16806 | fail: | |
16807 | return NULL; | |
16808 | } | |
16809 | ||
16810 | ||
c32bde28 | 16811 | static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16812 | PyObject *resultobj; |
16813 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16814 | int *arg2 = (int *) 0 ; | |
16815 | int *arg3 = (int *) 0 ; | |
16816 | int temp2 ; | |
c32bde28 | 16817 | int res2 = 0 ; |
d14a1e28 | 16818 | int temp3 ; |
c32bde28 | 16819 | int res3 = 0 ; |
d14a1e28 RD |
16820 | PyObject * obj0 = 0 ; |
16821 | char *kwnames[] = { | |
16822 | (char *) "self", NULL | |
16823 | }; | |
16824 | ||
c32bde28 RD |
16825 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
16826 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 16827 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
16828 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16829 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16830 | { |
16831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16832 | ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3); | |
16833 | ||
16834 | wxPyEndAllowThreads(__tstate); | |
16835 | if (PyErr_Occurred()) SWIG_fail; | |
16836 | } | |
16837 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
16838 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
16839 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
16840 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
16841 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
16842 | return resultobj; |
16843 | fail: | |
16844 | return NULL; | |
16845 | } | |
16846 | ||
16847 | ||
c32bde28 | 16848 | static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16849 | PyObject *resultobj; |
16850 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16851 | int *arg2 = (int *) 0 ; | |
16852 | int *arg3 = (int *) 0 ; | |
16853 | int temp2 ; | |
c32bde28 | 16854 | int res2 = 0 ; |
d14a1e28 | 16855 | int temp3 ; |
c32bde28 | 16856 | int res3 = 0 ; |
d14a1e28 RD |
16857 | PyObject * obj0 = 0 ; |
16858 | char *kwnames[] = { | |
16859 | (char *) "self", NULL | |
16860 | }; | |
16861 | ||
c32bde28 RD |
16862 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
16863 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 16864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
16865 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16866 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16867 | { |
16868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16869 | ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
16870 | ||
16871 | wxPyEndAllowThreads(__tstate); | |
16872 | if (PyErr_Occurred()) SWIG_fail; | |
16873 | } | |
16874 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
16875 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
16876 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
16877 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
16878 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
16879 | return resultobj; |
16880 | fail: | |
16881 | return NULL; | |
16882 | } | |
16883 | ||
16884 | ||
c32bde28 | 16885 | static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16886 | PyObject *resultobj; |
16887 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16888 | int *arg2 = (int *) 0 ; | |
16889 | int *arg3 = (int *) 0 ; | |
16890 | int temp2 ; | |
c32bde28 | 16891 | int res2 = 0 ; |
d14a1e28 | 16892 | int temp3 ; |
c32bde28 | 16893 | int res3 = 0 ; |
d14a1e28 RD |
16894 | PyObject * obj0 = 0 ; |
16895 | char *kwnames[] = { | |
16896 | (char *) "self", NULL | |
16897 | }; | |
16898 | ||
c32bde28 RD |
16899 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
16900 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 16901 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
16902 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16903 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16904 | { |
16905 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16906 | ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3); | |
16907 | ||
16908 | wxPyEndAllowThreads(__tstate); | |
16909 | if (PyErr_Occurred()) SWIG_fail; | |
16910 | } | |
16911 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
16912 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
16913 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
16914 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
16915 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
16916 | return resultobj; |
16917 | fail: | |
16918 | return NULL; | |
16919 | } | |
16920 | ||
16921 | ||
c32bde28 | 16922 | static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16923 | PyObject *resultobj; |
16924 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16925 | wxSize result; | |
16926 | PyObject * obj0 = 0 ; | |
16927 | char *kwnames[] = { | |
16928 | (char *) "self", NULL | |
16929 | }; | |
16930 | ||
16931 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16932 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16933 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16934 | { |
16935 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16936 | result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize(); | |
16937 | ||
16938 | wxPyEndAllowThreads(__tstate); | |
16939 | if (PyErr_Occurred()) SWIG_fail; | |
16940 | } | |
16941 | { | |
16942 | wxSize * resultptr; | |
16943 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 16944 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
16945 | } |
16946 | return resultobj; | |
16947 | fail: | |
16948 | return NULL; | |
16949 | } | |
16950 | ||
16951 | ||
c32bde28 | 16952 | static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16953 | PyObject *resultobj; |
16954 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16955 | wxSize result; | |
16956 | PyObject * obj0 = 0 ; | |
16957 | char *kwnames[] = { | |
16958 | (char *) "self", NULL | |
16959 | }; | |
16960 | ||
16961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16962 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16963 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16964 | { |
16965 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16966 | result = ((wxPyPanel const *)arg1)->base_DoGetBestSize(); | |
16967 | ||
16968 | wxPyEndAllowThreads(__tstate); | |
16969 | if (PyErr_Occurred()) SWIG_fail; | |
16970 | } | |
16971 | { | |
16972 | wxSize * resultptr; | |
16973 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 16974 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
16975 | } |
16976 | return resultobj; | |
16977 | fail: | |
16978 | return NULL; | |
16979 | } | |
16980 | ||
16981 | ||
c32bde28 | 16982 | static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16983 | PyObject *resultobj; |
16984 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16985 | PyObject * obj0 = 0 ; | |
16986 | char *kwnames[] = { | |
16987 | (char *) "self", NULL | |
16988 | }; | |
16989 | ||
16990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16991 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16992 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16993 | { |
16994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16995 | (arg1)->base_InitDialog(); | |
16996 | ||
16997 | wxPyEndAllowThreads(__tstate); | |
16998 | if (PyErr_Occurred()) SWIG_fail; | |
16999 | } | |
17000 | Py_INCREF(Py_None); resultobj = Py_None; | |
17001 | return resultobj; | |
17002 | fail: | |
17003 | return NULL; | |
17004 | } | |
17005 | ||
17006 | ||
c32bde28 | 17007 | static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17008 | PyObject *resultobj; |
17009 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17010 | bool result; | |
17011 | PyObject * obj0 = 0 ; | |
17012 | char *kwnames[] = { | |
17013 | (char *) "self", NULL | |
17014 | }; | |
17015 | ||
17016 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17017 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
17018 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17019 | { |
17020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17021 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
17022 | ||
17023 | wxPyEndAllowThreads(__tstate); | |
17024 | if (PyErr_Occurred()) SWIG_fail; | |
17025 | } | |
4f89f6a3 RD |
17026 | { |
17027 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17028 | } | |
d14a1e28 RD |
17029 | return resultobj; |
17030 | fail: | |
17031 | return NULL; | |
17032 | } | |
17033 | ||
17034 | ||
c32bde28 | 17035 | static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17036 | PyObject *resultobj; |
17037 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17038 | bool result; | |
17039 | PyObject * obj0 = 0 ; | |
17040 | char *kwnames[] = { | |
17041 | (char *) "self", NULL | |
17042 | }; | |
17043 | ||
17044 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17045 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
17046 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17047 | { |
17048 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17049 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
17050 | ||
17051 | wxPyEndAllowThreads(__tstate); | |
17052 | if (PyErr_Occurred()) SWIG_fail; | |
17053 | } | |
4f89f6a3 RD |
17054 | { |
17055 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17056 | } | |
d14a1e28 RD |
17057 | return resultobj; |
17058 | fail: | |
17059 | return NULL; | |
17060 | } | |
17061 | ||
17062 | ||
c32bde28 | 17063 | static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17064 | PyObject *resultobj; |
17065 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17066 | bool result; | |
17067 | PyObject * obj0 = 0 ; | |
17068 | char *kwnames[] = { | |
17069 | (char *) "self", NULL | |
17070 | }; | |
17071 | ||
17072 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17073 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
17074 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17075 | { |
17076 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17077 | result = (bool)(arg1)->base_Validate(); | |
17078 | ||
17079 | wxPyEndAllowThreads(__tstate); | |
17080 | if (PyErr_Occurred()) SWIG_fail; | |
17081 | } | |
4f89f6a3 RD |
17082 | { |
17083 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17084 | } | |
d14a1e28 RD |
17085 | return resultobj; |
17086 | fail: | |
17087 | return NULL; | |
17088 | } | |
17089 | ||
17090 | ||
c32bde28 | 17091 | static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17092 | PyObject *resultobj; |
17093 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17094 | bool result; | |
17095 | PyObject * obj0 = 0 ; | |
17096 | char *kwnames[] = { | |
17097 | (char *) "self", NULL | |
17098 | }; | |
17099 | ||
17100 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17101 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
17102 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17103 | { |
17104 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17105 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus(); | |
17106 | ||
17107 | wxPyEndAllowThreads(__tstate); | |
17108 | if (PyErr_Occurred()) SWIG_fail; | |
17109 | } | |
4f89f6a3 RD |
17110 | { |
17111 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17112 | } | |
d14a1e28 RD |
17113 | return resultobj; |
17114 | fail: | |
17115 | return NULL; | |
17116 | } | |
17117 | ||
17118 | ||
c32bde28 | 17119 | static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17120 | PyObject *resultobj; |
17121 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17122 | bool result; | |
17123 | PyObject * obj0 = 0 ; | |
17124 | char *kwnames[] = { | |
17125 | (char *) "self", NULL | |
17126 | }; | |
17127 | ||
17128 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17129 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
17130 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17131 | { |
17132 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17133 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
17134 | ||
17135 | wxPyEndAllowThreads(__tstate); | |
17136 | if (PyErr_Occurred()) SWIG_fail; | |
17137 | } | |
4f89f6a3 RD |
17138 | { |
17139 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17140 | } | |
d14a1e28 RD |
17141 | return resultobj; |
17142 | fail: | |
17143 | return NULL; | |
17144 | } | |
17145 | ||
17146 | ||
c32bde28 | 17147 | static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17148 | PyObject *resultobj; |
17149 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17150 | wxSize result; | |
17151 | PyObject * obj0 = 0 ; | |
17152 | char *kwnames[] = { | |
17153 | (char *) "self", NULL | |
17154 | }; | |
17155 | ||
17156 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17157 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
17158 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17159 | { |
17160 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17161 | result = ((wxPyPanel const *)arg1)->base_GetMaxSize(); | |
17162 | ||
17163 | wxPyEndAllowThreads(__tstate); | |
17164 | if (PyErr_Occurred()) SWIG_fail; | |
17165 | } | |
17166 | { | |
17167 | wxSize * resultptr; | |
17168 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 17169 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
17170 | } |
17171 | return resultobj; | |
17172 | fail: | |
17173 | return NULL; | |
17174 | } | |
17175 | ||
17176 | ||
c32bde28 | 17177 | static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17178 | PyObject *resultobj; |
17179 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17180 | wxWindow *arg2 = (wxWindow *) 0 ; | |
17181 | PyObject * obj0 = 0 ; | |
17182 | PyObject * obj1 = 0 ; | |
17183 | char *kwnames[] = { | |
17184 | (char *) "self",(char *) "child", NULL | |
17185 | }; | |
17186 | ||
17187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17188 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
17189 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17190 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
17191 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17192 | { |
17193 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17194 | (arg1)->base_AddChild(arg2); | |
17195 | ||
17196 | wxPyEndAllowThreads(__tstate); | |
17197 | if (PyErr_Occurred()) SWIG_fail; | |
17198 | } | |
17199 | Py_INCREF(Py_None); resultobj = Py_None; | |
17200 | return resultobj; | |
17201 | fail: | |
17202 | return NULL; | |
17203 | } | |
17204 | ||
17205 | ||
c32bde28 | 17206 | static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17207 | PyObject *resultobj; |
17208 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17209 | wxWindow *arg2 = (wxWindow *) 0 ; | |
17210 | PyObject * obj0 = 0 ; | |
17211 | PyObject * obj1 = 0 ; | |
17212 | char *kwnames[] = { | |
17213 | (char *) "self",(char *) "child", NULL | |
17214 | }; | |
17215 | ||
17216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17217 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
17218 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17219 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
17220 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17221 | { |
17222 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17223 | (arg1)->base_RemoveChild(arg2); | |
17224 | ||
17225 | wxPyEndAllowThreads(__tstate); | |
17226 | if (PyErr_Occurred()) SWIG_fail; | |
17227 | } | |
17228 | Py_INCREF(Py_None); resultobj = Py_None; | |
17229 | return resultobj; | |
17230 | fail: | |
17231 | return NULL; | |
17232 | } | |
17233 | ||
17234 | ||
c32bde28 | 17235 | static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 17236 | PyObject *resultobj; |
1cb4a8aa RD |
17237 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
17238 | bool result; | |
17239 | PyObject * obj0 = 0 ; | |
d14a1e28 | 17240 | char *kwnames[] = { |
1cb4a8aa | 17241 | (char *) "self", NULL |
d14a1e28 RD |
17242 | }; |
17243 | ||
1cb4a8aa RD |
17244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail; |
17245 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
17246 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17247 | { |
17248 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
db3e571a | 17249 | result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours(); |
d14a1e28 RD |
17250 | |
17251 | wxPyEndAllowThreads(__tstate); | |
17252 | if (PyErr_Occurred()) SWIG_fail; | |
17253 | } | |
1cb4a8aa RD |
17254 | { |
17255 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17256 | } | |
d14a1e28 RD |
17257 | return resultobj; |
17258 | fail: | |
17259 | return NULL; | |
17260 | } | |
17261 | ||
17262 | ||
c32bde28 | 17263 | static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 17264 | PyObject *resultobj; |
1cb4a8aa RD |
17265 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
17266 | wxColour *arg2 = 0 ; | |
17267 | wxColour temp2 ; | |
d14a1e28 | 17268 | PyObject * obj0 = 0 ; |
1cb4a8aa | 17269 | PyObject * obj1 = 0 ; |
d14a1e28 | 17270 | char *kwnames[] = { |
1cb4a8aa | 17271 | (char *) "self",(char *) "c", NULL |
d14a1e28 RD |
17272 | }; |
17273 | ||
1cb4a8aa RD |
17274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail; |
17275 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
15afbcd0 | 17276 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
1cb4a8aa RD |
17277 | { |
17278 | arg2 = &temp2; | |
17279 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
17280 | } | |
d14a1e28 RD |
17281 | { |
17282 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1cb4a8aa | 17283 | (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2); |
d14a1e28 RD |
17284 | |
17285 | wxPyEndAllowThreads(__tstate); | |
17286 | if (PyErr_Occurred()) SWIG_fail; | |
17287 | } | |
17288 | Py_INCREF(Py_None); resultobj = Py_None; | |
17289 | return resultobj; | |
17290 | fail: | |
17291 | return NULL; | |
17292 | } | |
17293 | ||
17294 | ||
c32bde28 | 17295 | static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
db3e571a RD |
17296 | PyObject *resultobj; |
17297 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17298 | wxVisualAttributes result; | |
17299 | PyObject * obj0 = 0 ; | |
17300 | char *kwnames[] = { | |
17301 | (char *) "self", NULL | |
17302 | }; | |
17303 | ||
17304 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail; | |
17305 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
17306 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17307 | { | |
17308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17309 | result = (arg1)->base_GetDefaultAttributes(); | |
17310 | ||
17311 | wxPyEndAllowThreads(__tstate); | |
17312 | if (PyErr_Occurred()) SWIG_fail; | |
17313 | } | |
17314 | { | |
17315 | wxVisualAttributes * resultptr; | |
17316 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
17317 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
17318 | } | |
17319 | return resultobj; | |
17320 | fail: | |
17321 | return NULL; | |
17322 | } | |
17323 | ||
17324 | ||
c32bde28 | 17325 | static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) { |
1cb4a8aa RD |
17326 | PyObject *obj; |
17327 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17328 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj); | |
17329 | Py_INCREF(obj); | |
17330 | return Py_BuildValue((char *)""); | |
17331 | } | |
c32bde28 | 17332 | static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 17333 | PyObject *resultobj; |
1cb4a8aa | 17334 | wxWindow *arg1 = (wxWindow *) 0 ; |
248ed943 | 17335 | int arg2 = (int) (int)-1 ; |
1cb4a8aa RD |
17336 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
17337 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
17338 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
17339 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
17340 | long arg5 = (long) 0 ; | |
17341 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
17342 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
17343 | wxPyScrolledWindow *result; | |
17344 | wxPoint temp3 ; | |
17345 | wxSize temp4 ; | |
ae8162c8 | 17346 | bool temp6 = false ; |
d14a1e28 | 17347 | PyObject * obj0 = 0 ; |
1cb4a8aa RD |
17348 | PyObject * obj1 = 0 ; |
17349 | PyObject * obj2 = 0 ; | |
17350 | PyObject * obj3 = 0 ; | |
17351 | PyObject * obj4 = 0 ; | |
17352 | PyObject * obj5 = 0 ; | |
d14a1e28 | 17353 | char *kwnames[] = { |
1cb4a8aa | 17354 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
17355 | }; |
17356 | ||
248ed943 | 17357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
1cb4a8aa | 17358 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
15afbcd0 | 17359 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
248ed943 | 17360 | if (obj1) { |
c32bde28 | 17361 | arg2 = (int)SWIG_As_int(obj1); |
248ed943 RD |
17362 | if (PyErr_Occurred()) SWIG_fail; |
17363 | } | |
1cb4a8aa RD |
17364 | if (obj2) { |
17365 | { | |
17366 | arg3 = &temp3; | |
17367 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
17368 | } | |
17369 | } | |
17370 | if (obj3) { | |
17371 | { | |
17372 | arg4 = &temp4; | |
17373 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
17374 | } | |
17375 | } | |
17376 | if (obj4) { | |
c32bde28 | 17377 | arg5 = (long)SWIG_As_long(obj4); |
1cb4a8aa RD |
17378 | if (PyErr_Occurred()) SWIG_fail; |
17379 | } | |
17380 | if (obj5) { | |
17381 | { | |
17382 | arg6 = wxString_in_helper(obj5); | |
17383 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 17384 | temp6 = true; |
1cb4a8aa RD |
17385 | } |
17386 | } | |
17387 | { | |
e3b71cb8 | 17388 | if (!wxPyCheckForApp()) SWIG_fail; |
1cb4a8aa RD |
17389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17390 | result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
17391 | ||
17392 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17393 | if (PyErr_Occurred()) SWIG_fail; |
1cb4a8aa RD |
17394 | } |
17395 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1); | |
17396 | { | |
17397 | if (temp6) | |
17398 | delete arg6; | |
17399 | } | |
17400 | return resultobj; | |
17401 | fail: | |
17402 | { | |
17403 | if (temp6) | |
17404 | delete arg6; | |
17405 | } | |
17406 | return NULL; | |
17407 | } | |
17408 | ||
17409 | ||
c32bde28 | 17410 | static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
17411 | PyObject *resultobj; |
17412 | wxPyScrolledWindow *result; | |
17413 | char *kwnames[] = { | |
17414 | NULL | |
17415 | }; | |
17416 | ||
17417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail; | |
17418 | { | |
e3b71cb8 | 17419 | if (!wxPyCheckForApp()) SWIG_fail; |
1cb4a8aa RD |
17420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17421 | result = (wxPyScrolledWindow *)new wxPyScrolledWindow(); | |
17422 | ||
17423 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17424 | if (PyErr_Occurred()) SWIG_fail; |
1cb4a8aa RD |
17425 | } |
17426 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1); | |
17427 | return resultobj; | |
17428 | fail: | |
17429 | return NULL; | |
17430 | } | |
17431 | ||
17432 | ||
c32bde28 | 17433 | static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
17434 | PyObject *resultobj; |
17435 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17436 | PyObject *arg2 = (PyObject *) 0 ; | |
17437 | PyObject *arg3 = (PyObject *) 0 ; | |
17438 | PyObject * obj0 = 0 ; | |
17439 | PyObject * obj1 = 0 ; | |
17440 | PyObject * obj2 = 0 ; | |
17441 | char *kwnames[] = { | |
17442 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
17443 | }; | |
17444 | ||
17445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
17446 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17447 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17448 | arg2 = obj1; | |
17449 | arg3 = obj2; | |
17450 | { | |
17451 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17452 | (arg1)->_setCallbackInfo(arg2,arg3); | |
17453 | ||
17454 | wxPyEndAllowThreads(__tstate); | |
17455 | if (PyErr_Occurred()) SWIG_fail; | |
17456 | } | |
17457 | Py_INCREF(Py_None); resultobj = Py_None; | |
17458 | return resultobj; | |
17459 | fail: | |
17460 | return NULL; | |
17461 | } | |
17462 | ||
17463 | ||
c32bde28 | 17464 | static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
db3e571a RD |
17465 | PyObject *resultobj; |
17466 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17467 | wxSize *arg2 = 0 ; | |
17468 | wxSize temp2 ; | |
17469 | PyObject * obj0 = 0 ; | |
17470 | PyObject * obj1 = 0 ; | |
17471 | char *kwnames[] = { | |
17472 | (char *) "self",(char *) "size", NULL | |
17473 | }; | |
17474 | ||
17475 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail; | |
17476 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17477 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17478 | { | |
17479 | arg2 = &temp2; | |
17480 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
17481 | } | |
17482 | { | |
17483 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17484 | (arg1)->SetBestSize((wxSize const &)*arg2); | |
17485 | ||
17486 | wxPyEndAllowThreads(__tstate); | |
17487 | if (PyErr_Occurred()) SWIG_fail; | |
17488 | } | |
17489 | Py_INCREF(Py_None); resultobj = Py_None; | |
17490 | return resultobj; | |
17491 | fail: | |
17492 | return NULL; | |
17493 | } | |
17494 | ||
17495 | ||
c32bde28 | 17496 | static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
17497 | PyObject *resultobj; |
17498 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17499 | int arg2 ; | |
17500 | int arg3 ; | |
17501 | int arg4 ; | |
17502 | int arg5 ; | |
17503 | PyObject * obj0 = 0 ; | |
17504 | PyObject * obj1 = 0 ; | |
17505 | PyObject * obj2 = 0 ; | |
17506 | PyObject * obj3 = 0 ; | |
17507 | PyObject * obj4 = 0 ; | |
17508 | char *kwnames[] = { | |
17509 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
17510 | }; | |
17511 | ||
17512 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
17513 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17514 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 17515 | arg2 = (int)SWIG_As_int(obj1); |
1cb4a8aa | 17516 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 17517 | arg3 = (int)SWIG_As_int(obj2); |
1cb4a8aa | 17518 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 17519 | arg4 = (int)SWIG_As_int(obj3); |
1cb4a8aa | 17520 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 17521 | arg5 = (int)SWIG_As_int(obj4); |
1cb4a8aa RD |
17522 | if (PyErr_Occurred()) SWIG_fail; |
17523 | { | |
17524 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17525 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
17526 | ||
17527 | wxPyEndAllowThreads(__tstate); | |
17528 | if (PyErr_Occurred()) SWIG_fail; | |
17529 | } | |
17530 | Py_INCREF(Py_None); resultobj = Py_None; | |
17531 | return resultobj; | |
17532 | fail: | |
17533 | return NULL; | |
17534 | } | |
17535 | ||
17536 | ||
c32bde28 | 17537 | static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
17538 | PyObject *resultobj; |
17539 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17540 | int arg2 ; | |
17541 | int arg3 ; | |
17542 | int arg4 ; | |
17543 | int arg5 ; | |
17544 | int arg6 = (int) wxSIZE_AUTO ; | |
17545 | PyObject * obj0 = 0 ; | |
17546 | PyObject * obj1 = 0 ; | |
17547 | PyObject * obj2 = 0 ; | |
17548 | PyObject * obj3 = 0 ; | |
17549 | PyObject * obj4 = 0 ; | |
17550 | PyObject * obj5 = 0 ; | |
17551 | char *kwnames[] = { | |
17552 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
17553 | }; | |
17554 | ||
17555 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
17556 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17557 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 17558 | arg2 = (int)SWIG_As_int(obj1); |
1cb4a8aa | 17559 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 17560 | arg3 = (int)SWIG_As_int(obj2); |
1cb4a8aa | 17561 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 17562 | arg4 = (int)SWIG_As_int(obj3); |
1cb4a8aa | 17563 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 17564 | arg5 = (int)SWIG_As_int(obj4); |
1cb4a8aa RD |
17565 | if (PyErr_Occurred()) SWIG_fail; |
17566 | if (obj5) { | |
c32bde28 | 17567 | arg6 = (int)SWIG_As_int(obj5); |
1cb4a8aa RD |
17568 | if (PyErr_Occurred()) SWIG_fail; |
17569 | } | |
17570 | { | |
17571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17572 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
17573 | ||
17574 | wxPyEndAllowThreads(__tstate); | |
17575 | if (PyErr_Occurred()) SWIG_fail; | |
17576 | } | |
17577 | Py_INCREF(Py_None); resultobj = Py_None; | |
17578 | return resultobj; | |
17579 | fail: | |
17580 | return NULL; | |
17581 | } | |
17582 | ||
17583 | ||
c32bde28 | 17584 | static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
17585 | PyObject *resultobj; |
17586 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17587 | int arg2 ; | |
17588 | int arg3 ; | |
17589 | PyObject * obj0 = 0 ; | |
17590 | PyObject * obj1 = 0 ; | |
17591 | PyObject * obj2 = 0 ; | |
17592 | char *kwnames[] = { | |
17593 | (char *) "self",(char *) "width",(char *) "height", NULL | |
17594 | }; | |
17595 | ||
17596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
17597 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17598 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 17599 | arg2 = (int)SWIG_As_int(obj1); |
1cb4a8aa | 17600 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 17601 | arg3 = (int)SWIG_As_int(obj2); |
1cb4a8aa RD |
17602 | if (PyErr_Occurred()) SWIG_fail; |
17603 | { | |
17604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17605 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
17606 | ||
17607 | wxPyEndAllowThreads(__tstate); | |
17608 | if (PyErr_Occurred()) SWIG_fail; | |
17609 | } | |
17610 | Py_INCREF(Py_None); resultobj = Py_None; | |
17611 | return resultobj; | |
17612 | fail: | |
17613 | return NULL; | |
17614 | } | |
17615 | ||
17616 | ||
c32bde28 | 17617 | static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
17618 | PyObject *resultobj; |
17619 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17620 | int arg2 ; | |
17621 | int arg3 ; | |
17622 | PyObject * obj0 = 0 ; | |
17623 | PyObject * obj1 = 0 ; | |
17624 | PyObject * obj2 = 0 ; | |
17625 | char *kwnames[] = { | |
17626 | (char *) "self",(char *) "x",(char *) "y", NULL | |
17627 | }; | |
17628 | ||
17629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
17630 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17631 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 17632 | arg2 = (int)SWIG_As_int(obj1); |
1cb4a8aa | 17633 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 17634 | arg3 = (int)SWIG_As_int(obj2); |
1cb4a8aa RD |
17635 | if (PyErr_Occurred()) SWIG_fail; |
17636 | { | |
17637 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17638 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
17639 | ||
17640 | wxPyEndAllowThreads(__tstate); | |
17641 | if (PyErr_Occurred()) SWIG_fail; | |
17642 | } | |
17643 | Py_INCREF(Py_None); resultobj = Py_None; | |
17644 | return resultobj; | |
17645 | fail: | |
17646 | return NULL; | |
17647 | } | |
17648 | ||
17649 | ||
c32bde28 | 17650 | static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
17651 | PyObject *resultobj; |
17652 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17653 | int *arg2 = (int *) 0 ; | |
17654 | int *arg3 = (int *) 0 ; | |
17655 | int temp2 ; | |
c32bde28 | 17656 | int res2 = 0 ; |
1cb4a8aa | 17657 | int temp3 ; |
c32bde28 | 17658 | int res3 = 0 ; |
1cb4a8aa RD |
17659 | PyObject * obj0 = 0 ; |
17660 | char *kwnames[] = { | |
17661 | (char *) "self", NULL | |
17662 | }; | |
17663 | ||
c32bde28 RD |
17664 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
17665 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
1cb4a8aa RD |
17666 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail; |
17667 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17668 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17669 | { | |
17670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17671 | ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3); | |
17672 | ||
17673 | wxPyEndAllowThreads(__tstate); | |
17674 | if (PyErr_Occurred()) SWIG_fail; | |
17675 | } | |
17676 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
17677 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
17678 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
17679 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
17680 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
1cb4a8aa RD |
17681 | return resultobj; |
17682 | fail: | |
17683 | return NULL; | |
17684 | } | |
17685 | ||
17686 | ||
c32bde28 | 17687 | static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
17688 | PyObject *resultobj; |
17689 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17690 | int *arg2 = (int *) 0 ; | |
17691 | int *arg3 = (int *) 0 ; | |
17692 | int temp2 ; | |
c32bde28 | 17693 | int res2 = 0 ; |
1cb4a8aa | 17694 | int temp3 ; |
c32bde28 | 17695 | int res3 = 0 ; |
1cb4a8aa RD |
17696 | PyObject * obj0 = 0 ; |
17697 | char *kwnames[] = { | |
17698 | (char *) "self", NULL | |
17699 | }; | |
17700 | ||
c32bde28 RD |
17701 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
17702 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
1cb4a8aa RD |
17703 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail; |
17704 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17705 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17706 | { | |
17707 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17708 | ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
17709 | ||
17710 | wxPyEndAllowThreads(__tstate); | |
17711 | if (PyErr_Occurred()) SWIG_fail; | |
17712 | } | |
17713 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
17714 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
17715 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
17716 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
17717 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
1cb4a8aa RD |
17718 | return resultobj; |
17719 | fail: | |
17720 | return NULL; | |
17721 | } | |
17722 | ||
17723 | ||
c32bde28 | 17724 | static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
17725 | PyObject *resultobj; |
17726 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17727 | int *arg2 = (int *) 0 ; | |
17728 | int *arg3 = (int *) 0 ; | |
17729 | int temp2 ; | |
c32bde28 | 17730 | int res2 = 0 ; |
1cb4a8aa | 17731 | int temp3 ; |
c32bde28 | 17732 | int res3 = 0 ; |
1cb4a8aa RD |
17733 | PyObject * obj0 = 0 ; |
17734 | char *kwnames[] = { | |
17735 | (char *) "self", NULL | |
17736 | }; | |
17737 | ||
c32bde28 RD |
17738 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
17739 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
1cb4a8aa RD |
17740 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail; |
17741 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17742 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17743 | { | |
17744 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17745 | ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3); | |
17746 | ||
17747 | wxPyEndAllowThreads(__tstate); | |
17748 | if (PyErr_Occurred()) SWIG_fail; | |
17749 | } | |
17750 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
17751 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
17752 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
17753 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
17754 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
1cb4a8aa RD |
17755 | return resultobj; |
17756 | fail: | |
17757 | return NULL; | |
17758 | } | |
17759 | ||
17760 | ||
c32bde28 | 17761 | static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
17762 | PyObject *resultobj; |
17763 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17764 | wxSize result; | |
17765 | PyObject * obj0 = 0 ; | |
17766 | char *kwnames[] = { | |
17767 | (char *) "self", NULL | |
17768 | }; | |
17769 | ||
17770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
17771 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17772 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17773 | { | |
17774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17775 | result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize(); | |
17776 | ||
17777 | wxPyEndAllowThreads(__tstate); | |
17778 | if (PyErr_Occurred()) SWIG_fail; | |
17779 | } | |
17780 | { | |
17781 | wxSize * resultptr; | |
17782 | resultptr = new wxSize((wxSize &) result); | |
17783 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
17784 | } | |
17785 | return resultobj; | |
17786 | fail: | |
17787 | return NULL; | |
17788 | } | |
17789 | ||
17790 | ||
c32bde28 | 17791 | static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
17792 | PyObject *resultobj; |
17793 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17794 | wxSize result; | |
17795 | PyObject * obj0 = 0 ; | |
17796 | char *kwnames[] = { | |
17797 | (char *) "self", NULL | |
17798 | }; | |
17799 | ||
17800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
17801 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17802 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17803 | { | |
17804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17805 | result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize(); | |
17806 | ||
17807 | wxPyEndAllowThreads(__tstate); | |
17808 | if (PyErr_Occurred()) SWIG_fail; | |
17809 | } | |
17810 | { | |
17811 | wxSize * resultptr; | |
17812 | resultptr = new wxSize((wxSize &) result); | |
17813 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
17814 | } | |
17815 | return resultobj; | |
17816 | fail: | |
17817 | return NULL; | |
17818 | } | |
17819 | ||
17820 | ||
c32bde28 | 17821 | static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
17822 | PyObject *resultobj; |
17823 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17824 | PyObject * obj0 = 0 ; | |
17825 | char *kwnames[] = { | |
17826 | (char *) "self", NULL | |
17827 | }; | |
17828 | ||
17829 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail; | |
17830 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17831 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17832 | { | |
17833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17834 | (arg1)->base_InitDialog(); | |
17835 | ||
17836 | wxPyEndAllowThreads(__tstate); | |
17837 | if (PyErr_Occurred()) SWIG_fail; | |
17838 | } | |
17839 | Py_INCREF(Py_None); resultobj = Py_None; | |
17840 | return resultobj; | |
17841 | fail: | |
17842 | return NULL; | |
17843 | } | |
17844 | ||
17845 | ||
c32bde28 | 17846 | static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
17847 | PyObject *resultobj; |
17848 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17849 | bool result; | |
17850 | PyObject * obj0 = 0 ; | |
17851 | char *kwnames[] = { | |
17852 | (char *) "self", NULL | |
17853 | }; | |
17854 | ||
17855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
17856 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17857 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17858 | { | |
17859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17860 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
17861 | ||
17862 | wxPyEndAllowThreads(__tstate); | |
17863 | if (PyErr_Occurred()) SWIG_fail; | |
17864 | } | |
17865 | { | |
17866 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17867 | } | |
17868 | return resultobj; | |
17869 | fail: | |
17870 | return NULL; | |
17871 | } | |
17872 | ||
17873 | ||
c32bde28 | 17874 | static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
17875 | PyObject *resultobj; |
17876 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17877 | bool result; | |
17878 | PyObject * obj0 = 0 ; | |
17879 | char *kwnames[] = { | |
17880 | (char *) "self", NULL | |
17881 | }; | |
17882 | ||
17883 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
17884 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17885 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17886 | { | |
17887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17888 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
17889 | ||
17890 | wxPyEndAllowThreads(__tstate); | |
17891 | if (PyErr_Occurred()) SWIG_fail; | |
17892 | } | |
17893 | { | |
17894 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17895 | } | |
17896 | return resultobj; | |
17897 | fail: | |
17898 | return NULL; | |
17899 | } | |
17900 | ||
17901 | ||
c32bde28 | 17902 | static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
17903 | PyObject *resultobj; |
17904 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17905 | bool result; | |
17906 | PyObject * obj0 = 0 ; | |
17907 | char *kwnames[] = { | |
17908 | (char *) "self", NULL | |
17909 | }; | |
17910 | ||
17911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail; | |
17912 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17913 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17914 | { | |
17915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17916 | result = (bool)(arg1)->base_Validate(); | |
17917 | ||
17918 | wxPyEndAllowThreads(__tstate); | |
17919 | if (PyErr_Occurred()) SWIG_fail; | |
17920 | } | |
17921 | { | |
17922 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17923 | } | |
17924 | return resultobj; | |
17925 | fail: | |
17926 | return NULL; | |
17927 | } | |
17928 | ||
17929 | ||
c32bde28 | 17930 | static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
17931 | PyObject *resultobj; |
17932 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17933 | bool result; | |
17934 | PyObject * obj0 = 0 ; | |
17935 | char *kwnames[] = { | |
17936 | (char *) "self", NULL | |
17937 | }; | |
17938 | ||
17939 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
17940 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17941 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17942 | { | |
17943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17944 | result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus(); | |
17945 | ||
17946 | wxPyEndAllowThreads(__tstate); | |
17947 | if (PyErr_Occurred()) SWIG_fail; | |
17948 | } | |
17949 | { | |
17950 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17951 | } | |
17952 | return resultobj; | |
17953 | fail: | |
17954 | return NULL; | |
17955 | } | |
17956 | ||
17957 | ||
c32bde28 | 17958 | static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
17959 | PyObject *resultobj; |
17960 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17961 | bool result; | |
17962 | PyObject * obj0 = 0 ; | |
17963 | char *kwnames[] = { | |
17964 | (char *) "self", NULL | |
17965 | }; | |
17966 | ||
17967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
17968 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17969 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17970 | { | |
17971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17972 | result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
17973 | ||
17974 | wxPyEndAllowThreads(__tstate); | |
17975 | if (PyErr_Occurred()) SWIG_fail; | |
17976 | } | |
17977 | { | |
17978 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17979 | } | |
17980 | return resultobj; | |
17981 | fail: | |
17982 | return NULL; | |
17983 | } | |
17984 | ||
17985 | ||
c32bde28 | 17986 | static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
17987 | PyObject *resultobj; |
17988 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17989 | wxSize result; | |
17990 | PyObject * obj0 = 0 ; | |
17991 | char *kwnames[] = { | |
17992 | (char *) "self", NULL | |
17993 | }; | |
17994 | ||
17995 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
17996 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17997 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17998 | { | |
17999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18000 | result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize(); | |
18001 | ||
18002 | wxPyEndAllowThreads(__tstate); | |
18003 | if (PyErr_Occurred()) SWIG_fail; | |
18004 | } | |
18005 | { | |
18006 | wxSize * resultptr; | |
18007 | resultptr = new wxSize((wxSize &) result); | |
18008 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
18009 | } | |
18010 | return resultobj; | |
18011 | fail: | |
18012 | return NULL; | |
18013 | } | |
18014 | ||
18015 | ||
c32bde28 | 18016 | static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
18017 | PyObject *resultobj; |
18018 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
18019 | wxWindow *arg2 = (wxWindow *) 0 ; | |
18020 | PyObject * obj0 = 0 ; | |
18021 | PyObject * obj1 = 0 ; | |
18022 | char *kwnames[] = { | |
18023 | (char *) "self",(char *) "child", NULL | |
18024 | }; | |
18025 | ||
18026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
18027 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
18028 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18029 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
18030 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18031 | { | |
18032 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18033 | (arg1)->base_AddChild(arg2); | |
18034 | ||
18035 | wxPyEndAllowThreads(__tstate); | |
18036 | if (PyErr_Occurred()) SWIG_fail; | |
18037 | } | |
18038 | Py_INCREF(Py_None); resultobj = Py_None; | |
18039 | return resultobj; | |
18040 | fail: | |
18041 | return NULL; | |
18042 | } | |
18043 | ||
18044 | ||
c32bde28 | 18045 | static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
18046 | PyObject *resultobj; |
18047 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
18048 | wxWindow *arg2 = (wxWindow *) 0 ; | |
18049 | PyObject * obj0 = 0 ; | |
18050 | PyObject * obj1 = 0 ; | |
18051 | char *kwnames[] = { | |
18052 | (char *) "self",(char *) "child", NULL | |
18053 | }; | |
18054 | ||
18055 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
18056 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
18057 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18058 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
18059 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18060 | { | |
18061 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18062 | (arg1)->base_RemoveChild(arg2); | |
18063 | ||
18064 | wxPyEndAllowThreads(__tstate); | |
18065 | if (PyErr_Occurred()) SWIG_fail; | |
18066 | } | |
18067 | Py_INCREF(Py_None); resultobj = Py_None; | |
18068 | return resultobj; | |
18069 | fail: | |
18070 | return NULL; | |
18071 | } | |
18072 | ||
18073 | ||
c32bde28 | 18074 | static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
18075 | PyObject *resultobj; |
18076 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
18077 | bool result; | |
18078 | PyObject * obj0 = 0 ; | |
18079 | char *kwnames[] = { | |
18080 | (char *) "self", NULL | |
18081 | }; | |
18082 | ||
18083 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail; | |
18084 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
18085 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18086 | { | |
18087 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
db3e571a | 18088 | result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours(); |
1cb4a8aa RD |
18089 | |
18090 | wxPyEndAllowThreads(__tstate); | |
18091 | if (PyErr_Occurred()) SWIG_fail; | |
18092 | } | |
18093 | { | |
18094 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18095 | } | |
18096 | return resultobj; | |
18097 | fail: | |
18098 | return NULL; | |
18099 | } | |
18100 | ||
18101 | ||
c32bde28 | 18102 | static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
18103 | PyObject *resultobj; |
18104 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
18105 | wxColour *arg2 = 0 ; | |
18106 | wxColour temp2 ; | |
18107 | PyObject * obj0 = 0 ; | |
18108 | PyObject * obj1 = 0 ; | |
18109 | char *kwnames[] = { | |
18110 | (char *) "self",(char *) "c", NULL | |
18111 | }; | |
18112 | ||
18113 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail; | |
18114 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
18115 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18116 | { | |
18117 | arg2 = &temp2; | |
18118 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
18119 | } | |
18120 | { | |
18121 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18122 | (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2); | |
18123 | ||
18124 | wxPyEndAllowThreads(__tstate); | |
18125 | if (PyErr_Occurred()) SWIG_fail; | |
18126 | } | |
18127 | Py_INCREF(Py_None); resultobj = Py_None; | |
18128 | return resultobj; | |
18129 | fail: | |
18130 | return NULL; | |
18131 | } | |
18132 | ||
18133 | ||
c32bde28 | 18134 | static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
db3e571a RD |
18135 | PyObject *resultobj; |
18136 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
18137 | wxVisualAttributes result; | |
18138 | PyObject * obj0 = 0 ; | |
18139 | char *kwnames[] = { | |
18140 | (char *) "self", NULL | |
18141 | }; | |
18142 | ||
18143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail; | |
18144 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
18145 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18146 | { | |
18147 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18148 | result = (arg1)->base_GetDefaultAttributes(); | |
18149 | ||
18150 | wxPyEndAllowThreads(__tstate); | |
18151 | if (PyErr_Occurred()) SWIG_fail; | |
18152 | } | |
18153 | { | |
18154 | wxVisualAttributes * resultptr; | |
18155 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
18156 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
18157 | } | |
18158 | return resultobj; | |
18159 | fail: | |
18160 | return NULL; | |
18161 | } | |
18162 | ||
18163 | ||
c32bde28 | 18164 | static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) { |
1cb4a8aa RD |
18165 | PyObject *obj; |
18166 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
18167 | SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj); | |
18168 | Py_INCREF(obj); | |
18169 | return Py_BuildValue((char *)""); | |
18170 | } | |
c32bde28 | 18171 | static int _wrap_PrintoutTitleStr_set(PyObject *) { |
1cb4a8aa RD |
18172 | PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only."); |
18173 | return 1; | |
18174 | } | |
18175 | ||
18176 | ||
18177 | static PyObject *_wrap_PrintoutTitleStr_get() { | |
18178 | PyObject *pyobj; | |
18179 | ||
18180 | { | |
18181 | #if wxUSE_UNICODE | |
18182 | pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
18183 | #else | |
18184 | pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
18185 | #endif | |
18186 | } | |
18187 | return pyobj; | |
18188 | } | |
18189 | ||
18190 | ||
c32bde28 | 18191 | static int _wrap_PreviewCanvasNameStr_set(PyObject *) { |
1cb4a8aa RD |
18192 | PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only."); |
18193 | return 1; | |
18194 | } | |
18195 | ||
18196 | ||
18197 | static PyObject *_wrap_PreviewCanvasNameStr_get() { | |
18198 | PyObject *pyobj; | |
18199 | ||
18200 | { | |
18201 | #if wxUSE_UNICODE | |
18202 | pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
18203 | #else | |
18204 | pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
18205 | #endif | |
18206 | } | |
18207 | return pyobj; | |
18208 | } | |
18209 | ||
18210 | ||
c32bde28 | 18211 | static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) { |
1cb4a8aa RD |
18212 | PyObject *resultobj; |
18213 | wxPrintData *result; | |
1cb4a8aa | 18214 | |
11207aef | 18215 | if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail; |
1cb4a8aa RD |
18216 | { |
18217 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18218 | result = (wxPrintData *)new wxPrintData(); | |
18219 | ||
18220 | wxPyEndAllowThreads(__tstate); | |
18221 | if (PyErr_Occurred()) SWIG_fail; | |
18222 | } | |
18223 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1); | |
18224 | return resultobj; | |
18225 | fail: | |
18226 | return NULL; | |
18227 | } | |
18228 | ||
18229 | ||
c32bde28 | 18230 | static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) { |
11207aef RD |
18231 | PyObject *resultobj; |
18232 | wxPrintData *arg1 = 0 ; | |
18233 | wxPrintData *result; | |
18234 | PyObject * obj0 = 0 ; | |
18235 | ||
18236 | if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail; | |
18237 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18238 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
18239 | SWIG_fail; | |
18240 | if (arg1 == NULL) { | |
18241 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
18242 | SWIG_fail; | |
18243 | } | |
18244 | { | |
18245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18246 | result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1); | |
18247 | ||
18248 | wxPyEndAllowThreads(__tstate); | |
18249 | if (PyErr_Occurred()) SWIG_fail; | |
18250 | } | |
18251 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1); | |
18252 | return resultobj; | |
18253 | fail: | |
18254 | return NULL; | |
18255 | } | |
18256 | ||
18257 | ||
18258 | static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) { | |
18259 | int argc; | |
18260 | PyObject *argv[2]; | |
18261 | int ii; | |
18262 | ||
18263 | argc = PyObject_Length(args); | |
18264 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
18265 | argv[ii] = PyTuple_GetItem(args,ii); | |
18266 | } | |
18267 | if (argc == 0) { | |
18268 | return _wrap_new_PrintData__SWIG_0(self,args); | |
18269 | } | |
18270 | if (argc == 1) { | |
18271 | int _v; | |
18272 | { | |
18273 | void *ptr; | |
18274 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
18275 | _v = 0; | |
18276 | PyErr_Clear(); | |
18277 | } else { | |
18278 | _v = 1; | |
18279 | } | |
18280 | } | |
18281 | if (_v) { | |
18282 | return _wrap_new_PrintData__SWIG_1(self,args); | |
18283 | } | |
18284 | } | |
18285 | ||
18286 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintData'"); | |
18287 | return NULL; | |
18288 | } | |
18289 | ||
18290 | ||
c32bde28 | 18291 | static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
18292 | PyObject *resultobj; |
18293 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18294 | PyObject * obj0 = 0 ; | |
18295 | char *kwnames[] = { | |
18296 | (char *) "self", NULL | |
18297 | }; | |
18298 | ||
18299 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail; | |
18300 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18301 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18302 | { | |
18303 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18304 | delete arg1; | |
18305 | ||
18306 | wxPyEndAllowThreads(__tstate); | |
18307 | if (PyErr_Occurred()) SWIG_fail; | |
18308 | } | |
18309 | Py_INCREF(Py_None); resultobj = Py_None; | |
18310 | return resultobj; | |
18311 | fail: | |
18312 | return NULL; | |
18313 | } | |
18314 | ||
18315 | ||
c32bde28 | 18316 | static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
18317 | PyObject *resultobj; |
18318 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18319 | int result; | |
18320 | PyObject * obj0 = 0 ; | |
18321 | char *kwnames[] = { | |
18322 | (char *) "self", NULL | |
18323 | }; | |
18324 | ||
18325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail; | |
18326 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18327 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18328 | { | |
18329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18330 | result = (int)(arg1)->GetNoCopies(); | |
18331 | ||
18332 | wxPyEndAllowThreads(__tstate); | |
18333 | if (PyErr_Occurred()) SWIG_fail; | |
18334 | } | |
c32bde28 | 18335 | resultobj = SWIG_From_int((int)result); |
1cb4a8aa RD |
18336 | return resultobj; |
18337 | fail: | |
d14a1e28 RD |
18338 | return NULL; |
18339 | } | |
18340 | ||
18341 | ||
c32bde28 | 18342 | static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18343 | PyObject *resultobj; |
18344 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18345 | bool result; | |
18346 | PyObject * obj0 = 0 ; | |
18347 | char *kwnames[] = { | |
18348 | (char *) "self", NULL | |
18349 | }; | |
18350 | ||
18351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18352 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18353 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18354 | { |
18355 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18356 | result = (bool)(arg1)->GetCollate(); | |
18357 | ||
18358 | wxPyEndAllowThreads(__tstate); | |
18359 | if (PyErr_Occurred()) SWIG_fail; | |
18360 | } | |
4f89f6a3 RD |
18361 | { |
18362 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18363 | } | |
d14a1e28 RD |
18364 | return resultobj; |
18365 | fail: | |
18366 | return NULL; | |
18367 | } | |
18368 | ||
18369 | ||
c32bde28 | 18370 | static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18371 | PyObject *resultobj; |
18372 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18373 | int result; | |
18374 | PyObject * obj0 = 0 ; | |
18375 | char *kwnames[] = { | |
18376 | (char *) "self", NULL | |
18377 | }; | |
18378 | ||
18379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18380 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18381 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18382 | { |
18383 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18384 | result = (int)(arg1)->GetOrientation(); | |
18385 | ||
18386 | wxPyEndAllowThreads(__tstate); | |
18387 | if (PyErr_Occurred()) SWIG_fail; | |
18388 | } | |
c32bde28 | 18389 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
18390 | return resultobj; |
18391 | fail: | |
18392 | return NULL; | |
18393 | } | |
18394 | ||
18395 | ||
c32bde28 | 18396 | static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18397 | PyObject *resultobj; |
18398 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18399 | bool result; | |
18400 | PyObject * obj0 = 0 ; | |
18401 | char *kwnames[] = { | |
18402 | (char *) "self", NULL | |
18403 | }; | |
18404 | ||
18405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18406 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18407 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18408 | { |
18409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18410 | result = (bool)(arg1)->Ok(); | |
18411 | ||
18412 | wxPyEndAllowThreads(__tstate); | |
18413 | if (PyErr_Occurred()) SWIG_fail; | |
18414 | } | |
4f89f6a3 RD |
18415 | { |
18416 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18417 | } | |
d14a1e28 RD |
18418 | return resultobj; |
18419 | fail: | |
18420 | return NULL; | |
18421 | } | |
18422 | ||
18423 | ||
c32bde28 | 18424 | static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18425 | PyObject *resultobj; |
18426 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18427 | wxString *result; | |
18428 | PyObject * obj0 = 0 ; | |
18429 | char *kwnames[] = { | |
18430 | (char *) "self", NULL | |
18431 | }; | |
18432 | ||
18433 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18434 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18435 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18436 | { |
18437 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18438 | { | |
18439 | wxString const &_result_ref = (arg1)->GetPrinterName(); | |
18440 | result = (wxString *) &_result_ref; | |
18441 | } | |
18442 | ||
18443 | wxPyEndAllowThreads(__tstate); | |
18444 | if (PyErr_Occurred()) SWIG_fail; | |
18445 | } | |
cc6dd355 RD |
18446 | { |
18447 | #if wxUSE_UNICODE | |
18448 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
18449 | #else | |
18450 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
18451 | #endif | |
18452 | } | |
d14a1e28 RD |
18453 | return resultobj; |
18454 | fail: | |
18455 | return NULL; | |
18456 | } | |
18457 | ||
18458 | ||
c32bde28 | 18459 | static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18460 | PyObject *resultobj; |
18461 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18462 | bool result; | |
18463 | PyObject * obj0 = 0 ; | |
18464 | char *kwnames[] = { | |
18465 | (char *) "self", NULL | |
18466 | }; | |
18467 | ||
18468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18469 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18470 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18471 | { |
18472 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18473 | result = (bool)(arg1)->GetColour(); | |
18474 | ||
18475 | wxPyEndAllowThreads(__tstate); | |
18476 | if (PyErr_Occurred()) SWIG_fail; | |
18477 | } | |
4f89f6a3 RD |
18478 | { |
18479 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18480 | } | |
d14a1e28 RD |
18481 | return resultobj; |
18482 | fail: | |
18483 | return NULL; | |
18484 | } | |
18485 | ||
18486 | ||
c32bde28 | 18487 | static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18488 | PyObject *resultobj; |
18489 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18490 | int result; | |
18491 | PyObject * obj0 = 0 ; | |
18492 | char *kwnames[] = { | |
18493 | (char *) "self", NULL | |
18494 | }; | |
18495 | ||
18496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18497 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18498 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18499 | { |
18500 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18501 | result = (int)(arg1)->GetDuplex(); | |
18502 | ||
18503 | wxPyEndAllowThreads(__tstate); | |
18504 | if (PyErr_Occurred()) SWIG_fail; | |
18505 | } | |
c32bde28 | 18506 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
18507 | return resultobj; |
18508 | fail: | |
18509 | return NULL; | |
18510 | } | |
18511 | ||
18512 | ||
c32bde28 | 18513 | static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18514 | PyObject *resultobj; |
18515 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18516 | int result; | |
18517 | PyObject * obj0 = 0 ; | |
18518 | char *kwnames[] = { | |
18519 | (char *) "self", NULL | |
18520 | }; | |
18521 | ||
18522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18523 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18524 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18525 | { |
18526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18527 | result = (int)(arg1)->GetPaperId(); | |
18528 | ||
18529 | wxPyEndAllowThreads(__tstate); | |
18530 | if (PyErr_Occurred()) SWIG_fail; | |
18531 | } | |
c32bde28 | 18532 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
18533 | return resultobj; |
18534 | fail: | |
18535 | return NULL; | |
18536 | } | |
18537 | ||
18538 | ||
c32bde28 | 18539 | static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18540 | PyObject *resultobj; |
18541 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18542 | wxSize *result; | |
18543 | PyObject * obj0 = 0 ; | |
18544 | char *kwnames[] = { | |
18545 | (char *) "self", NULL | |
18546 | }; | |
18547 | ||
18548 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18549 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18550 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18551 | { |
18552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18553 | { | |
18554 | wxSize const &_result_ref = (arg1)->GetPaperSize(); | |
18555 | result = (wxSize *) &_result_ref; | |
18556 | } | |
18557 | ||
18558 | wxPyEndAllowThreads(__tstate); | |
18559 | if (PyErr_Occurred()) SWIG_fail; | |
18560 | } | |
15afbcd0 | 18561 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0); |
d14a1e28 RD |
18562 | return resultobj; |
18563 | fail: | |
18564 | return NULL; | |
18565 | } | |
18566 | ||
18567 | ||
c32bde28 | 18568 | static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18569 | PyObject *resultobj; |
18570 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
b2dc1044 | 18571 | int result; |
d14a1e28 RD |
18572 | PyObject * obj0 = 0 ; |
18573 | char *kwnames[] = { | |
18574 | (char *) "self", NULL | |
18575 | }; | |
18576 | ||
18577 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18578 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18579 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18580 | { |
18581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
b2dc1044 | 18582 | result = (int)(arg1)->GetQuality(); |
d14a1e28 RD |
18583 | |
18584 | wxPyEndAllowThreads(__tstate); | |
18585 | if (PyErr_Occurred()) SWIG_fail; | |
18586 | } | |
c32bde28 | 18587 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
18588 | return resultobj; |
18589 | fail: | |
18590 | return NULL; | |
18591 | } | |
18592 | ||
18593 | ||
2ef75293 RD |
18594 | static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) { |
18595 | PyObject *resultobj; | |
18596 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18597 | int result; | |
18598 | PyObject * obj0 = 0 ; | |
18599 | char *kwnames[] = { | |
18600 | (char *) "self", NULL | |
18601 | }; | |
18602 | ||
18603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail; | |
18604 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18605 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18606 | { | |
18607 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18608 | result = (int)(arg1)->GetBin(); | |
18609 | ||
18610 | wxPyEndAllowThreads(__tstate); | |
18611 | if (PyErr_Occurred()) SWIG_fail; | |
18612 | } | |
18613 | resultobj = SWIG_From_int((int)result); | |
18614 | return resultobj; | |
18615 | fail: | |
18616 | return NULL; | |
18617 | } | |
18618 | ||
18619 | ||
c32bde28 | 18620 | static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18621 | PyObject *resultobj; |
18622 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18623 | int arg2 ; | |
18624 | PyObject * obj0 = 0 ; | |
994141e6 | 18625 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18626 | char *kwnames[] = { |
18627 | (char *) "self",(char *) "v", NULL | |
18628 | }; | |
18629 | ||
994141e6 | 18630 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
18631 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18632 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 18633 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 18634 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
18635 | { |
18636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18637 | (arg1)->SetNoCopies(arg2); | |
18638 | ||
18639 | wxPyEndAllowThreads(__tstate); | |
18640 | if (PyErr_Occurred()) SWIG_fail; | |
18641 | } | |
18642 | Py_INCREF(Py_None); resultobj = Py_None; | |
18643 | return resultobj; | |
18644 | fail: | |
18645 | return NULL; | |
18646 | } | |
18647 | ||
18648 | ||
c32bde28 | 18649 | static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18650 | PyObject *resultobj; |
18651 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18652 | bool arg2 ; | |
18653 | PyObject * obj0 = 0 ; | |
18654 | PyObject * obj1 = 0 ; | |
18655 | char *kwnames[] = { | |
18656 | (char *) "self",(char *) "flag", NULL | |
18657 | }; | |
18658 | ||
18659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18660 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18661 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 18662 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 18663 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
18664 | { |
18665 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18666 | (arg1)->SetCollate(arg2); | |
18667 | ||
18668 | wxPyEndAllowThreads(__tstate); | |
18669 | if (PyErr_Occurred()) SWIG_fail; | |
18670 | } | |
18671 | Py_INCREF(Py_None); resultobj = Py_None; | |
18672 | return resultobj; | |
18673 | fail: | |
18674 | return NULL; | |
18675 | } | |
18676 | ||
18677 | ||
c32bde28 | 18678 | static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18679 | PyObject *resultobj; |
18680 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18681 | int arg2 ; | |
18682 | PyObject * obj0 = 0 ; | |
994141e6 | 18683 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18684 | char *kwnames[] = { |
18685 | (char *) "self",(char *) "orient", NULL | |
18686 | }; | |
18687 | ||
994141e6 | 18688 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
18689 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18690 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 18691 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 18692 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
18693 | { |
18694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18695 | (arg1)->SetOrientation(arg2); | |
18696 | ||
18697 | wxPyEndAllowThreads(__tstate); | |
18698 | if (PyErr_Occurred()) SWIG_fail; | |
18699 | } | |
18700 | Py_INCREF(Py_None); resultobj = Py_None; | |
18701 | return resultobj; | |
18702 | fail: | |
18703 | return NULL; | |
18704 | } | |
18705 | ||
18706 | ||
c32bde28 | 18707 | static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18708 | PyObject *resultobj; |
18709 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18710 | wxString *arg2 = 0 ; | |
ae8162c8 | 18711 | bool temp2 = false ; |
d14a1e28 RD |
18712 | PyObject * obj0 = 0 ; |
18713 | PyObject * obj1 = 0 ; | |
18714 | char *kwnames[] = { | |
18715 | (char *) "self",(char *) "name", NULL | |
18716 | }; | |
18717 | ||
18718 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18719 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18720 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18721 | { |
18722 | arg2 = wxString_in_helper(obj1); | |
18723 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 18724 | temp2 = true; |
d14a1e28 RD |
18725 | } |
18726 | { | |
18727 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18728 | (arg1)->SetPrinterName((wxString const &)*arg2); | |
18729 | ||
18730 | wxPyEndAllowThreads(__tstate); | |
18731 | if (PyErr_Occurred()) SWIG_fail; | |
18732 | } | |
18733 | Py_INCREF(Py_None); resultobj = Py_None; | |
18734 | { | |
18735 | if (temp2) | |
18736 | delete arg2; | |
18737 | } | |
18738 | return resultobj; | |
18739 | fail: | |
18740 | { | |
18741 | if (temp2) | |
18742 | delete arg2; | |
18743 | } | |
18744 | return NULL; | |
18745 | } | |
18746 | ||
18747 | ||
c32bde28 | 18748 | static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18749 | PyObject *resultobj; |
18750 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18751 | bool arg2 ; | |
18752 | PyObject * obj0 = 0 ; | |
18753 | PyObject * obj1 = 0 ; | |
18754 | char *kwnames[] = { | |
18755 | (char *) "self",(char *) "colour", NULL | |
18756 | }; | |
18757 | ||
18758 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18759 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18760 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 18761 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 18762 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
18763 | { |
18764 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18765 | (arg1)->SetColour(arg2); | |
18766 | ||
18767 | wxPyEndAllowThreads(__tstate); | |
18768 | if (PyErr_Occurred()) SWIG_fail; | |
18769 | } | |
18770 | Py_INCREF(Py_None); resultobj = Py_None; | |
18771 | return resultobj; | |
18772 | fail: | |
18773 | return NULL; | |
18774 | } | |
18775 | ||
18776 | ||
c32bde28 | 18777 | static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18778 | PyObject *resultobj; |
18779 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18780 | int arg2 ; | |
18781 | PyObject * obj0 = 0 ; | |
994141e6 | 18782 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18783 | char *kwnames[] = { |
18784 | (char *) "self",(char *) "duplex", NULL | |
18785 | }; | |
18786 | ||
994141e6 | 18787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
18788 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18789 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 18790 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 18791 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
18792 | { |
18793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18794 | (arg1)->SetDuplex((wxDuplexMode )arg2); | |
18795 | ||
18796 | wxPyEndAllowThreads(__tstate); | |
18797 | if (PyErr_Occurred()) SWIG_fail; | |
18798 | } | |
18799 | Py_INCREF(Py_None); resultobj = Py_None; | |
18800 | return resultobj; | |
18801 | fail: | |
18802 | return NULL; | |
18803 | } | |
18804 | ||
18805 | ||
c32bde28 | 18806 | static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18807 | PyObject *resultobj; |
18808 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18809 | int arg2 ; | |
18810 | PyObject * obj0 = 0 ; | |
994141e6 | 18811 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18812 | char *kwnames[] = { |
18813 | (char *) "self",(char *) "sizeId", NULL | |
18814 | }; | |
18815 | ||
994141e6 | 18816 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
18817 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18818 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 18819 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 18820 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
18821 | { |
18822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18823 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
18824 | ||
18825 | wxPyEndAllowThreads(__tstate); | |
18826 | if (PyErr_Occurred()) SWIG_fail; | |
18827 | } | |
18828 | Py_INCREF(Py_None); resultobj = Py_None; | |
18829 | return resultobj; | |
18830 | fail: | |
18831 | return NULL; | |
18832 | } | |
18833 | ||
18834 | ||
c32bde28 | 18835 | static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18836 | PyObject *resultobj; |
18837 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18838 | wxSize *arg2 = 0 ; | |
18839 | wxSize temp2 ; | |
18840 | PyObject * obj0 = 0 ; | |
18841 | PyObject * obj1 = 0 ; | |
18842 | char *kwnames[] = { | |
18843 | (char *) "self",(char *) "sz", NULL | |
18844 | }; | |
18845 | ||
18846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18847 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18848 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18849 | { |
18850 | arg2 = &temp2; | |
18851 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
18852 | } | |
18853 | { | |
18854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18855 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
18856 | ||
18857 | wxPyEndAllowThreads(__tstate); | |
18858 | if (PyErr_Occurred()) SWIG_fail; | |
18859 | } | |
18860 | Py_INCREF(Py_None); resultobj = Py_None; | |
18861 | return resultobj; | |
18862 | fail: | |
18863 | return NULL; | |
18864 | } | |
18865 | ||
18866 | ||
c32bde28 | 18867 | static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18868 | PyObject *resultobj; |
18869 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
b2dc1044 | 18870 | int arg2 ; |
d14a1e28 | 18871 | PyObject * obj0 = 0 ; |
994141e6 | 18872 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18873 | char *kwnames[] = { |
18874 | (char *) "self",(char *) "quality", NULL | |
18875 | }; | |
18876 | ||
994141e6 | 18877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
18878 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18879 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 18880 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 18881 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
18882 | { |
18883 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18884 | (arg1)->SetQuality(arg2); | |
18885 | ||
18886 | wxPyEndAllowThreads(__tstate); | |
18887 | if (PyErr_Occurred()) SWIG_fail; | |
18888 | } | |
18889 | Py_INCREF(Py_None); resultobj = Py_None; | |
18890 | return resultobj; | |
18891 | fail: | |
18892 | return NULL; | |
18893 | } | |
18894 | ||
18895 | ||
2ef75293 RD |
18896 | static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) { |
18897 | PyObject *resultobj; | |
18898 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18899 | int arg2 ; | |
18900 | PyObject * obj0 = 0 ; | |
18901 | PyObject * obj1 = 0 ; | |
18902 | char *kwnames[] = { | |
18903 | (char *) "self",(char *) "bin", NULL | |
18904 | }; | |
18905 | ||
18906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail; | |
18907 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18908 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18909 | arg2 = (int)SWIG_As_int(obj1); | |
18910 | if (PyErr_Occurred()) SWIG_fail; | |
18911 | { | |
18912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18913 | (arg1)->SetBin((wxPrintBin )arg2); | |
18914 | ||
18915 | wxPyEndAllowThreads(__tstate); | |
18916 | if (PyErr_Occurred()) SWIG_fail; | |
18917 | } | |
18918 | Py_INCREF(Py_None); resultobj = Py_None; | |
18919 | return resultobj; | |
18920 | fail: | |
18921 | return NULL; | |
18922 | } | |
18923 | ||
18924 | ||
c32bde28 | 18925 | static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18926 | PyObject *resultobj; |
18927 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18928 | wxString *result; | |
18929 | PyObject * obj0 = 0 ; | |
18930 | char *kwnames[] = { | |
18931 | (char *) "self", NULL | |
18932 | }; | |
18933 | ||
18934 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18935 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18936 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18937 | { |
18938 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18939 | { | |
18940 | wxString const &_result_ref = (arg1)->GetPrinterCommand(); | |
18941 | result = (wxString *) &_result_ref; | |
18942 | } | |
18943 | ||
18944 | wxPyEndAllowThreads(__tstate); | |
18945 | if (PyErr_Occurred()) SWIG_fail; | |
18946 | } | |
cc6dd355 RD |
18947 | { |
18948 | #if wxUSE_UNICODE | |
18949 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
18950 | #else | |
18951 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
18952 | #endif | |
18953 | } | |
d14a1e28 RD |
18954 | return resultobj; |
18955 | fail: | |
18956 | return NULL; | |
18957 | } | |
18958 | ||
18959 | ||
c32bde28 | 18960 | static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18961 | PyObject *resultobj; |
18962 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18963 | wxString *result; | |
18964 | PyObject * obj0 = 0 ; | |
18965 | char *kwnames[] = { | |
18966 | (char *) "self", NULL | |
18967 | }; | |
18968 | ||
18969 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18970 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18971 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18972 | { |
18973 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18974 | { | |
18975 | wxString const &_result_ref = (arg1)->GetPrinterOptions(); | |
18976 | result = (wxString *) &_result_ref; | |
18977 | } | |
18978 | ||
18979 | wxPyEndAllowThreads(__tstate); | |
18980 | if (PyErr_Occurred()) SWIG_fail; | |
18981 | } | |
cc6dd355 RD |
18982 | { |
18983 | #if wxUSE_UNICODE | |
18984 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
18985 | #else | |
18986 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
18987 | #endif | |
18988 | } | |
d14a1e28 RD |
18989 | return resultobj; |
18990 | fail: | |
18991 | return NULL; | |
18992 | } | |
18993 | ||
18994 | ||
c32bde28 | 18995 | static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18996 | PyObject *resultobj; |
18997 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18998 | wxString *result; | |
18999 | PyObject * obj0 = 0 ; | |
19000 | char *kwnames[] = { | |
19001 | (char *) "self", NULL | |
19002 | }; | |
19003 | ||
19004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19005 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19006 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19007 | { |
19008 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19009 | { | |
19010 | wxString const &_result_ref = (arg1)->GetPreviewCommand(); | |
19011 | result = (wxString *) &_result_ref; | |
19012 | } | |
19013 | ||
19014 | wxPyEndAllowThreads(__tstate); | |
19015 | if (PyErr_Occurred()) SWIG_fail; | |
19016 | } | |
cc6dd355 RD |
19017 | { |
19018 | #if wxUSE_UNICODE | |
19019 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
19020 | #else | |
19021 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
19022 | #endif | |
19023 | } | |
d14a1e28 RD |
19024 | return resultobj; |
19025 | fail: | |
19026 | return NULL; | |
19027 | } | |
19028 | ||
19029 | ||
c32bde28 | 19030 | static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19031 | PyObject *resultobj; |
19032 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19033 | wxString *result; | |
19034 | PyObject * obj0 = 0 ; | |
19035 | char *kwnames[] = { | |
19036 | (char *) "self", NULL | |
19037 | }; | |
19038 | ||
19039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19040 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19041 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19042 | { |
19043 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19044 | { | |
19045 | wxString const &_result_ref = (arg1)->GetFilename(); | |
19046 | result = (wxString *) &_result_ref; | |
19047 | } | |
19048 | ||
19049 | wxPyEndAllowThreads(__tstate); | |
19050 | if (PyErr_Occurred()) SWIG_fail; | |
19051 | } | |
cc6dd355 RD |
19052 | { |
19053 | #if wxUSE_UNICODE | |
19054 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
19055 | #else | |
19056 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
19057 | #endif | |
19058 | } | |
d14a1e28 RD |
19059 | return resultobj; |
19060 | fail: | |
19061 | return NULL; | |
19062 | } | |
19063 | ||
19064 | ||
c32bde28 | 19065 | static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19066 | PyObject *resultobj; |
19067 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19068 | wxString *result; | |
19069 | PyObject * obj0 = 0 ; | |
19070 | char *kwnames[] = { | |
19071 | (char *) "self", NULL | |
19072 | }; | |
19073 | ||
19074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19075 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19076 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19077 | { |
19078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19079 | { | |
19080 | wxString const &_result_ref = (arg1)->GetFontMetricPath(); | |
19081 | result = (wxString *) &_result_ref; | |
19082 | } | |
19083 | ||
19084 | wxPyEndAllowThreads(__tstate); | |
19085 | if (PyErr_Occurred()) SWIG_fail; | |
19086 | } | |
cc6dd355 RD |
19087 | { |
19088 | #if wxUSE_UNICODE | |
19089 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
19090 | #else | |
19091 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
19092 | #endif | |
19093 | } | |
d14a1e28 RD |
19094 | return resultobj; |
19095 | fail: | |
19096 | return NULL; | |
19097 | } | |
19098 | ||
19099 | ||
c32bde28 | 19100 | static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19101 | PyObject *resultobj; |
19102 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19103 | double result; | |
19104 | PyObject * obj0 = 0 ; | |
19105 | char *kwnames[] = { | |
19106 | (char *) "self", NULL | |
19107 | }; | |
19108 | ||
19109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19110 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19111 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19112 | { |
19113 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19114 | result = (double)(arg1)->GetPrinterScaleX(); | |
19115 | ||
19116 | wxPyEndAllowThreads(__tstate); | |
19117 | if (PyErr_Occurred()) SWIG_fail; | |
19118 | } | |
c32bde28 | 19119 | resultobj = SWIG_From_double((double)result); |
d14a1e28 RD |
19120 | return resultobj; |
19121 | fail: | |
19122 | return NULL; | |
19123 | } | |
19124 | ||
19125 | ||
c32bde28 | 19126 | static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19127 | PyObject *resultobj; |
19128 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19129 | double result; | |
19130 | PyObject * obj0 = 0 ; | |
19131 | char *kwnames[] = { | |
19132 | (char *) "self", NULL | |
19133 | }; | |
19134 | ||
19135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19136 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19137 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19138 | { |
19139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19140 | result = (double)(arg1)->GetPrinterScaleY(); | |
19141 | ||
19142 | wxPyEndAllowThreads(__tstate); | |
19143 | if (PyErr_Occurred()) SWIG_fail; | |
19144 | } | |
c32bde28 | 19145 | resultobj = SWIG_From_double((double)result); |
d14a1e28 RD |
19146 | return resultobj; |
19147 | fail: | |
19148 | return NULL; | |
19149 | } | |
19150 | ||
19151 | ||
c32bde28 | 19152 | static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19153 | PyObject *resultobj; |
19154 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19155 | long result; | |
19156 | PyObject * obj0 = 0 ; | |
19157 | char *kwnames[] = { | |
19158 | (char *) "self", NULL | |
19159 | }; | |
19160 | ||
19161 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19162 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19163 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19164 | { |
19165 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19166 | result = (long)(arg1)->GetPrinterTranslateX(); | |
19167 | ||
19168 | wxPyEndAllowThreads(__tstate); | |
19169 | if (PyErr_Occurred()) SWIG_fail; | |
19170 | } | |
c32bde28 | 19171 | resultobj = SWIG_From_long((long)result); |
d14a1e28 RD |
19172 | return resultobj; |
19173 | fail: | |
19174 | return NULL; | |
19175 | } | |
19176 | ||
19177 | ||
c32bde28 | 19178 | static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19179 | PyObject *resultobj; |
19180 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19181 | long result; | |
19182 | PyObject * obj0 = 0 ; | |
19183 | char *kwnames[] = { | |
19184 | (char *) "self", NULL | |
19185 | }; | |
19186 | ||
19187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19188 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19189 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19190 | { |
19191 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19192 | result = (long)(arg1)->GetPrinterTranslateY(); | |
19193 | ||
19194 | wxPyEndAllowThreads(__tstate); | |
19195 | if (PyErr_Occurred()) SWIG_fail; | |
19196 | } | |
c32bde28 | 19197 | resultobj = SWIG_From_long((long)result); |
d14a1e28 RD |
19198 | return resultobj; |
19199 | fail: | |
19200 | return NULL; | |
19201 | } | |
19202 | ||
19203 | ||
c32bde28 | 19204 | static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19205 | PyObject *resultobj; |
19206 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19207 | int result; | |
19208 | PyObject * obj0 = 0 ; | |
19209 | char *kwnames[] = { | |
19210 | (char *) "self", NULL | |
19211 | }; | |
19212 | ||
19213 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19214 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19215 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19216 | { |
19217 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19218 | result = (int)(arg1)->GetPrintMode(); | |
19219 | ||
19220 | wxPyEndAllowThreads(__tstate); | |
19221 | if (PyErr_Occurred()) SWIG_fail; | |
19222 | } | |
c32bde28 | 19223 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
19224 | return resultobj; |
19225 | fail: | |
19226 | return NULL; | |
19227 | } | |
19228 | ||
19229 | ||
c32bde28 | 19230 | static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19231 | PyObject *resultobj; |
19232 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19233 | wxString *arg2 = 0 ; | |
ae8162c8 | 19234 | bool temp2 = false ; |
d14a1e28 RD |
19235 | PyObject * obj0 = 0 ; |
19236 | PyObject * obj1 = 0 ; | |
19237 | char *kwnames[] = { | |
19238 | (char *) "self",(char *) "command", NULL | |
19239 | }; | |
19240 | ||
19241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19242 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19243 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19244 | { |
19245 | arg2 = wxString_in_helper(obj1); | |
19246 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 19247 | temp2 = true; |
d14a1e28 RD |
19248 | } |
19249 | { | |
19250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19251 | (arg1)->SetPrinterCommand((wxString const &)*arg2); | |
19252 | ||
19253 | wxPyEndAllowThreads(__tstate); | |
19254 | if (PyErr_Occurred()) SWIG_fail; | |
19255 | } | |
19256 | Py_INCREF(Py_None); resultobj = Py_None; | |
19257 | { | |
19258 | if (temp2) | |
19259 | delete arg2; | |
19260 | } | |
19261 | return resultobj; | |
19262 | fail: | |
19263 | { | |
19264 | if (temp2) | |
19265 | delete arg2; | |
19266 | } | |
19267 | return NULL; | |
19268 | } | |
19269 | ||
19270 | ||
c32bde28 | 19271 | static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19272 | PyObject *resultobj; |
19273 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19274 | wxString *arg2 = 0 ; | |
ae8162c8 | 19275 | bool temp2 = false ; |
d14a1e28 RD |
19276 | PyObject * obj0 = 0 ; |
19277 | PyObject * obj1 = 0 ; | |
19278 | char *kwnames[] = { | |
19279 | (char *) "self",(char *) "options", NULL | |
19280 | }; | |
19281 | ||
19282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19283 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19284 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19285 | { |
19286 | arg2 = wxString_in_helper(obj1); | |
19287 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 19288 | temp2 = true; |
d14a1e28 RD |
19289 | } |
19290 | { | |
19291 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19292 | (arg1)->SetPrinterOptions((wxString const &)*arg2); | |
19293 | ||
19294 | wxPyEndAllowThreads(__tstate); | |
19295 | if (PyErr_Occurred()) SWIG_fail; | |
19296 | } | |
19297 | Py_INCREF(Py_None); resultobj = Py_None; | |
19298 | { | |
19299 | if (temp2) | |
19300 | delete arg2; | |
19301 | } | |
19302 | return resultobj; | |
19303 | fail: | |
19304 | { | |
19305 | if (temp2) | |
19306 | delete arg2; | |
19307 | } | |
19308 | return NULL; | |
19309 | } | |
19310 | ||
19311 | ||
c32bde28 | 19312 | static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19313 | PyObject *resultobj; |
19314 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19315 | wxString *arg2 = 0 ; | |
ae8162c8 | 19316 | bool temp2 = false ; |
d14a1e28 RD |
19317 | PyObject * obj0 = 0 ; |
19318 | PyObject * obj1 = 0 ; | |
19319 | char *kwnames[] = { | |
19320 | (char *) "self",(char *) "command", NULL | |
19321 | }; | |
19322 | ||
19323 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19324 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19325 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19326 | { |
19327 | arg2 = wxString_in_helper(obj1); | |
19328 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 19329 | temp2 = true; |
d14a1e28 RD |
19330 | } |
19331 | { | |
19332 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19333 | (arg1)->SetPreviewCommand((wxString const &)*arg2); | |
19334 | ||
19335 | wxPyEndAllowThreads(__tstate); | |
19336 | if (PyErr_Occurred()) SWIG_fail; | |
19337 | } | |
19338 | Py_INCREF(Py_None); resultobj = Py_None; | |
19339 | { | |
19340 | if (temp2) | |
19341 | delete arg2; | |
19342 | } | |
19343 | return resultobj; | |
19344 | fail: | |
19345 | { | |
19346 | if (temp2) | |
19347 | delete arg2; | |
19348 | } | |
19349 | return NULL; | |
19350 | } | |
19351 | ||
19352 | ||
c32bde28 | 19353 | static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19354 | PyObject *resultobj; |
19355 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19356 | wxString *arg2 = 0 ; | |
ae8162c8 | 19357 | bool temp2 = false ; |
d14a1e28 RD |
19358 | PyObject * obj0 = 0 ; |
19359 | PyObject * obj1 = 0 ; | |
19360 | char *kwnames[] = { | |
19361 | (char *) "self",(char *) "filename", NULL | |
19362 | }; | |
19363 | ||
19364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19365 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19366 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19367 | { |
19368 | arg2 = wxString_in_helper(obj1); | |
19369 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 19370 | temp2 = true; |
d14a1e28 RD |
19371 | } |
19372 | { | |
19373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19374 | (arg1)->SetFilename((wxString const &)*arg2); | |
19375 | ||
19376 | wxPyEndAllowThreads(__tstate); | |
19377 | if (PyErr_Occurred()) SWIG_fail; | |
19378 | } | |
19379 | Py_INCREF(Py_None); resultobj = Py_None; | |
19380 | { | |
19381 | if (temp2) | |
19382 | delete arg2; | |
19383 | } | |
19384 | return resultobj; | |
19385 | fail: | |
19386 | { | |
19387 | if (temp2) | |
19388 | delete arg2; | |
19389 | } | |
19390 | return NULL; | |
19391 | } | |
19392 | ||
19393 | ||
c32bde28 | 19394 | static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19395 | PyObject *resultobj; |
19396 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19397 | wxString *arg2 = 0 ; | |
ae8162c8 | 19398 | bool temp2 = false ; |
d14a1e28 RD |
19399 | PyObject * obj0 = 0 ; |
19400 | PyObject * obj1 = 0 ; | |
19401 | char *kwnames[] = { | |
19402 | (char *) "self",(char *) "path", NULL | |
19403 | }; | |
19404 | ||
19405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19406 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19407 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19408 | { |
19409 | arg2 = wxString_in_helper(obj1); | |
19410 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 19411 | temp2 = true; |
d14a1e28 RD |
19412 | } |
19413 | { | |
19414 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19415 | (arg1)->SetFontMetricPath((wxString const &)*arg2); | |
19416 | ||
19417 | wxPyEndAllowThreads(__tstate); | |
19418 | if (PyErr_Occurred()) SWIG_fail; | |
19419 | } | |
19420 | Py_INCREF(Py_None); resultobj = Py_None; | |
19421 | { | |
19422 | if (temp2) | |
19423 | delete arg2; | |
19424 | } | |
19425 | return resultobj; | |
19426 | fail: | |
19427 | { | |
19428 | if (temp2) | |
19429 | delete arg2; | |
19430 | } | |
19431 | return NULL; | |
19432 | } | |
19433 | ||
19434 | ||
c32bde28 | 19435 | static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19436 | PyObject *resultobj; |
19437 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19438 | double arg2 ; | |
19439 | PyObject * obj0 = 0 ; | |
994141e6 | 19440 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19441 | char *kwnames[] = { |
19442 | (char *) "self",(char *) "x", NULL | |
19443 | }; | |
19444 | ||
994141e6 | 19445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
19446 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19447 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 19448 | arg2 = (double)SWIG_As_double(obj1); |
15afbcd0 | 19449 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
19450 | { |
19451 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19452 | (arg1)->SetPrinterScaleX(arg2); | |
19453 | ||
19454 | wxPyEndAllowThreads(__tstate); | |
19455 | if (PyErr_Occurred()) SWIG_fail; | |
19456 | } | |
19457 | Py_INCREF(Py_None); resultobj = Py_None; | |
19458 | return resultobj; | |
19459 | fail: | |
19460 | return NULL; | |
19461 | } | |
19462 | ||
19463 | ||
c32bde28 | 19464 | static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19465 | PyObject *resultobj; |
19466 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19467 | double arg2 ; | |
19468 | PyObject * obj0 = 0 ; | |
994141e6 | 19469 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19470 | char *kwnames[] = { |
19471 | (char *) "self",(char *) "y", NULL | |
19472 | }; | |
19473 | ||
994141e6 | 19474 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
19475 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19476 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 19477 | arg2 = (double)SWIG_As_double(obj1); |
15afbcd0 | 19478 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
19479 | { |
19480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19481 | (arg1)->SetPrinterScaleY(arg2); | |
19482 | ||
19483 | wxPyEndAllowThreads(__tstate); | |
19484 | if (PyErr_Occurred()) SWIG_fail; | |
19485 | } | |
19486 | Py_INCREF(Py_None); resultobj = Py_None; | |
19487 | return resultobj; | |
19488 | fail: | |
19489 | return NULL; | |
19490 | } | |
19491 | ||
19492 | ||
c32bde28 | 19493 | static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19494 | PyObject *resultobj; |
19495 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19496 | double arg2 ; | |
19497 | double arg3 ; | |
19498 | PyObject * obj0 = 0 ; | |
994141e6 RD |
19499 | PyObject * obj1 = 0 ; |
19500 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
19501 | char *kwnames[] = { |
19502 | (char *) "self",(char *) "x",(char *) "y", NULL | |
19503 | }; | |
19504 | ||
994141e6 | 19505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
19506 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19507 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 19508 | arg2 = (double)SWIG_As_double(obj1); |
15afbcd0 | 19509 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 19510 | arg3 = (double)SWIG_As_double(obj2); |
15afbcd0 | 19511 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
19512 | { |
19513 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19514 | (arg1)->SetPrinterScaling(arg2,arg3); | |
19515 | ||
19516 | wxPyEndAllowThreads(__tstate); | |
19517 | if (PyErr_Occurred()) SWIG_fail; | |
19518 | } | |
19519 | Py_INCREF(Py_None); resultobj = Py_None; | |
19520 | return resultobj; | |
19521 | fail: | |
19522 | return NULL; | |
19523 | } | |
19524 | ||
19525 | ||
c32bde28 | 19526 | static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19527 | PyObject *resultobj; |
19528 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19529 | long arg2 ; | |
19530 | PyObject * obj0 = 0 ; | |
994141e6 | 19531 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19532 | char *kwnames[] = { |
19533 | (char *) "self",(char *) "x", NULL | |
19534 | }; | |
19535 | ||
994141e6 | 19536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
19537 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19538 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 19539 | arg2 = (long)SWIG_As_long(obj1); |
15afbcd0 | 19540 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
19541 | { |
19542 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19543 | (arg1)->SetPrinterTranslateX(arg2); | |
19544 | ||
19545 | wxPyEndAllowThreads(__tstate); | |
19546 | if (PyErr_Occurred()) SWIG_fail; | |
19547 | } | |
19548 | Py_INCREF(Py_None); resultobj = Py_None; | |
19549 | return resultobj; | |
19550 | fail: | |
19551 | return NULL; | |
19552 | } | |
19553 | ||
19554 | ||
c32bde28 | 19555 | static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19556 | PyObject *resultobj; |
19557 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19558 | long arg2 ; | |
19559 | PyObject * obj0 = 0 ; | |
994141e6 | 19560 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19561 | char *kwnames[] = { |
19562 | (char *) "self",(char *) "y", NULL | |
19563 | }; | |
19564 | ||
994141e6 | 19565 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
19566 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19567 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 19568 | arg2 = (long)SWIG_As_long(obj1); |
15afbcd0 | 19569 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
19570 | { |
19571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19572 | (arg1)->SetPrinterTranslateY(arg2); | |
19573 | ||
19574 | wxPyEndAllowThreads(__tstate); | |
19575 | if (PyErr_Occurred()) SWIG_fail; | |
19576 | } | |
19577 | Py_INCREF(Py_None); resultobj = Py_None; | |
19578 | return resultobj; | |
19579 | fail: | |
19580 | return NULL; | |
19581 | } | |
19582 | ||
19583 | ||
c32bde28 | 19584 | static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19585 | PyObject *resultobj; |
19586 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19587 | long arg2 ; | |
19588 | long arg3 ; | |
19589 | PyObject * obj0 = 0 ; | |
994141e6 RD |
19590 | PyObject * obj1 = 0 ; |
19591 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
19592 | char *kwnames[] = { |
19593 | (char *) "self",(char *) "x",(char *) "y", NULL | |
19594 | }; | |
19595 | ||
994141e6 | 19596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
19597 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19598 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 19599 | arg2 = (long)SWIG_As_long(obj1); |
15afbcd0 | 19600 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 19601 | arg3 = (long)SWIG_As_long(obj2); |
15afbcd0 | 19602 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
19603 | { |
19604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19605 | (arg1)->SetPrinterTranslation(arg2,arg3); | |
19606 | ||
19607 | wxPyEndAllowThreads(__tstate); | |
19608 | if (PyErr_Occurred()) SWIG_fail; | |
19609 | } | |
19610 | Py_INCREF(Py_None); resultobj = Py_None; | |
19611 | return resultobj; | |
19612 | fail: | |
19613 | return NULL; | |
19614 | } | |
19615 | ||
19616 | ||
c32bde28 | 19617 | static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19618 | PyObject *resultobj; |
19619 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19620 | int arg2 ; | |
19621 | PyObject * obj0 = 0 ; | |
994141e6 | 19622 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19623 | char *kwnames[] = { |
19624 | (char *) "self",(char *) "printMode", NULL | |
19625 | }; | |
19626 | ||
994141e6 | 19627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
19628 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19629 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 19630 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 19631 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
19632 | { |
19633 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19634 | (arg1)->SetPrintMode((wxPrintMode )arg2); | |
19635 | ||
19636 | wxPyEndAllowThreads(__tstate); | |
19637 | if (PyErr_Occurred()) SWIG_fail; | |
19638 | } | |
19639 | Py_INCREF(Py_None); resultobj = Py_None; | |
19640 | return resultobj; | |
19641 | fail: | |
19642 | return NULL; | |
19643 | } | |
19644 | ||
19645 | ||
c32bde28 | 19646 | static PyObject *_wrap_PrintData_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) { |
db914595 RD |
19647 | PyObject *resultobj; |
19648 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19649 | wxOutputStream *result; | |
19650 | PyObject * obj0 = 0 ; | |
19651 | char *kwnames[] = { | |
19652 | (char *) "self", NULL | |
19653 | }; | |
19654 | ||
19655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19656 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19657 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
db914595 RD |
19658 | { |
19659 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19660 | result = (wxOutputStream *)(arg1)->GetOutputStream(); | |
19661 | ||
19662 | wxPyEndAllowThreads(__tstate); | |
19663 | if (PyErr_Occurred()) SWIG_fail; | |
19664 | } | |
15afbcd0 | 19665 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0); |
db914595 RD |
19666 | return resultobj; |
19667 | fail: | |
19668 | return NULL; | |
19669 | } | |
19670 | ||
19671 | ||
c32bde28 | 19672 | static PyObject *_wrap_PrintData_SetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) { |
db914595 RD |
19673 | PyObject *resultobj; |
19674 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19675 | wxOutputStream *arg2 = (wxOutputStream *) 0 ; | |
19676 | PyObject * obj0 = 0 ; | |
19677 | PyObject * obj1 = 0 ; | |
19678 | char *kwnames[] = { | |
19679 | (char *) "self",(char *) "outputstream", NULL | |
19680 | }; | |
19681 | ||
19682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19683 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19684 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19685 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream, | |
19686 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
db914595 RD |
19687 | { |
19688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19689 | (arg1)->SetOutputStream(arg2); | |
19690 | ||
19691 | wxPyEndAllowThreads(__tstate); | |
19692 | if (PyErr_Occurred()) SWIG_fail; | |
19693 | } | |
19694 | Py_INCREF(Py_None); resultobj = Py_None; | |
19695 | return resultobj; | |
19696 | fail: | |
19697 | return NULL; | |
19698 | } | |
19699 | ||
19700 | ||
c32bde28 | 19701 | static PyObject * PrintData_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
19702 | PyObject *obj; |
19703 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19704 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj); | |
19705 | Py_INCREF(obj); | |
19706 | return Py_BuildValue((char *)""); | |
19707 | } | |
c32bde28 | 19708 | static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) { |
d14a1e28 RD |
19709 | PyObject *resultobj; |
19710 | wxPageSetupDialogData *result; | |
d14a1e28 | 19711 | |
11207aef | 19712 | if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail; |
d14a1e28 RD |
19713 | { |
19714 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19715 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData(); | |
19716 | ||
19717 | wxPyEndAllowThreads(__tstate); | |
19718 | if (PyErr_Occurred()) SWIG_fail; | |
19719 | } | |
15afbcd0 | 19720 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1); |
d14a1e28 RD |
19721 | return resultobj; |
19722 | fail: | |
19723 | return NULL; | |
19724 | } | |
19725 | ||
19726 | ||
c32bde28 | 19727 | static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) { |
11207aef RD |
19728 | PyObject *resultobj; |
19729 | wxPageSetupDialogData *arg1 = 0 ; | |
19730 | wxPageSetupDialogData *result; | |
19731 | PyObject * obj0 = 0 ; | |
19732 | ||
19733 | if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail; | |
19734 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
19735 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
19736 | SWIG_fail; | |
19737 | if (arg1 == NULL) { | |
19738 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
19739 | SWIG_fail; | |
19740 | } | |
19741 | { | |
19742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19743 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1); | |
19744 | ||
19745 | wxPyEndAllowThreads(__tstate); | |
19746 | if (PyErr_Occurred()) SWIG_fail; | |
19747 | } | |
19748 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1); | |
19749 | return resultobj; | |
19750 | fail: | |
19751 | return NULL; | |
19752 | } | |
19753 | ||
19754 | ||
19755 | static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) { | |
19756 | int argc; | |
19757 | PyObject *argv[2]; | |
19758 | int ii; | |
19759 | ||
19760 | argc = PyObject_Length(args); | |
19761 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
19762 | argv[ii] = PyTuple_GetItem(args,ii); | |
19763 | } | |
19764 | if (argc == 0) { | |
19765 | return _wrap_new_PageSetupDialogData__SWIG_0(self,args); | |
19766 | } | |
19767 | if (argc == 1) { | |
19768 | int _v; | |
19769 | { | |
19770 | void *ptr; | |
19771 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) { | |
19772 | _v = 0; | |
19773 | PyErr_Clear(); | |
19774 | } else { | |
19775 | _v = 1; | |
19776 | } | |
19777 | } | |
19778 | if (_v) { | |
19779 | return _wrap_new_PageSetupDialogData__SWIG_1(self,args); | |
19780 | } | |
19781 | } | |
19782 | ||
19783 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PageSetupDialogData'"); | |
19784 | return NULL; | |
19785 | } | |
19786 | ||
19787 | ||
c32bde28 | 19788 | static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19789 | PyObject *resultobj; |
19790 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19791 | PyObject * obj0 = 0 ; | |
19792 | char *kwnames[] = { | |
19793 | (char *) "self", NULL | |
19794 | }; | |
19795 | ||
19796 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19797 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19798 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19799 | { |
19800 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19801 | delete arg1; | |
19802 | ||
19803 | wxPyEndAllowThreads(__tstate); | |
19804 | if (PyErr_Occurred()) SWIG_fail; | |
19805 | } | |
19806 | Py_INCREF(Py_None); resultobj = Py_None; | |
19807 | return resultobj; | |
19808 | fail: | |
19809 | return NULL; | |
19810 | } | |
19811 | ||
19812 | ||
c32bde28 | 19813 | static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19814 | PyObject *resultobj; |
19815 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19816 | bool arg2 ; | |
19817 | PyObject * obj0 = 0 ; | |
19818 | PyObject * obj1 = 0 ; | |
19819 | char *kwnames[] = { | |
19820 | (char *) "self",(char *) "flag", NULL | |
19821 | }; | |
19822 | ||
19823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19824 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19825 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 19826 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 19827 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
19828 | { |
19829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19830 | (arg1)->EnableHelp(arg2); | |
19831 | ||
19832 | wxPyEndAllowThreads(__tstate); | |
19833 | if (PyErr_Occurred()) SWIG_fail; | |
19834 | } | |
19835 | Py_INCREF(Py_None); resultobj = Py_None; | |
19836 | return resultobj; | |
19837 | fail: | |
19838 | return NULL; | |
19839 | } | |
19840 | ||
19841 | ||
c32bde28 | 19842 | static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19843 | PyObject *resultobj; |
19844 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19845 | bool arg2 ; | |
19846 | PyObject * obj0 = 0 ; | |
19847 | PyObject * obj1 = 0 ; | |
19848 | char *kwnames[] = { | |
19849 | (char *) "self",(char *) "flag", NULL | |
19850 | }; | |
19851 | ||
19852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19853 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19854 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 19855 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 19856 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
19857 | { |
19858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19859 | (arg1)->EnableMargins(arg2); | |
19860 | ||
19861 | wxPyEndAllowThreads(__tstate); | |
19862 | if (PyErr_Occurred()) SWIG_fail; | |
19863 | } | |
19864 | Py_INCREF(Py_None); resultobj = Py_None; | |
19865 | return resultobj; | |
19866 | fail: | |
19867 | return NULL; | |
19868 | } | |
19869 | ||
19870 | ||
c32bde28 | 19871 | static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19872 | PyObject *resultobj; |
19873 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19874 | bool arg2 ; | |
19875 | PyObject * obj0 = 0 ; | |
19876 | PyObject * obj1 = 0 ; | |
19877 | char *kwnames[] = { | |
19878 | (char *) "self",(char *) "flag", NULL | |
19879 | }; | |
19880 | ||
19881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19882 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19883 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 19884 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 19885 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
19886 | { |
19887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19888 | (arg1)->EnableOrientation(arg2); | |
19889 | ||
19890 | wxPyEndAllowThreads(__tstate); | |
19891 | if (PyErr_Occurred()) SWIG_fail; | |
19892 | } | |
19893 | Py_INCREF(Py_None); resultobj = Py_None; | |
19894 | return resultobj; | |
19895 | fail: | |
19896 | return NULL; | |
19897 | } | |
19898 | ||
19899 | ||
c32bde28 | 19900 | static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19901 | PyObject *resultobj; |
19902 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19903 | bool arg2 ; | |
19904 | PyObject * obj0 = 0 ; | |
19905 | PyObject * obj1 = 0 ; | |
19906 | char *kwnames[] = { | |
19907 | (char *) "self",(char *) "flag", NULL | |
19908 | }; | |
19909 | ||
19910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19911 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19912 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 19913 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 19914 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
19915 | { |
19916 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19917 | (arg1)->EnablePaper(arg2); | |
19918 | ||
19919 | wxPyEndAllowThreads(__tstate); | |
19920 | if (PyErr_Occurred()) SWIG_fail; | |
19921 | } | |
19922 | Py_INCREF(Py_None); resultobj = Py_None; | |
19923 | return resultobj; | |
19924 | fail: | |
19925 | return NULL; | |
19926 | } | |
19927 | ||
19928 | ||
c32bde28 | 19929 | static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19930 | PyObject *resultobj; |
19931 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19932 | bool arg2 ; | |
19933 | PyObject * obj0 = 0 ; | |
19934 | PyObject * obj1 = 0 ; | |
19935 | char *kwnames[] = { | |
19936 | (char *) "self",(char *) "flag", NULL | |
19937 | }; | |
19938 | ||
19939 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19940 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19941 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 19942 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 19943 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
19944 | { |
19945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19946 | (arg1)->EnablePrinter(arg2); | |
19947 | ||
19948 | wxPyEndAllowThreads(__tstate); | |
19949 | if (PyErr_Occurred()) SWIG_fail; | |
19950 | } | |
19951 | Py_INCREF(Py_None); resultobj = Py_None; | |
19952 | return resultobj; | |
19953 | fail: | |
19954 | return NULL; | |
19955 | } | |
19956 | ||
19957 | ||
c32bde28 | 19958 | static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19959 | PyObject *resultobj; |
19960 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19961 | bool result; | |
19962 | PyObject * obj0 = 0 ; | |
19963 | char *kwnames[] = { | |
19964 | (char *) "self", NULL | |
19965 | }; | |
19966 | ||
19967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19968 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19969 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19970 | { |
19971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19972 | result = (bool)(arg1)->GetDefaultMinMargins(); | |
19973 | ||
19974 | wxPyEndAllowThreads(__tstate); | |
19975 | if (PyErr_Occurred()) SWIG_fail; | |
19976 | } | |
4f89f6a3 RD |
19977 | { |
19978 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19979 | } | |
d14a1e28 RD |
19980 | return resultobj; |
19981 | fail: | |
19982 | return NULL; | |
19983 | } | |
19984 | ||
19985 | ||
c32bde28 | 19986 | static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19987 | PyObject *resultobj; |
19988 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19989 | bool result; | |
19990 | PyObject * obj0 = 0 ; | |
19991 | char *kwnames[] = { | |
19992 | (char *) "self", NULL | |
19993 | }; | |
19994 | ||
19995 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19996 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19997 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19998 | { |
19999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20000 | result = (bool)(arg1)->GetEnableMargins(); | |
20001 | ||
20002 | wxPyEndAllowThreads(__tstate); | |
20003 | if (PyErr_Occurred()) SWIG_fail; | |
20004 | } | |
4f89f6a3 RD |
20005 | { |
20006 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20007 | } | |
d14a1e28 RD |
20008 | return resultobj; |
20009 | fail: | |
20010 | return NULL; | |
20011 | } | |
20012 | ||
20013 | ||
c32bde28 | 20014 | static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20015 | PyObject *resultobj; |
20016 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20017 | bool result; | |
20018 | PyObject * obj0 = 0 ; | |
20019 | char *kwnames[] = { | |
20020 | (char *) "self", NULL | |
20021 | }; | |
20022 | ||
20023 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20024 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20025 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20026 | { |
20027 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20028 | result = (bool)(arg1)->GetEnableOrientation(); | |
20029 | ||
20030 | wxPyEndAllowThreads(__tstate); | |
20031 | if (PyErr_Occurred()) SWIG_fail; | |
20032 | } | |
4f89f6a3 RD |
20033 | { |
20034 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20035 | } | |
d14a1e28 RD |
20036 | return resultobj; |
20037 | fail: | |
20038 | return NULL; | |
20039 | } | |
20040 | ||
20041 | ||
c32bde28 | 20042 | static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20043 | PyObject *resultobj; |
20044 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20045 | bool result; | |
20046 | PyObject * obj0 = 0 ; | |
20047 | char *kwnames[] = { | |
20048 | (char *) "self", NULL | |
20049 | }; | |
20050 | ||
20051 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20052 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20053 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20054 | { |
20055 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20056 | result = (bool)(arg1)->GetEnablePaper(); | |
20057 | ||
20058 | wxPyEndAllowThreads(__tstate); | |
20059 | if (PyErr_Occurred()) SWIG_fail; | |
20060 | } | |
4f89f6a3 RD |
20061 | { |
20062 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20063 | } | |
d14a1e28 RD |
20064 | return resultobj; |
20065 | fail: | |
20066 | return NULL; | |
20067 | } | |
20068 | ||
20069 | ||
c32bde28 | 20070 | static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20071 | PyObject *resultobj; |
20072 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20073 | bool result; | |
20074 | PyObject * obj0 = 0 ; | |
20075 | char *kwnames[] = { | |
20076 | (char *) "self", NULL | |
20077 | }; | |
20078 | ||
20079 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20080 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20081 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20082 | { |
20083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20084 | result = (bool)(arg1)->GetEnablePrinter(); | |
20085 | ||
20086 | wxPyEndAllowThreads(__tstate); | |
20087 | if (PyErr_Occurred()) SWIG_fail; | |
20088 | } | |
4f89f6a3 RD |
20089 | { |
20090 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20091 | } | |
d14a1e28 RD |
20092 | return resultobj; |
20093 | fail: | |
20094 | return NULL; | |
20095 | } | |
20096 | ||
20097 | ||
c32bde28 | 20098 | static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20099 | PyObject *resultobj; |
20100 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20101 | bool result; | |
20102 | PyObject * obj0 = 0 ; | |
20103 | char *kwnames[] = { | |
20104 | (char *) "self", NULL | |
20105 | }; | |
20106 | ||
20107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20108 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20109 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20110 | { |
20111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20112 | result = (bool)(arg1)->GetEnableHelp(); | |
20113 | ||
20114 | wxPyEndAllowThreads(__tstate); | |
20115 | if (PyErr_Occurred()) SWIG_fail; | |
20116 | } | |
4f89f6a3 RD |
20117 | { |
20118 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20119 | } | |
d14a1e28 RD |
20120 | return resultobj; |
20121 | fail: | |
20122 | return NULL; | |
20123 | } | |
20124 | ||
20125 | ||
c32bde28 | 20126 | static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20127 | PyObject *resultobj; |
20128 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20129 | bool result; | |
20130 | PyObject * obj0 = 0 ; | |
20131 | char *kwnames[] = { | |
20132 | (char *) "self", NULL | |
20133 | }; | |
20134 | ||
20135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20136 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20137 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20138 | { |
20139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20140 | result = (bool)(arg1)->GetDefaultInfo(); | |
20141 | ||
20142 | wxPyEndAllowThreads(__tstate); | |
20143 | if (PyErr_Occurred()) SWIG_fail; | |
20144 | } | |
4f89f6a3 RD |
20145 | { |
20146 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20147 | } | |
d14a1e28 RD |
20148 | return resultobj; |
20149 | fail: | |
20150 | return NULL; | |
20151 | } | |
20152 | ||
20153 | ||
c32bde28 | 20154 | static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20155 | PyObject *resultobj; |
20156 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20157 | wxPoint result; | |
20158 | PyObject * obj0 = 0 ; | |
20159 | char *kwnames[] = { | |
20160 | (char *) "self", NULL | |
20161 | }; | |
20162 | ||
20163 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20164 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20165 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20166 | { |
20167 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20168 | result = (arg1)->GetMarginTopLeft(); | |
20169 | ||
20170 | wxPyEndAllowThreads(__tstate); | |
20171 | if (PyErr_Occurred()) SWIG_fail; | |
20172 | } | |
20173 | { | |
20174 | wxPoint * resultptr; | |
20175 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 20176 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
20177 | } |
20178 | return resultobj; | |
20179 | fail: | |
20180 | return NULL; | |
20181 | } | |
20182 | ||
20183 | ||
c32bde28 | 20184 | static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20185 | PyObject *resultobj; |
20186 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20187 | wxPoint result; | |
20188 | PyObject * obj0 = 0 ; | |
20189 | char *kwnames[] = { | |
20190 | (char *) "self", NULL | |
20191 | }; | |
20192 | ||
20193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20194 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20195 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20196 | { |
20197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20198 | result = (arg1)->GetMarginBottomRight(); | |
20199 | ||
20200 | wxPyEndAllowThreads(__tstate); | |
20201 | if (PyErr_Occurred()) SWIG_fail; | |
20202 | } | |
20203 | { | |
20204 | wxPoint * resultptr; | |
20205 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 20206 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
20207 | } |
20208 | return resultobj; | |
20209 | fail: | |
20210 | return NULL; | |
20211 | } | |
20212 | ||
20213 | ||
c32bde28 | 20214 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20215 | PyObject *resultobj; |
20216 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20217 | wxPoint result; | |
20218 | PyObject * obj0 = 0 ; | |
20219 | char *kwnames[] = { | |
20220 | (char *) "self", NULL | |
20221 | }; | |
20222 | ||
20223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20224 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20225 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20226 | { |
20227 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20228 | result = (arg1)->GetMinMarginTopLeft(); | |
20229 | ||
20230 | wxPyEndAllowThreads(__tstate); | |
20231 | if (PyErr_Occurred()) SWIG_fail; | |
20232 | } | |
20233 | { | |
20234 | wxPoint * resultptr; | |
20235 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 20236 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
20237 | } |
20238 | return resultobj; | |
20239 | fail: | |
20240 | return NULL; | |
20241 | } | |
20242 | ||
20243 | ||
c32bde28 | 20244 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20245 | PyObject *resultobj; |
20246 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20247 | wxPoint result; | |
20248 | PyObject * obj0 = 0 ; | |
20249 | char *kwnames[] = { | |
20250 | (char *) "self", NULL | |
20251 | }; | |
20252 | ||
20253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20254 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20255 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20256 | { |
20257 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20258 | result = (arg1)->GetMinMarginBottomRight(); | |
20259 | ||
20260 | wxPyEndAllowThreads(__tstate); | |
20261 | if (PyErr_Occurred()) SWIG_fail; | |
20262 | } | |
20263 | { | |
20264 | wxPoint * resultptr; | |
20265 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 20266 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
20267 | } |
20268 | return resultobj; | |
20269 | fail: | |
20270 | return NULL; | |
20271 | } | |
20272 | ||
20273 | ||
c32bde28 | 20274 | static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20275 | PyObject *resultobj; |
20276 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20277 | int result; | |
20278 | PyObject * obj0 = 0 ; | |
20279 | char *kwnames[] = { | |
20280 | (char *) "self", NULL | |
20281 | }; | |
20282 | ||
20283 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20284 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20285 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20286 | { |
20287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20288 | result = (int)(arg1)->GetPaperId(); | |
20289 | ||
20290 | wxPyEndAllowThreads(__tstate); | |
20291 | if (PyErr_Occurred()) SWIG_fail; | |
20292 | } | |
c32bde28 | 20293 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
20294 | return resultobj; |
20295 | fail: | |
20296 | return NULL; | |
20297 | } | |
20298 | ||
20299 | ||
c32bde28 | 20300 | static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20301 | PyObject *resultobj; |
20302 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20303 | wxSize result; | |
20304 | PyObject * obj0 = 0 ; | |
20305 | char *kwnames[] = { | |
20306 | (char *) "self", NULL | |
20307 | }; | |
20308 | ||
20309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20310 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20311 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20312 | { |
20313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20314 | result = (arg1)->GetPaperSize(); | |
20315 | ||
20316 | wxPyEndAllowThreads(__tstate); | |
20317 | if (PyErr_Occurred()) SWIG_fail; | |
20318 | } | |
20319 | { | |
20320 | wxSize * resultptr; | |
20321 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 20322 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
20323 | } |
20324 | return resultobj; | |
20325 | fail: | |
20326 | return NULL; | |
20327 | } | |
20328 | ||
20329 | ||
c32bde28 | 20330 | static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20331 | PyObject *resultobj; |
20332 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20333 | wxPrintData *result; | |
20334 | PyObject * obj0 = 0 ; | |
20335 | char *kwnames[] = { | |
20336 | (char *) "self", NULL | |
20337 | }; | |
20338 | ||
20339 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20340 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20341 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20342 | { |
20343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20344 | { | |
20345 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
20346 | result = (wxPrintData *) &_result_ref; | |
20347 | } | |
20348 | ||
20349 | wxPyEndAllowThreads(__tstate); | |
20350 | if (PyErr_Occurred()) SWIG_fail; | |
20351 | } | |
15afbcd0 | 20352 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
d14a1e28 RD |
20353 | return resultobj; |
20354 | fail: | |
20355 | return NULL; | |
20356 | } | |
20357 | ||
20358 | ||
c32bde28 | 20359 | static PyObject *_wrap_PageSetupDialogData_Ok(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_Ok",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)->Ok(); | |
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_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20388 | PyObject *resultobj; |
20389 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20390 | bool arg2 ; | |
20391 | PyObject * obj0 = 0 ; | |
20392 | PyObject * obj1 = 0 ; | |
20393 | char *kwnames[] = { | |
20394 | (char *) "self",(char *) "flag", NULL | |
20395 | }; | |
20396 | ||
20397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20398 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20399 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 20400 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 20401 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
20402 | { |
20403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20404 | (arg1)->SetDefaultInfo(arg2); | |
20405 | ||
20406 | wxPyEndAllowThreads(__tstate); | |
20407 | if (PyErr_Occurred()) SWIG_fail; | |
20408 | } | |
20409 | Py_INCREF(Py_None); resultobj = Py_None; | |
20410 | return resultobj; | |
20411 | fail: | |
20412 | return NULL; | |
20413 | } | |
20414 | ||
20415 | ||
c32bde28 | 20416 | static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20417 | PyObject *resultobj; |
20418 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20419 | bool arg2 ; | |
20420 | PyObject * obj0 = 0 ; | |
20421 | PyObject * obj1 = 0 ; | |
20422 | char *kwnames[] = { | |
20423 | (char *) "self",(char *) "flag", NULL | |
20424 | }; | |
20425 | ||
20426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20427 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20428 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 20429 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 20430 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
20431 | { |
20432 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20433 | (arg1)->SetDefaultMinMargins(arg2); | |
20434 | ||
20435 | wxPyEndAllowThreads(__tstate); | |
20436 | if (PyErr_Occurred()) SWIG_fail; | |
20437 | } | |
20438 | Py_INCREF(Py_None); resultobj = Py_None; | |
20439 | return resultobj; | |
20440 | fail: | |
20441 | return NULL; | |
20442 | } | |
20443 | ||
20444 | ||
c32bde28 | 20445 | static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20446 | PyObject *resultobj; |
20447 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20448 | wxPoint *arg2 = 0 ; | |
20449 | wxPoint temp2 ; | |
20450 | PyObject * obj0 = 0 ; | |
20451 | PyObject * obj1 = 0 ; | |
20452 | char *kwnames[] = { | |
20453 | (char *) "self",(char *) "pt", NULL | |
20454 | }; | |
20455 | ||
20456 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) 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 | arg2 = &temp2; | |
20461 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
20462 | } | |
20463 | { | |
20464 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20465 | (arg1)->SetMarginTopLeft((wxPoint const &)*arg2); | |
20466 | ||
20467 | wxPyEndAllowThreads(__tstate); | |
20468 | if (PyErr_Occurred()) SWIG_fail; | |
20469 | } | |
20470 | Py_INCREF(Py_None); resultobj = Py_None; | |
20471 | return resultobj; | |
20472 | fail: | |
20473 | return NULL; | |
20474 | } | |
20475 | ||
20476 | ||
c32bde28 | 20477 | static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20478 | PyObject *resultobj; |
20479 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20480 | wxPoint *arg2 = 0 ; | |
20481 | wxPoint temp2 ; | |
20482 | PyObject * obj0 = 0 ; | |
20483 | PyObject * obj1 = 0 ; | |
20484 | char *kwnames[] = { | |
20485 | (char *) "self",(char *) "pt", NULL | |
20486 | }; | |
20487 | ||
20488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20489 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20490 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20491 | { |
20492 | arg2 = &temp2; | |
20493 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
20494 | } | |
20495 | { | |
20496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20497 | (arg1)->SetMarginBottomRight((wxPoint const &)*arg2); | |
20498 | ||
20499 | wxPyEndAllowThreads(__tstate); | |
20500 | if (PyErr_Occurred()) SWIG_fail; | |
20501 | } | |
20502 | Py_INCREF(Py_None); resultobj = Py_None; | |
20503 | return resultobj; | |
20504 | fail: | |
20505 | return NULL; | |
20506 | } | |
20507 | ||
20508 | ||
c32bde28 | 20509 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20510 | PyObject *resultobj; |
20511 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20512 | wxPoint *arg2 = 0 ; | |
20513 | wxPoint temp2 ; | |
20514 | PyObject * obj0 = 0 ; | |
20515 | PyObject * obj1 = 0 ; | |
20516 | char *kwnames[] = { | |
20517 | (char *) "self",(char *) "pt", NULL | |
20518 | }; | |
20519 | ||
20520 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20521 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20522 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20523 | { |
20524 | arg2 = &temp2; | |
20525 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
20526 | } | |
20527 | { | |
20528 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20529 | (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2); | |
20530 | ||
20531 | wxPyEndAllowThreads(__tstate); | |
20532 | if (PyErr_Occurred()) SWIG_fail; | |
20533 | } | |
20534 | Py_INCREF(Py_None); resultobj = Py_None; | |
20535 | return resultobj; | |
20536 | fail: | |
20537 | return NULL; | |
20538 | } | |
20539 | ||
20540 | ||
c32bde28 | 20541 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20542 | PyObject *resultobj; |
20543 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20544 | wxPoint *arg2 = 0 ; | |
20545 | wxPoint temp2 ; | |
20546 | PyObject * obj0 = 0 ; | |
20547 | PyObject * obj1 = 0 ; | |
20548 | char *kwnames[] = { | |
20549 | (char *) "self",(char *) "pt", NULL | |
20550 | }; | |
20551 | ||
20552 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20553 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20554 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20555 | { |
20556 | arg2 = &temp2; | |
20557 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
20558 | } | |
20559 | { | |
20560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20561 | (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2); | |
20562 | ||
20563 | wxPyEndAllowThreads(__tstate); | |
20564 | if (PyErr_Occurred()) SWIG_fail; | |
20565 | } | |
20566 | Py_INCREF(Py_None); resultobj = Py_None; | |
20567 | return resultobj; | |
20568 | fail: | |
20569 | return NULL; | |
20570 | } | |
20571 | ||
20572 | ||
c32bde28 | 20573 | static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20574 | PyObject *resultobj; |
20575 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20576 | int arg2 ; | |
20577 | PyObject * obj0 = 0 ; | |
994141e6 | 20578 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
20579 | char *kwnames[] = { |
20580 | (char *) "self",(char *) "id", NULL | |
20581 | }; | |
20582 | ||
994141e6 | 20583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
20584 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20585 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 20586 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 20587 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
20588 | { |
20589 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20590 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
20591 | ||
20592 | wxPyEndAllowThreads(__tstate); | |
20593 | if (PyErr_Occurred()) SWIG_fail; | |
20594 | } | |
20595 | Py_INCREF(Py_None); resultobj = Py_None; | |
20596 | return resultobj; | |
20597 | fail: | |
20598 | return NULL; | |
20599 | } | |
20600 | ||
20601 | ||
c32bde28 | 20602 | static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20603 | PyObject *resultobj; |
20604 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20605 | wxSize *arg2 = 0 ; | |
20606 | wxSize temp2 ; | |
20607 | PyObject * obj0 = 0 ; | |
20608 | PyObject * obj1 = 0 ; | |
20609 | char *kwnames[] = { | |
20610 | (char *) "self",(char *) "size", NULL | |
20611 | }; | |
20612 | ||
20613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20614 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20615 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20616 | { |
20617 | arg2 = &temp2; | |
20618 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
20619 | } | |
20620 | { | |
20621 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20622 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
20623 | ||
20624 | wxPyEndAllowThreads(__tstate); | |
20625 | if (PyErr_Occurred()) SWIG_fail; | |
20626 | } | |
20627 | Py_INCREF(Py_None); resultobj = Py_None; | |
20628 | return resultobj; | |
20629 | fail: | |
20630 | return NULL; | |
20631 | } | |
20632 | ||
20633 | ||
c32bde28 | 20634 | static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20635 | PyObject *resultobj; |
20636 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20637 | wxPrintData *arg2 = 0 ; | |
20638 | PyObject * obj0 = 0 ; | |
20639 | PyObject * obj1 = 0 ; | |
20640 | char *kwnames[] = { | |
20641 | (char *) "self",(char *) "printData", NULL | |
20642 | }; | |
20643 | ||
20644 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20645 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20646 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20647 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData, | |
20648 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
20649 | SWIG_fail; | |
d14a1e28 | 20650 | if (arg2 == NULL) { |
15afbcd0 RD |
20651 | PyErr_SetString(PyExc_TypeError,"null reference"); |
20652 | SWIG_fail; | |
d14a1e28 RD |
20653 | } |
20654 | { | |
20655 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20656 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
20657 | ||
20658 | wxPyEndAllowThreads(__tstate); | |
20659 | if (PyErr_Occurred()) SWIG_fail; | |
20660 | } | |
20661 | Py_INCREF(Py_None); resultobj = Py_None; | |
20662 | return resultobj; | |
20663 | fail: | |
20664 | return NULL; | |
20665 | } | |
20666 | ||
20667 | ||
c32bde28 | 20668 | static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
20669 | PyObject *obj; |
20670 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20671 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj); | |
20672 | Py_INCREF(obj); | |
20673 | return Py_BuildValue((char *)""); | |
20674 | } | |
c32bde28 | 20675 | static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20676 | PyObject *resultobj; |
20677 | wxWindow *arg1 = (wxWindow *) 0 ; | |
20678 | wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ; | |
20679 | wxPageSetupDialog *result; | |
20680 | PyObject * obj0 = 0 ; | |
20681 | PyObject * obj1 = 0 ; | |
20682 | char *kwnames[] = { | |
20683 | (char *) "parent",(char *) "data", NULL | |
20684 | }; | |
20685 | ||
20686 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20687 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
20688 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 20689 | if (obj1) { |
15afbcd0 RD |
20690 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData, |
20691 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20692 | } |
20693 | { | |
e3b71cb8 | 20694 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
20695 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
20696 | result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2); | |
20697 | ||
20698 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 20699 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 20700 | } |
15afbcd0 | 20701 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1); |
d14a1e28 RD |
20702 | return resultobj; |
20703 | fail: | |
20704 | return NULL; | |
20705 | } | |
20706 | ||
20707 | ||
c32bde28 | 20708 | static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20709 | PyObject *resultobj; |
20710 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
20711 | wxPageSetupDialogData *result; | |
20712 | PyObject * obj0 = 0 ; | |
20713 | char *kwnames[] = { | |
20714 | (char *) "self", NULL | |
20715 | }; | |
20716 | ||
20717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20718 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog, |
20719 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20720 | { |
20721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20722 | { | |
20723 | wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData(); | |
20724 | result = (wxPageSetupDialogData *) &_result_ref; | |
20725 | } | |
20726 | ||
20727 | wxPyEndAllowThreads(__tstate); | |
20728 | if (PyErr_Occurred()) SWIG_fail; | |
20729 | } | |
15afbcd0 | 20730 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0); |
d14a1e28 RD |
20731 | return resultobj; |
20732 | fail: | |
20733 | return NULL; | |
20734 | } | |
20735 | ||
20736 | ||
c32bde28 | 20737 | static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20738 | PyObject *resultobj; |
20739 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
20740 | int result; | |
20741 | PyObject * obj0 = 0 ; | |
20742 | char *kwnames[] = { | |
20743 | (char *) "self", NULL | |
20744 | }; | |
20745 | ||
20746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20747 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog, |
20748 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20749 | { |
20750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20751 | result = (int)(arg1)->ShowModal(); | |
20752 | ||
20753 | wxPyEndAllowThreads(__tstate); | |
20754 | if (PyErr_Occurred()) SWIG_fail; | |
20755 | } | |
c32bde28 | 20756 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
20757 | return resultobj; |
20758 | fail: | |
20759 | return NULL; | |
20760 | } | |
20761 | ||
20762 | ||
c32bde28 | 20763 | static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
20764 | PyObject *obj; |
20765 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20766 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj); | |
20767 | Py_INCREF(obj); | |
20768 | return Py_BuildValue((char *)""); | |
20769 | } | |
c32bde28 | 20770 | static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) { |
d14a1e28 RD |
20771 | PyObject *resultobj; |
20772 | wxPrintDialogData *result; | |
d14a1e28 | 20773 | |
4276dc52 | 20774 | if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail; |
d14a1e28 RD |
20775 | { |
20776 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20777 | result = (wxPrintDialogData *)new wxPrintDialogData(); | |
20778 | ||
20779 | wxPyEndAllowThreads(__tstate); | |
20780 | if (PyErr_Occurred()) SWIG_fail; | |
20781 | } | |
15afbcd0 | 20782 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); |
d14a1e28 RD |
20783 | return resultobj; |
20784 | fail: | |
20785 | return NULL; | |
20786 | } | |
20787 | ||
20788 | ||
c32bde28 | 20789 | static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) { |
4276dc52 RD |
20790 | PyObject *resultobj; |
20791 | wxPrintData *arg1 = 0 ; | |
20792 | wxPrintDialogData *result; | |
20793 | PyObject * obj0 = 0 ; | |
20794 | ||
20795 | if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail; | |
20796 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
20797 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
20798 | SWIG_fail; | |
20799 | if (arg1 == NULL) { | |
20800 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
20801 | SWIG_fail; | |
20802 | } | |
20803 | { | |
20804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20805 | result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1); | |
20806 | ||
20807 | wxPyEndAllowThreads(__tstate); | |
20808 | if (PyErr_Occurred()) SWIG_fail; | |
20809 | } | |
20810 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); | |
20811 | return resultobj; | |
20812 | fail: | |
20813 | return NULL; | |
20814 | } | |
20815 | ||
20816 | ||
20817 | static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) { | |
20818 | int argc; | |
20819 | PyObject *argv[2]; | |
20820 | int ii; | |
20821 | ||
20822 | argc = PyObject_Length(args); | |
20823 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
20824 | argv[ii] = PyTuple_GetItem(args,ii); | |
20825 | } | |
20826 | if (argc == 0) { | |
20827 | return _wrap_new_PrintDialogData__SWIG_0(self,args); | |
20828 | } | |
20829 | if (argc == 1) { | |
20830 | int _v; | |
20831 | { | |
20832 | void *ptr; | |
20833 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
20834 | _v = 0; | |
20835 | PyErr_Clear(); | |
20836 | } else { | |
20837 | _v = 1; | |
20838 | } | |
20839 | } | |
20840 | if (_v) { | |
20841 | return _wrap_new_PrintDialogData__SWIG_1(self,args); | |
20842 | } | |
20843 | } | |
20844 | ||
20845 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'"); | |
20846 | return NULL; | |
20847 | } | |
20848 | ||
20849 | ||
c32bde28 | 20850 | static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20851 | PyObject *resultobj; |
20852 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20853 | PyObject * obj0 = 0 ; | |
20854 | char *kwnames[] = { | |
20855 | (char *) "self", NULL | |
20856 | }; | |
20857 | ||
20858 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20859 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20860 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20861 | { |
20862 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20863 | delete arg1; | |
20864 | ||
20865 | wxPyEndAllowThreads(__tstate); | |
20866 | if (PyErr_Occurred()) SWIG_fail; | |
20867 | } | |
20868 | Py_INCREF(Py_None); resultobj = Py_None; | |
20869 | return resultobj; | |
20870 | fail: | |
20871 | return NULL; | |
20872 | } | |
20873 | ||
20874 | ||
c32bde28 | 20875 | static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20876 | PyObject *resultobj; |
20877 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20878 | int result; | |
20879 | PyObject * obj0 = 0 ; | |
20880 | char *kwnames[] = { | |
20881 | (char *) "self", NULL | |
20882 | }; | |
20883 | ||
20884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20885 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20886 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20887 | { |
20888 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20889 | result = (int)((wxPrintDialogData const *)arg1)->GetFromPage(); | |
20890 | ||
20891 | wxPyEndAllowThreads(__tstate); | |
20892 | if (PyErr_Occurred()) SWIG_fail; | |
20893 | } | |
c32bde28 | 20894 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
20895 | return resultobj; |
20896 | fail: | |
20897 | return NULL; | |
20898 | } | |
20899 | ||
20900 | ||
c32bde28 | 20901 | static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20902 | PyObject *resultobj; |
20903 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20904 | int result; | |
20905 | PyObject * obj0 = 0 ; | |
20906 | char *kwnames[] = { | |
20907 | (char *) "self", NULL | |
20908 | }; | |
20909 | ||
20910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20911 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20912 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20913 | { |
20914 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20915 | result = (int)((wxPrintDialogData const *)arg1)->GetToPage(); | |
20916 | ||
20917 | wxPyEndAllowThreads(__tstate); | |
20918 | if (PyErr_Occurred()) SWIG_fail; | |
20919 | } | |
c32bde28 | 20920 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
20921 | return resultobj; |
20922 | fail: | |
20923 | return NULL; | |
20924 | } | |
20925 | ||
20926 | ||
c32bde28 | 20927 | static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20928 | PyObject *resultobj; |
20929 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20930 | int result; | |
20931 | PyObject * obj0 = 0 ; | |
20932 | char *kwnames[] = { | |
20933 | (char *) "self", NULL | |
20934 | }; | |
20935 | ||
20936 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20937 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20938 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20939 | { |
20940 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20941 | result = (int)((wxPrintDialogData const *)arg1)->GetMinPage(); | |
20942 | ||
20943 | wxPyEndAllowThreads(__tstate); | |
20944 | if (PyErr_Occurred()) SWIG_fail; | |
20945 | } | |
c32bde28 | 20946 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
20947 | return resultobj; |
20948 | fail: | |
20949 | return NULL; | |
20950 | } | |
20951 | ||
20952 | ||
c32bde28 | 20953 | static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20954 | PyObject *resultobj; |
20955 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20956 | int result; | |
20957 | PyObject * obj0 = 0 ; | |
20958 | char *kwnames[] = { | |
20959 | (char *) "self", NULL | |
20960 | }; | |
20961 | ||
20962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20963 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20964 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20965 | { |
20966 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20967 | result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage(); | |
20968 | ||
20969 | wxPyEndAllowThreads(__tstate); | |
20970 | if (PyErr_Occurred()) SWIG_fail; | |
20971 | } | |
c32bde28 | 20972 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
20973 | return resultobj; |
20974 | fail: | |
20975 | return NULL; | |
20976 | } | |
20977 | ||
20978 | ||
c32bde28 | 20979 | static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20980 | PyObject *resultobj; |
20981 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20982 | int result; | |
20983 | PyObject * obj0 = 0 ; | |
20984 | char *kwnames[] = { | |
20985 | (char *) "self", NULL | |
20986 | }; | |
20987 | ||
20988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20989 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20990 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20991 | { |
20992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20993 | result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies(); | |
20994 | ||
20995 | wxPyEndAllowThreads(__tstate); | |
20996 | if (PyErr_Occurred()) SWIG_fail; | |
20997 | } | |
c32bde28 | 20998 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
20999 | return resultobj; |
21000 | fail: | |
21001 | return NULL; | |
21002 | } | |
21003 | ||
21004 | ||
c32bde28 | 21005 | static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21006 | PyObject *resultobj; |
21007 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21008 | bool result; | |
21009 | PyObject * obj0 = 0 ; | |
21010 | char *kwnames[] = { | |
21011 | (char *) "self", NULL | |
21012 | }; | |
21013 | ||
21014 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21015 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21016 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21017 | { |
21018 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21019 | result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages(); | |
21020 | ||
21021 | wxPyEndAllowThreads(__tstate); | |
21022 | if (PyErr_Occurred()) SWIG_fail; | |
21023 | } | |
4f89f6a3 RD |
21024 | { |
21025 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21026 | } | |
d14a1e28 RD |
21027 | return resultobj; |
21028 | fail: | |
21029 | return NULL; | |
21030 | } | |
21031 | ||
21032 | ||
c32bde28 | 21033 | static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21034 | PyObject *resultobj; |
21035 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21036 | bool result; | |
21037 | PyObject * obj0 = 0 ; | |
21038 | char *kwnames[] = { | |
21039 | (char *) "self", NULL | |
21040 | }; | |
21041 | ||
21042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21043 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21044 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21045 | { |
21046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21047 | result = (bool)((wxPrintDialogData const *)arg1)->GetSelection(); | |
21048 | ||
21049 | wxPyEndAllowThreads(__tstate); | |
21050 | if (PyErr_Occurred()) SWIG_fail; | |
21051 | } | |
4f89f6a3 RD |
21052 | { |
21053 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21054 | } | |
d14a1e28 RD |
21055 | return resultobj; |
21056 | fail: | |
21057 | return NULL; | |
21058 | } | |
21059 | ||
21060 | ||
c32bde28 | 21061 | static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21062 | PyObject *resultobj; |
21063 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21064 | bool result; | |
21065 | PyObject * obj0 = 0 ; | |
21066 | char *kwnames[] = { | |
21067 | (char *) "self", NULL | |
21068 | }; | |
21069 | ||
21070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21071 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21072 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21073 | { |
21074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21075 | result = (bool)((wxPrintDialogData const *)arg1)->GetCollate(); | |
21076 | ||
21077 | wxPyEndAllowThreads(__tstate); | |
21078 | if (PyErr_Occurred()) SWIG_fail; | |
21079 | } | |
4f89f6a3 RD |
21080 | { |
21081 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21082 | } | |
d14a1e28 RD |
21083 | return resultobj; |
21084 | fail: | |
21085 | return NULL; | |
21086 | } | |
21087 | ||
21088 | ||
c32bde28 | 21089 | static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21090 | PyObject *resultobj; |
21091 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21092 | bool result; | |
21093 | PyObject * obj0 = 0 ; | |
21094 | char *kwnames[] = { | |
21095 | (char *) "self", NULL | |
21096 | }; | |
21097 | ||
21098 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21099 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21100 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21101 | { |
21102 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21103 | result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile(); | |
21104 | ||
21105 | wxPyEndAllowThreads(__tstate); | |
21106 | if (PyErr_Occurred()) SWIG_fail; | |
21107 | } | |
4f89f6a3 RD |
21108 | { |
21109 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21110 | } | |
d14a1e28 RD |
21111 | return resultobj; |
21112 | fail: | |
21113 | return NULL; | |
21114 | } | |
21115 | ||
21116 | ||
c32bde28 | 21117 | static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21118 | PyObject *resultobj; |
21119 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21120 | bool result; | |
21121 | PyObject * obj0 = 0 ; | |
21122 | char *kwnames[] = { | |
21123 | (char *) "self", NULL | |
21124 | }; | |
21125 | ||
21126 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21127 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21128 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21129 | { |
21130 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21131 | result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog(); | |
21132 | ||
21133 | wxPyEndAllowThreads(__tstate); | |
21134 | if (PyErr_Occurred()) SWIG_fail; | |
21135 | } | |
4f89f6a3 RD |
21136 | { |
21137 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21138 | } | |
d14a1e28 RD |
21139 | return resultobj; |
21140 | fail: | |
21141 | return NULL; | |
21142 | } | |
21143 | ||
21144 | ||
c32bde28 | 21145 | static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21146 | PyObject *resultobj; |
21147 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21148 | int arg2 ; | |
21149 | PyObject * obj0 = 0 ; | |
994141e6 | 21150 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21151 | char *kwnames[] = { |
21152 | (char *) "self",(char *) "v", NULL | |
21153 | }; | |
21154 | ||
994141e6 | 21155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
21156 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21157 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 21158 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 21159 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
21160 | { |
21161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21162 | (arg1)->SetFromPage(arg2); | |
21163 | ||
21164 | wxPyEndAllowThreads(__tstate); | |
21165 | if (PyErr_Occurred()) SWIG_fail; | |
21166 | } | |
21167 | Py_INCREF(Py_None); resultobj = Py_None; | |
21168 | return resultobj; | |
21169 | fail: | |
21170 | return NULL; | |
21171 | } | |
21172 | ||
21173 | ||
c32bde28 | 21174 | static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21175 | PyObject *resultobj; |
21176 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21177 | int arg2 ; | |
21178 | PyObject * obj0 = 0 ; | |
994141e6 | 21179 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21180 | char *kwnames[] = { |
21181 | (char *) "self",(char *) "v", NULL | |
21182 | }; | |
21183 | ||
994141e6 | 21184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
21185 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21186 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 21187 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 21188 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
21189 | { |
21190 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21191 | (arg1)->SetToPage(arg2); | |
21192 | ||
21193 | wxPyEndAllowThreads(__tstate); | |
21194 | if (PyErr_Occurred()) SWIG_fail; | |
21195 | } | |
21196 | Py_INCREF(Py_None); resultobj = Py_None; | |
21197 | return resultobj; | |
21198 | fail: | |
21199 | return NULL; | |
21200 | } | |
21201 | ||
21202 | ||
c32bde28 | 21203 | static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21204 | PyObject *resultobj; |
21205 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21206 | int arg2 ; | |
21207 | PyObject * obj0 = 0 ; | |
994141e6 | 21208 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21209 | char *kwnames[] = { |
21210 | (char *) "self",(char *) "v", NULL | |
21211 | }; | |
21212 | ||
994141e6 | 21213 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
21214 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21215 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 21216 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 21217 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
21218 | { |
21219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21220 | (arg1)->SetMinPage(arg2); | |
21221 | ||
21222 | wxPyEndAllowThreads(__tstate); | |
21223 | if (PyErr_Occurred()) SWIG_fail; | |
21224 | } | |
21225 | Py_INCREF(Py_None); resultobj = Py_None; | |
21226 | return resultobj; | |
21227 | fail: | |
21228 | return NULL; | |
21229 | } | |
21230 | ||
21231 | ||
c32bde28 | 21232 | static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21233 | PyObject *resultobj; |
21234 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21235 | int arg2 ; | |
21236 | PyObject * obj0 = 0 ; | |
994141e6 | 21237 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21238 | char *kwnames[] = { |
21239 | (char *) "self",(char *) "v", NULL | |
21240 | }; | |
21241 | ||
994141e6 | 21242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
21243 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21244 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 21245 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 21246 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
21247 | { |
21248 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21249 | (arg1)->SetMaxPage(arg2); | |
21250 | ||
21251 | wxPyEndAllowThreads(__tstate); | |
21252 | if (PyErr_Occurred()) SWIG_fail; | |
21253 | } | |
21254 | Py_INCREF(Py_None); resultobj = Py_None; | |
21255 | return resultobj; | |
21256 | fail: | |
21257 | return NULL; | |
21258 | } | |
21259 | ||
21260 | ||
c32bde28 | 21261 | static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21262 | PyObject *resultobj; |
21263 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21264 | int arg2 ; | |
21265 | PyObject * obj0 = 0 ; | |
994141e6 | 21266 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21267 | char *kwnames[] = { |
21268 | (char *) "self",(char *) "v", NULL | |
21269 | }; | |
21270 | ||
994141e6 | 21271 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
21272 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21273 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 21274 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 21275 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
21276 | { |
21277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21278 | (arg1)->SetNoCopies(arg2); | |
21279 | ||
21280 | wxPyEndAllowThreads(__tstate); | |
21281 | if (PyErr_Occurred()) SWIG_fail; | |
21282 | } | |
21283 | Py_INCREF(Py_None); resultobj = Py_None; | |
21284 | return resultobj; | |
21285 | fail: | |
21286 | return NULL; | |
21287 | } | |
21288 | ||
21289 | ||
c32bde28 | 21290 | static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21291 | PyObject *resultobj; |
21292 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21293 | bool arg2 ; | |
21294 | PyObject * obj0 = 0 ; | |
21295 | PyObject * obj1 = 0 ; | |
21296 | char *kwnames[] = { | |
21297 | (char *) "self",(char *) "flag", NULL | |
21298 | }; | |
21299 | ||
21300 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21301 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21302 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 21303 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 21304 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
21305 | { |
21306 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21307 | (arg1)->SetAllPages(arg2); | |
21308 | ||
21309 | wxPyEndAllowThreads(__tstate); | |
21310 | if (PyErr_Occurred()) SWIG_fail; | |
21311 | } | |
21312 | Py_INCREF(Py_None); resultobj = Py_None; | |
21313 | return resultobj; | |
21314 | fail: | |
21315 | return NULL; | |
21316 | } | |
21317 | ||
21318 | ||
c32bde28 | 21319 | static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21320 | PyObject *resultobj; |
21321 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21322 | bool arg2 ; | |
21323 | PyObject * obj0 = 0 ; | |
21324 | PyObject * obj1 = 0 ; | |
21325 | char *kwnames[] = { | |
21326 | (char *) "self",(char *) "flag", NULL | |
21327 | }; | |
21328 | ||
21329 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21330 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21331 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 21332 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 21333 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
21334 | { |
21335 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21336 | (arg1)->SetSelection(arg2); | |
21337 | ||
21338 | wxPyEndAllowThreads(__tstate); | |
21339 | if (PyErr_Occurred()) SWIG_fail; | |
21340 | } | |
21341 | Py_INCREF(Py_None); resultobj = Py_None; | |
21342 | return resultobj; | |
21343 | fail: | |
21344 | return NULL; | |
21345 | } | |
21346 | ||
21347 | ||
c32bde28 | 21348 | static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21349 | PyObject *resultobj; |
21350 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21351 | bool arg2 ; | |
21352 | PyObject * obj0 = 0 ; | |
21353 | PyObject * obj1 = 0 ; | |
21354 | char *kwnames[] = { | |
21355 | (char *) "self",(char *) "flag", NULL | |
21356 | }; | |
21357 | ||
21358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21359 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21360 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 21361 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 21362 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
21363 | { |
21364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21365 | (arg1)->SetCollate(arg2); | |
21366 | ||
21367 | wxPyEndAllowThreads(__tstate); | |
21368 | if (PyErr_Occurred()) SWIG_fail; | |
21369 | } | |
21370 | Py_INCREF(Py_None); resultobj = Py_None; | |
21371 | return resultobj; | |
21372 | fail: | |
21373 | return NULL; | |
21374 | } | |
21375 | ||
21376 | ||
c32bde28 | 21377 | static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21378 | PyObject *resultobj; |
21379 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21380 | bool arg2 ; | |
21381 | PyObject * obj0 = 0 ; | |
21382 | PyObject * obj1 = 0 ; | |
21383 | char *kwnames[] = { | |
21384 | (char *) "self",(char *) "flag", NULL | |
21385 | }; | |
21386 | ||
21387 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21388 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21389 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 21390 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 21391 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
21392 | { |
21393 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21394 | (arg1)->SetPrintToFile(arg2); | |
21395 | ||
21396 | wxPyEndAllowThreads(__tstate); | |
21397 | if (PyErr_Occurred()) SWIG_fail; | |
21398 | } | |
21399 | Py_INCREF(Py_None); resultobj = Py_None; | |
21400 | return resultobj; | |
21401 | fail: | |
21402 | return NULL; | |
21403 | } | |
21404 | ||
21405 | ||
c32bde28 | 21406 | static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21407 | PyObject *resultobj; |
21408 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21409 | bool arg2 ; | |
21410 | PyObject * obj0 = 0 ; | |
21411 | PyObject * obj1 = 0 ; | |
21412 | char *kwnames[] = { | |
21413 | (char *) "self",(char *) "flag", NULL | |
21414 | }; | |
21415 | ||
21416 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21417 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21418 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 21419 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 21420 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
21421 | { |
21422 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21423 | (arg1)->SetSetupDialog(arg2); | |
21424 | ||
21425 | wxPyEndAllowThreads(__tstate); | |
21426 | if (PyErr_Occurred()) SWIG_fail; | |
21427 | } | |
21428 | Py_INCREF(Py_None); resultobj = Py_None; | |
21429 | return resultobj; | |
21430 | fail: | |
21431 | return NULL; | |
21432 | } | |
21433 | ||
21434 | ||
c32bde28 | 21435 | static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21436 | PyObject *resultobj; |
21437 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21438 | bool arg2 ; | |
21439 | PyObject * obj0 = 0 ; | |
21440 | PyObject * obj1 = 0 ; | |
21441 | char *kwnames[] = { | |
21442 | (char *) "self",(char *) "flag", NULL | |
21443 | }; | |
21444 | ||
21445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21446 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21447 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 21448 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 21449 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
21450 | { |
21451 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21452 | (arg1)->EnablePrintToFile(arg2); | |
21453 | ||
21454 | wxPyEndAllowThreads(__tstate); | |
21455 | if (PyErr_Occurred()) SWIG_fail; | |
21456 | } | |
21457 | Py_INCREF(Py_None); resultobj = Py_None; | |
21458 | return resultobj; | |
21459 | fail: | |
21460 | return NULL; | |
21461 | } | |
21462 | ||
21463 | ||
c32bde28 | 21464 | static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21465 | PyObject *resultobj; |
21466 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21467 | bool arg2 ; | |
21468 | PyObject * obj0 = 0 ; | |
21469 | PyObject * obj1 = 0 ; | |
21470 | char *kwnames[] = { | |
21471 | (char *) "self",(char *) "flag", NULL | |
21472 | }; | |
21473 | ||
21474 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21475 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21476 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 21477 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 21478 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
21479 | { |
21480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21481 | (arg1)->EnableSelection(arg2); | |
21482 | ||
21483 | wxPyEndAllowThreads(__tstate); | |
21484 | if (PyErr_Occurred()) SWIG_fail; | |
21485 | } | |
21486 | Py_INCREF(Py_None); resultobj = Py_None; | |
21487 | return resultobj; | |
21488 | fail: | |
21489 | return NULL; | |
21490 | } | |
21491 | ||
21492 | ||
c32bde28 | 21493 | static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21494 | PyObject *resultobj; |
21495 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21496 | bool arg2 ; | |
21497 | PyObject * obj0 = 0 ; | |
21498 | PyObject * obj1 = 0 ; | |
21499 | char *kwnames[] = { | |
21500 | (char *) "self",(char *) "flag", NULL | |
21501 | }; | |
21502 | ||
21503 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21504 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21505 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 21506 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 21507 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
21508 | { |
21509 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21510 | (arg1)->EnablePageNumbers(arg2); | |
21511 | ||
21512 | wxPyEndAllowThreads(__tstate); | |
21513 | if (PyErr_Occurred()) SWIG_fail; | |
21514 | } | |
21515 | Py_INCREF(Py_None); resultobj = Py_None; | |
21516 | return resultobj; | |
21517 | fail: | |
21518 | return NULL; | |
21519 | } | |
21520 | ||
21521 | ||
c32bde28 | 21522 | static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21523 | PyObject *resultobj; |
21524 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21525 | bool arg2 ; | |
21526 | PyObject * obj0 = 0 ; | |
21527 | PyObject * obj1 = 0 ; | |
21528 | char *kwnames[] = { | |
21529 | (char *) "self",(char *) "flag", NULL | |
21530 | }; | |
21531 | ||
21532 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21533 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21534 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 21535 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 21536 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
21537 | { |
21538 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21539 | (arg1)->EnableHelp(arg2); | |
21540 | ||
21541 | wxPyEndAllowThreads(__tstate); | |
21542 | if (PyErr_Occurred()) SWIG_fail; | |
21543 | } | |
21544 | Py_INCREF(Py_None); resultobj = Py_None; | |
21545 | return resultobj; | |
21546 | fail: | |
21547 | return NULL; | |
21548 | } | |
21549 | ||
21550 | ||
c32bde28 | 21551 | static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21552 | PyObject *resultobj; |
21553 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21554 | bool result; | |
21555 | PyObject * obj0 = 0 ; | |
21556 | char *kwnames[] = { | |
21557 | (char *) "self", NULL | |
21558 | }; | |
21559 | ||
21560 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21561 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21562 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21563 | { |
21564 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21565 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile(); | |
21566 | ||
21567 | wxPyEndAllowThreads(__tstate); | |
21568 | if (PyErr_Occurred()) SWIG_fail; | |
21569 | } | |
4f89f6a3 RD |
21570 | { |
21571 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21572 | } | |
d14a1e28 RD |
21573 | return resultobj; |
21574 | fail: | |
21575 | return NULL; | |
21576 | } | |
21577 | ||
21578 | ||
c32bde28 | 21579 | static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21580 | PyObject *resultobj; |
21581 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21582 | bool result; | |
21583 | PyObject * obj0 = 0 ; | |
21584 | char *kwnames[] = { | |
21585 | (char *) "self", NULL | |
21586 | }; | |
21587 | ||
21588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21589 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21590 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21591 | { |
21592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21593 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection(); | |
21594 | ||
21595 | wxPyEndAllowThreads(__tstate); | |
21596 | if (PyErr_Occurred()) SWIG_fail; | |
21597 | } | |
4f89f6a3 RD |
21598 | { |
21599 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21600 | } | |
d14a1e28 RD |
21601 | return resultobj; |
21602 | fail: | |
21603 | return NULL; | |
21604 | } | |
21605 | ||
21606 | ||
c32bde28 | 21607 | static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21608 | PyObject *resultobj; |
21609 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21610 | bool result; | |
21611 | PyObject * obj0 = 0 ; | |
21612 | char *kwnames[] = { | |
21613 | (char *) "self", NULL | |
21614 | }; | |
21615 | ||
21616 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21617 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21618 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21619 | { |
21620 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21621 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers(); | |
21622 | ||
21623 | wxPyEndAllowThreads(__tstate); | |
21624 | if (PyErr_Occurred()) SWIG_fail; | |
21625 | } | |
4f89f6a3 RD |
21626 | { |
21627 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21628 | } | |
d14a1e28 RD |
21629 | return resultobj; |
21630 | fail: | |
21631 | return NULL; | |
21632 | } | |
21633 | ||
21634 | ||
c32bde28 | 21635 | static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21636 | PyObject *resultobj; |
21637 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21638 | bool result; | |
21639 | PyObject * obj0 = 0 ; | |
21640 | char *kwnames[] = { | |
21641 | (char *) "self", NULL | |
21642 | }; | |
21643 | ||
21644 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21645 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21646 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21647 | { |
21648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21649 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp(); | |
21650 | ||
21651 | wxPyEndAllowThreads(__tstate); | |
21652 | if (PyErr_Occurred()) SWIG_fail; | |
21653 | } | |
4f89f6a3 RD |
21654 | { |
21655 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21656 | } | |
d14a1e28 RD |
21657 | return resultobj; |
21658 | fail: | |
21659 | return NULL; | |
21660 | } | |
21661 | ||
21662 | ||
c32bde28 | 21663 | static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21664 | PyObject *resultobj; |
21665 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21666 | bool result; | |
21667 | PyObject * obj0 = 0 ; | |
21668 | char *kwnames[] = { | |
21669 | (char *) "self", NULL | |
21670 | }; | |
21671 | ||
21672 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21673 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21674 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21675 | { |
21676 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21677 | result = (bool)((wxPrintDialogData const *)arg1)->Ok(); | |
21678 | ||
21679 | wxPyEndAllowThreads(__tstate); | |
21680 | if (PyErr_Occurred()) SWIG_fail; | |
21681 | } | |
4f89f6a3 RD |
21682 | { |
21683 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21684 | } | |
d14a1e28 RD |
21685 | return resultobj; |
21686 | fail: | |
21687 | return NULL; | |
21688 | } | |
21689 | ||
21690 | ||
c32bde28 | 21691 | static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21692 | PyObject *resultobj; |
21693 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21694 | wxPrintData *result; | |
21695 | PyObject * obj0 = 0 ; | |
21696 | char *kwnames[] = { | |
21697 | (char *) "self", NULL | |
21698 | }; | |
21699 | ||
21700 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21701 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21702 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21703 | { |
21704 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21705 | { | |
21706 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
21707 | result = (wxPrintData *) &_result_ref; | |
21708 | } | |
21709 | ||
21710 | wxPyEndAllowThreads(__tstate); | |
21711 | if (PyErr_Occurred()) SWIG_fail; | |
21712 | } | |
15afbcd0 | 21713 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
d14a1e28 RD |
21714 | return resultobj; |
21715 | fail: | |
21716 | return NULL; | |
21717 | } | |
21718 | ||
21719 | ||
c32bde28 | 21720 | static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21721 | PyObject *resultobj; |
21722 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21723 | wxPrintData *arg2 = 0 ; | |
21724 | PyObject * obj0 = 0 ; | |
21725 | PyObject * obj1 = 0 ; | |
21726 | char *kwnames[] = { | |
21727 | (char *) "self",(char *) "printData", NULL | |
21728 | }; | |
21729 | ||
21730 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21731 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21732 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21733 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData, | |
21734 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
21735 | SWIG_fail; | |
d14a1e28 | 21736 | if (arg2 == NULL) { |
15afbcd0 RD |
21737 | PyErr_SetString(PyExc_TypeError,"null reference"); |
21738 | SWIG_fail; | |
d14a1e28 RD |
21739 | } |
21740 | { | |
21741 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21742 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
21743 | ||
21744 | wxPyEndAllowThreads(__tstate); | |
21745 | if (PyErr_Occurred()) SWIG_fail; | |
21746 | } | |
21747 | Py_INCREF(Py_None); resultobj = Py_None; | |
21748 | return resultobj; | |
21749 | fail: | |
21750 | return NULL; | |
21751 | } | |
21752 | ||
21753 | ||
c32bde28 | 21754 | static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
21755 | PyObject *obj; |
21756 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21757 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj); | |
21758 | Py_INCREF(obj); | |
21759 | return Py_BuildValue((char *)""); | |
21760 | } | |
c32bde28 | 21761 | static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21762 | PyObject *resultobj; |
21763 | wxWindow *arg1 = (wxWindow *) 0 ; | |
21764 | wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ; | |
21765 | wxPrintDialog *result; | |
21766 | PyObject * obj0 = 0 ; | |
21767 | PyObject * obj1 = 0 ; | |
21768 | char *kwnames[] = { | |
21769 | (char *) "parent",(char *) "data", NULL | |
21770 | }; | |
21771 | ||
21772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21773 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
21774 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 21775 | if (obj1) { |
15afbcd0 RD |
21776 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData, |
21777 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21778 | } |
21779 | { | |
e3b71cb8 | 21780 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
21781 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
21782 | result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2); | |
21783 | ||
21784 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 21785 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 21786 | } |
15afbcd0 | 21787 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1); |
d14a1e28 RD |
21788 | return resultobj; |
21789 | fail: | |
21790 | return NULL; | |
21791 | } | |
21792 | ||
21793 | ||
c32bde28 | 21794 | static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21795 | PyObject *resultobj; |
21796 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
21797 | wxPrintDialogData *result; | |
21798 | PyObject * obj0 = 0 ; | |
21799 | char *kwnames[] = { | |
21800 | (char *) "self", NULL | |
21801 | }; | |
21802 | ||
21803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21804 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, |
21805 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21806 | { |
21807 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21808 | { | |
21809 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
21810 | result = (wxPrintDialogData *) &_result_ref; | |
21811 | } | |
21812 | ||
21813 | wxPyEndAllowThreads(__tstate); | |
21814 | if (PyErr_Occurred()) SWIG_fail; | |
21815 | } | |
15afbcd0 | 21816 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
d14a1e28 RD |
21817 | return resultobj; |
21818 | fail: | |
21819 | return NULL; | |
21820 | } | |
21821 | ||
21822 | ||
c32bde28 | 21823 | static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21824 | PyObject *resultobj; |
21825 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
21826 | wxDC *result; | |
21827 | PyObject * obj0 = 0 ; | |
21828 | char *kwnames[] = { | |
21829 | (char *) "self", NULL | |
21830 | }; | |
21831 | ||
21832 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21833 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, |
21834 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21835 | { |
21836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21837 | result = (wxDC *)(arg1)->GetPrintDC(); | |
21838 | ||
21839 | wxPyEndAllowThreads(__tstate); | |
21840 | if (PyErr_Occurred()) SWIG_fail; | |
21841 | } | |
21842 | { | |
412d302d | 21843 | resultobj = wxPyMake_wxObject(result, 1); |
d14a1e28 RD |
21844 | } |
21845 | return resultobj; | |
21846 | fail: | |
21847 | return NULL; | |
21848 | } | |
21849 | ||
21850 | ||
c32bde28 | 21851 | static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21852 | PyObject *resultobj; |
21853 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
21854 | int result; | |
21855 | PyObject * obj0 = 0 ; | |
21856 | char *kwnames[] = { | |
21857 | (char *) "self", NULL | |
21858 | }; | |
21859 | ||
21860 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21861 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, |
21862 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21863 | { |
21864 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21865 | result = (int)(arg1)->ShowModal(); | |
21866 | ||
21867 | wxPyEndAllowThreads(__tstate); | |
21868 | if (PyErr_Occurred()) SWIG_fail; | |
21869 | } | |
c32bde28 | 21870 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
21871 | return resultobj; |
21872 | fail: | |
21873 | return NULL; | |
21874 | } | |
21875 | ||
21876 | ||
c32bde28 | 21877 | static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
21878 | PyObject *obj; |
21879 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21880 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj); | |
21881 | Py_INCREF(obj); | |
21882 | return Py_BuildValue((char *)""); | |
21883 | } | |
c32bde28 | 21884 | static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21885 | PyObject *resultobj; |
21886 | wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ; | |
21887 | wxPrinter *result; | |
21888 | PyObject * obj0 = 0 ; | |
21889 | char *kwnames[] = { | |
21890 | (char *) "data", NULL | |
21891 | }; | |
21892 | ||
21893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail; | |
21894 | if (obj0) { | |
15afbcd0 RD |
21895 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21896 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21897 | } |
21898 | { | |
e3b71cb8 | 21899 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
21900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
21901 | result = (wxPrinter *)new wxPrinter(arg1); | |
21902 | ||
21903 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 21904 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 21905 | } |
15afbcd0 | 21906 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1); |
d14a1e28 RD |
21907 | return resultobj; |
21908 | fail: | |
21909 | return NULL; | |
21910 | } | |
21911 | ||
21912 | ||
c32bde28 | 21913 | static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21914 | PyObject *resultobj; |
21915 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
21916 | PyObject * obj0 = 0 ; | |
21917 | char *kwnames[] = { | |
21918 | (char *) "self", NULL | |
21919 | }; | |
21920 | ||
21921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21922 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
21923 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21924 | { |
21925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21926 | delete arg1; | |
21927 | ||
21928 | wxPyEndAllowThreads(__tstate); | |
21929 | if (PyErr_Occurred()) SWIG_fail; | |
21930 | } | |
21931 | Py_INCREF(Py_None); resultobj = Py_None; | |
21932 | return resultobj; | |
21933 | fail: | |
21934 | return NULL; | |
21935 | } | |
21936 | ||
21937 | ||
c32bde28 | 21938 | static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21939 | PyObject *resultobj; |
21940 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
21941 | wxWindow *arg2 = (wxWindow *) 0 ; | |
21942 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
21943 | PyObject * obj0 = 0 ; | |
21944 | PyObject * obj1 = 0 ; | |
21945 | PyObject * obj2 = 0 ; | |
21946 | char *kwnames[] = { | |
21947 | (char *) "self",(char *) "parent",(char *) "printout", NULL | |
21948 | }; | |
21949 | ||
21950 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
21951 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
21952 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21953 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
21954 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21955 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, | |
21956 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21957 | { |
21958 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21959 | (arg1)->CreateAbortWindow(arg2,arg3); | |
21960 | ||
21961 | wxPyEndAllowThreads(__tstate); | |
21962 | if (PyErr_Occurred()) SWIG_fail; | |
21963 | } | |
21964 | Py_INCREF(Py_None); resultobj = Py_None; | |
21965 | return resultobj; | |
21966 | fail: | |
21967 | return NULL; | |
21968 | } | |
21969 | ||
21970 | ||
c32bde28 | 21971 | static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21972 | PyObject *resultobj; |
21973 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
21974 | wxPrintDialogData *result; | |
21975 | PyObject * obj0 = 0 ; | |
21976 | char *kwnames[] = { | |
21977 | (char *) "self", NULL | |
21978 | }; | |
21979 | ||
21980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21981 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
21982 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21983 | { |
21984 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21985 | { | |
21986 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
21987 | result = (wxPrintDialogData *) &_result_ref; | |
21988 | } | |
21989 | ||
21990 | wxPyEndAllowThreads(__tstate); | |
21991 | if (PyErr_Occurred()) SWIG_fail; | |
21992 | } | |
15afbcd0 | 21993 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
d14a1e28 RD |
21994 | return resultobj; |
21995 | fail: | |
21996 | return NULL; | |
21997 | } | |
21998 | ||
21999 | ||
c32bde28 | 22000 | static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22001 | PyObject *resultobj; |
22002 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
22003 | wxWindow *arg2 = (wxWindow *) 0 ; | |
22004 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
ae8162c8 | 22005 | int arg4 = (int) true ; |
d14a1e28 RD |
22006 | bool result; |
22007 | PyObject * obj0 = 0 ; | |
22008 | PyObject * obj1 = 0 ; | |
22009 | PyObject * obj2 = 0 ; | |
994141e6 | 22010 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
22011 | char *kwnames[] = { |
22012 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL | |
22013 | }; | |
22014 | ||
994141e6 | 22015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
22016 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
22017 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22018 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
22019 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22020 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, | |
22021 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 22022 | if (obj3) { |
c32bde28 | 22023 | arg4 = (int)SWIG_As_int(obj3); |
15afbcd0 | 22024 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 22025 | } |
d14a1e28 RD |
22026 | { |
22027 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22028 | result = (bool)(arg1)->Print(arg2,arg3,arg4); | |
22029 | ||
22030 | wxPyEndAllowThreads(__tstate); | |
22031 | if (PyErr_Occurred()) SWIG_fail; | |
22032 | } | |
4f89f6a3 RD |
22033 | { |
22034 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22035 | } | |
d14a1e28 RD |
22036 | return resultobj; |
22037 | fail: | |
22038 | return NULL; | |
22039 | } | |
22040 | ||
22041 | ||
c32bde28 | 22042 | static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22043 | PyObject *resultobj; |
22044 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
22045 | wxWindow *arg2 = (wxWindow *) 0 ; | |
22046 | wxDC *result; | |
22047 | PyObject * obj0 = 0 ; | |
22048 | PyObject * obj1 = 0 ; | |
22049 | char *kwnames[] = { | |
22050 | (char *) "self",(char *) "parent", NULL | |
22051 | }; | |
22052 | ||
22053 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
22054 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
22055 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22056 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
22057 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22058 | { |
22059 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22060 | result = (wxDC *)(arg1)->PrintDialog(arg2); | |
22061 | ||
22062 | wxPyEndAllowThreads(__tstate); | |
22063 | if (PyErr_Occurred()) SWIG_fail; | |
22064 | } | |
22065 | { | |
412d302d | 22066 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
22067 | } |
22068 | return resultobj; | |
22069 | fail: | |
22070 | return NULL; | |
22071 | } | |
22072 | ||
22073 | ||
c32bde28 | 22074 | static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22075 | PyObject *resultobj; |
22076 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
22077 | wxWindow *arg2 = (wxWindow *) 0 ; | |
22078 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
22079 | wxString *arg4 = 0 ; | |
ae8162c8 | 22080 | bool temp4 = false ; |
d14a1e28 RD |
22081 | PyObject * obj0 = 0 ; |
22082 | PyObject * obj1 = 0 ; | |
22083 | PyObject * obj2 = 0 ; | |
22084 | PyObject * obj3 = 0 ; | |
22085 | char *kwnames[] = { | |
22086 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL | |
22087 | }; | |
22088 | ||
22089 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
15afbcd0 RD |
22090 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
22091 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22092 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
22093 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22094 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, | |
22095 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22096 | { |
22097 | arg4 = wxString_in_helper(obj3); | |
22098 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 22099 | temp4 = true; |
d14a1e28 RD |
22100 | } |
22101 | { | |
22102 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22103 | (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4); | |
22104 | ||
22105 | wxPyEndAllowThreads(__tstate); | |
22106 | if (PyErr_Occurred()) SWIG_fail; | |
22107 | } | |
22108 | Py_INCREF(Py_None); resultobj = Py_None; | |
22109 | { | |
22110 | if (temp4) | |
22111 | delete arg4; | |
22112 | } | |
22113 | return resultobj; | |
22114 | fail: | |
22115 | { | |
22116 | if (temp4) | |
22117 | delete arg4; | |
22118 | } | |
22119 | return NULL; | |
22120 | } | |
22121 | ||
22122 | ||
c32bde28 | 22123 | static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22124 | PyObject *resultobj; |
22125 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
22126 | wxWindow *arg2 = (wxWindow *) 0 ; | |
22127 | bool result; | |
22128 | PyObject * obj0 = 0 ; | |
22129 | PyObject * obj1 = 0 ; | |
22130 | char *kwnames[] = { | |
22131 | (char *) "self",(char *) "parent", NULL | |
22132 | }; | |
22133 | ||
22134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
22135 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
22136 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22137 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
22138 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22139 | { |
22140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22141 | result = (bool)(arg1)->Setup(arg2); | |
22142 | ||
22143 | wxPyEndAllowThreads(__tstate); | |
22144 | if (PyErr_Occurred()) SWIG_fail; | |
22145 | } | |
4f89f6a3 RD |
22146 | { |
22147 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22148 | } | |
d14a1e28 RD |
22149 | return resultobj; |
22150 | fail: | |
22151 | return NULL; | |
22152 | } | |
22153 | ||
22154 | ||
c32bde28 | 22155 | static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22156 | PyObject *resultobj; |
22157 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
22158 | bool result; | |
22159 | PyObject * obj0 = 0 ; | |
22160 | char *kwnames[] = { | |
22161 | (char *) "self", NULL | |
22162 | }; | |
22163 | ||
22164 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22165 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
22166 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22167 | { |
22168 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22169 | result = (bool)(arg1)->GetAbort(); | |
22170 | ||
22171 | wxPyEndAllowThreads(__tstate); | |
22172 | if (PyErr_Occurred()) SWIG_fail; | |
22173 | } | |
4f89f6a3 RD |
22174 | { |
22175 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22176 | } | |
d14a1e28 RD |
22177 | return resultobj; |
22178 | fail: | |
22179 | return NULL; | |
22180 | } | |
22181 | ||
22182 | ||
c32bde28 | 22183 | static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22184 | PyObject *resultobj; |
22185 | int result; | |
22186 | char *kwnames[] = { | |
22187 | NULL | |
22188 | }; | |
22189 | ||
22190 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail; | |
22191 | { | |
22192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22193 | result = (int)wxPrinter::GetLastError(); | |
22194 | ||
22195 | wxPyEndAllowThreads(__tstate); | |
22196 | if (PyErr_Occurred()) SWIG_fail; | |
22197 | } | |
c32bde28 | 22198 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
22199 | return resultobj; |
22200 | fail: | |
22201 | return NULL; | |
22202 | } | |
22203 | ||
22204 | ||
c32bde28 | 22205 | static PyObject * Printer_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
22206 | PyObject *obj; |
22207 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22208 | SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj); | |
22209 | Py_INCREF(obj); | |
22210 | return Py_BuildValue((char *)""); | |
22211 | } | |
c32bde28 | 22212 | static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22213 | PyObject *resultobj; |
22214 | wxString const &arg1_defvalue = wxPyPrintoutTitleStr ; | |
22215 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
22216 | wxPyPrintout *result; | |
ae8162c8 | 22217 | bool temp1 = false ; |
d14a1e28 RD |
22218 | PyObject * obj0 = 0 ; |
22219 | char *kwnames[] = { | |
22220 | (char *) "title", NULL | |
22221 | }; | |
22222 | ||
22223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail; | |
22224 | if (obj0) { | |
22225 | { | |
22226 | arg1 = wxString_in_helper(obj0); | |
22227 | if (arg1 == NULL) SWIG_fail; | |
ae8162c8 | 22228 | temp1 = true; |
d14a1e28 RD |
22229 | } |
22230 | } | |
22231 | { | |
e3b71cb8 | 22232 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
22233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
22234 | result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1); | |
22235 | ||
22236 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 22237 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
22238 | } |
22239 | { | |
412d302d | 22240 | resultobj = wxPyMake_wxObject(result, 1); |
d14a1e28 RD |
22241 | } |
22242 | { | |
22243 | if (temp1) | |
22244 | delete arg1; | |
22245 | } | |
22246 | return resultobj; | |
22247 | fail: | |
22248 | { | |
22249 | if (temp1) | |
22250 | delete arg1; | |
22251 | } | |
22252 | return NULL; | |
22253 | } | |
22254 | ||
22255 | ||
c32bde28 | 22256 | static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22257 | PyObject *resultobj; |
22258 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22259 | PyObject *arg2 = (PyObject *) 0 ; | |
22260 | PyObject *arg3 = (PyObject *) 0 ; | |
22261 | PyObject * obj0 = 0 ; | |
22262 | PyObject * obj1 = 0 ; | |
22263 | PyObject * obj2 = 0 ; | |
22264 | char *kwnames[] = { | |
22265 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
22266 | }; | |
22267 | ||
22268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
22269 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22270 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22271 | arg2 = obj1; |
22272 | arg3 = obj2; | |
22273 | { | |
22274 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22275 | (arg1)->_setCallbackInfo(arg2,arg3); | |
22276 | ||
22277 | wxPyEndAllowThreads(__tstate); | |
22278 | if (PyErr_Occurred()) SWIG_fail; | |
22279 | } | |
22280 | Py_INCREF(Py_None); resultobj = Py_None; | |
22281 | return resultobj; | |
22282 | fail: | |
22283 | return NULL; | |
22284 | } | |
22285 | ||
22286 | ||
c32bde28 | 22287 | static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22288 | PyObject *resultobj; |
22289 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22290 | wxString result; | |
22291 | PyObject * obj0 = 0 ; | |
22292 | char *kwnames[] = { | |
22293 | (char *) "self", NULL | |
22294 | }; | |
22295 | ||
22296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22297 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22298 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22299 | { |
22300 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22301 | result = ((wxPyPrintout const *)arg1)->GetTitle(); | |
22302 | ||
22303 | wxPyEndAllowThreads(__tstate); | |
22304 | if (PyErr_Occurred()) SWIG_fail; | |
22305 | } | |
22306 | { | |
22307 | #if wxUSE_UNICODE | |
22308 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
22309 | #else | |
22310 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
22311 | #endif | |
22312 | } | |
22313 | return resultobj; | |
22314 | fail: | |
22315 | return NULL; | |
22316 | } | |
22317 | ||
22318 | ||
c32bde28 | 22319 | static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22320 | PyObject *resultobj; |
22321 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22322 | wxDC *result; | |
22323 | PyObject * obj0 = 0 ; | |
22324 | char *kwnames[] = { | |
22325 | (char *) "self", NULL | |
22326 | }; | |
22327 | ||
22328 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22329 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22330 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22331 | { |
22332 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22333 | result = (wxDC *)(arg1)->GetDC(); | |
22334 | ||
22335 | wxPyEndAllowThreads(__tstate); | |
22336 | if (PyErr_Occurred()) SWIG_fail; | |
22337 | } | |
22338 | { | |
412d302d | 22339 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
22340 | } |
22341 | return resultobj; | |
22342 | fail: | |
22343 | return NULL; | |
22344 | } | |
22345 | ||
22346 | ||
c32bde28 | 22347 | static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22348 | PyObject *resultobj; |
22349 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22350 | wxDC *arg2 = (wxDC *) 0 ; | |
22351 | PyObject * obj0 = 0 ; | |
22352 | PyObject * obj1 = 0 ; | |
22353 | char *kwnames[] = { | |
22354 | (char *) "self",(char *) "dc", NULL | |
22355 | }; | |
22356 | ||
22357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
22358 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22359 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22360 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
22361 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22362 | { |
22363 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22364 | (arg1)->SetDC(arg2); | |
22365 | ||
22366 | wxPyEndAllowThreads(__tstate); | |
22367 | if (PyErr_Occurred()) SWIG_fail; | |
22368 | } | |
22369 | Py_INCREF(Py_None); resultobj = Py_None; | |
22370 | return resultobj; | |
22371 | fail: | |
22372 | return NULL; | |
22373 | } | |
22374 | ||
22375 | ||
c32bde28 | 22376 | static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22377 | PyObject *resultobj; |
22378 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
322913ce RD |
22379 | int arg2 ; |
22380 | int arg3 ; | |
d14a1e28 | 22381 | PyObject * obj0 = 0 ; |
994141e6 RD |
22382 | PyObject * obj1 = 0 ; |
22383 | PyObject * obj2 = 0 ; | |
d14a1e28 | 22384 | char *kwnames[] = { |
322913ce | 22385 | (char *) "self",(char *) "w",(char *) "h", NULL |
d14a1e28 RD |
22386 | }; |
22387 | ||
994141e6 | 22388 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
22389 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22390 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 22391 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 22392 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 22393 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 22394 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
22395 | { |
22396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 22397 | (arg1)->SetPageSizePixels(arg2,arg3); |
d14a1e28 RD |
22398 | |
22399 | wxPyEndAllowThreads(__tstate); | |
22400 | if (PyErr_Occurred()) SWIG_fail; | |
22401 | } | |
22402 | Py_INCREF(Py_None); resultobj = Py_None; | |
d14a1e28 RD |
22403 | return resultobj; |
22404 | fail: | |
22405 | return NULL; | |
22406 | } | |
22407 | ||
22408 | ||
c32bde28 | 22409 | static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22410 | PyObject *resultobj; |
22411 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
322913ce RD |
22412 | int *arg2 = (int *) 0 ; |
22413 | int *arg3 = (int *) 0 ; | |
22414 | int temp2 ; | |
c32bde28 | 22415 | int res2 = 0 ; |
322913ce | 22416 | int temp3 ; |
c32bde28 | 22417 | int res3 = 0 ; |
d14a1e28 RD |
22418 | PyObject * obj0 = 0 ; |
22419 | char *kwnames[] = { | |
322913ce | 22420 | (char *) "self", NULL |
d14a1e28 RD |
22421 | }; |
22422 | ||
c32bde28 RD |
22423 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
22424 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
322913ce | 22425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
22426 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22427 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22428 | { |
22429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 22430 | (arg1)->GetPageSizePixels(arg2,arg3); |
d14a1e28 RD |
22431 | |
22432 | wxPyEndAllowThreads(__tstate); | |
22433 | if (PyErr_Occurred()) SWIG_fail; | |
22434 | } | |
22435 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
22436 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
22437 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
22438 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
22439 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
22440 | return resultobj; |
22441 | fail: | |
22442 | return NULL; | |
22443 | } | |
22444 | ||
22445 | ||
c32bde28 | 22446 | static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22447 | PyObject *resultobj; |
22448 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22449 | int arg2 ; | |
22450 | int arg3 ; | |
22451 | PyObject * obj0 = 0 ; | |
994141e6 RD |
22452 | PyObject * obj1 = 0 ; |
22453 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
22454 | char *kwnames[] = { |
22455 | (char *) "self",(char *) "w",(char *) "h", NULL | |
22456 | }; | |
22457 | ||
994141e6 | 22458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
22459 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22460 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 22461 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 22462 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 22463 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 22464 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
22465 | { |
22466 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22467 | (arg1)->SetPageSizeMM(arg2,arg3); | |
22468 | ||
22469 | wxPyEndAllowThreads(__tstate); | |
22470 | if (PyErr_Occurred()) SWIG_fail; | |
22471 | } | |
22472 | Py_INCREF(Py_None); resultobj = Py_None; | |
22473 | return resultobj; | |
22474 | fail: | |
22475 | return NULL; | |
22476 | } | |
22477 | ||
22478 | ||
c32bde28 | 22479 | static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22480 | PyObject *resultobj; |
22481 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22482 | int *arg2 = (int *) 0 ; | |
22483 | int *arg3 = (int *) 0 ; | |
22484 | int temp2 ; | |
c32bde28 | 22485 | int res2 = 0 ; |
d14a1e28 | 22486 | int temp3 ; |
c32bde28 | 22487 | int res3 = 0 ; |
d14a1e28 RD |
22488 | PyObject * obj0 = 0 ; |
22489 | char *kwnames[] = { | |
22490 | (char *) "self", NULL | |
22491 | }; | |
22492 | ||
c32bde28 RD |
22493 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
22494 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 22495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
22496 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22497 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22498 | { |
22499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22500 | (arg1)->GetPageSizeMM(arg2,arg3); | |
22501 | ||
22502 | wxPyEndAllowThreads(__tstate); | |
22503 | if (PyErr_Occurred()) SWIG_fail; | |
22504 | } | |
22505 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
22506 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
22507 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
22508 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
22509 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
22510 | return resultobj; |
22511 | fail: | |
22512 | return NULL; | |
22513 | } | |
22514 | ||
22515 | ||
c32bde28 | 22516 | static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22517 | PyObject *resultobj; |
22518 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22519 | int arg2 ; | |
22520 | int arg3 ; | |
22521 | PyObject * obj0 = 0 ; | |
994141e6 RD |
22522 | PyObject * obj1 = 0 ; |
22523 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
22524 | char *kwnames[] = { |
22525 | (char *) "self",(char *) "x",(char *) "y", NULL | |
22526 | }; | |
22527 | ||
994141e6 | 22528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
22529 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22530 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 22531 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 22532 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 22533 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 22534 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
22535 | { |
22536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22537 | (arg1)->SetPPIScreen(arg2,arg3); | |
22538 | ||
22539 | wxPyEndAllowThreads(__tstate); | |
22540 | if (PyErr_Occurred()) SWIG_fail; | |
22541 | } | |
22542 | Py_INCREF(Py_None); resultobj = Py_None; | |
22543 | return resultobj; | |
22544 | fail: | |
22545 | return NULL; | |
22546 | } | |
22547 | ||
22548 | ||
c32bde28 | 22549 | static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22550 | PyObject *resultobj; |
22551 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22552 | int *arg2 = (int *) 0 ; | |
22553 | int *arg3 = (int *) 0 ; | |
22554 | int temp2 ; | |
c32bde28 | 22555 | int res2 = 0 ; |
d14a1e28 | 22556 | int temp3 ; |
c32bde28 | 22557 | int res3 = 0 ; |
d14a1e28 RD |
22558 | PyObject * obj0 = 0 ; |
22559 | char *kwnames[] = { | |
22560 | (char *) "self", NULL | |
22561 | }; | |
22562 | ||
c32bde28 RD |
22563 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
22564 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 22565 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
22566 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22567 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22568 | { |
22569 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22570 | (arg1)->GetPPIScreen(arg2,arg3); | |
22571 | ||
22572 | wxPyEndAllowThreads(__tstate); | |
22573 | if (PyErr_Occurred()) SWIG_fail; | |
22574 | } | |
22575 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
22576 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
22577 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
22578 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
22579 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
22580 | return resultobj; |
22581 | fail: | |
22582 | return NULL; | |
22583 | } | |
22584 | ||
22585 | ||
c32bde28 | 22586 | static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22587 | PyObject *resultobj; |
22588 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22589 | int arg2 ; | |
22590 | int arg3 ; | |
22591 | PyObject * obj0 = 0 ; | |
994141e6 RD |
22592 | PyObject * obj1 = 0 ; |
22593 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
22594 | char *kwnames[] = { |
22595 | (char *) "self",(char *) "x",(char *) "y", NULL | |
22596 | }; | |
22597 | ||
994141e6 | 22598 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
22599 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22600 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 22601 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 22602 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 22603 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 22604 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
22605 | { |
22606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22607 | (arg1)->SetPPIPrinter(arg2,arg3); | |
22608 | ||
22609 | wxPyEndAllowThreads(__tstate); | |
22610 | if (PyErr_Occurred()) SWIG_fail; | |
22611 | } | |
22612 | Py_INCREF(Py_None); resultobj = Py_None; | |
22613 | return resultobj; | |
22614 | fail: | |
22615 | return NULL; | |
22616 | } | |
22617 | ||
22618 | ||
c32bde28 | 22619 | static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22620 | PyObject *resultobj; |
22621 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22622 | int *arg2 = (int *) 0 ; | |
22623 | int *arg3 = (int *) 0 ; | |
22624 | int temp2 ; | |
c32bde28 | 22625 | int res2 = 0 ; |
d14a1e28 | 22626 | int temp3 ; |
c32bde28 | 22627 | int res3 = 0 ; |
d14a1e28 RD |
22628 | PyObject * obj0 = 0 ; |
22629 | char *kwnames[] = { | |
22630 | (char *) "self", NULL | |
22631 | }; | |
22632 | ||
c32bde28 RD |
22633 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
22634 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 22635 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
22636 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22637 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22638 | { |
22639 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22640 | (arg1)->GetPPIPrinter(arg2,arg3); | |
22641 | ||
22642 | wxPyEndAllowThreads(__tstate); | |
22643 | if (PyErr_Occurred()) SWIG_fail; | |
22644 | } | |
22645 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
22646 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
22647 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
22648 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
22649 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
22650 | return resultobj; |
22651 | fail: | |
22652 | return NULL; | |
22653 | } | |
22654 | ||
22655 | ||
c32bde28 | 22656 | static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22657 | PyObject *resultobj; |
22658 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22659 | bool result; | |
22660 | PyObject * obj0 = 0 ; | |
22661 | char *kwnames[] = { | |
22662 | (char *) "self", NULL | |
22663 | }; | |
22664 | ||
22665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22666 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22667 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22668 | { |
22669 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22670 | result = (bool)(arg1)->IsPreview(); | |
22671 | ||
22672 | wxPyEndAllowThreads(__tstate); | |
22673 | if (PyErr_Occurred()) SWIG_fail; | |
22674 | } | |
4f89f6a3 RD |
22675 | { |
22676 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22677 | } | |
d14a1e28 RD |
22678 | return resultobj; |
22679 | fail: | |
22680 | return NULL; | |
22681 | } | |
22682 | ||
22683 | ||
c32bde28 | 22684 | static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22685 | PyObject *resultobj; |
22686 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22687 | bool arg2 ; | |
22688 | PyObject * obj0 = 0 ; | |
22689 | PyObject * obj1 = 0 ; | |
22690 | char *kwnames[] = { | |
22691 | (char *) "self",(char *) "p", NULL | |
22692 | }; | |
22693 | ||
22694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
22695 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22696 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 22697 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 22698 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
22699 | { |
22700 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22701 | (arg1)->SetIsPreview(arg2); | |
22702 | ||
22703 | wxPyEndAllowThreads(__tstate); | |
22704 | if (PyErr_Occurred()) SWIG_fail; | |
22705 | } | |
22706 | Py_INCREF(Py_None); resultobj = Py_None; | |
22707 | return resultobj; | |
22708 | fail: | |
22709 | return NULL; | |
22710 | } | |
22711 | ||
22712 | ||
c32bde28 | 22713 | static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22714 | PyObject *resultobj; |
22715 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22716 | int arg2 ; | |
22717 | int arg3 ; | |
22718 | bool result; | |
22719 | PyObject * obj0 = 0 ; | |
994141e6 RD |
22720 | PyObject * obj1 = 0 ; |
22721 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
22722 | char *kwnames[] = { |
22723 | (char *) "self",(char *) "startPage",(char *) "endPage", NULL | |
22724 | }; | |
22725 | ||
994141e6 | 22726 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
22727 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22728 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 22729 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 22730 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 22731 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 22732 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
22733 | { |
22734 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22735 | result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3); | |
22736 | ||
22737 | wxPyEndAllowThreads(__tstate); | |
22738 | if (PyErr_Occurred()) SWIG_fail; | |
22739 | } | |
4f89f6a3 RD |
22740 | { |
22741 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22742 | } | |
d14a1e28 RD |
22743 | return resultobj; |
22744 | fail: | |
22745 | return NULL; | |
22746 | } | |
22747 | ||
22748 | ||
c32bde28 | 22749 | static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22750 | PyObject *resultobj; |
22751 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22752 | PyObject * obj0 = 0 ; | |
22753 | char *kwnames[] = { | |
22754 | (char *) "self", NULL | |
22755 | }; | |
22756 | ||
22757 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22758 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22759 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22760 | { |
22761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22762 | (arg1)->base_OnEndDocument(); | |
22763 | ||
22764 | wxPyEndAllowThreads(__tstate); | |
22765 | if (PyErr_Occurred()) SWIG_fail; | |
22766 | } | |
22767 | Py_INCREF(Py_None); resultobj = Py_None; | |
22768 | return resultobj; | |
22769 | fail: | |
22770 | return NULL; | |
22771 | } | |
22772 | ||
22773 | ||
c32bde28 | 22774 | static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22775 | PyObject *resultobj; |
22776 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22777 | PyObject * obj0 = 0 ; | |
22778 | char *kwnames[] = { | |
22779 | (char *) "self", NULL | |
22780 | }; | |
22781 | ||
22782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22783 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22784 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22785 | { |
22786 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22787 | (arg1)->base_OnBeginPrinting(); | |
22788 | ||
22789 | wxPyEndAllowThreads(__tstate); | |
22790 | if (PyErr_Occurred()) SWIG_fail; | |
22791 | } | |
22792 | Py_INCREF(Py_None); resultobj = Py_None; | |
22793 | return resultobj; | |
22794 | fail: | |
22795 | return NULL; | |
22796 | } | |
22797 | ||
22798 | ||
c32bde28 | 22799 | static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22800 | PyObject *resultobj; |
22801 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22802 | PyObject * obj0 = 0 ; | |
22803 | char *kwnames[] = { | |
22804 | (char *) "self", NULL | |
22805 | }; | |
22806 | ||
22807 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22808 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22809 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22810 | { |
22811 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22812 | (arg1)->base_OnEndPrinting(); | |
22813 | ||
22814 | wxPyEndAllowThreads(__tstate); | |
22815 | if (PyErr_Occurred()) SWIG_fail; | |
22816 | } | |
22817 | Py_INCREF(Py_None); resultobj = Py_None; | |
22818 | return resultobj; | |
22819 | fail: | |
22820 | return NULL; | |
22821 | } | |
22822 | ||
22823 | ||
c32bde28 | 22824 | static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22825 | PyObject *resultobj; |
22826 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22827 | PyObject * obj0 = 0 ; | |
22828 | char *kwnames[] = { | |
22829 | (char *) "self", NULL | |
22830 | }; | |
22831 | ||
22832 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22833 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22834 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22835 | { |
22836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22837 | (arg1)->base_OnPreparePrinting(); | |
22838 | ||
22839 | wxPyEndAllowThreads(__tstate); | |
22840 | if (PyErr_Occurred()) SWIG_fail; | |
22841 | } | |
22842 | Py_INCREF(Py_None); resultobj = Py_None; | |
22843 | return resultobj; | |
22844 | fail: | |
22845 | return NULL; | |
22846 | } | |
22847 | ||
22848 | ||
c32bde28 | 22849 | static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) { |
322913ce RD |
22850 | PyObject *resultobj; |
22851 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22852 | int arg2 ; | |
22853 | bool result; | |
22854 | PyObject * obj0 = 0 ; | |
994141e6 | 22855 | PyObject * obj1 = 0 ; |
322913ce RD |
22856 | char *kwnames[] = { |
22857 | (char *) "self",(char *) "page", NULL | |
22858 | }; | |
22859 | ||
994141e6 | 22860 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
22861 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22862 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 22863 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 22864 | if (PyErr_Occurred()) SWIG_fail; |
322913ce RD |
22865 | { |
22866 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22867 | result = (bool)(arg1)->base_HasPage(arg2); | |
22868 | ||
22869 | wxPyEndAllowThreads(__tstate); | |
22870 | if (PyErr_Occurred()) SWIG_fail; | |
22871 | } | |
4f89f6a3 RD |
22872 | { |
22873 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22874 | } | |
322913ce RD |
22875 | return resultobj; |
22876 | fail: | |
22877 | return NULL; | |
22878 | } | |
22879 | ||
22880 | ||
c32bde28 | 22881 | static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22882 | PyObject *resultobj; |
22883 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22884 | int *arg2 = (int *) 0 ; | |
22885 | int *arg3 = (int *) 0 ; | |
22886 | int *arg4 = (int *) 0 ; | |
22887 | int *arg5 = (int *) 0 ; | |
22888 | int temp2 ; | |
c32bde28 | 22889 | int res2 = 0 ; |
d14a1e28 | 22890 | int temp3 ; |
c32bde28 | 22891 | int res3 = 0 ; |
d14a1e28 | 22892 | int temp4 ; |
c32bde28 | 22893 | int res4 = 0 ; |
d14a1e28 | 22894 | int temp5 ; |
c32bde28 | 22895 | int res5 = 0 ; |
d14a1e28 RD |
22896 | PyObject * obj0 = 0 ; |
22897 | char *kwnames[] = { | |
22898 | (char *) "self", NULL | |
22899 | }; | |
22900 | ||
c32bde28 RD |
22901 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
22902 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
22903 | arg4 = &temp4; res4 = SWIG_NEWOBJ; | |
22904 | arg5 = &temp5; res5 = SWIG_NEWOBJ; | |
d14a1e28 | 22905 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
22906 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22907 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22908 | { |
22909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22910 | (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5); | |
22911 | ||
22912 | wxPyEndAllowThreads(__tstate); | |
22913 | if (PyErr_Occurred()) SWIG_fail; | |
22914 | } | |
22915 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
22916 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
22917 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
22918 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
22919 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
22920 | resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ? | |
22921 | SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0))); | |
22922 | resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ? | |
22923 | SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
22924 | return resultobj; |
22925 | fail: | |
22926 | return NULL; | |
22927 | } | |
22928 | ||
22929 | ||
c32bde28 | 22930 | static PyObject * Printout_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
22931 | PyObject *obj; |
22932 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22933 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj); | |
22934 | Py_INCREF(obj); | |
22935 | return Py_BuildValue((char *)""); | |
22936 | } | |
c32bde28 | 22937 | static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22938 | PyObject *resultobj; |
22939 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22940 | wxWindow *arg2 = (wxWindow *) 0 ; | |
22941 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
22942 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
22943 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
22944 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
22945 | long arg5 = (long) 0 ; | |
22946 | wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ; | |
22947 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
22948 | wxPreviewCanvas *result; | |
22949 | wxPoint temp3 ; | |
22950 | wxSize temp4 ; | |
ae8162c8 | 22951 | bool temp6 = false ; |
d14a1e28 RD |
22952 | PyObject * obj0 = 0 ; |
22953 | PyObject * obj1 = 0 ; | |
22954 | PyObject * obj2 = 0 ; | |
22955 | PyObject * obj3 = 0 ; | |
994141e6 | 22956 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
22957 | PyObject * obj5 = 0 ; |
22958 | char *kwnames[] = { | |
22959 | (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
22960 | }; | |
22961 | ||
994141e6 | 22962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
22963 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22964 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22965 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
22966 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22967 | if (obj2) { |
22968 | { | |
22969 | arg3 = &temp3; | |
22970 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
22971 | } | |
22972 | } | |
22973 | if (obj3) { | |
22974 | { | |
22975 | arg4 = &temp4; | |
22976 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
22977 | } | |
22978 | } | |
994141e6 | 22979 | if (obj4) { |
c32bde28 | 22980 | arg5 = (long)SWIG_As_long(obj4); |
15afbcd0 | 22981 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 22982 | } |
d14a1e28 RD |
22983 | if (obj5) { |
22984 | { | |
22985 | arg6 = wxString_in_helper(obj5); | |
22986 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 22987 | temp6 = true; |
d14a1e28 RD |
22988 | } |
22989 | } | |
22990 | { | |
e3b71cb8 | 22991 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
22992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
22993 | result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
22994 | ||
22995 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 22996 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 22997 | } |
15afbcd0 | 22998 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1); |
d14a1e28 RD |
22999 | { |
23000 | if (temp6) | |
23001 | delete arg6; | |
23002 | } | |
23003 | return resultobj; | |
23004 | fail: | |
23005 | { | |
23006 | if (temp6) | |
23007 | delete arg6; | |
23008 | } | |
23009 | return NULL; | |
23010 | } | |
23011 | ||
23012 | ||
c32bde28 | 23013 | static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
23014 | PyObject *obj; |
23015 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
23016 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj); | |
23017 | Py_INCREF(obj); | |
23018 | return Py_BuildValue((char *)""); | |
23019 | } | |
c32bde28 | 23020 | static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23021 | PyObject *resultobj; |
23022 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23023 | wxFrame *arg2 = (wxFrame *) 0 ; | |
23024 | wxString *arg3 = 0 ; | |
23025 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
23026 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
23027 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
23028 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
23029 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
23030 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
23031 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
23032 | wxPreviewFrame *result; | |
ae8162c8 | 23033 | bool temp3 = false ; |
d14a1e28 RD |
23034 | wxPoint temp4 ; |
23035 | wxSize temp5 ; | |
ae8162c8 | 23036 | bool temp7 = false ; |
d14a1e28 RD |
23037 | PyObject * obj0 = 0 ; |
23038 | PyObject * obj1 = 0 ; | |
23039 | PyObject * obj2 = 0 ; | |
23040 | PyObject * obj3 = 0 ; | |
23041 | PyObject * obj4 = 0 ; | |
994141e6 | 23042 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
23043 | PyObject * obj6 = 0 ; |
23044 | char *kwnames[] = { | |
23045 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
23046 | }; | |
23047 | ||
994141e6 | 23048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
23049 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23050 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23051 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
23052 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23053 | { |
23054 | arg3 = wxString_in_helper(obj2); | |
23055 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 23056 | temp3 = true; |
d14a1e28 RD |
23057 | } |
23058 | if (obj3) { | |
23059 | { | |
23060 | arg4 = &temp4; | |
23061 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
23062 | } | |
23063 | } | |
23064 | if (obj4) { | |
23065 | { | |
23066 | arg5 = &temp5; | |
23067 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
23068 | } | |
23069 | } | |
994141e6 | 23070 | if (obj5) { |
c32bde28 | 23071 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 23072 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 23073 | } |
d14a1e28 RD |
23074 | if (obj6) { |
23075 | { | |
23076 | arg7 = wxString_in_helper(obj6); | |
23077 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 23078 | temp7 = true; |
d14a1e28 RD |
23079 | } |
23080 | } | |
23081 | { | |
e3b71cb8 | 23082 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
23083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
23084 | result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
23085 | ||
23086 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 23087 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 23088 | } |
15afbcd0 | 23089 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1); |
d14a1e28 RD |
23090 | { |
23091 | if (temp3) | |
23092 | delete arg3; | |
23093 | } | |
23094 | { | |
23095 | if (temp7) | |
23096 | delete arg7; | |
23097 | } | |
23098 | return resultobj; | |
23099 | fail: | |
23100 | { | |
23101 | if (temp3) | |
23102 | delete arg3; | |
23103 | } | |
23104 | { | |
23105 | if (temp7) | |
23106 | delete arg7; | |
23107 | } | |
23108 | return NULL; | |
23109 | } | |
23110 | ||
23111 | ||
c32bde28 | 23112 | static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23113 | PyObject *resultobj; |
23114 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
23115 | PyObject * obj0 = 0 ; | |
23116 | char *kwnames[] = { | |
23117 | (char *) "self", NULL | |
23118 | }; | |
23119 | ||
23120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23121 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
23122 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23123 | { |
23124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23125 | (arg1)->Initialize(); | |
23126 | ||
23127 | wxPyEndAllowThreads(__tstate); | |
23128 | if (PyErr_Occurred()) SWIG_fail; | |
23129 | } | |
23130 | Py_INCREF(Py_None); resultobj = Py_None; | |
23131 | return resultobj; | |
23132 | fail: | |
23133 | return NULL; | |
23134 | } | |
23135 | ||
23136 | ||
c32bde28 | 23137 | static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23138 | PyObject *resultobj; |
23139 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
23140 | PyObject * obj0 = 0 ; | |
23141 | char *kwnames[] = { | |
23142 | (char *) "self", NULL | |
23143 | }; | |
23144 | ||
23145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23146 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
23147 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23148 | { |
23149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23150 | (arg1)->CreateControlBar(); | |
23151 | ||
23152 | wxPyEndAllowThreads(__tstate); | |
23153 | if (PyErr_Occurred()) SWIG_fail; | |
23154 | } | |
23155 | Py_INCREF(Py_None); resultobj = Py_None; | |
23156 | return resultobj; | |
23157 | fail: | |
23158 | return NULL; | |
23159 | } | |
23160 | ||
23161 | ||
c32bde28 | 23162 | static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23163 | PyObject *resultobj; |
23164 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
23165 | PyObject * obj0 = 0 ; | |
23166 | char *kwnames[] = { | |
23167 | (char *) "self", NULL | |
23168 | }; | |
23169 | ||
23170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23171 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
23172 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23173 | { |
23174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23175 | (arg1)->CreateCanvas(); | |
23176 | ||
23177 | wxPyEndAllowThreads(__tstate); | |
23178 | if (PyErr_Occurred()) SWIG_fail; | |
23179 | } | |
23180 | Py_INCREF(Py_None); resultobj = Py_None; | |
23181 | return resultobj; | |
23182 | fail: | |
23183 | return NULL; | |
23184 | } | |
23185 | ||
23186 | ||
c32bde28 | 23187 | static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23188 | PyObject *resultobj; |
23189 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
23190 | wxPreviewControlBar *result; | |
23191 | PyObject * obj0 = 0 ; | |
23192 | char *kwnames[] = { | |
23193 | (char *) "self", NULL | |
23194 | }; | |
23195 | ||
23196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23197 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
23198 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23199 | { |
23200 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23201 | result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar(); | |
23202 | ||
23203 | wxPyEndAllowThreads(__tstate); | |
23204 | if (PyErr_Occurred()) SWIG_fail; | |
23205 | } | |
15afbcd0 | 23206 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0); |
d14a1e28 RD |
23207 | return resultobj; |
23208 | fail: | |
23209 | return NULL; | |
23210 | } | |
23211 | ||
23212 | ||
c32bde28 | 23213 | static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
23214 | PyObject *obj; |
23215 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
23216 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj); | |
23217 | Py_INCREF(obj); | |
23218 | return Py_BuildValue((char *)""); | |
23219 | } | |
c32bde28 | 23220 | static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23221 | PyObject *resultobj; |
23222 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23223 | long arg2 ; | |
23224 | wxWindow *arg3 = (wxWindow *) 0 ; | |
23225 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
23226 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
23227 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
23228 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
23229 | long arg6 = (long) wxTAB_TRAVERSAL ; | |
23230 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
23231 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
23232 | wxPreviewControlBar *result; | |
23233 | wxPoint temp4 ; | |
23234 | wxSize temp5 ; | |
ae8162c8 | 23235 | bool temp7 = false ; |
d14a1e28 | 23236 | PyObject * obj0 = 0 ; |
994141e6 | 23237 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
23238 | PyObject * obj2 = 0 ; |
23239 | PyObject * obj3 = 0 ; | |
23240 | PyObject * obj4 = 0 ; | |
994141e6 | 23241 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
23242 | PyObject * obj6 = 0 ; |
23243 | char *kwnames[] = { | |
23244 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
23245 | }; | |
23246 | ||
994141e6 | 23247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
23248 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23249 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 23250 | arg2 = (long)SWIG_As_long(obj1); |
15afbcd0 RD |
23251 | if (PyErr_Occurred()) SWIG_fail; |
23252 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
23253 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23254 | if (obj3) { |
23255 | { | |
23256 | arg4 = &temp4; | |
23257 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
23258 | } | |
23259 | } | |
23260 | if (obj4) { | |
23261 | { | |
23262 | arg5 = &temp5; | |
23263 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
23264 | } | |
23265 | } | |
994141e6 | 23266 | if (obj5) { |
c32bde28 | 23267 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 23268 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 23269 | } |
d14a1e28 RD |
23270 | if (obj6) { |
23271 | { | |
23272 | arg7 = wxString_in_helper(obj6); | |
23273 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 23274 | temp7 = true; |
d14a1e28 RD |
23275 | } |
23276 | } | |
23277 | { | |
e3b71cb8 | 23278 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
23279 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
23280 | result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
23281 | ||
23282 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 23283 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 23284 | } |
15afbcd0 | 23285 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1); |
d14a1e28 RD |
23286 | { |
23287 | if (temp7) | |
23288 | delete arg7; | |
23289 | } | |
23290 | return resultobj; | |
23291 | fail: | |
23292 | { | |
23293 | if (temp7) | |
23294 | delete arg7; | |
23295 | } | |
23296 | return NULL; | |
23297 | } | |
23298 | ||
23299 | ||
c32bde28 | 23300 | static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23301 | PyObject *resultobj; |
23302 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23303 | int result; | |
23304 | PyObject * obj0 = 0 ; | |
23305 | char *kwnames[] = { | |
23306 | (char *) "self", NULL | |
23307 | }; | |
23308 | ||
23309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23310 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
23311 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23312 | { |
23313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23314 | result = (int)(arg1)->GetZoomControl(); | |
23315 | ||
23316 | wxPyEndAllowThreads(__tstate); | |
23317 | if (PyErr_Occurred()) SWIG_fail; | |
23318 | } | |
c32bde28 | 23319 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
23320 | return resultobj; |
23321 | fail: | |
23322 | return NULL; | |
23323 | } | |
23324 | ||
23325 | ||
c32bde28 | 23326 | static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23327 | PyObject *resultobj; |
23328 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23329 | int arg2 ; | |
23330 | PyObject * obj0 = 0 ; | |
994141e6 | 23331 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
23332 | char *kwnames[] = { |
23333 | (char *) "self",(char *) "zoom", NULL | |
23334 | }; | |
23335 | ||
994141e6 | 23336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
23337 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
23338 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 23339 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 23340 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
23341 | { |
23342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23343 | (arg1)->SetZoomControl(arg2); | |
23344 | ||
23345 | wxPyEndAllowThreads(__tstate); | |
23346 | if (PyErr_Occurred()) SWIG_fail; | |
23347 | } | |
23348 | Py_INCREF(Py_None); resultobj = Py_None; | |
23349 | return resultobj; | |
23350 | fail: | |
23351 | return NULL; | |
23352 | } | |
23353 | ||
23354 | ||
c32bde28 | 23355 | static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23356 | PyObject *resultobj; |
23357 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23358 | wxPrintPreview *result; | |
23359 | PyObject * obj0 = 0 ; | |
23360 | char *kwnames[] = { | |
23361 | (char *) "self", NULL | |
23362 | }; | |
23363 | ||
23364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23365 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
23366 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23367 | { |
23368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23369 | result = (wxPrintPreview *)(arg1)->GetPrintPreview(); | |
23370 | ||
23371 | wxPyEndAllowThreads(__tstate); | |
23372 | if (PyErr_Occurred()) SWIG_fail; | |
23373 | } | |
15afbcd0 | 23374 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0); |
d14a1e28 RD |
23375 | return resultobj; |
23376 | fail: | |
23377 | return NULL; | |
23378 | } | |
23379 | ||
23380 | ||
c32bde28 | 23381 | static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23382 | PyObject *resultobj; |
23383 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23384 | PyObject * obj0 = 0 ; | |
23385 | char *kwnames[] = { | |
23386 | (char *) "self", NULL | |
23387 | }; | |
23388 | ||
23389 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23390 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
23391 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23392 | { |
23393 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23394 | (arg1)->OnNext(); | |
23395 | ||
23396 | wxPyEndAllowThreads(__tstate); | |
23397 | if (PyErr_Occurred()) SWIG_fail; | |
23398 | } | |
23399 | Py_INCREF(Py_None); resultobj = Py_None; | |
23400 | return resultobj; | |
23401 | fail: | |
23402 | return NULL; | |
23403 | } | |
23404 | ||
23405 | ||
c32bde28 | 23406 | static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23407 | PyObject *resultobj; |
23408 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23409 | PyObject * obj0 = 0 ; | |
23410 | char *kwnames[] = { | |
23411 | (char *) "self", NULL | |
23412 | }; | |
23413 | ||
23414 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23415 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
23416 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23417 | { |
23418 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23419 | (arg1)->OnPrevious(); | |
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_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23432 | PyObject *resultobj; |
23433 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23434 | PyObject * obj0 = 0 ; | |
23435 | char *kwnames[] = { | |
23436 | (char *) "self", NULL | |
23437 | }; | |
23438 | ||
23439 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23440 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
23441 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23442 | { |
23443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23444 | (arg1)->OnFirst(); | |
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_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23457 | PyObject *resultobj; |
23458 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23459 | PyObject * obj0 = 0 ; | |
23460 | char *kwnames[] = { | |
23461 | (char *) "self", NULL | |
23462 | }; | |
23463 | ||
23464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23465 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
23466 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23467 | { |
23468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23469 | (arg1)->OnLast(); | |
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_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23482 | PyObject *resultobj; |
23483 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23484 | PyObject * obj0 = 0 ; | |
23485 | char *kwnames[] = { | |
23486 | (char *) "self", NULL | |
23487 | }; | |
23488 | ||
23489 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23490 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
23491 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23492 | { |
23493 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23494 | (arg1)->OnGoto(); | |
23495 | ||
23496 | wxPyEndAllowThreads(__tstate); | |
23497 | if (PyErr_Occurred()) SWIG_fail; | |
23498 | } | |
23499 | Py_INCREF(Py_None); resultobj = Py_None; | |
23500 | return resultobj; | |
23501 | fail: | |
23502 | return NULL; | |
23503 | } | |
23504 | ||
23505 | ||
c32bde28 | 23506 | static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
23507 | PyObject *obj; |
23508 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
23509 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj); | |
23510 | Py_INCREF(obj); | |
23511 | return Py_BuildValue((char *)""); | |
23512 | } | |
c32bde28 | 23513 | static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) { |
d14a1e28 RD |
23514 | PyObject *resultobj; |
23515 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
23516 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
4276dc52 | 23517 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; |
d14a1e28 RD |
23518 | wxPrintPreview *result; |
23519 | PyObject * obj0 = 0 ; | |
23520 | PyObject * obj1 = 0 ; | |
23521 | PyObject * obj2 = 0 ; | |
d14a1e28 | 23522 | |
4276dc52 | 23523 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
23524 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
23525 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23526 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
23527 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 23528 | if (obj2) { |
4276dc52 | 23529 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData, |
15afbcd0 | 23530 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
d14a1e28 RD |
23531 | } |
23532 | { | |
e3b71cb8 | 23533 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
23534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
23535 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
23536 | ||
23537 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 23538 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 23539 | } |
15afbcd0 | 23540 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); |
d14a1e28 RD |
23541 | return resultobj; |
23542 | fail: | |
23543 | return NULL; | |
23544 | } | |
23545 | ||
23546 | ||
c32bde28 | 23547 | static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) { |
4276dc52 RD |
23548 | PyObject *resultobj; |
23549 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
23550 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
23551 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
23552 | wxPrintPreview *result; | |
23553 | PyObject * obj0 = 0 ; | |
23554 | PyObject * obj1 = 0 ; | |
23555 | PyObject * obj2 = 0 ; | |
23556 | ||
23557 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
23558 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
23559 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23560 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
23561 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23562 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData, | |
23563 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23564 | { | |
e3b71cb8 | 23565 | if (!wxPyCheckForApp()) SWIG_fail; |
4276dc52 RD |
23566 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
23567 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
23568 | ||
23569 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 23570 | if (PyErr_Occurred()) SWIG_fail; |
4276dc52 RD |
23571 | } |
23572 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); | |
23573 | return resultobj; | |
23574 | fail: | |
23575 | return NULL; | |
23576 | } | |
23577 | ||
23578 | ||
23579 | static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) { | |
23580 | int argc; | |
23581 | PyObject *argv[4]; | |
23582 | int ii; | |
23583 | ||
23584 | argc = PyObject_Length(args); | |
23585 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
23586 | argv[ii] = PyTuple_GetItem(args,ii); | |
23587 | } | |
23588 | if ((argc >= 2) && (argc <= 3)) { | |
23589 | int _v; | |
23590 | { | |
23591 | void *ptr; | |
23592 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
23593 | _v = 0; | |
23594 | PyErr_Clear(); | |
23595 | } else { | |
23596 | _v = 1; | |
23597 | } | |
23598 | } | |
23599 | if (_v) { | |
23600 | { | |
23601 | void *ptr; | |
23602 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
23603 | _v = 0; | |
23604 | PyErr_Clear(); | |
23605 | } else { | |
23606 | _v = 1; | |
23607 | } | |
23608 | } | |
23609 | if (_v) { | |
23610 | if (argc <= 2) { | |
23611 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
23612 | } | |
23613 | { | |
23614 | void *ptr; | |
23615 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
23616 | _v = 0; | |
23617 | PyErr_Clear(); | |
23618 | } else { | |
23619 | _v = 1; | |
23620 | } | |
23621 | } | |
23622 | if (_v) { | |
23623 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
23624 | } | |
23625 | } | |
23626 | } | |
23627 | } | |
23628 | if (argc == 3) { | |
23629 | int _v; | |
23630 | { | |
23631 | void *ptr; | |
23632 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
23633 | _v = 0; | |
23634 | PyErr_Clear(); | |
23635 | } else { | |
23636 | _v = 1; | |
23637 | } | |
23638 | } | |
23639 | if (_v) { | |
23640 | { | |
23641 | void *ptr; | |
23642 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
23643 | _v = 0; | |
23644 | PyErr_Clear(); | |
23645 | } else { | |
23646 | _v = 1; | |
23647 | } | |
23648 | } | |
23649 | if (_v) { | |
23650 | { | |
23651 | void *ptr; | |
23652 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
23653 | _v = 0; | |
23654 | PyErr_Clear(); | |
23655 | } else { | |
23656 | _v = 1; | |
23657 | } | |
23658 | } | |
23659 | if (_v) { | |
23660 | return _wrap_new_PrintPreview__SWIG_1(self,args); | |
23661 | } | |
23662 | } | |
23663 | } | |
23664 | } | |
23665 | ||
23666 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'"); | |
23667 | return NULL; | |
23668 | } | |
23669 | ||
23670 | ||
c32bde28 | 23671 | static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23672 | PyObject *resultobj; |
23673 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23674 | int arg2 ; | |
23675 | bool result; | |
23676 | PyObject * obj0 = 0 ; | |
994141e6 | 23677 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
23678 | char *kwnames[] = { |
23679 | (char *) "self",(char *) "pageNum", NULL | |
23680 | }; | |
23681 | ||
994141e6 | 23682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
23683 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23684 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 23685 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 23686 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
23687 | { |
23688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23689 | result = (bool)(arg1)->SetCurrentPage(arg2); | |
23690 | ||
23691 | wxPyEndAllowThreads(__tstate); | |
23692 | if (PyErr_Occurred()) SWIG_fail; | |
23693 | } | |
4f89f6a3 RD |
23694 | { |
23695 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23696 | } | |
d14a1e28 RD |
23697 | return resultobj; |
23698 | fail: | |
23699 | return NULL; | |
23700 | } | |
23701 | ||
23702 | ||
c32bde28 | 23703 | static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23704 | PyObject *resultobj; |
23705 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23706 | int result; | |
23707 | PyObject * obj0 = 0 ; | |
23708 | char *kwnames[] = { | |
23709 | (char *) "self", NULL | |
23710 | }; | |
23711 | ||
23712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23713 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23714 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23715 | { |
23716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23717 | result = (int)(arg1)->GetCurrentPage(); | |
23718 | ||
23719 | wxPyEndAllowThreads(__tstate); | |
23720 | if (PyErr_Occurred()) SWIG_fail; | |
23721 | } | |
c32bde28 | 23722 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
23723 | return resultobj; |
23724 | fail: | |
23725 | return NULL; | |
23726 | } | |
23727 | ||
23728 | ||
c32bde28 | 23729 | static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23730 | PyObject *resultobj; |
23731 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23732 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
23733 | PyObject * obj0 = 0 ; | |
23734 | PyObject * obj1 = 0 ; | |
23735 | char *kwnames[] = { | |
23736 | (char *) "self",(char *) "printout", NULL | |
23737 | }; | |
23738 | ||
23739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
23740 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23741 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23742 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
23743 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23744 | { |
23745 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23746 | (arg1)->SetPrintout(arg2); | |
23747 | ||
23748 | wxPyEndAllowThreads(__tstate); | |
23749 | if (PyErr_Occurred()) SWIG_fail; | |
23750 | } | |
23751 | Py_INCREF(Py_None); resultobj = Py_None; | |
23752 | return resultobj; | |
23753 | fail: | |
23754 | return NULL; | |
23755 | } | |
23756 | ||
23757 | ||
c32bde28 | 23758 | static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23759 | PyObject *resultobj; |
23760 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23761 | wxPyPrintout *result; | |
23762 | PyObject * obj0 = 0 ; | |
23763 | char *kwnames[] = { | |
23764 | (char *) "self", NULL | |
23765 | }; | |
23766 | ||
23767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23768 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23769 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23770 | { |
23771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23772 | result = (wxPyPrintout *)(arg1)->GetPrintout(); | |
23773 | ||
23774 | wxPyEndAllowThreads(__tstate); | |
23775 | if (PyErr_Occurred()) SWIG_fail; | |
23776 | } | |
23777 | { | |
412d302d | 23778 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
23779 | } |
23780 | return resultobj; | |
23781 | fail: | |
23782 | return NULL; | |
23783 | } | |
23784 | ||
23785 | ||
c32bde28 | 23786 | static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23787 | PyObject *resultobj; |
23788 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23789 | wxPyPrintout *result; | |
23790 | PyObject * obj0 = 0 ; | |
23791 | char *kwnames[] = { | |
23792 | (char *) "self", NULL | |
23793 | }; | |
23794 | ||
23795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23796 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23797 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23798 | { |
23799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23800 | result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting(); | |
23801 | ||
23802 | wxPyEndAllowThreads(__tstate); | |
23803 | if (PyErr_Occurred()) SWIG_fail; | |
23804 | } | |
23805 | { | |
412d302d | 23806 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
23807 | } |
23808 | return resultobj; | |
23809 | fail: | |
23810 | return NULL; | |
23811 | } | |
23812 | ||
23813 | ||
c32bde28 | 23814 | static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23815 | PyObject *resultobj; |
23816 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23817 | wxFrame *arg2 = (wxFrame *) 0 ; | |
23818 | PyObject * obj0 = 0 ; | |
23819 | PyObject * obj1 = 0 ; | |
23820 | char *kwnames[] = { | |
23821 | (char *) "self",(char *) "frame", NULL | |
23822 | }; | |
23823 | ||
23824 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
23825 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23826 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23827 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
23828 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23829 | { |
23830 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23831 | (arg1)->SetFrame(arg2); | |
23832 | ||
23833 | wxPyEndAllowThreads(__tstate); | |
23834 | if (PyErr_Occurred()) SWIG_fail; | |
23835 | } | |
23836 | Py_INCREF(Py_None); resultobj = Py_None; | |
23837 | return resultobj; | |
23838 | fail: | |
23839 | return NULL; | |
23840 | } | |
23841 | ||
23842 | ||
c32bde28 | 23843 | static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23844 | PyObject *resultobj; |
23845 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23846 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
23847 | PyObject * obj0 = 0 ; | |
23848 | PyObject * obj1 = 0 ; | |
23849 | char *kwnames[] = { | |
23850 | (char *) "self",(char *) "canvas", NULL | |
23851 | }; | |
23852 | ||
23853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
23854 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23855 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23856 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
23857 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23858 | { |
23859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23860 | (arg1)->SetCanvas(arg2); | |
23861 | ||
23862 | wxPyEndAllowThreads(__tstate); | |
23863 | if (PyErr_Occurred()) SWIG_fail; | |
23864 | } | |
23865 | Py_INCREF(Py_None); resultobj = Py_None; | |
23866 | return resultobj; | |
23867 | fail: | |
23868 | return NULL; | |
23869 | } | |
23870 | ||
23871 | ||
c32bde28 | 23872 | static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23873 | PyObject *resultobj; |
23874 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23875 | wxFrame *result; | |
23876 | PyObject * obj0 = 0 ; | |
23877 | char *kwnames[] = { | |
23878 | (char *) "self", NULL | |
23879 | }; | |
23880 | ||
23881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23882 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23883 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23884 | { |
23885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23886 | result = (wxFrame *)(arg1)->GetFrame(); | |
23887 | ||
23888 | wxPyEndAllowThreads(__tstate); | |
23889 | if (PyErr_Occurred()) SWIG_fail; | |
23890 | } | |
23891 | { | |
412d302d | 23892 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
23893 | } |
23894 | return resultobj; | |
23895 | fail: | |
23896 | return NULL; | |
23897 | } | |
23898 | ||
23899 | ||
c32bde28 | 23900 | static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23901 | PyObject *resultobj; |
23902 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23903 | wxPreviewCanvas *result; | |
23904 | PyObject * obj0 = 0 ; | |
23905 | char *kwnames[] = { | |
23906 | (char *) "self", NULL | |
23907 | }; | |
23908 | ||
23909 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23910 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23911 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23912 | { |
23913 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23914 | result = (wxPreviewCanvas *)(arg1)->GetCanvas(); | |
23915 | ||
23916 | wxPyEndAllowThreads(__tstate); | |
23917 | if (PyErr_Occurred()) SWIG_fail; | |
23918 | } | |
15afbcd0 | 23919 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0); |
d14a1e28 RD |
23920 | return resultobj; |
23921 | fail: | |
23922 | return NULL; | |
23923 | } | |
23924 | ||
23925 | ||
c32bde28 | 23926 | static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23927 | PyObject *resultobj; |
23928 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23929 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
23930 | wxDC *arg3 = 0 ; | |
23931 | bool result; | |
23932 | PyObject * obj0 = 0 ; | |
23933 | PyObject * obj1 = 0 ; | |
23934 | PyObject * obj2 = 0 ; | |
23935 | char *kwnames[] = { | |
23936 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
23937 | }; | |
23938 | ||
23939 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
23940 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23941 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23942 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
23943 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23944 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
23945 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
23946 | SWIG_fail; | |
d14a1e28 | 23947 | if (arg3 == NULL) { |
15afbcd0 RD |
23948 | PyErr_SetString(PyExc_TypeError,"null reference"); |
23949 | SWIG_fail; | |
d14a1e28 RD |
23950 | } |
23951 | { | |
23952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23953 | result = (bool)(arg1)->PaintPage(arg2,*arg3); | |
23954 | ||
23955 | wxPyEndAllowThreads(__tstate); | |
23956 | if (PyErr_Occurred()) SWIG_fail; | |
23957 | } | |
4f89f6a3 RD |
23958 | { |
23959 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23960 | } | |
d14a1e28 RD |
23961 | return resultobj; |
23962 | fail: | |
23963 | return NULL; | |
23964 | } | |
23965 | ||
23966 | ||
c32bde28 | 23967 | static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23968 | PyObject *resultobj; |
23969 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23970 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
23971 | wxDC *arg3 = 0 ; | |
23972 | bool result; | |
23973 | PyObject * obj0 = 0 ; | |
23974 | PyObject * obj1 = 0 ; | |
23975 | PyObject * obj2 = 0 ; | |
23976 | char *kwnames[] = { | |
23977 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
23978 | }; | |
23979 | ||
23980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
23981 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23982 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23983 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
23984 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23985 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
23986 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
23987 | SWIG_fail; | |
d14a1e28 | 23988 | if (arg3 == NULL) { |
15afbcd0 RD |
23989 | PyErr_SetString(PyExc_TypeError,"null reference"); |
23990 | SWIG_fail; | |
d14a1e28 RD |
23991 | } |
23992 | { | |
23993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23994 | result = (bool)(arg1)->DrawBlankPage(arg2,*arg3); | |
23995 | ||
23996 | wxPyEndAllowThreads(__tstate); | |
23997 | if (PyErr_Occurred()) SWIG_fail; | |
23998 | } | |
4f89f6a3 RD |
23999 | { |
24000 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24001 | } | |
d14a1e28 RD |
24002 | return resultobj; |
24003 | fail: | |
24004 | return NULL; | |
24005 | } | |
24006 | ||
24007 | ||
c32bde28 | 24008 | static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24009 | PyObject *resultobj; |
24010 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24011 | int arg2 ; | |
24012 | bool result; | |
24013 | PyObject * obj0 = 0 ; | |
994141e6 | 24014 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
24015 | char *kwnames[] = { |
24016 | (char *) "self",(char *) "pageNum", NULL | |
24017 | }; | |
24018 | ||
994141e6 | 24019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
24020 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24021 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 24022 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 24023 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
24024 | { |
24025 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24026 | result = (bool)(arg1)->RenderPage(arg2); | |
24027 | ||
24028 | wxPyEndAllowThreads(__tstate); | |
24029 | if (PyErr_Occurred()) SWIG_fail; | |
24030 | } | |
4f89f6a3 RD |
24031 | { |
24032 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24033 | } | |
d14a1e28 RD |
24034 | return resultobj; |
24035 | fail: | |
24036 | return NULL; | |
24037 | } | |
24038 | ||
24039 | ||
c32bde28 | 24040 | static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24041 | PyObject *resultobj; |
24042 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24043 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
24044 | PyObject * obj0 = 0 ; | |
24045 | PyObject * obj1 = 0 ; | |
24046 | char *kwnames[] = { | |
24047 | (char *) "self",(char *) "canvas", NULL | |
24048 | }; | |
24049 | ||
24050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
24051 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24052 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24053 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
24054 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24055 | { |
24056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24057 | (arg1)->AdjustScrollbars(arg2); | |
24058 | ||
24059 | wxPyEndAllowThreads(__tstate); | |
24060 | if (PyErr_Occurred()) SWIG_fail; | |
24061 | } | |
24062 | Py_INCREF(Py_None); resultobj = Py_None; | |
24063 | return resultobj; | |
24064 | fail: | |
24065 | return NULL; | |
24066 | } | |
24067 | ||
24068 | ||
c32bde28 | 24069 | static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24070 | PyObject *resultobj; |
24071 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24072 | wxPrintDialogData *result; | |
24073 | PyObject * obj0 = 0 ; | |
24074 | char *kwnames[] = { | |
24075 | (char *) "self", NULL | |
24076 | }; | |
24077 | ||
24078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
24079 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24080 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24081 | { |
24082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24083 | { | |
24084 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
24085 | result = (wxPrintDialogData *) &_result_ref; | |
24086 | } | |
24087 | ||
24088 | wxPyEndAllowThreads(__tstate); | |
24089 | if (PyErr_Occurred()) SWIG_fail; | |
24090 | } | |
15afbcd0 | 24091 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
d14a1e28 RD |
24092 | return resultobj; |
24093 | fail: | |
24094 | return NULL; | |
24095 | } | |
24096 | ||
24097 | ||
c32bde28 | 24098 | static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24099 | PyObject *resultobj; |
24100 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24101 | int arg2 ; | |
24102 | PyObject * obj0 = 0 ; | |
994141e6 | 24103 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
24104 | char *kwnames[] = { |
24105 | (char *) "self",(char *) "percent", NULL | |
24106 | }; | |
24107 | ||
994141e6 | 24108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
24109 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24110 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 24111 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 24112 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
24113 | { |
24114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24115 | (arg1)->SetZoom(arg2); | |
24116 | ||
24117 | wxPyEndAllowThreads(__tstate); | |
24118 | if (PyErr_Occurred()) SWIG_fail; | |
24119 | } | |
24120 | Py_INCREF(Py_None); resultobj = Py_None; | |
24121 | return resultobj; | |
24122 | fail: | |
24123 | return NULL; | |
24124 | } | |
24125 | ||
24126 | ||
c32bde28 | 24127 | static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24128 | PyObject *resultobj; |
24129 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24130 | int result; | |
24131 | PyObject * obj0 = 0 ; | |
24132 | char *kwnames[] = { | |
24133 | (char *) "self", NULL | |
24134 | }; | |
24135 | ||
24136 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
24137 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24138 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24139 | { |
24140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24141 | result = (int)(arg1)->GetZoom(); | |
24142 | ||
24143 | wxPyEndAllowThreads(__tstate); | |
24144 | if (PyErr_Occurred()) SWIG_fail; | |
24145 | } | |
c32bde28 | 24146 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
24147 | return resultobj; |
24148 | fail: | |
24149 | return NULL; | |
24150 | } | |
24151 | ||
24152 | ||
c32bde28 | 24153 | static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24154 | PyObject *resultobj; |
24155 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24156 | int result; | |
24157 | PyObject * obj0 = 0 ; | |
24158 | char *kwnames[] = { | |
24159 | (char *) "self", NULL | |
24160 | }; | |
24161 | ||
24162 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
24163 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24164 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24165 | { |
24166 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24167 | result = (int)(arg1)->GetMaxPage(); | |
24168 | ||
24169 | wxPyEndAllowThreads(__tstate); | |
24170 | if (PyErr_Occurred()) SWIG_fail; | |
24171 | } | |
c32bde28 | 24172 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
24173 | return resultobj; |
24174 | fail: | |
24175 | return NULL; | |
24176 | } | |
24177 | ||
24178 | ||
c32bde28 | 24179 | static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24180 | PyObject *resultobj; |
24181 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24182 | int result; | |
24183 | PyObject * obj0 = 0 ; | |
24184 | char *kwnames[] = { | |
24185 | (char *) "self", NULL | |
24186 | }; | |
24187 | ||
24188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
24189 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24190 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24191 | { |
24192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24193 | result = (int)(arg1)->GetMinPage(); | |
24194 | ||
24195 | wxPyEndAllowThreads(__tstate); | |
24196 | if (PyErr_Occurred()) SWIG_fail; | |
24197 | } | |
c32bde28 | 24198 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
24199 | return resultobj; |
24200 | fail: | |
24201 | return NULL; | |
24202 | } | |
24203 | ||
24204 | ||
c32bde28 | 24205 | static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24206 | PyObject *resultobj; |
24207 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24208 | bool result; | |
24209 | PyObject * obj0 = 0 ; | |
24210 | char *kwnames[] = { | |
24211 | (char *) "self", NULL | |
24212 | }; | |
24213 | ||
24214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
24215 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24216 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24217 | { |
24218 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24219 | result = (bool)(arg1)->Ok(); | |
24220 | ||
24221 | wxPyEndAllowThreads(__tstate); | |
24222 | if (PyErr_Occurred()) SWIG_fail; | |
24223 | } | |
4f89f6a3 RD |
24224 | { |
24225 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24226 | } | |
d14a1e28 RD |
24227 | return resultobj; |
24228 | fail: | |
24229 | return NULL; | |
24230 | } | |
24231 | ||
24232 | ||
c32bde28 | 24233 | static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24234 | PyObject *resultobj; |
24235 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24236 | bool arg2 ; | |
24237 | PyObject * obj0 = 0 ; | |
24238 | PyObject * obj1 = 0 ; | |
24239 | char *kwnames[] = { | |
24240 | (char *) "self",(char *) "ok", NULL | |
24241 | }; | |
24242 | ||
24243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
24244 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24245 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 24246 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 24247 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
24248 | { |
24249 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24250 | (arg1)->SetOk(arg2); | |
24251 | ||
24252 | wxPyEndAllowThreads(__tstate); | |
24253 | if (PyErr_Occurred()) SWIG_fail; | |
24254 | } | |
24255 | Py_INCREF(Py_None); resultobj = Py_None; | |
24256 | return resultobj; | |
24257 | fail: | |
24258 | return NULL; | |
24259 | } | |
24260 | ||
24261 | ||
c32bde28 | 24262 | static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24263 | PyObject *resultobj; |
24264 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24265 | bool arg2 ; | |
24266 | bool result; | |
24267 | PyObject * obj0 = 0 ; | |
24268 | PyObject * obj1 = 0 ; | |
24269 | char *kwnames[] = { | |
24270 | (char *) "self",(char *) "interactive", NULL | |
24271 | }; | |
24272 | ||
24273 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
24274 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24275 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 24276 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 24277 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
24278 | { |
24279 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24280 | result = (bool)(arg1)->Print(arg2); | |
24281 | ||
24282 | wxPyEndAllowThreads(__tstate); | |
24283 | if (PyErr_Occurred()) SWIG_fail; | |
24284 | } | |
4f89f6a3 RD |
24285 | { |
24286 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24287 | } | |
d14a1e28 RD |
24288 | return resultobj; |
24289 | fail: | |
24290 | return NULL; | |
24291 | } | |
24292 | ||
24293 | ||
c32bde28 | 24294 | static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24295 | PyObject *resultobj; |
24296 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24297 | PyObject * obj0 = 0 ; | |
24298 | char *kwnames[] = { | |
24299 | (char *) "self", NULL | |
24300 | }; | |
24301 | ||
24302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
24303 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24304 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24305 | { |
24306 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24307 | (arg1)->DetermineScaling(); | |
24308 | ||
24309 | wxPyEndAllowThreads(__tstate); | |
24310 | if (PyErr_Occurred()) SWIG_fail; | |
24311 | } | |
24312 | Py_INCREF(Py_None); resultobj = Py_None; | |
24313 | return resultobj; | |
24314 | fail: | |
24315 | return NULL; | |
24316 | } | |
24317 | ||
24318 | ||
c32bde28 | 24319 | static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
24320 | PyObject *obj; |
24321 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
24322 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj); | |
24323 | Py_INCREF(obj); | |
24324 | return Py_BuildValue((char *)""); | |
24325 | } | |
c32bde28 | 24326 | static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) { |
d14a1e28 RD |
24327 | PyObject *resultobj; |
24328 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24329 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
4276dc52 | 24330 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; |
d14a1e28 RD |
24331 | wxPyPrintPreview *result; |
24332 | PyObject * obj0 = 0 ; | |
24333 | PyObject * obj1 = 0 ; | |
24334 | PyObject * obj2 = 0 ; | |
d14a1e28 | 24335 | |
4276dc52 | 24336 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
24337 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
24338 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24339 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
24340 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 24341 | if (obj2) { |
4276dc52 | 24342 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData, |
15afbcd0 | 24343 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
d14a1e28 RD |
24344 | } |
24345 | { | |
e3b71cb8 | 24346 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
24347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
24348 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
24349 | ||
24350 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 24351 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 24352 | } |
15afbcd0 | 24353 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); |
d14a1e28 RD |
24354 | return resultobj; |
24355 | fail: | |
24356 | return NULL; | |
24357 | } | |
24358 | ||
24359 | ||
c32bde28 | 24360 | static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) { |
4276dc52 RD |
24361 | PyObject *resultobj; |
24362 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24363 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
24364 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
24365 | wxPyPrintPreview *result; | |
24366 | PyObject * obj0 = 0 ; | |
24367 | PyObject * obj1 = 0 ; | |
24368 | PyObject * obj2 = 0 ; | |
24369 | ||
24370 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
24371 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
24372 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24373 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
24374 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24375 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData, | |
24376 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24377 | { | |
e3b71cb8 | 24378 | if (!wxPyCheckForApp()) SWIG_fail; |
4276dc52 RD |
24379 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
24380 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
24381 | ||
24382 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 24383 | if (PyErr_Occurred()) SWIG_fail; |
4276dc52 RD |
24384 | } |
24385 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); | |
24386 | return resultobj; | |
24387 | fail: | |
24388 | return NULL; | |
24389 | } | |
24390 | ||
24391 | ||
24392 | static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) { | |
24393 | int argc; | |
24394 | PyObject *argv[4]; | |
24395 | int ii; | |
24396 | ||
24397 | argc = PyObject_Length(args); | |
24398 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
24399 | argv[ii] = PyTuple_GetItem(args,ii); | |
24400 | } | |
24401 | if ((argc >= 2) && (argc <= 3)) { | |
24402 | int _v; | |
24403 | { | |
24404 | void *ptr; | |
24405 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
24406 | _v = 0; | |
24407 | PyErr_Clear(); | |
24408 | } else { | |
24409 | _v = 1; | |
24410 | } | |
24411 | } | |
24412 | if (_v) { | |
24413 | { | |
24414 | void *ptr; | |
24415 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
24416 | _v = 0; | |
24417 | PyErr_Clear(); | |
24418 | } else { | |
24419 | _v = 1; | |
24420 | } | |
24421 | } | |
24422 | if (_v) { | |
24423 | if (argc <= 2) { | |
24424 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
24425 | } | |
24426 | { | |
24427 | void *ptr; | |
24428 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
24429 | _v = 0; | |
24430 | PyErr_Clear(); | |
24431 | } else { | |
24432 | _v = 1; | |
24433 | } | |
24434 | } | |
24435 | if (_v) { | |
24436 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
24437 | } | |
24438 | } | |
24439 | } | |
24440 | } | |
24441 | if (argc == 3) { | |
24442 | int _v; | |
24443 | { | |
24444 | void *ptr; | |
24445 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
24446 | _v = 0; | |
24447 | PyErr_Clear(); | |
24448 | } else { | |
24449 | _v = 1; | |
24450 | } | |
24451 | } | |
24452 | if (_v) { | |
24453 | { | |
24454 | void *ptr; | |
24455 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
24456 | _v = 0; | |
24457 | PyErr_Clear(); | |
24458 | } else { | |
24459 | _v = 1; | |
24460 | } | |
24461 | } | |
24462 | if (_v) { | |
24463 | { | |
24464 | void *ptr; | |
24465 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
24466 | _v = 0; | |
24467 | PyErr_Clear(); | |
24468 | } else { | |
24469 | _v = 1; | |
24470 | } | |
24471 | } | |
24472 | if (_v) { | |
24473 | return _wrap_new_PyPrintPreview__SWIG_1(self,args); | |
24474 | } | |
24475 | } | |
24476 | } | |
24477 | } | |
24478 | ||
24479 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'"); | |
24480 | return NULL; | |
24481 | } | |
24482 | ||
24483 | ||
c32bde28 | 24484 | static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24485 | PyObject *resultobj; |
24486 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24487 | PyObject *arg2 = (PyObject *) 0 ; | |
24488 | PyObject *arg3 = (PyObject *) 0 ; | |
24489 | PyObject * obj0 = 0 ; | |
24490 | PyObject * obj1 = 0 ; | |
24491 | PyObject * obj2 = 0 ; | |
24492 | char *kwnames[] = { | |
24493 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
24494 | }; | |
24495 | ||
24496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
24497 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
24498 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24499 | arg2 = obj1; |
24500 | arg3 = obj2; | |
24501 | { | |
24502 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24503 | (arg1)->_setCallbackInfo(arg2,arg3); | |
24504 | ||
24505 | wxPyEndAllowThreads(__tstate); | |
24506 | if (PyErr_Occurred()) SWIG_fail; | |
24507 | } | |
24508 | Py_INCREF(Py_None); resultobj = Py_None; | |
24509 | return resultobj; | |
24510 | fail: | |
24511 | return NULL; | |
24512 | } | |
24513 | ||
24514 | ||
c32bde28 | 24515 | static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24516 | PyObject *resultobj; |
24517 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24518 | int arg2 ; | |
24519 | bool result; | |
24520 | PyObject * obj0 = 0 ; | |
994141e6 | 24521 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
24522 | char *kwnames[] = { |
24523 | (char *) "self",(char *) "pageNum", NULL | |
24524 | }; | |
24525 | ||
994141e6 | 24526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
24527 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
24528 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 24529 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 24530 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
24531 | { |
24532 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24533 | result = (bool)(arg1)->base_SetCurrentPage(arg2); | |
24534 | ||
24535 | wxPyEndAllowThreads(__tstate); | |
24536 | if (PyErr_Occurred()) SWIG_fail; | |
24537 | } | |
4f89f6a3 RD |
24538 | { |
24539 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24540 | } | |
d14a1e28 RD |
24541 | return resultobj; |
24542 | fail: | |
24543 | return NULL; | |
24544 | } | |
24545 | ||
24546 | ||
c32bde28 | 24547 | static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24548 | PyObject *resultobj; |
24549 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24550 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
24551 | wxDC *arg3 = 0 ; | |
24552 | bool result; | |
24553 | PyObject * obj0 = 0 ; | |
24554 | PyObject * obj1 = 0 ; | |
24555 | PyObject * obj2 = 0 ; | |
24556 | char *kwnames[] = { | |
24557 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
24558 | }; | |
24559 | ||
24560 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
24561 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
24562 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24563 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
24564 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24565 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
24566 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
24567 | SWIG_fail; | |
d14a1e28 | 24568 | if (arg3 == NULL) { |
15afbcd0 RD |
24569 | PyErr_SetString(PyExc_TypeError,"null reference"); |
24570 | SWIG_fail; | |
d14a1e28 RD |
24571 | } |
24572 | { | |
24573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24574 | result = (bool)(arg1)->base_PaintPage(arg2,*arg3); | |
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_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24589 | PyObject *resultobj; |
24590 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24591 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
24592 | wxDC *arg3 = 0 ; | |
24593 | bool result; | |
24594 | PyObject * obj0 = 0 ; | |
24595 | PyObject * obj1 = 0 ; | |
24596 | PyObject * obj2 = 0 ; | |
24597 | char *kwnames[] = { | |
24598 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
24599 | }; | |
24600 | ||
24601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
24602 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
24603 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24604 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
24605 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24606 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
24607 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
24608 | SWIG_fail; | |
d14a1e28 | 24609 | if (arg3 == NULL) { |
15afbcd0 RD |
24610 | PyErr_SetString(PyExc_TypeError,"null reference"); |
24611 | SWIG_fail; | |
d14a1e28 RD |
24612 | } |
24613 | { | |
24614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24615 | result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3); | |
24616 | ||
24617 | wxPyEndAllowThreads(__tstate); | |
24618 | if (PyErr_Occurred()) SWIG_fail; | |
24619 | } | |
4f89f6a3 RD |
24620 | { |
24621 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24622 | } | |
d14a1e28 RD |
24623 | return resultobj; |
24624 | fail: | |
24625 | return NULL; | |
24626 | } | |
24627 | ||
24628 | ||
c32bde28 | 24629 | static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24630 | PyObject *resultobj; |
24631 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24632 | int arg2 ; | |
24633 | bool result; | |
24634 | PyObject * obj0 = 0 ; | |
994141e6 | 24635 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
24636 | char *kwnames[] = { |
24637 | (char *) "self",(char *) "pageNum", NULL | |
24638 | }; | |
24639 | ||
994141e6 | 24640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
24641 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
24642 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 24643 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 24644 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
24645 | { |
24646 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24647 | result = (bool)(arg1)->base_RenderPage(arg2); | |
24648 | ||
24649 | wxPyEndAllowThreads(__tstate); | |
24650 | if (PyErr_Occurred()) SWIG_fail; | |
24651 | } | |
4f89f6a3 RD |
24652 | { |
24653 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24654 | } | |
d14a1e28 RD |
24655 | return resultobj; |
24656 | fail: | |
24657 | return NULL; | |
24658 | } | |
24659 | ||
24660 | ||
c32bde28 | 24661 | static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24662 | PyObject *resultobj; |
24663 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24664 | int arg2 ; | |
24665 | PyObject * obj0 = 0 ; | |
994141e6 | 24666 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
24667 | char *kwnames[] = { |
24668 | (char *) "self",(char *) "percent", NULL | |
24669 | }; | |
24670 | ||
994141e6 | 24671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
24672 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
24673 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 24674 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 24675 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
24676 | { |
24677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24678 | (arg1)->base_SetZoom(arg2); | |
24679 | ||
24680 | wxPyEndAllowThreads(__tstate); | |
24681 | if (PyErr_Occurred()) SWIG_fail; | |
24682 | } | |
24683 | Py_INCREF(Py_None); resultobj = Py_None; | |
24684 | return resultobj; | |
24685 | fail: | |
24686 | return NULL; | |
24687 | } | |
24688 | ||
24689 | ||
c32bde28 | 24690 | static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24691 | PyObject *resultobj; |
24692 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24693 | bool arg2 ; | |
24694 | bool result; | |
24695 | PyObject * obj0 = 0 ; | |
24696 | PyObject * obj1 = 0 ; | |
24697 | char *kwnames[] = { | |
24698 | (char *) "self",(char *) "interactive", NULL | |
24699 | }; | |
24700 | ||
24701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
24702 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
24703 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 24704 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 24705 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
24706 | { |
24707 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24708 | result = (bool)(arg1)->base_Print(arg2); | |
24709 | ||
24710 | wxPyEndAllowThreads(__tstate); | |
24711 | if (PyErr_Occurred()) SWIG_fail; | |
24712 | } | |
4f89f6a3 RD |
24713 | { |
24714 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24715 | } | |
d14a1e28 RD |
24716 | return resultobj; |
24717 | fail: | |
24718 | return NULL; | |
24719 | } | |
24720 | ||
24721 | ||
c32bde28 | 24722 | static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24723 | PyObject *resultobj; |
24724 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24725 | PyObject * obj0 = 0 ; | |
24726 | char *kwnames[] = { | |
24727 | (char *) "self", NULL | |
24728 | }; | |
24729 | ||
24730 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
24731 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
24732 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24733 | { |
24734 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24735 | (arg1)->base_DetermineScaling(); | |
24736 | ||
24737 | wxPyEndAllowThreads(__tstate); | |
24738 | if (PyErr_Occurred()) SWIG_fail; | |
24739 | } | |
24740 | Py_INCREF(Py_None); resultobj = Py_None; | |
24741 | return resultobj; | |
24742 | fail: | |
24743 | return NULL; | |
24744 | } | |
24745 | ||
24746 | ||
c32bde28 | 24747 | static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
24748 | PyObject *obj; |
24749 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
24750 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj); | |
24751 | Py_INCREF(obj); | |
24752 | return Py_BuildValue((char *)""); | |
24753 | } | |
c32bde28 | 24754 | static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24755 | PyObject *resultobj; |
24756 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24757 | wxFrame *arg2 = (wxFrame *) 0 ; | |
24758 | wxString *arg3 = 0 ; | |
24759 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
24760 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
24761 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
24762 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
24763 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
24764 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
24765 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
24766 | wxPyPreviewFrame *result; | |
ae8162c8 | 24767 | bool temp3 = false ; |
d14a1e28 RD |
24768 | wxPoint temp4 ; |
24769 | wxSize temp5 ; | |
ae8162c8 | 24770 | bool temp7 = false ; |
d14a1e28 RD |
24771 | PyObject * obj0 = 0 ; |
24772 | PyObject * obj1 = 0 ; | |
24773 | PyObject * obj2 = 0 ; | |
24774 | PyObject * obj3 = 0 ; | |
24775 | PyObject * obj4 = 0 ; | |
994141e6 | 24776 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
24777 | PyObject * obj6 = 0 ; |
24778 | char *kwnames[] = { | |
24779 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
24780 | }; | |
24781 | ||
994141e6 | 24782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
24783 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24784 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24785 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
24786 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24787 | { |
24788 | arg3 = wxString_in_helper(obj2); | |
24789 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 24790 | temp3 = true; |
d14a1e28 RD |
24791 | } |
24792 | if (obj3) { | |
24793 | { | |
24794 | arg4 = &temp4; | |
24795 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
24796 | } | |
24797 | } | |
24798 | if (obj4) { | |
24799 | { | |
24800 | arg5 = &temp5; | |
24801 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
24802 | } | |
24803 | } | |
994141e6 | 24804 | if (obj5) { |
c32bde28 | 24805 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 24806 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 24807 | } |
d14a1e28 RD |
24808 | if (obj6) { |
24809 | { | |
24810 | arg7 = wxString_in_helper(obj6); | |
24811 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 24812 | temp7 = true; |
d14a1e28 RD |
24813 | } |
24814 | } | |
24815 | { | |
e3b71cb8 | 24816 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
24817 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
24818 | result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
24819 | ||
24820 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 24821 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 24822 | } |
15afbcd0 | 24823 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1); |
d14a1e28 RD |
24824 | { |
24825 | if (temp3) | |
24826 | delete arg3; | |
24827 | } | |
24828 | { | |
24829 | if (temp7) | |
24830 | delete arg7; | |
24831 | } | |
24832 | return resultobj; | |
24833 | fail: | |
24834 | { | |
24835 | if (temp3) | |
24836 | delete arg3; | |
24837 | } | |
24838 | { | |
24839 | if (temp7) | |
24840 | delete arg7; | |
24841 | } | |
24842 | return NULL; | |
24843 | } | |
24844 | ||
24845 | ||
c32bde28 | 24846 | static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24847 | PyObject *resultobj; |
24848 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
24849 | PyObject *arg2 = (PyObject *) 0 ; | |
24850 | PyObject *arg3 = (PyObject *) 0 ; | |
24851 | PyObject * obj0 = 0 ; | |
24852 | PyObject * obj1 = 0 ; | |
24853 | PyObject * obj2 = 0 ; | |
24854 | char *kwnames[] = { | |
24855 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
24856 | }; | |
24857 | ||
24858 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
24859 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
24860 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24861 | arg2 = obj1; |
24862 | arg3 = obj2; | |
24863 | { | |
24864 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24865 | (arg1)->_setCallbackInfo(arg2,arg3); | |
24866 | ||
24867 | wxPyEndAllowThreads(__tstate); | |
24868 | if (PyErr_Occurred()) SWIG_fail; | |
24869 | } | |
24870 | Py_INCREF(Py_None); resultobj = Py_None; | |
24871 | return resultobj; | |
24872 | fail: | |
24873 | return NULL; | |
24874 | } | |
24875 | ||
24876 | ||
c32bde28 | 24877 | static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24878 | PyObject *resultobj; |
24879 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
24880 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
24881 | PyObject * obj0 = 0 ; | |
24882 | PyObject * obj1 = 0 ; | |
24883 | char *kwnames[] = { | |
24884 | (char *) "self",(char *) "canvas", NULL | |
24885 | }; | |
24886 | ||
24887 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
24888 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
24889 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24890 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
24891 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24892 | { |
24893 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24894 | (arg1)->SetPreviewCanvas(arg2); | |
24895 | ||
24896 | wxPyEndAllowThreads(__tstate); | |
24897 | if (PyErr_Occurred()) SWIG_fail; | |
24898 | } | |
24899 | Py_INCREF(Py_None); resultobj = Py_None; | |
24900 | return resultobj; | |
24901 | fail: | |
24902 | return NULL; | |
24903 | } | |
24904 | ||
24905 | ||
c32bde28 | 24906 | static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24907 | PyObject *resultobj; |
24908 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
24909 | wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ; | |
24910 | PyObject * obj0 = 0 ; | |
24911 | PyObject * obj1 = 0 ; | |
24912 | char *kwnames[] = { | |
24913 | (char *) "self",(char *) "bar", NULL | |
24914 | }; | |
24915 | ||
24916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
24917 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
24918 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24919 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar, | |
24920 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24921 | { |
24922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24923 | (arg1)->SetControlBar(arg2); | |
24924 | ||
24925 | wxPyEndAllowThreads(__tstate); | |
24926 | if (PyErr_Occurred()) SWIG_fail; | |
24927 | } | |
24928 | Py_INCREF(Py_None); resultobj = Py_None; | |
24929 | return resultobj; | |
24930 | fail: | |
24931 | return NULL; | |
24932 | } | |
24933 | ||
24934 | ||
c32bde28 | 24935 | static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24936 | PyObject *resultobj; |
24937 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
24938 | PyObject * obj0 = 0 ; | |
24939 | char *kwnames[] = { | |
24940 | (char *) "self", NULL | |
24941 | }; | |
24942 | ||
24943 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
24944 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
24945 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24946 | { |
24947 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24948 | (arg1)->base_Initialize(); | |
24949 | ||
24950 | wxPyEndAllowThreads(__tstate); | |
24951 | if (PyErr_Occurred()) SWIG_fail; | |
24952 | } | |
24953 | Py_INCREF(Py_None); resultobj = Py_None; | |
24954 | return resultobj; | |
24955 | fail: | |
24956 | return NULL; | |
24957 | } | |
24958 | ||
24959 | ||
c32bde28 | 24960 | static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24961 | PyObject *resultobj; |
24962 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
24963 | PyObject * obj0 = 0 ; | |
24964 | char *kwnames[] = { | |
24965 | (char *) "self", NULL | |
24966 | }; | |
24967 | ||
24968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
24969 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
24970 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24971 | { |
24972 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24973 | (arg1)->base_CreateCanvas(); | |
24974 | ||
24975 | wxPyEndAllowThreads(__tstate); | |
24976 | if (PyErr_Occurred()) SWIG_fail; | |
24977 | } | |
24978 | Py_INCREF(Py_None); resultobj = Py_None; | |
24979 | return resultobj; | |
24980 | fail: | |
24981 | return NULL; | |
24982 | } | |
24983 | ||
24984 | ||
c32bde28 | 24985 | static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24986 | PyObject *resultobj; |
24987 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
24988 | PyObject * obj0 = 0 ; | |
24989 | char *kwnames[] = { | |
24990 | (char *) "self", NULL | |
24991 | }; | |
24992 | ||
24993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
24994 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
24995 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24996 | { |
24997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24998 | (arg1)->base_CreateControlBar(); | |
24999 | ||
25000 | wxPyEndAllowThreads(__tstate); | |
25001 | if (PyErr_Occurred()) SWIG_fail; | |
25002 | } | |
25003 | Py_INCREF(Py_None); resultobj = Py_None; | |
25004 | return resultobj; | |
25005 | fail: | |
25006 | return NULL; | |
25007 | } | |
25008 | ||
25009 | ||
c32bde28 | 25010 | static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
25011 | PyObject *obj; |
25012 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
25013 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj); | |
25014 | Py_INCREF(obj); | |
25015 | return Py_BuildValue((char *)""); | |
25016 | } | |
c32bde28 | 25017 | static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
25018 | PyObject *resultobj; |
25019 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
25020 | long arg2 ; | |
25021 | wxWindow *arg3 = (wxWindow *) 0 ; | |
25022 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
25023 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
25024 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
25025 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
25026 | long arg6 = (long) 0 ; | |
25027 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
25028 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
25029 | wxPyPreviewControlBar *result; | |
25030 | wxPoint temp4 ; | |
25031 | wxSize temp5 ; | |
ae8162c8 | 25032 | bool temp7 = false ; |
d14a1e28 | 25033 | PyObject * obj0 = 0 ; |
994141e6 | 25034 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
25035 | PyObject * obj2 = 0 ; |
25036 | PyObject * obj3 = 0 ; | |
25037 | PyObject * obj4 = 0 ; | |
994141e6 | 25038 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
25039 | PyObject * obj6 = 0 ; |
25040 | char *kwnames[] = { | |
25041 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
25042 | }; | |
25043 | ||
994141e6 | 25044 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
25045 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
25046 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 25047 | arg2 = (long)SWIG_As_long(obj1); |
15afbcd0 RD |
25048 | if (PyErr_Occurred()) SWIG_fail; |
25049 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
25050 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
25051 | if (obj3) { |
25052 | { | |
25053 | arg4 = &temp4; | |
25054 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
25055 | } | |
25056 | } | |
25057 | if (obj4) { | |
25058 | { | |
25059 | arg5 = &temp5; | |
25060 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
25061 | } | |
25062 | } | |
994141e6 | 25063 | if (obj5) { |
c32bde28 | 25064 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 25065 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 25066 | } |
d14a1e28 RD |
25067 | if (obj6) { |
25068 | { | |
25069 | arg7 = wxString_in_helper(obj6); | |
25070 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 25071 | temp7 = true; |
d14a1e28 RD |
25072 | } |
25073 | } | |
25074 | { | |
e3b71cb8 | 25075 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
25076 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
25077 | result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
25078 | ||
25079 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 25080 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 25081 | } |
15afbcd0 | 25082 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1); |
d14a1e28 RD |
25083 | { |
25084 | if (temp7) | |
25085 | delete arg7; | |
25086 | } | |
25087 | return resultobj; | |
25088 | fail: | |
25089 | { | |
25090 | if (temp7) | |
25091 | delete arg7; | |
25092 | } | |
25093 | return NULL; | |
25094 | } | |
25095 | ||
25096 | ||
c32bde28 | 25097 | static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
25098 | PyObject *resultobj; |
25099 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
25100 | PyObject *arg2 = (PyObject *) 0 ; | |
25101 | PyObject *arg3 = (PyObject *) 0 ; | |
25102 | PyObject * obj0 = 0 ; | |
25103 | PyObject * obj1 = 0 ; | |
25104 | PyObject * obj2 = 0 ; | |
25105 | char *kwnames[] = { | |
25106 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
25107 | }; | |
25108 | ||
25109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
25110 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
25111 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
25112 | arg2 = obj1; |
25113 | arg3 = obj2; | |
25114 | { | |
25115 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25116 | (arg1)->_setCallbackInfo(arg2,arg3); | |
25117 | ||
25118 | wxPyEndAllowThreads(__tstate); | |
25119 | if (PyErr_Occurred()) SWIG_fail; | |
25120 | } | |
25121 | Py_INCREF(Py_None); resultobj = Py_None; | |
25122 | return resultobj; | |
25123 | fail: | |
25124 | return NULL; | |
25125 | } | |
25126 | ||
25127 | ||
c32bde28 | 25128 | static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
25129 | PyObject *resultobj; |
25130 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
25131 | wxPrintPreview *arg2 = (wxPrintPreview *) 0 ; | |
25132 | PyObject * obj0 = 0 ; | |
25133 | PyObject * obj1 = 0 ; | |
25134 | char *kwnames[] = { | |
25135 | (char *) "self",(char *) "preview", NULL | |
25136 | }; | |
25137 | ||
25138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
25139 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
25140 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
25141 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview, | |
25142 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
25143 | { |
25144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25145 | (arg1)->SetPrintPreview(arg2); | |
25146 | ||
25147 | wxPyEndAllowThreads(__tstate); | |
25148 | if (PyErr_Occurred()) SWIG_fail; | |
25149 | } | |
25150 | Py_INCREF(Py_None); resultobj = Py_None; | |
25151 | return resultobj; | |
25152 | fail: | |
25153 | return NULL; | |
25154 | } | |
25155 | ||
25156 | ||
c32bde28 | 25157 | static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
25158 | PyObject *resultobj; |
25159 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
25160 | PyObject * obj0 = 0 ; | |
25161 | char *kwnames[] = { | |
25162 | (char *) "self", NULL | |
25163 | }; | |
25164 | ||
25165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
25166 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
25167 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
25168 | { |
25169 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25170 | (arg1)->base_CreateButtons(); | |
25171 | ||
25172 | wxPyEndAllowThreads(__tstate); | |
25173 | if (PyErr_Occurred()) SWIG_fail; | |
25174 | } | |
25175 | Py_INCREF(Py_None); resultobj = Py_None; | |
25176 | return resultobj; | |
25177 | fail: | |
25178 | return NULL; | |
25179 | } | |
25180 | ||
25181 | ||
c32bde28 | 25182 | static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
25183 | PyObject *resultobj; |
25184 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
25185 | int arg2 ; | |
25186 | PyObject * obj0 = 0 ; | |
994141e6 | 25187 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
25188 | char *kwnames[] = { |
25189 | (char *) "self",(char *) "zoom", NULL | |
25190 | }; | |
25191 | ||
994141e6 | 25192 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
25193 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
25194 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 25195 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 25196 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
25197 | { |
25198 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25199 | (arg1)->base_SetZoomControl(arg2); | |
25200 | ||
25201 | wxPyEndAllowThreads(__tstate); | |
25202 | if (PyErr_Occurred()) SWIG_fail; | |
25203 | } | |
25204 | Py_INCREF(Py_None); resultobj = Py_None; | |
25205 | return resultobj; | |
25206 | fail: | |
25207 | return NULL; | |
25208 | } | |
25209 | ||
25210 | ||
c32bde28 | 25211 | static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
25212 | PyObject *obj; |
25213 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
25214 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj); | |
25215 | Py_INCREF(obj); | |
25216 | return Py_BuildValue((char *)""); | |
25217 | } | |
25218 | static PyMethodDef SwigMethods[] = { | |
c32bde28 RD |
25219 | { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL }, |
25220 | { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25221 | { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25222 | { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25223 | { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25224 | { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL }, | |
25225 | { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25226 | { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25227 | { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25228 | { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25229 | { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25230 | { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25231 | { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25232 | { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25233 | { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25234 | { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25235 | { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25236 | { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25237 | { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25238 | { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25239 | { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL }, | |
25240 | { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL }, | |
25241 | { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25242 | { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25243 | { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25244 | { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25245 | { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25246 | { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25247 | { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL }, | |
25248 | { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25249 | { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25250 | { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25251 | { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25252 | { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25253 | { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25254 | { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25255 | { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25256 | { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25257 | { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25258 | { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25259 | { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25260 | { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25261 | { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL }, | |
b6294124 | 25262 | { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL }, |
c32bde28 RD |
25263 | { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL }, |
25264 | { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25265 | { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25266 | { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25267 | { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25268 | { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25269 | { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25270 | { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25271 | { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25272 | { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25273 | { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25274 | { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25275 | { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25276 | { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25277 | { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25278 | { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25279 | { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25280 | { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25281 | { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25282 | { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25283 | { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25284 | { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25285 | { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25286 | { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25287 | { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL }, | |
25288 | { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25289 | { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25290 | { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25291 | { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25292 | { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25293 | { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25294 | { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25295 | { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25296 | { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25297 | { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25298 | { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25299 | { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL }, | |
25300 | { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25301 | { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25302 | { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25303 | { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL }, | |
25304 | { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25305 | { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25306 | { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25307 | { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL }, | |
25308 | { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25309 | { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25310 | { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25311 | { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25312 | { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL }, | |
25313 | { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25314 | { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25315 | { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25316 | { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25317 | { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25318 | { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25319 | { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25320 | { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25321 | { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25322 | { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25323 | { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25324 | { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25325 | { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25326 | { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25327 | { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25328 | { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25329 | { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL }, | |
25330 | { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25331 | { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25332 | { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25333 | { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25334 | { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25335 | { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25336 | { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25337 | { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25338 | { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25339 | { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25340 | { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25341 | { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25342 | { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25343 | { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25344 | { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25345 | { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25346 | { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25347 | { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25348 | { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25349 | { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25350 | { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25351 | { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25352 | { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25353 | { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25354 | { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25355 | { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25356 | { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25357 | { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL }, | |
25358 | { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25359 | { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25360 | { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25361 | { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25362 | { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25363 | { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25364 | { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL }, | |
25365 | { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25366 | { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25367 | { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25368 | { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25369 | { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25370 | { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25371 | { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25372 | { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25373 | { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25374 | { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25375 | { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25376 | { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25377 | { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25378 | { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25379 | { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25380 | { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25381 | { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25382 | { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25383 | { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25384 | { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25385 | { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25386 | { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25387 | { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL }, | |
25388 | { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25389 | { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25390 | { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25391 | { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25392 | { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25393 | { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25394 | { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25395 | { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL }, | |
25396 | { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25397 | { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25398 | { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25399 | { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25400 | { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25401 | { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25402 | { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25403 | { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25404 | { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25405 | { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25406 | { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25407 | { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL }, | |
25408 | { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25409 | { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25410 | { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25411 | { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25412 | { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25413 | { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL }, | |
25414 | { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25415 | { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25416 | { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25417 | { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25418 | { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25419 | { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25420 | { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25421 | { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25422 | { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL }, | |
25423 | { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25424 | { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25425 | { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25426 | { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25427 | { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25428 | { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL }, | |
25429 | { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25430 | { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25431 | { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25432 | { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25433 | { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL }, | |
25434 | { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25435 | { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25436 | { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25437 | { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25438 | { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25439 | { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL }, | |
25440 | { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25441 | { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25442 | { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25443 | { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL }, | |
25444 | { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25445 | { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25446 | { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25447 | { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25448 | { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25449 | { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25450 | { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25451 | { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25452 | { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25453 | { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25454 | { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25455 | { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25456 | { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25457 | { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25458 | { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25459 | { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25460 | { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25461 | { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL }, | |
25462 | { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25463 | { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25464 | { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25465 | { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25466 | { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25467 | { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25468 | { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25469 | { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25470 | { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25471 | { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25472 | { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25473 | { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25474 | { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25475 | { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25476 | { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25477 | { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25478 | { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25479 | { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25480 | { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25481 | { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25482 | { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25483 | { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25484 | { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25485 | { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25486 | { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25487 | { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL }, | |
25488 | { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25489 | { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25490 | { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25491 | { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25492 | { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25493 | { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25494 | { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25495 | { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL }, | |
25496 | { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL }, | |
5e483524 | 25497 | { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, |
c32bde28 RD |
25498 | { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL }, |
25499 | { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25500 | { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25501 | { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25502 | { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25503 | { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25504 | { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL }, | |
25505 | { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25506 | { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL }, | |
25507 | { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25508 | { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25509 | { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25510 | { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25511 | { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25512 | { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25513 | { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25514 | { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25515 | { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL }, | |
25516 | { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25517 | { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25518 | { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL }, | |
25519 | { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25520 | { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25521 | { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25522 | { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25523 | { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25524 | { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25525 | { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL }, | |
25526 | { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25527 | { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25528 | { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25529 | { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25530 | { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25531 | { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25532 | { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25533 | { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25534 | { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25535 | { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25536 | { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25537 | { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25538 | { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25539 | { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25540 | { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25541 | { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25542 | { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25543 | { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL }, | |
25544 | { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25545 | { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25546 | { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25547 | { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL }, | |
25548 | { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25549 | { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25550 | { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25551 | { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25552 | { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL }, | |
25553 | { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25554 | { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25555 | { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25556 | { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL }, | |
25557 | { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25558 | { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25559 | { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25560 | { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25561 | { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25562 | { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25563 | { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25564 | { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25565 | { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25566 | { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25567 | { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25568 | { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25569 | { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25570 | { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25571 | { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25572 | { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL }, | |
25573 | { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25574 | { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25575 | { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL }, | |
25576 | { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25577 | { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL }, | |
25578 | { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25579 | { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25580 | { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25581 | { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL }, | |
25582 | { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25583 | { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25584 | { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25585 | { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25586 | { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25587 | { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25588 | { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25589 | { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25590 | { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL }, | |
25591 | { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25592 | { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25593 | { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25594 | { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25595 | { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25596 | { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25597 | { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25598 | { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25599 | { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL }, | |
25600 | { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25601 | { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25602 | { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25603 | { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25604 | { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25605 | { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL }, | |
25606 | { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25607 | { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25608 | { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25609 | { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25610 | { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25611 | { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25612 | { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25613 | { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25614 | { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25615 | { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25616 | { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25617 | { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL }, | |
25618 | { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25619 | { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25620 | { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25621 | { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25622 | { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25623 | { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25624 | { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL }, | |
25625 | { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25626 | { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25627 | { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25628 | { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL }, | |
25629 | { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25630 | { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25631 | { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25632 | { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25633 | { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25634 | { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25635 | { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25636 | { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25637 | { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25638 | { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25639 | { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25640 | { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25641 | { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25642 | { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25643 | { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25644 | { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25645 | { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25646 | { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25647 | { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25648 | { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25649 | { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25650 | { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25651 | { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25652 | { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25653 | { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25654 | { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL }, | |
25655 | { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25656 | { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25657 | { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25658 | { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25659 | { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25660 | { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25661 | { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25662 | { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25663 | { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25664 | { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25665 | { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25666 | { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25667 | { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25668 | { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25669 | { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25670 | { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25671 | { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25672 | { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25673 | { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25674 | { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25675 | { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25676 | { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25677 | { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25678 | { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25679 | { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25680 | { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL }, | |
25681 | { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25682 | { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25683 | { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25684 | { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25685 | { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25686 | { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25687 | { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25688 | { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25689 | { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25690 | { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25691 | { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25692 | { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25693 | { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25694 | { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25695 | { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25696 | { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25697 | { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25698 | { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25699 | { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25700 | { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25701 | { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25702 | { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25703 | { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25704 | { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25705 | { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25706 | { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL }, | |
25707 | { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL }, | |
25708 | { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25709 | { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25710 | { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25711 | { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25712 | { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25713 | { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25714 | { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25715 | { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25716 | { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25717 | { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25718 | { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL }, | |
2ef75293 | 25719 | { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL }, |
c32bde28 RD |
25720 | { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL }, |
25721 | { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25722 | { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25723 | { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25724 | { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25725 | { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25726 | { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25727 | { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25728 | { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL }, | |
2ef75293 | 25729 | { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL }, |
c32bde28 RD |
25730 | { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL }, |
25731 | { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25732 | { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25733 | { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25734 | { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25735 | { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25736 | { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25737 | { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25738 | { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25739 | { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25740 | { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25741 | { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25742 | { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25743 | { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25744 | { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25745 | { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25746 | { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25747 | { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25748 | { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25749 | { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25750 | { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25751 | { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25752 | { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25753 | { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25754 | { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL }, | |
25755 | { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL }, | |
25756 | { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25757 | { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25758 | { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25759 | { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25760 | { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25761 | { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25762 | { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25763 | { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25764 | { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25765 | { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25766 | { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25767 | { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25768 | { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25769 | { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25770 | { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25771 | { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25772 | { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25773 | { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25774 | { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25775 | { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25776 | { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25777 | { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25778 | { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25779 | { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25780 | { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25781 | { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25782 | { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25783 | { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25784 | { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25785 | { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25786 | { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL }, | |
25787 | { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25788 | { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25789 | { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25790 | { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL }, | |
25791 | { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL }, | |
25792 | { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25793 | { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25794 | { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25795 | { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25796 | { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25797 | { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25798 | { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25799 | { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25800 | { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25801 | { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25802 | { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25803 | { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25804 | { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25805 | { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25806 | { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25807 | { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25808 | { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25809 | { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25810 | { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25811 | { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25812 | { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25813 | { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25814 | { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25815 | { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25816 | { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25817 | { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25818 | { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25819 | { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25820 | { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25821 | { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25822 | { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25823 | { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25824 | { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL }, | |
25825 | { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25826 | { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25827 | { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25828 | { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25829 | { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL }, | |
25830 | { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25831 | { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25832 | { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25833 | { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25834 | { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25835 | { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25836 | { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25837 | { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25838 | { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25839 | { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25840 | { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL }, | |
25841 | { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25842 | { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25843 | { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25844 | { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25845 | { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25846 | { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25847 | { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25848 | { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25849 | { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25850 | { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25851 | { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25852 | { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25853 | { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25854 | { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25855 | { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25856 | { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25857 | { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25858 | { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25859 | { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25860 | { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25861 | { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25862 | { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25863 | { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL }, | |
25864 | { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25865 | { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL }, | |
25866 | { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25867 | { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25868 | { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25869 | { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25870 | { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25871 | { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL }, | |
25872 | { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25873 | { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25874 | { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25875 | { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25876 | { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25877 | { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25878 | { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25879 | { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25880 | { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25881 | { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL }, | |
25882 | { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL }, | |
25883 | { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25884 | { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25885 | { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25886 | { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25887 | { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25888 | { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25889 | { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25890 | { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25891 | { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25892 | { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25893 | { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25894 | { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25895 | { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25896 | { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25897 | { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25898 | { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25899 | { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25900 | { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25901 | { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25902 | { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25903 | { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25904 | { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25905 | { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL }, | |
25906 | { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL }, | |
25907 | { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25908 | { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25909 | { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25910 | { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25911 | { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25912 | { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25913 | { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25914 | { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25915 | { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL }, | |
25916 | { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25917 | { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25918 | { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25919 | { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25920 | { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25921 | { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25922 | { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25923 | { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL }, | |
25924 | { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25925 | { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25926 | { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25927 | { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25928 | { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25929 | { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL }, | |
25930 | { NULL, NULL, 0, NULL } | |
d14a1e28 RD |
25931 | }; |
25932 | ||
25933 | ||
25934 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
25935 | ||
25936 | static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) { | |
25937 | return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
25938 | } | |
25939 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
25940 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
25941 | } | |
25942 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
25943 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
25944 | } | |
25945 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
25946 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
25947 | } | |
25948 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
25949 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
25950 | } | |
25951 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
25952 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
25953 | } | |
25954 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
25955 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
25956 | } | |
25957 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
25958 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
25959 | } | |
25960 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
25961 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
25962 | } | |
25963 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
25964 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
25965 | } | |
25966 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
25967 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
25968 | } | |
25969 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
25970 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
25971 | } | |
25972 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
25973 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
25974 | } | |
25975 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
25976 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
25977 | } | |
25978 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
25979 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
25980 | } | |
25981 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
25982 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
25983 | } | |
25984 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
25985 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
25986 | } | |
25987 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
25988 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
25989 | } | |
25990 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
25991 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
25992 | } | |
25993 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
25994 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
25995 | } | |
25996 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
25997 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
25998 | } | |
25999 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
26000 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
26001 | } | |
26002 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { | |
26003 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
26004 | } | |
26005 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
26006 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
26007 | } | |
26008 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
26009 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
26010 | } | |
26011 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
26012 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
26013 | } | |
26014 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
26015 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
26016 | } | |
26017 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
26018 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
26019 | } | |
26020 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
26021 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
26022 | } | |
26023 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
26024 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
26025 | } | |
26026 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
26027 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
26028 | } | |
26029 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
26030 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
26031 | } | |
26032 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
26033 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
26034 | } | |
26035 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
26036 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
26037 | } | |
26038 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
26039 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
26040 | } | |
26041 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
26042 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
26043 | } | |
26044 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
26045 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
26046 | } | |
26047 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
26048 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
26049 | } | |
26050 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
26051 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
26052 | } | |
26053 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
26054 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
26055 | } | |
26056 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
26057 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
26058 | } | |
26059 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
26060 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
26061 | } | |
26062 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { | |
26063 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
26064 | } | |
26065 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
26066 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
26067 | } | |
26068 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
26069 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
26070 | } | |
26071 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
26072 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
26073 | } | |
26074 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
26075 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
26076 | } | |
26077 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
26078 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
26079 | } | |
26080 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
26081 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
26082 | } | |
26083 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
26084 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
26085 | } | |
26086 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
26087 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
26088 | } | |
26089 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
26090 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
26091 | } | |
26092 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
26093 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
26094 | } | |
26095 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
26096 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
26097 | } | |
26098 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
26099 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
26100 | } | |
26101 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
26102 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
26103 | } | |
26104 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
26105 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
26106 | } | |
26107 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
26108 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
26109 | } | |
26110 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
26111 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
26112 | } | |
26113 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
26114 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
26115 | } | |
26116 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
26117 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
26118 | } | |
26119 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
26120 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
26121 | } | |
26122 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
26123 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
26124 | } | |
26125 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
26126 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
26127 | } | |
26128 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
26129 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
26130 | } | |
26131 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
26132 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
26133 | } | |
26134 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
26135 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
26136 | } | |
26137 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
26138 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
26139 | } | |
26140 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
26141 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
26142 | } | |
26143 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
26144 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
26145 | } | |
26146 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
26147 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
26148 | } | |
1cb4a8aa RD |
26149 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { |
26150 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
26151 | } | |
d14a1e28 RD |
26152 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { |
26153 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
26154 | } | |
26155 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
26156 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
26157 | } | |
26158 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
26159 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
26160 | } | |
26161 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
26162 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
26163 | } | |
26164 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
26165 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
26166 | } | |
26167 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
26168 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
26169 | } | |
26170 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
26171 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
26172 | } | |
26173 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
26174 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
26175 | } | |
26176 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
26177 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
26178 | } | |
26179 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
26180 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
26181 | } | |
26182 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
26183 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
26184 | } | |
26185 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
26186 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
26187 | } | |
5e483524 RD |
26188 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { |
26189 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
d14a1e28 RD |
26190 | } |
26191 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
26192 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
26193 | } | |
26194 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
26195 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
26196 | } | |
26197 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
26198 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
26199 | } | |
26200 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
26201 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
26202 | } | |
26203 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
26204 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
26205 | } | |
26206 | static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) { | |
26207 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
26208 | } | |
26209 | static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) { | |
26210 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
26211 | } | |
26212 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
26213 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
26214 | } | |
26215 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) { | |
26216 | return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
26217 | } | |
26218 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
26219 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
26220 | } | |
26221 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
26222 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
26223 | } | |
26224 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
26225 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
26226 | } | |
26227 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
26228 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
26229 | } | |
26230 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
26231 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
26232 | } | |
26233 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
26234 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
26235 | } | |
26236 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
26237 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
26238 | } | |
26239 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
26240 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
26241 | } | |
26242 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
26243 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
26244 | } | |
26245 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
26246 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
26247 | } | |
26248 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
26249 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
26250 | } | |
26251 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
26252 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
26253 | } | |
26254 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
26255 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
26256 | } | |
26257 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
26258 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
26259 | } | |
26260 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
26261 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
26262 | } | |
26263 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
26264 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
26265 | } | |
26266 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
26267 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
26268 | } | |
26269 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
26270 | return (void *)((wxObject *) ((wxSizer *) x)); | |
26271 | } | |
26272 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
26273 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
26274 | } | |
26275 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
26276 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
26277 | } | |
26278 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
26279 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
26280 | } | |
26281 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
26282 | return (void *)((wxObject *) ((wxEvent *) x)); | |
26283 | } | |
26284 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
26285 | return (void *)((wxObject *) ((wxFontData *) x)); | |
26286 | } | |
26287 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
26288 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
26289 | } | |
26290 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
26291 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
26292 | } | |
26293 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
26294 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
26295 | } | |
26296 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
26297 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
26298 | } | |
26299 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
26300 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
26301 | } | |
5e483524 RD |
26302 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { |
26303 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
d14a1e28 RD |
26304 | } |
26305 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
26306 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
26307 | } | |
26308 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
26309 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
26310 | } | |
26311 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
26312 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
26313 | } | |
26314 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
26315 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
26316 | } | |
26317 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
26318 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
26319 | } | |
26320 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
26321 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
26322 | } | |
26323 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
26324 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
26325 | } | |
26326 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
26327 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
26328 | } | |
26329 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
26330 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
26331 | } | |
26332 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
26333 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
26334 | } | |
26335 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
26336 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
26337 | } | |
26338 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
26339 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
26340 | } | |
26341 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
26342 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
26343 | } | |
26344 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
26345 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
26346 | } | |
26347 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
26348 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
26349 | } | |
26350 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
26351 | return (void *)((wxObject *) ((wxColourData *) x)); | |
26352 | } | |
26353 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
26354 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
26355 | } | |
26356 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
26357 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
26358 | } | |
26359 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
26360 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
26361 | } | |
26362 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
26363 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
26364 | } | |
26365 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
26366 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
26367 | } | |
26368 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
26369 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
26370 | } | |
26371 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
26372 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
26373 | } | |
26374 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
26375 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
26376 | } | |
26377 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
26378 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
26379 | } | |
26380 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
26381 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
26382 | } | |
26383 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
26384 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
26385 | } | |
26386 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
26387 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
26388 | } | |
26389 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
26390 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
26391 | } | |
26392 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
26393 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
26394 | } | |
26395 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
26396 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
26397 | } | |
26398 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
26399 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
26400 | } | |
26401 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
26402 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
26403 | } | |
26404 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
26405 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
26406 | } | |
26407 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
26408 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
26409 | } | |
26410 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
26411 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
26412 | } | |
26413 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
26414 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
26415 | } | |
26416 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
26417 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
26418 | } | |
26419 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
26420 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
26421 | } | |
26422 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
26423 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
26424 | } | |
26425 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
26426 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
26427 | } | |
26428 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
26429 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
26430 | } | |
26431 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
26432 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
26433 | } | |
26434 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
26435 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
26436 | } | |
26437 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
26438 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
26439 | } | |
26440 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
26441 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
26442 | } | |
26443 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
26444 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
26445 | } | |
26446 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
26447 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
26448 | } | |
26449 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
26450 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
26451 | } | |
26452 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
26453 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
26454 | } | |
26455 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
26456 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
26457 | } | |
26458 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
26459 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
26460 | } | |
26461 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
26462 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
26463 | } | |
26464 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
26465 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
26466 | } | |
26467 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
26468 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
26469 | } | |
26470 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
26471 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
26472 | } | |
26473 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
26474 | return (void *)((wxObject *) ((wxImage *) x)); | |
26475 | } | |
26476 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
26477 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
26478 | } | |
26479 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
26480 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
26481 | } | |
26482 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
26483 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
26484 | } | |
26485 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
26486 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
26487 | } | |
26488 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
26489 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
26490 | } | |
26491 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
26492 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
26493 | } | |
26494 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
26495 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
26496 | } | |
26497 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
26498 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
26499 | } | |
26500 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
26501 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
26502 | } | |
d14a1e28 RD |
26503 | static void *_p_wxWindowTo_p_wxObject(void *x) { |
26504 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
26505 | } | |
26506 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
26507 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
26508 | } | |
26509 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
26510 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
26511 | } | |
1e0c8722 RD |
26512 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { |
26513 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
26514 | } | |
d14a1e28 RD |
26515 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { |
26516 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
26517 | } | |
26518 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
26519 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
26520 | } | |
26521 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
26522 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
26523 | } | |
26524 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
26525 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
26526 | } | |
26527 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
26528 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
26529 | } | |
26530 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
26531 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
26532 | } | |
26533 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
26534 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
26535 | } | |
26536 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
26537 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
26538 | } | |
26539 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
26540 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
26541 | } | |
26542 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
26543 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
26544 | } | |
1cb4a8aa RD |
26545 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { |
26546 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
26547 | } | |
d14a1e28 RD |
26548 | static void *_p_wxSashEventTo_p_wxObject(void *x) { |
26549 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
26550 | } | |
26551 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
26552 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
26553 | } | |
26554 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
26555 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
26556 | } | |
26557 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
26558 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
26559 | } | |
26560 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
26561 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
26562 | } | |
26563 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
26564 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
26565 | } | |
26566 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
26567 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
26568 | } | |
26569 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
26570 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
26571 | } | |
26572 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
26573 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
26574 | } | |
26575 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
26576 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
26577 | } | |
26578 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
26579 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
26580 | } | |
26581 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
26582 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
26583 | } | |
26584 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
26585 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
26586 | } | |
26587 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
26588 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
26589 | } | |
26590 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
26591 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
26592 | } | |
26593 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
26594 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
26595 | } | |
26596 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
26597 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
26598 | } | |
26599 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
26600 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
26601 | } | |
26602 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
26603 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
26604 | } | |
26605 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
26606 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
26607 | } | |
26608 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
26609 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
26610 | } | |
26611 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
26612 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
26613 | } | |
26614 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
26615 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
26616 | } | |
26617 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
26618 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
26619 | } | |
26620 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
26621 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
26622 | } | |
26623 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
26624 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
26625 | } | |
26626 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
26627 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
26628 | } | |
26629 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
26630 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
26631 | } | |
26632 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
26633 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
26634 | } | |
26635 | static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
26636 | return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
26637 | } | |
26638 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
26639 | return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
26640 | } | |
26641 | static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) { | |
26642 | return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
26643 | } | |
26644 | static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) { | |
26645 | return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
26646 | } | |
26647 | static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) { | |
26648 | return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
26649 | } | |
26650 | static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) { | |
26651 | return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
26652 | } | |
26653 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { | |
26654 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
26655 | } | |
26656 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
26657 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
26658 | } | |
26659 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
26660 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
26661 | } | |
26662 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
26663 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
26664 | } | |
26665 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
26666 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
26667 | } | |
26668 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
26669 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
26670 | } | |
26671 | static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) { | |
26672 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x)); | |
26673 | } | |
26674 | static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) { | |
26675 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x)); | |
26676 | } | |
26677 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
26678 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
26679 | } | |
26680 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
26681 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
26682 | } | |
26683 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
26684 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
26685 | } | |
26686 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
26687 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
26688 | } | |
26689 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
26690 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
26691 | } | |
26692 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
26693 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
26694 | } | |
26695 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
26696 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
26697 | } | |
26698 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
26699 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
26700 | } | |
26701 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
26702 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
26703 | } | |
26704 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
26705 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
26706 | } | |
26707 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
26708 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
26709 | } | |
26710 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
26711 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
26712 | } | |
26713 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
26714 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
26715 | } | |
26716 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
26717 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
26718 | } | |
26719 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
26720 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
26721 | } | |
26722 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
26723 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
26724 | } | |
26725 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
26726 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
26727 | } | |
26728 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
26729 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
26730 | } | |
26731 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
26732 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
26733 | } | |
26734 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
26735 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
26736 | } | |
26737 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
26738 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
26739 | } | |
26740 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
26741 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
26742 | } | |
26743 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
26744 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
26745 | } | |
26746 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
26747 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
26748 | } | |
26749 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
26750 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
26751 | } | |
26752 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
26753 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
26754 | } | |
26755 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
26756 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
26757 | } | |
26758 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
26759 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
26760 | } | |
26761 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
26762 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
26763 | } | |
26764 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
26765 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
26766 | } | |
26767 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
26768 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
26769 | } | |
26770 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
26771 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
26772 | } | |
26773 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
26774 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
26775 | } | |
26776 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
26777 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
26778 | } | |
26779 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
26780 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
26781 | } | |
26782 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
26783 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
26784 | } | |
1cb4a8aa RD |
26785 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { |
26786 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
26787 | } | |
d14a1e28 RD |
26788 | static void *_p_wxControlTo_p_wxWindow(void *x) { |
26789 | return (void *)((wxWindow *) ((wxControl *) x)); | |
26790 | } | |
26791 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
26792 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
26793 | } | |
26794 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
26795 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
26796 | } | |
26797 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
26798 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
26799 | } | |
26800 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
26801 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
26802 | } | |
26803 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
26804 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
26805 | } | |
26806 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
26807 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
26808 | } | |
26809 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
26810 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
26811 | } | |
26812 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
26813 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
26814 | } | |
26815 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
26816 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
26817 | } | |
26818 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
26819 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
26820 | } | |
26821 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
26822 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
26823 | } | |
26824 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
26825 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
26826 | } | |
26827 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
26828 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
26829 | } | |
26830 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
26831 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
26832 | } | |
26833 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
26834 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
26835 | } | |
26836 | static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) { | |
26837 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
26838 | } | |
26839 | static void *_p_wxPrintDialogTo_p_wxWindow(void *x) { | |
26840 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
26841 | } | |
26842 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { | |
26843 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
26844 | } | |
1cb4a8aa RD |
26845 | static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { |
26846 | return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
26847 | } | |
d14a1e28 RD |
26848 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { |
26849 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
26850 | } | |
26851 | static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) { | |
26852 | return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
26853 | } | |
26854 | static void *_p_wxColourDialogTo_p_wxDialog(void *x) { | |
26855 | return (void *)((wxDialog *) ((wxColourDialog *) x)); | |
26856 | } | |
26857 | static void *_p_wxDirDialogTo_p_wxDialog(void *x) { | |
26858 | return (void *)((wxDialog *) ((wxDirDialog *) x)); | |
26859 | } | |
26860 | static void *_p_wxFontDialogTo_p_wxDialog(void *x) { | |
26861 | return (void *)((wxDialog *) ((wxFontDialog *) x)); | |
26862 | } | |
26863 | static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) { | |
26864 | return (void *)((wxDialog *) ((wxPageSetupDialog *) x)); | |
26865 | } | |
26866 | static void *_p_wxPrintDialogTo_p_wxDialog(void *x) { | |
26867 | return (void *)((wxDialog *) ((wxPrintDialog *) x)); | |
26868 | } | |
26869 | static void *_p_wxFileDialogTo_p_wxDialog(void *x) { | |
26870 | return (void *)((wxDialog *) ((wxFileDialog *) x)); | |
26871 | } | |
26872 | static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) { | |
26873 | return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x)); | |
26874 | } | |
26875 | static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) { | |
26876 | return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x)); | |
26877 | } | |
26878 | static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) { | |
26879 | return (void *)((wxDialog *) ((wxTextEntryDialog *) x)); | |
26880 | } | |
26881 | static void *_p_wxMessageDialogTo_p_wxDialog(void *x) { | |
26882 | return (void *)((wxDialog *) ((wxMessageDialog *) x)); | |
26883 | } | |
26884 | static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) { | |
26885 | return (void *)((wxDialog *) ((wxFindReplaceDialog *) x)); | |
26886 | } | |
26887 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
26888 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
26889 | } | |
26890 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
26891 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
26892 | } | |
1cb4a8aa RD |
26893 | static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { |
26894 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
26895 | } | |
d14a1e28 RD |
26896 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { |
26897 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
26898 | } | |
26899 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
26900 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
26901 | } | |
26902 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
26903 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
26904 | } | |
26905 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
26906 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
26907 | } | |
26908 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
26909 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
26910 | } | |
26911 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
26912 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
26913 | } | |
26914 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
26915 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
26916 | } | |
26917 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
26918 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
26919 | } | |
26920 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
26921 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
26922 | } | |
26923 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
26924 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
26925 | } | |
26926 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
26927 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
26928 | } | |
26929 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
26930 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
26931 | } | |
26932 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
26933 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
26934 | } | |
26935 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
26936 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
26937 | } | |
26938 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
26939 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
26940 | } | |
26941 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
26942 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
26943 | } | |
26944 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { | |
26945 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
26946 | } | |
26947 | static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) { | |
26948 | return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
26949 | } | |
15afbcd0 RD |
26950 | 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}}; |
26951 | 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}}; | |
26952 | 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}}; | |
26953 | 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}}; | |
26954 | 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 |
26955 | 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}}; |
26956 | 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 | 26957 | 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 | 26958 | 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 | 26959 | 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 |
26960 | 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}}; |
26961 | 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}}; | |
26962 | 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}}; | |
26963 | 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}}; | |
26964 | 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}}; | |
26965 | 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}}; | |
26966 | 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}}; | |
26967 | 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}}; | |
26968 | 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}}; | |
26969 | 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}}; | |
26970 | 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}}; | |
26971 | 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 | 26972 | 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 |
26973 | 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}}; |
26974 | 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}}; | |
26975 | 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}}; | |
26976 | 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}}; | |
26977 | 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}}; | |
26978 | 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}}; | |
26979 | 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}}; | |
26980 | 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}}; | |
26981 | static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0, 0, 0, 0},{"_p_wxTextEntryDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26982 | 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}}; | |
26983 | 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}}; | |
26984 | 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}}; | |
26985 | 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}}; | |
26986 | 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}}; | |
5e483524 | 26987 | static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15afbcd0 RD |
26988 | 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}}; |
26989 | 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}}; | |
26990 | 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}}; | |
26991 | 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}}; | |
26992 | 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}}; | |
26993 | 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}}; | |
26994 | 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}}; | |
26995 | 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}}; | |
26996 | 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}}; | |
26997 | 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}}; | |
26998 | 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}}; | |
26999 | 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}}; | |
27000 | 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}}; | |
5e483524 | 27001 | 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_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15afbcd0 | 27002 | static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15afbcd0 RD |
27003 | 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}}; |
27004 | 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}}; | |
27005 | 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}}; | |
27006 | 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 | 27007 | 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 |
27008 | 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}}; |
27009 | 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}}; | |
27010 | 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}}; | |
27011 | 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}}; | |
27012 | static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
1cb4a8aa RD |
27013 | static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
27014 | 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 | 27015 | 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 | 27016 | 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 |
27017 | 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}}; |
27018 | 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}}; | |
27019 | 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}}; | |
27020 | 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}}; | |
27021 | 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}}; | |
27022 | 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}}; | |
27023 | 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}}; | |
27024 | static swig_type_info _swigt__p_wxDialog[] = {{"_p_wxDialog", 0, "wxDialog *", 0, 0, 0, 0},{"_p_wxDialog", 0, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
1cb4a8aa | 27025 | 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 |
27026 | 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}}; |
27027 | 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 | 27028 | 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 |
27029 | 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}}; |
27030 | 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}}; | |
27031 | 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}}; | |
27032 | 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}}; | |
27033 | 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}}; | |
27034 | 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}}; | |
27035 | 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}}; | |
27036 | 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 |
27037 | |
27038 | static swig_type_info *swig_types_initial[] = { | |
27039 | _swigt__p_wxQueryLayoutInfoEvent, | |
27040 | _swigt__p_wxPreviewFrame, | |
27041 | _swigt__p_wxPyPreviewFrame, | |
d14a1e28 RD |
27042 | _swigt__p_wxPyPanel, |
27043 | _swigt__p_wxMenu, | |
d14a1e28 RD |
27044 | _swigt__p_wxFontData, |
27045 | _swigt__p_wxEvent, | |
f5b96ee1 | 27046 | _swigt__p_wxPrintData, |
d14a1e28 | 27047 | _swigt__p_wxTaskBarIcon, |
5e483524 | 27048 | _swigt__p_wxPyTaskBarIcon, |
d14a1e28 RD |
27049 | _swigt__p_wxIconBundle, |
27050 | _swigt__p_wxLayoutAlgorithm, | |
27051 | _swigt__p_wxFindDialogEvent, | |
27052 | _swigt__p_wxPreviewCanvas, | |
27053 | _swigt__p_wxFont, | |
27054 | _swigt__p_wxSplitterEvent, | |
27055 | _swigt__p_wxRegion, | |
27056 | _swigt__p_wxFindReplaceData, | |
27057 | _swigt__p_int, | |
27058 | _swigt__p_wxSize, | |
27059 | _swigt__p_wxDC, | |
27060 | _swigt__p_wxIcon, | |
22bfe96c | 27061 | _swigt__p_wxVisualAttributes, |
d14a1e28 RD |
27062 | _swigt__p_wxMDIChildFrame, |
27063 | _swigt__p_wxColourData, | |
27064 | _swigt__p_wxNotifyEvent, | |
27065 | _swigt__p_wxPyWindow, | |
27066 | _swigt__p_wxSplashScreen, | |
27067 | _swigt__p_wxFindReplaceDialog, | |
27068 | _swigt__p_wxProgressDialog, | |
27069 | _swigt__p_wxMessageDialog, | |
27070 | _swigt__p_wxTextEntryDialog, | |
27071 | _swigt__p_wxSingleChoiceDialog, | |
27072 | _swigt__p_wxMultiChoiceDialog, | |
27073 | _swigt__p_wxFileDialog, | |
27074 | _swigt__p_wxPrinter, | |
d14a1e28 RD |
27075 | _swigt__p_wxArrayInt, |
27076 | _swigt__p_wxEvtHandler, | |
27077 | _swigt__p_wxCalculateLayoutEvent, | |
27078 | _swigt__p_wxPyHtmlListBox, | |
27079 | _swigt__p_wxPyVListBox, | |
27080 | _swigt__p_wxRect, | |
994141e6 | 27081 | _swigt__p_char, |
d14a1e28 RD |
27082 | _swigt__p_wxMiniFrame, |
27083 | _swigt__p_wxFrame, | |
27084 | _swigt__p_wxPyPrintout, | |
27085 | _swigt__p_wxTaskBarIconEvent, | |
27086 | _swigt__p_wxScrollWinEvent, | |
27087 | _swigt__p_wxStatusBar, | |
27088 | _swigt__p_wxMDIParentFrame, | |
27089 | _swigt__p_wxPoint, | |
27090 | _swigt__p_wxObject, | |
db914595 | 27091 | _swigt__p_wxOutputStream, |
d14a1e28 RD |
27092 | _swigt__p_wxMDIClientWindow, |
27093 | _swigt__p_wxTipWindow, | |
27094 | _swigt__p_wxSashLayoutWindow, | |
27095 | _swigt__p_wxSplitterWindow, | |
f5b96ee1 | 27096 | _swigt__p_wxSplashScreenWindow, |
d14a1e28 RD |
27097 | _swigt__p_wxPyVScrolledWindow, |
27098 | _swigt__p_wxPyPopupTransientWindow, | |
27099 | _swigt__p_wxPopupWindow, | |
27100 | _swigt__p_wxSashWindow, | |
27101 | _swigt__p_wxTopLevelWindow, | |
27102 | _swigt__p_wxWindow, | |
27103 | _swigt__p_wxScrolledWindow, | |
27104 | _swigt__p_wxMenuBar, | |
5e483524 | 27105 | _swigt__p_wxPyScrolledWindow, |
d14a1e28 RD |
27106 | _swigt__p_wxPrintPreview, |
27107 | _swigt__p_wxSashEvent, | |
27108 | _swigt__p_wxString, | |
27109 | _swigt__p_wxPyPrintPreview, | |
27110 | _swigt__p_wxFontDialog, | |
27111 | _swigt__p_wxDirDialog, | |
27112 | _swigt__p_wxColourDialog, | |
27113 | _swigt__p_wxDialog, | |
27114 | _swigt__p_wxPanel, | |
db914595 | 27115 | _swigt__p_wxPageSetupDialog, |
d14a1e28 | 27116 | _swigt__p_wxPrintDialog, |
7fdaaabe | 27117 | _swigt__p_wxFileSystem, |
d14a1e28 RD |
27118 | _swigt__p_wxBitmap, |
27119 | _swigt__p_wxCommandEvent, | |
d14a1e28 RD |
27120 | _swigt__p_wxPreviewControlBar, |
27121 | _swigt__p_wxPyPreviewControlBar, | |
27122 | _swigt__p_wxColour, | |
27123 | _swigt__p_wxToolBar, | |
b2dc1044 | 27124 | _swigt__p_wxPageSetupDialogData, |
994141e6 | 27125 | _swigt__p_wxPrintDialogData, |
d14a1e28 RD |
27126 | 0 |
27127 | }; | |
27128 | ||
27129 | ||
27130 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
27131 | ||
27132 | static swig_const_info swig_const_table[] = { | |
c32bde28 | 27133 | {0, 0, 0, 0.0, 0, 0}}; |
d14a1e28 RD |
27134 | |
27135 | #ifdef __cplusplus | |
27136 | } | |
27137 | #endif | |
27138 | ||
27139 | #ifdef __cplusplus | |
27140 | extern "C" | |
27141 | #endif | |
27142 | SWIGEXPORT(void) SWIG_init(void) { | |
27143 | static PyObject *SWIG_globals = 0; | |
27144 | static int typeinit = 0; | |
27145 | PyObject *m, *d; | |
27146 | int i; | |
27147 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
27148 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
27149 | d = PyModule_GetDict(m); | |
27150 | ||
27151 | if (!typeinit) { | |
27152 | for (i = 0; swig_types_initial[i]; i++) { | |
27153 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
27154 | } | |
27155 | typeinit = 1; | |
27156 | } | |
27157 | SWIG_InstallConstants(d,swig_const_table); | |
27158 | ||
b2dc1044 RD |
27159 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); |
27160 | SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set); | |
27161 | SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set); | |
27162 | SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set); | |
27163 | SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set); | |
c32bde28 RD |
27164 | PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP)); |
27165 | PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)wxICONIZE)); | |
27166 | PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE)); | |
27167 | PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE)); | |
27168 | PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX)); | |
27169 | PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME)); | |
27170 | PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU)); | |
27171 | PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX)); | |
27172 | PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX)); | |
27173 | PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ)); | |
27174 | PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT)); | |
27175 | PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX)); | |
27176 | PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER)); | |
27177 | PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT)); | |
27178 | PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE)); | |
27179 | PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE)); | |
27180 | PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW)); | |
27181 | PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT)); | |
27182 | PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU)); | |
27183 | PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR)); | |
27184 | PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED)); | |
ae8162c8 | 27185 | PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)wxFRAME_DRAWER)); |
c32bde28 RD |
27186 | PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL)); |
27187 | PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS)); | |
27188 | PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS)); | |
27189 | PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)wxNO_3D)); | |
27190 | PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR)); | |
27191 | PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR)); | |
27192 | PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR)); | |
27193 | PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER)); | |
27194 | PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION)); | |
27195 | PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL)); | |
27196 | PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG)); | |
27197 | PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO)); | |
27198 | PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR)); | |
27199 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT)); | |
27200 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN)); | |
27201 | PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE)); | |
27202 | PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT)); | |
27203 | PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT)); | |
27204 | PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL)); | |
27205 | PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT)); | |
27206 | PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED)); | |
b2dc1044 | 27207 | SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set); |
c32bde28 RD |
27208 | PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER)); |
27209 | PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH)); | |
27210 | PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT)); | |
27211 | PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE)); | |
27212 | PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH)); | |
27213 | PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER)); | |
27214 | PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME)); | |
27215 | PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER)); | |
27216 | PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)wxSP_3D)); | |
27217 | PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL)); | |
27218 | PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL)); | |
27219 | PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE)); | |
27220 | PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING)); | |
27221 | PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN)); | |
d14a1e28 RD |
27222 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED)); |
27223 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING)); | |
27224 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED)); | |
27225 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT)); | |
b2dc1044 RD |
27226 | SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set); |
27227 | SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set); | |
c32bde28 RD |
27228 | PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE)); |
27229 | PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING)); | |
27230 | PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN)); | |
27231 | PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER)); | |
27232 | PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER)); | |
27233 | PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH)); | |
27234 | PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER)); | |
27235 | PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)wxSW_3D)); | |
27236 | PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP)); | |
27237 | PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT)); | |
27238 | PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM)); | |
27239 | PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT)); | |
27240 | PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE)); | |
27241 | PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK)); | |
27242 | PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE)); | |
d14a1e28 | 27243 | PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED)); |
c32bde28 RD |
27244 | PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL)); |
27245 | PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL)); | |
27246 | PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE)); | |
27247 | PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP)); | |
27248 | PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT)); | |
27249 | PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT)); | |
27250 | PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM)); | |
27251 | PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y)); | |
27252 | PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X)); | |
27253 | PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH)); | |
27254 | PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY)); | |
d14a1e28 RD |
27255 | PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO)); |
27256 | PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT)); | |
b2dc1044 | 27257 | SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set); |
d14a1e28 RD |
27258 | |
27259 | // Map renamed classes back to their common name for OOR | |
27260 | wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox"); | |
27261 | wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox"); | |
27262 | wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow"); | |
27263 | ||
27264 | PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE)); | |
27265 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN)); | |
27266 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP)); | |
27267 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN)); | |
27268 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP)); | |
27269 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK)); | |
27270 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK)); | |
b2dc1044 RD |
27271 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set); |
27272 | SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set); | |
27273 | SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set); | |
27274 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set); | |
27275 | SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set); | |
27276 | SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set); | |
c32bde28 RD |
27277 | PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE)); |
27278 | PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN)); | |
27279 | PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD)); | |
27280 | PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE)); | |
27281 | PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG)); | |
27282 | PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN)); | |
27283 | PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE)); | |
27284 | PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD)); | |
d14a1e28 RD |
27285 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND)); |
27286 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT)); | |
27287 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE)); | |
27288 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL)); | |
27289 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE)); | |
c32bde28 RD |
27290 | PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)4001)); |
27291 | PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001)); | |
27292 | PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002)); | |
27293 | PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)4003)); | |
27294 | PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)4004)); | |
27295 | PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005)); | |
27296 | PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)4100)); | |
27297 | PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)4600)); | |
b2dc1044 RD |
27298 | SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set); |
27299 | SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set); | |
c32bde28 RD |
27300 | PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE)); |
27301 | PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW)); | |
27302 | PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE)); | |
27303 | PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER)); | |
27304 | PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM)); | |
2ef75293 RD |
27305 | PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)wxPRINTBIN_DEFAULT)); |
27306 | PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)wxPRINTBIN_ONLYONE)); | |
27307 | PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)wxPRINTBIN_LOWER)); | |
27308 | PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)wxPRINTBIN_MIDDLE)); | |
27309 | PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)wxPRINTBIN_MANUAL)); | |
27310 | PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)wxPRINTBIN_ENVELOPE)); | |
27311 | PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)wxPRINTBIN_ENVMANUAL)); | |
27312 | PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)wxPRINTBIN_AUTO)); | |
27313 | PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)wxPRINTBIN_TRACTOR)); | |
27314 | PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)wxPRINTBIN_SMALLFMT)); | |
27315 | PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)wxPRINTBIN_LARGEFMT)); | |
27316 | PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)wxPRINTBIN_LARGECAPACITY)); | |
27317 | PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)wxPRINTBIN_CASSETTE)); | |
27318 | PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)wxPRINTBIN_FORMSOURCE)); | |
27319 | PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)wxPRINTBIN_USER)); | |
c32bde28 RD |
27320 | PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR)); |
27321 | PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED)); | |
27322 | PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR)); | |
27323 | PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT)); | |
27324 | PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS)); | |
27325 | PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT)); | |
27326 | PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM)); | |
27327 | PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST)); | |
27328 | PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST)); | |
27329 | PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO)); | |
27330 | PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT)); | |
27331 | PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE)); | |
27332 | PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT)); | |
27333 | PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS)); | |
27334 | PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT)); | |
27335 | PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM)); | |
27336 | PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST)); | |
27337 | PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST)); | |
27338 | PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO)); | |
d14a1e28 RD |
27339 | |
27340 | wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout"); | |
27341 | ||
27342 | } | |
27343 |