]>
Commit | Line | Data |
---|---|---|
d55e5bfc RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
3 | * Version 1.3.22 | |
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 | |
c370783e | 46 | #define SWIG_TypePrettyName SWIG_Python_TypePrettyName |
d55e5bfc RD |
47 | #define SWIG_TypeQuery SWIG_Python_TypeQuery |
48 | #define SWIG_TypeClientData SWIG_Python_TypeClientData | |
49 | #define SWIG_PackData SWIG_Python_PackData | |
50 | #define SWIG_UnpackData SWIG_Python_UnpackData | |
51 | ||
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 | ||
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 | |
83 | #else | |
84 | # define SWIGEXPORT(a) a | |
85 | # define SWIGIMPORT(a) a | |
86 | #endif | |
87 | ||
88 | #ifdef SWIG_GLOBAL | |
89 | # define SWIGRUNTIME(a) SWIGEXPORT(a) | |
90 | #else | |
91 | # define SWIGRUNTIME(a) static a | |
92 | #endif | |
93 | ||
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 { | |
102 | const char *name; | |
103 | swig_converter_func converter; | |
104 | const char *str; | |
105 | void *clientdata; | |
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 *); | |
c370783e | 117 | SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *); |
d55e5bfc RD |
118 | SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *); |
119 | SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); | |
120 | SWIGIMPORT(char *) SWIG_PackData(char *, void *, int); | |
121 | SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int); | |
122 | ||
123 | ||
124 | #ifdef __cplusplus | |
125 | } | |
126 | #endif | |
127 | ||
c370783e | 128 | |
d55e5bfc 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 | ||
d55e5bfc 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 | ||
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) | |
174 | ||
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) | |
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 | ||
187 | typedef double (*py_objasdbl_conv)(PyObject *obj); | |
188 | ||
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[]); | |
197 | ||
198 | ||
199 | /* Contract support */ | |
200 | ||
201 | #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else | |
202 | ||
203 | #ifdef __cplusplus | |
204 | } | |
205 | #endif | |
206 | ||
207 | ||
c370783e | 208 | |
d55e5bfc 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] | |
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] | |
d55e5bfc | 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] | |
070c48b4 | 242 | #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31] |
5e483524 RD |
243 | #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32] |
244 | #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33] | |
245 | #define SWIGTYPE_p_wxFileDialog swig_types[34] | |
070c48b4 RD |
246 | #define SWIGTYPE_p_wxTextEntryDialog swig_types[35] |
247 | #define SWIGTYPE_p_wxPrinter swig_types[36] | |
248 | #define SWIGTYPE_p_wxArrayInt swig_types[37] | |
249 | #define SWIGTYPE_p_wxEvtHandler swig_types[38] | |
250 | #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[39] | |
251 | #define SWIGTYPE_p_wxPyHtmlListBox swig_types[40] | |
252 | #define SWIGTYPE_p_wxPyVListBox swig_types[41] | |
253 | #define SWIGTYPE_p_wxRect swig_types[42] | |
254 | #define SWIGTYPE_p_char swig_types[43] | |
255 | #define SWIGTYPE_p_wxMiniFrame swig_types[44] | |
256 | #define SWIGTYPE_p_wxFrame swig_types[45] | |
257 | #define SWIGTYPE_p_wxPyPrintout swig_types[46] | |
258 | #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[47] | |
259 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[48] | |
260 | #define SWIGTYPE_p_wxStatusBar swig_types[49] | |
261 | #define SWIGTYPE_p_wxMDIParentFrame swig_types[50] | |
262 | #define SWIGTYPE_p_wxPoint swig_types[51] | |
263 | #define SWIGTYPE_p_wxObject swig_types[52] | |
09c21d3b RD |
264 | #define SWIGTYPE_p_wxMDIClientWindow swig_types[53] |
265 | #define SWIGTYPE_p_wxTipWindow swig_types[54] | |
266 | #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[55] | |
267 | #define SWIGTYPE_p_wxSashLayoutWindow swig_types[56] | |
268 | #define SWIGTYPE_p_wxSplitterWindow swig_types[57] | |
f5b96ee1 RD |
269 | #define SWIGTYPE_p_wxSplashScreenWindow swig_types[58] |
270 | #define SWIGTYPE_p_wxPyVScrolledWindow 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]; | |
d55e5bfc RD |
299 | |
300 | /* -------- TYPES TABLE (END) -------- */ | |
301 | ||
302 | ||
303 | /*----------------------------------------------- | |
304 | @(target):= _windows_.so | |
305 | ------------------------------------------------*/ | |
306 | #define SWIG_init init_windows_ | |
307 | ||
308 | #define SWIG_name "_windows_" | |
309 | ||
c370783e 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 | |
d55e5bfc RD |
315 | |
316 | #ifdef __cplusplus | |
317 | #define SWIGSTATICINLINE(a) static inline a | |
318 | #define SWIGSTATIC(a) static a | |
c370783e RD |
319 | #define swig_new_array(size,Type) (new Type[(size)]) |
320 | #define swig_delete(cptr) delete cptr | |
d55e5bfc | 321 | #define swig_delete_array(cptr) delete[] cptr |
c370783e 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) | |
d55e5bfc RD |
327 | |
328 | #else /* C case */ | |
329 | ||
330 | #define SWIGSTATICINLINE(a) static a | |
331 | #define SWIGSTATIC(a) static a | |
c370783e RD |
332 | #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type))) |
333 | #define swig_delete(cptr) free((char*)cptr) | |
d55e5bfc | 334 | #define swig_delete_array(cptr) free((char*)cptr) |
c370783e 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))) | |
d55e5bfc RD |
340 | |
341 | #endif /* __cplusplus */ | |
342 | ||
343 | ||
c370783e 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 | /*@@*/ | |
d55e5bfc RD |
368 | |
369 | ||
370 | #include "wx/wxPython/wxPython.h" | |
371 | #include "wx/wxPython/pyclasses.h" | |
372 | ||
373 | ||
374 | static const wxString wxPyEmptyString(wxEmptyString); | |
375 | static const wxString wxPyPanelNameStr(wxPanelNameStr); | |
376 | ||
377 | ||
378 | ||
379 | #include <limits.h> | |
380 | ||
381 | ||
c370783e RD |
382 | SWIGSTATICINLINE(int) |
383 | SWIG_CheckLongInRange(long value, long min_value, long max_value, | |
384 | const char *errmsg) | |
d55e5bfc | 385 | { |
c370783e 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); | |
d55e5bfc | 398 | } |
c370783e | 399 | return 0; |
d55e5bfc | 400 | } |
c370783e | 401 | return 1; |
d55e5bfc RD |
402 | } |
403 | ||
404 | ||
c370783e RD |
405 | // See my_fragments.i |
406 | SWIGSTATICINLINE(int) | |
407 | SWIG_AsVal_long(PyObject* obj, long* val) | |
d55e5bfc | 408 | { |
c370783e RD |
409 | if (PyNumber_Check(obj)) { |
410 | if (val) *val = PyInt_AsLong(obj); | |
411 | return 1; | |
412 | } | |
d55e5bfc 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); | |
d55e5bfc | 418 | } |
c370783e | 419 | return 0; |
d55e5bfc RD |
420 | } |
421 | ||
422 | ||
423 | #if INT_MAX != LONG_MAX | |
424 | SWIGSTATICINLINE(int) | |
c370783e | 425 | SWIG_AsVal_int(PyObject *obj, int *val) |
d55e5bfc | 426 | { |
c370783e 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; | |
d55e5bfc RD |
443 | } |
444 | #else | |
c370783e RD |
445 | SWIGSTATICINLINE(int) |
446 | SWIG_AsVal_int(PyObject *obj, int *val) | |
447 | { | |
448 | return SWIG_AsVal_long(obj,(long*)val); | |
449 | } | |
d55e5bfc RD |
450 | #endif |
451 | ||
452 | ||
453 | SWIGSTATICINLINE(int) | |
c370783e | 454 | SWIG_As_int(PyObject* obj) |
d55e5bfc | 455 | { |
c370783e 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)); | |
d55e5bfc | 464 | } |
c370783e | 465 | return v; |
d55e5bfc RD |
466 | } |
467 | ||
468 | ||
c370783e RD |
469 | SWIGSTATICINLINE(long) |
470 | SWIG_As_long(PyObject* obj) | |
d55e5bfc | 471 | { |
c370783e 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)); | |
d55e5bfc | 480 | } |
c370783e | 481 | return v; |
d55e5bfc RD |
482 | } |
483 | ||
c370783e RD |
484 | |
485 | SWIGSTATICINLINE(int) | |
486 | SWIG_Check_int(PyObject* obj) | |
487 | { | |
488 | return SWIG_AsVal_int(obj, (int*)0); | |
489 | } | |
d55e5bfc | 490 | |
c370783e RD |
491 | |
492 | SWIGSTATICINLINE(int) | |
493 | SWIG_Check_long(PyObject* obj) | |
d55e5bfc | 494 | { |
c370783e | 495 | return SWIG_AsVal_long(obj, (long*)0); |
d55e5bfc RD |
496 | } |
497 | ||
498 | ||
499 | SWIGSTATICINLINE(int) | |
c370783e | 500 | SWIG_AsVal_bool(PyObject *obj, bool *val) |
d55e5bfc | 501 | { |
c370783e 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; | |
d55e5bfc RD |
514 | return 1; |
515 | } | |
c370783e 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; | |
d55e5bfc RD |
536 | } |
537 | ||
c370783e RD |
538 | |
539 | SWIGSTATICINLINE(int) | |
540 | SWIG_Check_bool(PyObject* obj) | |
541 | { | |
542 | return SWIG_AsVal_bool(obj, (bool*)0); | |
543 | } | |
d55e5bfc | 544 | |
c370783e RD |
545 | |
546 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
d55e5bfc RD |
547 | PyObject* o2; |
548 | PyObject* o3; | |
c370783e | 549 | |
d55e5bfc RD |
550 | if (!target) { |
551 | target = o; | |
552 | } else if (target == Py_None) { | |
553 | Py_DECREF(Py_None); | |
554 | target = o; | |
629e65c2 RD |
555 | } else { |
556 | if (!PyTuple_Check(target)) { | |
557 | o2 = target; | |
558 | target = PyTuple_New(1); | |
559 | PyTuple_SetItem(target, 0, o2); | |
560 | } | |
d55e5bfc 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; | |
629e65c2 | 570 | } |
d55e5bfc RD |
571 | |
572 | ||
c370783e RD |
573 | |
574 | // See my_fragments.i | |
575 | SWIGSTATICINLINE(int) | |
576 | SWIG_AsVal_double(PyObject *obj, double* val) | |
d55e5bfc | 577 | { |
c370783e RD |
578 | if (PyNumber_Check(obj)) { |
579 | if (val) *val = PyFloat_AsDouble(obj); | |
580 | return 1; | |
581 | } | |
d55e5bfc 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); | |
d55e5bfc | 587 | } |
c370783e | 588 | return 0; |
d55e5bfc RD |
589 | } |
590 | ||
591 | ||
c370783e RD |
592 | SWIGSTATICINLINE(double) |
593 | SWIG_As_double(PyObject* obj) | |
d55e5bfc | 594 | { |
c370783e 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)); | |
d55e5bfc | 603 | } |
c370783e 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); | |
d55e5bfc RD |
612 | } |
613 | ||
614 | static const wxString wxPyFrameNameStr(wxFrameNameStr); | |
615 | static const wxString wxPyDialogNameStr(wxDialogNameStr); | |
616 | static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr); | |
617 | static const wxString wxPyToolBarNameStr(wxToolBarNameStr); | |
618 | ||
619 | ||
620 | wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){ | |
621 | wxRect r; | |
622 | self->GetFieldRect(i, r); | |
623 | return r; | |
624 | } | |
625 | static const wxString wxPySplitterNameStr(wxT("splitter")); | |
626 | static const wxString wxPySashNameStr(wxT("sashWindow")); | |
627 | static const wxString wxPySashLayoutNameStr(wxT("layoutWindow")); | |
628 | ||
629 | #include <wx/popupwin.h> | |
630 | ||
631 | ||
632 | class wxPopupWindow : public wxWindow { | |
633 | public: | |
634 | wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); } | |
635 | wxPopupWindow() { wxPyRaiseNotImplemented(); } | |
636 | }; | |
637 | ||
638 | class wxPyPopupTransientWindow : public wxPopupWindow | |
639 | { | |
640 | public: | |
641 | wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); } | |
642 | wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); } | |
643 | }; | |
644 | ||
645 | ||
646 | #include <wx/tipwin.h> | |
647 | ||
648 | wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){ | |
649 | return new wxTipWindow(parent, text, maxLength, NULL, rectBound); | |
650 | } | |
651 | ||
652 | #include <wx/tipwin.h> | |
653 | ||
654 | ||
655 | #include <wx/vscroll.h> | |
656 | ||
657 | ||
658 | class wxPyVScrolledWindow : public wxVScrolledWindow | |
659 | { | |
660 | DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow); | |
661 | public: | |
662 | wxPyVScrolledWindow() : wxVScrolledWindow() {} | |
663 | ||
664 | wxPyVScrolledWindow(wxWindow *parent, | |
665 | wxWindowID id = wxID_ANY, | |
666 | const wxPoint& pos = wxDefaultPosition, | |
667 | const wxSize& size = wxDefaultSize, | |
668 | long style = 0, | |
669 | const wxString& name = wxPyPanelNameStr) | |
670 | : wxVScrolledWindow(parent, id, pos, size, style, name) | |
671 | {} | |
672 | ||
673 | // Overridable virtuals | |
674 | ||
675 | // this function must be overridden in the derived class and it should | |
676 | // return the height of the given line in pixels | |
677 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight); | |
678 | ||
679 | ||
680 | // this function doesn't have to be overridden but it may be useful to do | |
681 | // it if calculating the lines heights is a relatively expensive operation | |
682 | // as it gives the user code a possibility to calculate several of them at | |
683 | // once | |
684 | // | |
685 | // OnGetLinesHint() is normally called just before OnGetLineHeight() but you | |
686 | // shouldn't rely on the latter being called for all lines in the interval | |
687 | // specified here. It is also possible that OnGetLineHeight() will be | |
688 | // called for the lines outside of this interval, so this is really just a | |
689 | // hint, not a promise. | |
690 | // | |
691 | // finally note that lineMin is inclusive, while lineMax is exclusive, as | |
692 | // usual | |
693 | DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint); | |
694 | ||
695 | ||
696 | // when the number of lines changes, we try to estimate the total height | |
697 | // of all lines which is a rather expensive operation in terms of lines | |
698 | // access, so if the user code may estimate the average height | |
699 | // better/faster than we do, it should override this function to implement | |
700 | // its own logic | |
701 | // | |
702 | // this function should return the best guess for the total height it may | |
703 | // make | |
704 | DEC_PYCALLBACK_COORD_const(EstimateTotalHeight); | |
705 | ||
706 | ||
707 | // Also expose some other interesting protected methods | |
708 | ||
709 | ||
710 | // find the index of the line we need to show at the top of the window such | |
711 | // that the last (fully or partially) visible line is the given one | |
b411df4a | 712 | size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false) |
d55e5bfc RD |
713 | { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); } |
714 | ||
715 | // get the total height of the lines between lineMin (inclusive) and | |
716 | // lineMax (exclusive) | |
717 | wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const | |
718 | { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); } | |
719 | ||
720 | ||
721 | PYPRIVATE; | |
722 | }; | |
723 | ||
724 | IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow); | |
725 | ||
726 | IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight); | |
727 | IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint); | |
728 | IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight); | |
729 | ||
730 | ||
c370783e RD |
731 | // See my_fragments.i |
732 | SWIGSTATICINLINE(int) | |
733 | SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val) | |
d55e5bfc | 734 | { |
c370783e RD |
735 | long v = 0; |
736 | if (SWIG_AsVal_long(obj, &v) && v < 0) { | |
737 | PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type"); | |
738 | return 0; | |
d55e5bfc | 739 | } |
c370783e RD |
740 | else if (val) |
741 | *val = (unsigned long)v; | |
742 | return 1; | |
d55e5bfc RD |
743 | } |
744 | ||
745 | ||
c370783e RD |
746 | SWIGSTATICINLINE(unsigned long) |
747 | SWIG_As_unsigned_SS_long(PyObject* obj) | |
d55e5bfc | 748 | { |
c370783e RD |
749 | unsigned long v; |
750 | if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) { | |
751 | /* | |
752 | this is needed to make valgrind/purify happier. the other | |
753 | solution is throw an exception, but since this code should work | |
754 | with plain C .... | |
755 | */ | |
756 | memset((void*)&v, 0, sizeof(unsigned long)); | |
d55e5bfc | 757 | } |
c370783e RD |
758 | return v; |
759 | } | |
760 | ||
761 | ||
762 | SWIGSTATICINLINE(int) | |
763 | SWIG_Check_unsigned_SS_long(PyObject* obj) | |
764 | { | |
765 | return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0); | |
d55e5bfc RD |
766 | } |
767 | ||
768 | ||
769 | SWIGSTATICINLINE(PyObject* ) | |
c370783e | 770 | SWIG_From_unsigned_SS_long(unsigned long value) |
d55e5bfc RD |
771 | { |
772 | return (value > LONG_MAX) ? | |
773 | PyLong_FromUnsignedLong(value) | |
c370783e | 774 | : PyInt_FromLong(swig_numeric_cast(value,long)); |
d55e5bfc RD |
775 | } |
776 | ||
777 | ||
778 | #include <wx/vlbox.h> | |
779 | ||
780 | static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr); | |
781 | ||
782 | class wxPyVListBox : public wxVListBox | |
783 | { | |
784 | DECLARE_ABSTRACT_CLASS(wxPyVListBox); | |
785 | public: | |
786 | wxPyVListBox() : wxVListBox() {} | |
787 | ||
788 | wxPyVListBox(wxWindow *parent, | |
789 | wxWindowID id = wxID_ANY, | |
790 | const wxPoint& pos = wxDefaultPosition, | |
791 | const wxSize& size = wxDefaultSize, | |
792 | long style = 0, | |
793 | const wxString& name = wxPyVListBoxNameStr) | |
794 | : wxVListBox(parent, id, pos, size, style, name) | |
795 | {} | |
796 | ||
797 | // Overridable virtuals | |
798 | ||
799 | // the derived class must implement this function to actually draw the item | |
800 | // with the given index on the provided DC | |
801 | // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0; | |
802 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem); | |
803 | ||
804 | ||
805 | // the derived class must implement this method to return the height of the | |
806 | // specified item | |
807 | // virtual wxCoord OnMeasureItem(size_t n) const = 0; | |
808 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem); | |
809 | ||
810 | ||
811 | // this method may be used to draw separators between the lines; note that | |
812 | // the rectangle may be modified, typically to deflate it a bit before | |
813 | // passing to OnDrawItem() | |
814 | // | |
815 | // the base class version doesn't do anything | |
816 | // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const; | |
817 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator); | |
818 | ||
819 | ||
820 | // this method is used to draw the items background and, maybe, a border | |
821 | // around it | |
822 | // | |
823 | // the base class version implements a reasonable default behaviour which | |
824 | // consists in drawing the selected item with the standard background | |
825 | // colour and drawing a border around the item if it is either selected or | |
826 | // current | |
827 | // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const; | |
828 | DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground); | |
829 | ||
830 | ||
831 | PYPRIVATE; | |
832 | }; | |
833 | ||
834 | IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox); | |
835 | ||
836 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem); | |
837 | IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem); | |
838 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator); | |
839 | IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground); | |
840 | ||
841 | ||
09c21d3b RD |
842 | PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){ |
843 | unsigned long cookie = 0; | |
844 | int selected = self->GetFirstSelected(cookie); | |
845 | bool blocked = wxPyBeginBlockThreads(); | |
846 | PyObject* tup = PyTuple_New(2); | |
847 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected)); | |
848 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie)); | |
849 | wxPyEndBlockThreads(blocked); | |
850 | return tup; | |
851 | } | |
852 | PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){ | |
853 | int selected = self->GetNextSelected(cookie); | |
854 | bool blocked = wxPyBeginBlockThreads(); | |
855 | PyObject* tup = PyTuple_New(2); | |
856 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected)); | |
857 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie)); | |
858 | wxPyEndBlockThreads(blocked); | |
859 | return tup; | |
860 | } | |
d55e5bfc RD |
861 | |
862 | #include <wx/htmllbox.h> | |
863 | ||
864 | ||
865 | class wxPyHtmlListBox : public wxHtmlListBox | |
866 | { | |
867 | DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox); | |
868 | public: | |
869 | wxPyHtmlListBox() : wxHtmlListBox() {} | |
870 | ||
871 | wxPyHtmlListBox(wxWindow *parent, | |
872 | wxWindowID id = wxID_ANY, | |
873 | const wxPoint& pos = wxDefaultPosition, | |
874 | const wxSize& size = wxDefaultSize, | |
875 | long style = 0, | |
876 | const wxString& name = wxPyVListBoxNameStr) | |
877 | : wxHtmlListBox(parent, id, pos, size, style, name) | |
878 | {} | |
879 | ||
880 | // Overridable virtuals | |
881 | ||
882 | // this method must be implemented in the derived class and should return | |
883 | // the body (i.e. without <html>) of the HTML for the given item | |
884 | DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem); | |
885 | ||
886 | // this function may be overridden to decorate HTML returned by OnGetItem() | |
887 | DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup); | |
888 | ||
889 | // TODO: | |
890 | // // this method allows to customize the selection appearance: it may be used | |
891 | // // to specify the colour of the text which normally has the given colour | |
892 | // // colFg when it is inside the selection | |
893 | // // | |
894 | // // by default, the original colour is not used at all and all text has the | |
895 | // // same (default for this system) colour inside selection | |
896 | // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const; | |
897 | ||
898 | // // this is the same as GetSelectedTextColour() but allows to customize the | |
899 | // // background colour -- this is even more rarely used as you can change it | |
900 | // // globally using SetSelectionBackground() | |
901 | // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const; | |
902 | ||
903 | ||
904 | PYPRIVATE; | |
905 | }; | |
906 | ||
907 | ||
908 | IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox) | |
909 | ||
910 | IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem); | |
911 | IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup); | |
912 | ||
913 | ||
914 | ||
915 | ||
916 | ||
b411df4a RD |
917 | #ifndef wxHAS_TASK_BAR_ICON |
918 | // implement dummy classes for platforms that don't have it | |
d55e5bfc RD |
919 | |
920 | class wxTaskBarIcon : public wxEvtHandler | |
921 | { | |
922 | public: | |
923 | wxTaskBarIcon() { wxPyRaiseNotImplemented(); } | |
924 | }; | |
09c21d3b | 925 | |
d55e5bfc RD |
926 | |
927 | class wxTaskBarIconEvent : public wxEvent | |
928 | { | |
929 | public: | |
930 | wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *) | |
931 | { wxPyRaiseNotImplemented(); } | |
932 | virtual wxEvent* Clone() const { return NULL; } | |
b411df4a RD |
933 | bool IsOk() const { return false; } |
934 | bool IsIconInstalled() const { return false; } | |
935 | bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; } | |
936 | bool RemoveIcon() { return false; } | |
937 | bool PopupMenu(wxMenu *menu) { return false; } | |
d55e5bfc RD |
938 | }; |
939 | ||
940 | enum { | |
941 | wxEVT_TASKBAR_MOVE = 0, | |
942 | wxEVT_TASKBAR_LEFT_DOWN = 0, | |
943 | wxEVT_TASKBAR_LEFT_UP = 0, | |
944 | wxEVT_TASKBAR_RIGHT_DOWN = 0, | |
945 | wxEVT_TASKBAR_RIGHT_UP = 0, | |
946 | wxEVT_TASKBAR_LEFT_DCLICK = 0, | |
947 | wxEVT_TASKBAR_RIGHT_DCLICK = 0, | |
948 | }; | |
09c21d3b RD |
949 | |
950 | ||
951 | #else | |
5e483524 RD |
952 | // Otherwise make a class that can virtualize CreatePopupMenu |
953 | class wxPyTaskBarIcon : public wxTaskBarIcon | |
954 | { | |
955 | DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon); | |
956 | public: | |
957 | wxPyTaskBarIcon() : wxTaskBarIcon() | |
958 | {} | |
09c21d3b | 959 | |
5e483524 RD |
960 | wxMenu* CreatePopupMenu() { |
961 | wxMenu *rval = NULL; | |
962 | bool found; | |
963 | bool blocked = wxPyBeginBlockThreads(); | |
964 | if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) { | |
965 | PyObject* ro; | |
966 | wxMenu* ptr; | |
967 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); | |
968 | if (ro) { | |
969 | if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu"))) | |
970 | rval = ptr; | |
971 | Py_DECREF(ro); | |
972 | } | |
973 | } | |
974 | wxPyEndBlockThreads(blocked); | |
975 | if (! found) | |
976 | rval = wxTaskBarIcon::CreatePopupMenu(); | |
977 | return rval; | |
978 | } | |
d55e5bfc | 979 | |
5e483524 RD |
980 | PYPRIVATE; |
981 | }; | |
d55e5bfc | 982 | |
5e483524 | 983 | IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon); |
d55e5bfc | 984 | |
5e483524 RD |
985 | #endif |
986 | ||
987 | void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){ | |
988 | self->RemoveIcon(); | |
989 | delete self; | |
d55e5bfc RD |
990 | } |
991 | static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr); | |
992 | static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr); | |
993 | static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr); | |
994 | static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr); | |
995 | static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr); | |
996 | static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr); | |
997 | PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){ | |
998 | wxArrayString arr; | |
999 | self->GetFilenames(arr); | |
1000 | return wxArrayString2PyList_helper(arr); | |
1001 | } | |
1002 | PyObject *wxFileDialog_GetPaths(wxFileDialog *self){ | |
1003 | wxArrayString arr; | |
1004 | self->GetPaths(arr); | |
1005 | return wxArrayString2PyList_helper(arr); | |
1006 | } | |
1007 | PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){ | |
1008 | return wxArrayInt2PyList_helper(self->GetSelections()); | |
1009 | } | |
1010 | wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){ | |
1011 | return new wxSingleChoiceDialog(parent, message, caption, | |
1012 | choices, choices_array, NULL, style, pos); | |
1013 | } | |
070c48b4 | 1014 | static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr); |
d55e5bfc RD |
1015 | |
1016 | #include <wx/mdi.h> | |
1017 | ||
1018 | // C++ version of Python aware wxWindow | |
1019 | class wxPyWindow : public wxWindow | |
1020 | { | |
1021 | DECLARE_DYNAMIC_CLASS(wxPyWindow) | |
1022 | public: | |
1023 | wxPyWindow() : wxWindow() {} | |
1024 | wxPyWindow(wxWindow* parent, const wxWindowID id, | |
1025 | const wxPoint& pos = wxDefaultPosition, | |
1026 | const wxSize& size = wxDefaultSize, | |
1027 | long style = 0, | |
1028 | const wxString& name = wxPyPanelNameStr) | |
1029 | : wxWindow(parent, id, pos, size, style, name) {} | |
1030 | ||
a5ee0656 | 1031 | void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); } |
d55e5bfc RD |
1032 | |
1033 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
1034 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
1035 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
1036 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
1037 | ||
1038 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
1039 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
1040 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
1041 | ||
1042 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
1043 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
1044 | ||
1045 | DEC_PYCALLBACK__(InitDialog); | |
1046 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
1047 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
1048 | DEC_PYCALLBACK_BOOL_(Validate); | |
1049 | ||
1050 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
1051 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
1052 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
1053 | ||
1054 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
1055 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
1056 | ||
a5ee0656 | 1057 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
d55e5bfc | 1058 | DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground); |
a5ee0656 | 1059 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
d55e5bfc RD |
1060 | |
1061 | PYPRIVATE; | |
1062 | }; | |
1063 | ||
1064 | IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow); | |
1065 | ||
1066 | IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow); | |
1067 | IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize); | |
1068 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize); | |
1069 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize); | |
1070 | ||
1071 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize); | |
1072 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize); | |
1073 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition); | |
1074 | ||
1075 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize); | |
1076 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize); | |
1077 | ||
1078 | IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog); | |
1079 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow); | |
1080 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow); | |
1081 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate); | |
1082 | ||
1083 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus); | |
1084 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard); | |
1085 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize); | |
1086 | ||
1087 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild); | |
1088 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild); | |
1089 | ||
a5ee0656 | 1090 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours); |
d55e5bfc | 1091 | IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground); |
a5ee0656 | 1092 | IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes); |
d55e5bfc RD |
1093 | |
1094 | ||
1095 | // C++ version of Python aware wxPanel | |
1096 | class wxPyPanel : public wxPanel | |
1097 | { | |
1098 | DECLARE_DYNAMIC_CLASS(wxPyPanel) | |
1099 | public: | |
1100 | wxPyPanel() : wxPanel() {} | |
1101 | wxPyPanel(wxWindow* parent, const wxWindowID id, | |
1102 | const wxPoint& pos = wxDefaultPosition, | |
1103 | const wxSize& size = wxDefaultSize, | |
1104 | long style = 0, | |
1105 | const wxString& name = wxPyPanelNameStr) | |
1106 | : wxPanel(parent, id, pos, size, style, name) {} | |
1107 | ||
a5ee0656 RD |
1108 | void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); } |
1109 | ||
d55e5bfc RD |
1110 | |
1111 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
1112 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
1113 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
1114 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
1115 | ||
1116 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
1117 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
1118 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
1119 | ||
1120 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
1121 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
1122 | ||
1123 | DEC_PYCALLBACK__(InitDialog); | |
1124 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
1125 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
1126 | DEC_PYCALLBACK_BOOL_(Validate); | |
1127 | ||
1128 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
1129 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
1130 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
1131 | ||
1132 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
1133 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
1134 | ||
a5ee0656 | 1135 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
d55e5bfc | 1136 | DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground); |
a5ee0656 | 1137 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
d55e5bfc RD |
1138 | |
1139 | PYPRIVATE; | |
1140 | }; | |
1141 | ||
1142 | IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel); | |
1143 | ||
1144 | IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow); | |
1145 | IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize); | |
1146 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize); | |
1147 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize); | |
1148 | ||
1149 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize); | |
1150 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize); | |
1151 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition); | |
1152 | ||
1153 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize); | |
1154 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize); | |
1155 | ||
1156 | IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog); | |
1157 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow); | |
1158 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow); | |
1159 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate); | |
1160 | ||
1161 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus); | |
1162 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard); | |
1163 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize); | |
1164 | ||
1165 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild); | |
1166 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild); | |
1167 | ||
a5ee0656 | 1168 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours); |
d55e5bfc | 1169 | IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground); |
a5ee0656 | 1170 | IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes); |
d55e5bfc | 1171 | |
a5ee0656 | 1172 | |
d55e5bfc RD |
1173 | // C++ version of Python aware wxScrolledWindow |
1174 | class wxPyScrolledWindow : public wxScrolledWindow | |
1175 | { | |
1176 | DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow) | |
1177 | public: | |
1178 | wxPyScrolledWindow() : wxScrolledWindow() {} | |
1179 | wxPyScrolledWindow(wxWindow* parent, const wxWindowID id, | |
1180 | const wxPoint& pos = wxDefaultPosition, | |
1181 | const wxSize& size = wxDefaultSize, | |
1182 | long style = 0, | |
1183 | const wxString& name = wxPyPanelNameStr) | |
1184 | : wxScrolledWindow(parent, id, pos, size, style, name) {} | |
1185 | ||
a5ee0656 | 1186 | void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); } |
d55e5bfc RD |
1187 | |
1188 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
1189 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
1190 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
1191 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
1192 | ||
1193 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
1194 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
1195 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
1196 | ||
1197 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
1198 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
1199 | ||
1200 | DEC_PYCALLBACK__(InitDialog); | |
1201 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
1202 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
1203 | DEC_PYCALLBACK_BOOL_(Validate); | |
1204 | ||
1205 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
1206 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
1207 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
1208 | ||
1209 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
1210 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
1211 | ||
a5ee0656 | 1212 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
d55e5bfc | 1213 | DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground); |
a5ee0656 | 1214 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
d55e5bfc RD |
1215 | |
1216 | PYPRIVATE; | |
1217 | }; | |
1218 | ||
1219 | IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow); | |
1220 | ||
1221 | IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow); | |
1222 | IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize); | |
1223 | IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize); | |
1224 | IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize); | |
1225 | ||
1226 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize); | |
1227 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize); | |
1228 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition); | |
1229 | ||
1230 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize); | |
1231 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize); | |
1232 | ||
1233 | IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog); | |
1234 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow); | |
1235 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow); | |
1236 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate); | |
1237 | ||
1238 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus); | |
1239 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard); | |
1240 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize); | |
1241 | ||
1242 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild); | |
1243 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild); | |
1244 | ||
a5ee0656 | 1245 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours); |
d55e5bfc | 1246 | IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground); |
a5ee0656 RD |
1247 | IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes); |
1248 | ||
d55e5bfc RD |
1249 | |
1250 | ||
1251 | #include "wx/wxPython/printfw.h" | |
1252 | ||
1253 | ||
1254 | static const wxString wxPyPrintoutTitleStr(wxT("Printout")); | |
1255 | static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas")); | |
1256 | ||
1257 | ||
070c48b4 | 1258 | IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout); |
d55e5bfc RD |
1259 | |
1260 | // Since this one would be tough and ugly to do with the Macros... | |
1261 | void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
b411df4a | 1262 | bool hadErr = false; |
d55e5bfc RD |
1263 | bool found; |
1264 | ||
1265 | bool blocked = wxPyBeginBlockThreads(); | |
1266 | if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) { | |
1267 | PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); | |
1268 | if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) { | |
1269 | PyObject* val; | |
1270 | ||
1271 | val = PyTuple_GetItem(result, 0); | |
1272 | if (PyInt_Check(val)) *minPage = PyInt_AsLong(val); | |
b411df4a | 1273 | else hadErr = true; |
d55e5bfc RD |
1274 | |
1275 | val = PyTuple_GetItem(result, 1); | |
1276 | if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val); | |
b411df4a | 1277 | else hadErr = true; |
d55e5bfc RD |
1278 | |
1279 | val = PyTuple_GetItem(result, 2); | |
1280 | if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val); | |
b411df4a | 1281 | else hadErr = true; |
d55e5bfc RD |
1282 | |
1283 | val = PyTuple_GetItem(result, 3); | |
1284 | if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val); | |
b411df4a | 1285 | else hadErr = true; |
d55e5bfc RD |
1286 | } |
1287 | else | |
b411df4a | 1288 | hadErr = true; |
d55e5bfc RD |
1289 | |
1290 | if (hadErr) { | |
1291 | PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers."); | |
1292 | PyErr_Print(); | |
1293 | } | |
1294 | Py_DECREF(result); | |
1295 | } | |
1296 | wxPyEndBlockThreads(blocked); | |
1297 | if (! found) | |
1298 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
1299 | } | |
1300 | ||
1301 | void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
1302 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
1303 | } | |
1304 | ||
1305 | ||
1306 | IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument); | |
1307 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument); | |
1308 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting); | |
1309 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting); | |
1310 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting); | |
1311 | IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage); | |
1312 | IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage); | |
1313 | ||
1314 | ||
1315 | ||
1316 | ||
1317 | ||
b411df4a RD |
1318 | #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \ |
1319 | bool CBNAME(wxPreviewCanvas* a, wxDC& b); \ | |
d55e5bfc RD |
1320 | bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b) |
1321 | ||
1322 | ||
b411df4a RD |
1323 | #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \ |
1324 | bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
1325 | bool rval=false; \ | |
1326 | bool found; \ | |
1327 | bool blocked = wxPyBeginBlockThreads(); \ | |
1328 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ | |
1329 | PyObject* win = wxPyMake_wxObject(a,false); \ | |
1330 | PyObject* dc = wxPyMake_wxObject(&b,false); \ | |
1331 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \ | |
1332 | Py_DECREF(win); \ | |
1333 | Py_DECREF(dc); \ | |
1334 | } \ | |
1335 | wxPyEndBlockThreads(blocked); \ | |
1336 | if (! found) \ | |
1337 | rval = PCLASS::CBNAME(a, b); \ | |
1338 | return rval; \ | |
1339 | } \ | |
1340 | bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
1341 | return PCLASS::CBNAME(a, b); \ | |
d55e5bfc RD |
1342 | } |
1343 | ||
1344 | ||
1345 | ||
1346 | ||
1347 | class wxPyPrintPreview : public wxPrintPreview | |
1348 | { | |
1349 | DECLARE_CLASS(wxPyPrintPreview) | |
1350 | public: | |
1351 | wxPyPrintPreview(wxPyPrintout* printout, | |
1352 | wxPyPrintout* printoutForPrinting, | |
1353 | wxPrintDialogData* data=NULL) | |
1354 | : wxPrintPreview(printout, printoutForPrinting, data) | |
1355 | {} | |
1356 | wxPyPrintPreview(wxPyPrintout* printout, | |
1357 | wxPyPrintout* printoutForPrinting, | |
1358 | wxPrintData* data=NULL) | |
1359 | : wxPrintPreview(printout, printoutForPrinting, data) | |
1360 | {} | |
1361 | ||
1362 | DEC_PYCALLBACK_BOOL_INT(SetCurrentPage); | |
1363 | DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage); | |
1364 | DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage); | |
1365 | DEC_PYCALLBACK_BOOL_INT(RenderPage); | |
1366 | DEC_PYCALLBACK_VOID_INT(SetZoom); | |
1367 | DEC_PYCALLBACK_BOOL_BOOL(Print); | |
1368 | DEC_PYCALLBACK_VOID_(DetermineScaling); | |
1369 | ||
1370 | PYPRIVATE; | |
1371 | }; | |
1372 | ||
1373 | // Stupid renamed classes... Fix this in 2.5... | |
1374 | #if defined(__WXMSW__) | |
1375 | IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview ); | |
1376 | #elif defined(__WXMAC__) | |
1377 | IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview ); | |
1378 | #else | |
1379 | IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview ); | |
1380 | #endif | |
1381 | ||
1382 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage); | |
1383 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage); | |
1384 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage); | |
1385 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage); | |
1386 | IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom); | |
1387 | IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print); | |
1388 | IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling); | |
1389 | ||
1390 | ||
1391 | class wxPyPreviewFrame : public wxPreviewFrame | |
1392 | { | |
1393 | DECLARE_CLASS(wxPyPreviewFrame); | |
1394 | public: | |
1395 | wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent, | |
1396 | const wxString& title, | |
1397 | const wxPoint& pos = wxDefaultPosition, | |
1398 | const wxSize& size = wxDefaultSize, | |
1399 | long style = wxDEFAULT_FRAME_STYLE, | |
1400 | const wxString& name = wxPyFrameNameStr) | |
1401 | : wxPreviewFrame(preview, parent, title, pos, size, style, name) | |
1402 | {} | |
1403 | ||
1404 | void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; } | |
1405 | void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; } | |
1406 | ||
1407 | DEC_PYCALLBACK_VOID_(Initialize); | |
1408 | DEC_PYCALLBACK_VOID_(CreateCanvas); | |
1409 | DEC_PYCALLBACK_VOID_(CreateControlBar); | |
1410 | ||
1411 | PYPRIVATE; | |
1412 | }; | |
1413 | ||
1414 | IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame); | |
1415 | ||
1416 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize); | |
1417 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas); | |
1418 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar); | |
1419 | ||
1420 | ||
1421 | class wxPyPreviewControlBar : public wxPreviewControlBar | |
1422 | { | |
1423 | DECLARE_CLASS(wxPyPreviewControlBar); | |
1424 | public: | |
1425 | wxPyPreviewControlBar(wxPrintPreview *preview, | |
1426 | long buttons, | |
1427 | wxWindow *parent, | |
1428 | const wxPoint& pos = wxDefaultPosition, | |
1429 | const wxSize& size = wxDefaultSize, | |
1430 | long style = 0, | |
1431 | const wxString& name = wxPyPanelNameStr) | |
1432 | : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name) | |
1433 | {} | |
1434 | ||
1435 | void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; } | |
1436 | ||
1437 | DEC_PYCALLBACK_VOID_(CreateButtons); | |
1438 | DEC_PYCALLBACK_VOID_INT(SetZoomControl); | |
1439 | ||
1440 | PYPRIVATE; | |
1441 | }; | |
1442 | ||
1443 | IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar); | |
1444 | IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons); | |
1445 | IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl); | |
1446 | ||
1447 | #ifdef __cplusplus | |
1448 | extern "C" { | |
1449 | #endif | |
c370783e | 1450 | static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
1451 | PyObject *resultobj; |
1452 | wxWindow *arg1 = (wxWindow *) 0 ; | |
1453 | int arg2 = (int) (int)-1 ; | |
1454 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
1455 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1456 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1457 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1458 | long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
1459 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
1460 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
1461 | wxPanel *result; | |
1462 | wxPoint temp3 ; | |
1463 | wxSize temp4 ; | |
b411df4a | 1464 | bool temp6 = false ; |
d55e5bfc RD |
1465 | PyObject * obj0 = 0 ; |
1466 | PyObject * obj1 = 0 ; | |
1467 | PyObject * obj2 = 0 ; | |
1468 | PyObject * obj3 = 0 ; | |
1469 | PyObject * obj4 = 0 ; | |
1470 | PyObject * obj5 = 0 ; | |
1471 | char *kwnames[] = { | |
1472 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1473 | }; | |
1474 | ||
1475 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
1476 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
1477 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1478 | if (obj1) { | |
c370783e | 1479 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
1480 | if (PyErr_Occurred()) SWIG_fail; |
1481 | } | |
1482 | if (obj2) { | |
1483 | { | |
1484 | arg3 = &temp3; | |
1485 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1486 | } | |
1487 | } | |
1488 | if (obj3) { | |
1489 | { | |
1490 | arg4 = &temp4; | |
1491 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1492 | } | |
1493 | } | |
1494 | if (obj4) { | |
c370783e | 1495 | arg5 = (long)SWIG_As_long(obj4); |
d55e5bfc RD |
1496 | if (PyErr_Occurred()) SWIG_fail; |
1497 | } | |
1498 | if (obj5) { | |
1499 | { | |
1500 | arg6 = wxString_in_helper(obj5); | |
1501 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 1502 | temp6 = true; |
d55e5bfc RD |
1503 | } |
1504 | } | |
1505 | { | |
0439c23b | 1506 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
1507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1508 | result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
1509 | ||
1510 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 1511 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 1512 | } |
b0f7404b | 1513 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1); |
d55e5bfc RD |
1514 | { |
1515 | if (temp6) | |
1516 | delete arg6; | |
1517 | } | |
1518 | return resultobj; | |
1519 | fail: | |
1520 | { | |
1521 | if (temp6) | |
1522 | delete arg6; | |
1523 | } | |
1524 | return NULL; | |
1525 | } | |
1526 | ||
1527 | ||
c370783e | 1528 | static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
1529 | PyObject *resultobj; |
1530 | wxPanel *result; | |
1531 | char *kwnames[] = { | |
1532 | NULL | |
1533 | }; | |
1534 | ||
1535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail; | |
1536 | { | |
0439c23b | 1537 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
1538 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1539 | result = (wxPanel *)new wxPanel(); | |
1540 | ||
1541 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 1542 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 1543 | } |
b0f7404b | 1544 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1); |
d55e5bfc RD |
1545 | return resultobj; |
1546 | fail: | |
1547 | return NULL; | |
1548 | } | |
1549 | ||
1550 | ||
c370783e | 1551 | static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
1552 | PyObject *resultobj; |
1553 | wxPanel *arg1 = (wxPanel *) 0 ; | |
1554 | wxWindow *arg2 = (wxWindow *) 0 ; | |
1555 | int arg3 = (int) (int)-1 ; | |
1556 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
1557 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1558 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1559 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1560 | long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
1561 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
1562 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
1563 | bool result; | |
1564 | wxPoint temp4 ; | |
1565 | wxSize temp5 ; | |
b411df4a | 1566 | bool temp7 = false ; |
d55e5bfc RD |
1567 | PyObject * obj0 = 0 ; |
1568 | PyObject * obj1 = 0 ; | |
1569 | PyObject * obj2 = 0 ; | |
1570 | PyObject * obj3 = 0 ; | |
1571 | PyObject * obj4 = 0 ; | |
1572 | PyObject * obj5 = 0 ; | |
1573 | PyObject * obj6 = 0 ; | |
1574 | char *kwnames[] = { | |
1575 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1576 | }; | |
1577 | ||
1578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
1579 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel, | |
1580 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1581 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
1582 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1583 | if (obj2) { | |
c370783e | 1584 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
1585 | if (PyErr_Occurred()) SWIG_fail; |
1586 | } | |
1587 | if (obj3) { | |
1588 | { | |
1589 | arg4 = &temp4; | |
1590 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1591 | } | |
1592 | } | |
1593 | if (obj4) { | |
1594 | { | |
1595 | arg5 = &temp5; | |
1596 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1597 | } | |
1598 | } | |
1599 | if (obj5) { | |
c370783e | 1600 | arg6 = (long)SWIG_As_long(obj5); |
d55e5bfc RD |
1601 | if (PyErr_Occurred()) SWIG_fail; |
1602 | } | |
1603 | if (obj6) { | |
1604 | { | |
1605 | arg7 = wxString_in_helper(obj6); | |
1606 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 1607 | temp7 = true; |
d55e5bfc RD |
1608 | } |
1609 | } | |
1610 | { | |
1611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1612 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
1613 | ||
1614 | wxPyEndAllowThreads(__tstate); | |
1615 | if (PyErr_Occurred()) SWIG_fail; | |
1616 | } | |
1617 | { | |
1618 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1619 | } | |
1620 | { | |
1621 | if (temp7) | |
1622 | delete arg7; | |
1623 | } | |
1624 | return resultobj; | |
1625 | fail: | |
1626 | { | |
1627 | if (temp7) | |
1628 | delete arg7; | |
1629 | } | |
1630 | return NULL; | |
1631 | } | |
1632 | ||
1633 | ||
c370783e | 1634 | static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
1635 | PyObject *resultobj; |
1636 | wxPanel *arg1 = (wxPanel *) 0 ; | |
1637 | PyObject * obj0 = 0 ; | |
1638 | char *kwnames[] = { | |
1639 | (char *) "self", NULL | |
1640 | }; | |
1641 | ||
1642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail; | |
1643 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel, | |
1644 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1645 | { | |
1646 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1647 | (arg1)->InitDialog(); | |
1648 | ||
1649 | wxPyEndAllowThreads(__tstate); | |
1650 | if (PyErr_Occurred()) SWIG_fail; | |
1651 | } | |
1652 | Py_INCREF(Py_None); resultobj = Py_None; | |
1653 | return resultobj; | |
1654 | fail: | |
1655 | return NULL; | |
1656 | } | |
1657 | ||
1658 | ||
c370783e | 1659 | static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
f20a2e1f RD |
1660 | PyObject *resultobj; |
1661 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
1662 | wxVisualAttributes result; | |
1663 | PyObject * obj0 = 0 ; | |
1664 | char *kwnames[] = { | |
1665 | (char *) "variant", NULL | |
1666 | }; | |
1667 | ||
1668 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
1669 | if (obj0) { | |
c370783e | 1670 | arg1 = (int)SWIG_As_int(obj0); |
f20a2e1f RD |
1671 | if (PyErr_Occurred()) SWIG_fail; |
1672 | } | |
1673 | { | |
0439c23b | 1674 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
1675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1676 | result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
1677 | ||
1678 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 1679 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
1680 | } |
1681 | { | |
1682 | wxVisualAttributes * resultptr; | |
1683 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
1684 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
1685 | } | |
1686 | return resultobj; | |
1687 | fail: | |
1688 | return NULL; | |
1689 | } | |
1690 | ||
1691 | ||
c370783e | 1692 | static PyObject * Panel_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
1693 | PyObject *obj; |
1694 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1695 | SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj); | |
1696 | Py_INCREF(obj); | |
1697 | return Py_BuildValue((char *)""); | |
1698 | } | |
c370783e | 1699 | static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
1700 | PyObject *resultobj; |
1701 | wxWindow *arg1 = (wxWindow *) 0 ; | |
1702 | int arg2 = (int) (int)-1 ; | |
1703 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
1704 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1705 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1706 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1707 | long arg5 = (long) wxHSCROLL|wxVSCROLL ; | |
1708 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
1709 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
1710 | wxScrolledWindow *result; | |
1711 | wxPoint temp3 ; | |
1712 | wxSize temp4 ; | |
b411df4a | 1713 | bool temp6 = false ; |
d55e5bfc RD |
1714 | PyObject * obj0 = 0 ; |
1715 | PyObject * obj1 = 0 ; | |
1716 | PyObject * obj2 = 0 ; | |
1717 | PyObject * obj3 = 0 ; | |
1718 | PyObject * obj4 = 0 ; | |
1719 | PyObject * obj5 = 0 ; | |
1720 | char *kwnames[] = { | |
1721 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1722 | }; | |
1723 | ||
1724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
1725 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
1726 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1727 | if (obj1) { | |
c370783e | 1728 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
1729 | if (PyErr_Occurred()) SWIG_fail; |
1730 | } | |
1731 | if (obj2) { | |
1732 | { | |
1733 | arg3 = &temp3; | |
1734 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1735 | } | |
1736 | } | |
1737 | if (obj3) { | |
1738 | { | |
1739 | arg4 = &temp4; | |
1740 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1741 | } | |
1742 | } | |
1743 | if (obj4) { | |
c370783e | 1744 | arg5 = (long)SWIG_As_long(obj4); |
d55e5bfc RD |
1745 | if (PyErr_Occurred()) SWIG_fail; |
1746 | } | |
1747 | if (obj5) { | |
1748 | { | |
1749 | arg6 = wxString_in_helper(obj5); | |
1750 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 1751 | temp6 = true; |
d55e5bfc RD |
1752 | } |
1753 | } | |
1754 | { | |
0439c23b | 1755 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
1756 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1757 | result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
1758 | ||
1759 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 1760 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 1761 | } |
b0f7404b | 1762 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1); |
d55e5bfc RD |
1763 | { |
1764 | if (temp6) | |
1765 | delete arg6; | |
1766 | } | |
1767 | return resultobj; | |
1768 | fail: | |
1769 | { | |
1770 | if (temp6) | |
1771 | delete arg6; | |
1772 | } | |
1773 | return NULL; | |
1774 | } | |
1775 | ||
1776 | ||
c370783e | 1777 | static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
1778 | PyObject *resultobj; |
1779 | wxScrolledWindow *result; | |
1780 | char *kwnames[] = { | |
1781 | NULL | |
1782 | }; | |
1783 | ||
1784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail; | |
1785 | { | |
0439c23b | 1786 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
1787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1788 | result = (wxScrolledWindow *)new wxScrolledWindow(); | |
1789 | ||
1790 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 1791 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 1792 | } |
b0f7404b | 1793 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1); |
d55e5bfc RD |
1794 | return resultobj; |
1795 | fail: | |
1796 | return NULL; | |
1797 | } | |
1798 | ||
1799 | ||
c370783e | 1800 | static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
1801 | PyObject *resultobj; |
1802 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1803 | wxWindow *arg2 = (wxWindow *) 0 ; | |
1804 | int arg3 = (int) (int)-1 ; | |
1805 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
1806 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1807 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1808 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1809 | long arg6 = (long) wxHSCROLL|wxVSCROLL ; | |
1810 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
1811 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
1812 | bool result; | |
1813 | wxPoint temp4 ; | |
1814 | wxSize temp5 ; | |
b411df4a | 1815 | bool temp7 = false ; |
d55e5bfc RD |
1816 | PyObject * obj0 = 0 ; |
1817 | PyObject * obj1 = 0 ; | |
1818 | PyObject * obj2 = 0 ; | |
1819 | PyObject * obj3 = 0 ; | |
1820 | PyObject * obj4 = 0 ; | |
1821 | PyObject * obj5 = 0 ; | |
1822 | PyObject * obj6 = 0 ; | |
1823 | char *kwnames[] = { | |
1824 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1825 | }; | |
1826 | ||
1827 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
1828 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
1829 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1830 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
1831 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1832 | if (obj2) { | |
c370783e | 1833 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
1834 | if (PyErr_Occurred()) SWIG_fail; |
1835 | } | |
1836 | if (obj3) { | |
1837 | { | |
1838 | arg4 = &temp4; | |
1839 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1840 | } | |
1841 | } | |
1842 | if (obj4) { | |
1843 | { | |
1844 | arg5 = &temp5; | |
1845 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1846 | } | |
1847 | } | |
1848 | if (obj5) { | |
c370783e | 1849 | arg6 = (long)SWIG_As_long(obj5); |
d55e5bfc RD |
1850 | if (PyErr_Occurred()) SWIG_fail; |
1851 | } | |
1852 | if (obj6) { | |
1853 | { | |
1854 | arg7 = wxString_in_helper(obj6); | |
1855 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 1856 | temp7 = true; |
d55e5bfc RD |
1857 | } |
1858 | } | |
1859 | { | |
1860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1861 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
1862 | ||
1863 | wxPyEndAllowThreads(__tstate); | |
1864 | if (PyErr_Occurred()) SWIG_fail; | |
1865 | } | |
1866 | { | |
1867 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1868 | } | |
1869 | { | |
1870 | if (temp7) | |
1871 | delete arg7; | |
1872 | } | |
1873 | return resultobj; | |
1874 | fail: | |
1875 | { | |
1876 | if (temp7) | |
1877 | delete arg7; | |
1878 | } | |
1879 | return NULL; | |
1880 | } | |
1881 | ||
1882 | ||
c370783e | 1883 | static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
1884 | PyObject *resultobj; |
1885 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1886 | int arg2 ; | |
1887 | int arg3 ; | |
1888 | int arg4 ; | |
1889 | int arg5 ; | |
1890 | int arg6 = (int) 0 ; | |
1891 | int arg7 = (int) 0 ; | |
b411df4a | 1892 | bool arg8 = (bool) false ; |
d55e5bfc RD |
1893 | PyObject * obj0 = 0 ; |
1894 | PyObject * obj1 = 0 ; | |
1895 | PyObject * obj2 = 0 ; | |
1896 | PyObject * obj3 = 0 ; | |
1897 | PyObject * obj4 = 0 ; | |
1898 | PyObject * obj5 = 0 ; | |
1899 | PyObject * obj6 = 0 ; | |
1900 | PyObject * obj7 = 0 ; | |
1901 | char *kwnames[] = { | |
1902 | (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL | |
1903 | }; | |
1904 | ||
1905 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; | |
1906 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
1907 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1908 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc | 1909 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 1910 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc | 1911 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 1912 | arg4 = (int)SWIG_As_int(obj3); |
d55e5bfc | 1913 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 1914 | arg5 = (int)SWIG_As_int(obj4); |
d55e5bfc RD |
1915 | if (PyErr_Occurred()) SWIG_fail; |
1916 | if (obj5) { | |
c370783e | 1917 | arg6 = (int)SWIG_As_int(obj5); |
d55e5bfc RD |
1918 | if (PyErr_Occurred()) SWIG_fail; |
1919 | } | |
1920 | if (obj6) { | |
c370783e | 1921 | arg7 = (int)SWIG_As_int(obj6); |
d55e5bfc RD |
1922 | if (PyErr_Occurred()) SWIG_fail; |
1923 | } | |
1924 | if (obj7) { | |
c370783e | 1925 | arg8 = (bool)SWIG_As_bool(obj7); |
d55e5bfc RD |
1926 | if (PyErr_Occurred()) SWIG_fail; |
1927 | } | |
1928 | { | |
1929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1930 | (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
1931 | ||
1932 | wxPyEndAllowThreads(__tstate); | |
1933 | if (PyErr_Occurred()) SWIG_fail; | |
1934 | } | |
1935 | Py_INCREF(Py_None); resultobj = Py_None; | |
1936 | return resultobj; | |
1937 | fail: | |
1938 | return NULL; | |
1939 | } | |
1940 | ||
1941 | ||
c370783e | 1942 | static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
1943 | PyObject *resultobj; |
1944 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1945 | int arg2 ; | |
1946 | int arg3 ; | |
1947 | PyObject * obj0 = 0 ; | |
1948 | PyObject * obj1 = 0 ; | |
1949 | PyObject * obj2 = 0 ; | |
1950 | char *kwnames[] = { | |
1951 | (char *) "self",(char *) "x",(char *) "y", NULL | |
1952 | }; | |
1953 | ||
1954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
1955 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
1956 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1957 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc | 1958 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 1959 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
1960 | if (PyErr_Occurred()) SWIG_fail; |
1961 | { | |
1962 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1963 | (arg1)->Scroll(arg2,arg3); | |
1964 | ||
1965 | wxPyEndAllowThreads(__tstate); | |
1966 | if (PyErr_Occurred()) SWIG_fail; | |
1967 | } | |
1968 | Py_INCREF(Py_None); resultobj = Py_None; | |
1969 | return resultobj; | |
1970 | fail: | |
1971 | return NULL; | |
1972 | } | |
1973 | ||
1974 | ||
c370783e | 1975 | static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
1976 | PyObject *resultobj; |
1977 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1978 | int arg2 ; | |
1979 | int result; | |
1980 | PyObject * obj0 = 0 ; | |
1981 | PyObject * obj1 = 0 ; | |
1982 | char *kwnames[] = { | |
1983 | (char *) "self",(char *) "orient", NULL | |
1984 | }; | |
1985 | ||
1986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail; | |
1987 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
1988 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1989 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
1990 | if (PyErr_Occurred()) SWIG_fail; |
1991 | { | |
1992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1993 | result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2); | |
1994 | ||
1995 | wxPyEndAllowThreads(__tstate); | |
1996 | if (PyErr_Occurred()) SWIG_fail; | |
1997 | } | |
c370783e | 1998 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
1999 | return resultobj; |
2000 | fail: | |
2001 | return NULL; | |
2002 | } | |
2003 | ||
2004 | ||
c370783e | 2005 | static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2006 | PyObject *resultobj; |
2007 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2008 | int arg2 ; | |
2009 | int arg3 ; | |
2010 | PyObject * obj0 = 0 ; | |
2011 | PyObject * obj1 = 0 ; | |
2012 | PyObject * obj2 = 0 ; | |
2013 | char *kwnames[] = { | |
2014 | (char *) "self",(char *) "orient",(char *) "pageSize", NULL | |
2015 | }; | |
2016 | ||
2017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2018 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2019 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2020 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc | 2021 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2022 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
2023 | if (PyErr_Occurred()) SWIG_fail; |
2024 | { | |
2025 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2026 | (arg1)->SetScrollPageSize(arg2,arg3); | |
2027 | ||
2028 | wxPyEndAllowThreads(__tstate); | |
2029 | if (PyErr_Occurred()) SWIG_fail; | |
2030 | } | |
2031 | Py_INCREF(Py_None); resultobj = Py_None; | |
2032 | return resultobj; | |
2033 | fail: | |
2034 | return NULL; | |
2035 | } | |
2036 | ||
2037 | ||
c370783e | 2038 | static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2039 | PyObject *resultobj; |
2040 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2041 | int arg2 ; | |
2042 | int arg3 ; | |
2043 | PyObject * obj0 = 0 ; | |
2044 | PyObject * obj1 = 0 ; | |
2045 | PyObject * obj2 = 0 ; | |
2046 | char *kwnames[] = { | |
2047 | (char *) "self",(char *) "xstep",(char *) "ystep", NULL | |
2048 | }; | |
2049 | ||
2050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2051 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2052 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2053 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc | 2054 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2055 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
2056 | if (PyErr_Occurred()) SWIG_fail; |
2057 | { | |
2058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2059 | (arg1)->SetScrollRate(arg2,arg3); | |
2060 | ||
2061 | wxPyEndAllowThreads(__tstate); | |
2062 | if (PyErr_Occurred()) SWIG_fail; | |
2063 | } | |
2064 | Py_INCREF(Py_None); resultobj = Py_None; | |
2065 | return resultobj; | |
2066 | fail: | |
2067 | return NULL; | |
2068 | } | |
2069 | ||
2070 | ||
c370783e | 2071 | static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2072 | PyObject *resultobj; |
2073 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2074 | int *arg2 = (int *) 0 ; | |
2075 | int *arg3 = (int *) 0 ; | |
2076 | int temp2 ; | |
c370783e | 2077 | int res2 = 0 ; |
d55e5bfc | 2078 | int temp3 ; |
c370783e | 2079 | int res3 = 0 ; |
d55e5bfc RD |
2080 | PyObject * obj0 = 0 ; |
2081 | char *kwnames[] = { | |
2082 | (char *) "self", NULL | |
2083 | }; | |
2084 | ||
c370783e RD |
2085 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
2086 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc RD |
2087 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail; |
2088 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2089 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2090 | { | |
2091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2092 | ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3); | |
2093 | ||
2094 | wxPyEndAllowThreads(__tstate); | |
2095 | if (PyErr_Occurred()) SWIG_fail; | |
2096 | } | |
2097 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
2098 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
2099 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
2100 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
2101 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
2102 | return resultobj; |
2103 | fail: | |
2104 | return NULL; | |
2105 | } | |
2106 | ||
2107 | ||
c370783e | 2108 | static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2109 | PyObject *resultobj; |
2110 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2111 | bool arg2 ; | |
2112 | bool arg3 ; | |
2113 | PyObject * obj0 = 0 ; | |
2114 | PyObject * obj1 = 0 ; | |
2115 | PyObject * obj2 = 0 ; | |
2116 | char *kwnames[] = { | |
2117 | (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL | |
2118 | }; | |
2119 | ||
2120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2121 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2122 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2123 | arg2 = (bool)SWIG_As_bool(obj1); |
d55e5bfc | 2124 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2125 | arg3 = (bool)SWIG_As_bool(obj2); |
d55e5bfc RD |
2126 | if (PyErr_Occurred()) SWIG_fail; |
2127 | { | |
2128 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2129 | (arg1)->EnableScrolling(arg2,arg3); | |
2130 | ||
2131 | wxPyEndAllowThreads(__tstate); | |
2132 | if (PyErr_Occurred()) SWIG_fail; | |
2133 | } | |
2134 | Py_INCREF(Py_None); resultobj = Py_None; | |
2135 | return resultobj; | |
2136 | fail: | |
2137 | return NULL; | |
2138 | } | |
2139 | ||
2140 | ||
c370783e | 2141 | static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2142 | PyObject *resultobj; |
2143 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2144 | int *arg2 = (int *) 0 ; | |
2145 | int *arg3 = (int *) 0 ; | |
2146 | int temp2 ; | |
c370783e | 2147 | int res2 = 0 ; |
d55e5bfc | 2148 | int temp3 ; |
c370783e | 2149 | int res3 = 0 ; |
d55e5bfc RD |
2150 | PyObject * obj0 = 0 ; |
2151 | char *kwnames[] = { | |
2152 | (char *) "self", NULL | |
2153 | }; | |
2154 | ||
c370783e RD |
2155 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
2156 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc RD |
2157 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail; |
2158 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2159 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2160 | { | |
2161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2162 | ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3); | |
2163 | ||
2164 | wxPyEndAllowThreads(__tstate); | |
2165 | if (PyErr_Occurred()) SWIG_fail; | |
2166 | } | |
2167 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
2168 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
2169 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
2170 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
2171 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
2172 | return resultobj; |
2173 | fail: | |
2174 | return NULL; | |
2175 | } | |
2176 | ||
2177 | ||
c370783e | 2178 | static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2179 | PyObject *resultobj; |
2180 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2181 | double arg2 ; | |
2182 | double arg3 ; | |
2183 | PyObject * obj0 = 0 ; | |
2184 | PyObject * obj1 = 0 ; | |
2185 | PyObject * obj2 = 0 ; | |
2186 | char *kwnames[] = { | |
2187 | (char *) "self",(char *) "xs",(char *) "ys", NULL | |
2188 | }; | |
2189 | ||
2190 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2191 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2192 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2193 | arg2 = (double)SWIG_As_double(obj1); |
d55e5bfc | 2194 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2195 | arg3 = (double)SWIG_As_double(obj2); |
d55e5bfc RD |
2196 | if (PyErr_Occurred()) SWIG_fail; |
2197 | { | |
2198 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2199 | (arg1)->SetScale(arg2,arg3); | |
2200 | ||
2201 | wxPyEndAllowThreads(__tstate); | |
2202 | if (PyErr_Occurred()) SWIG_fail; | |
2203 | } | |
2204 | Py_INCREF(Py_None); resultobj = Py_None; | |
2205 | return resultobj; | |
2206 | fail: | |
2207 | return NULL; | |
2208 | } | |
2209 | ||
2210 | ||
c370783e | 2211 | static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2212 | PyObject *resultobj; |
2213 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2214 | double result; | |
2215 | PyObject * obj0 = 0 ; | |
2216 | char *kwnames[] = { | |
2217 | (char *) "self", NULL | |
2218 | }; | |
2219 | ||
2220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail; | |
2221 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2222 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2223 | { | |
2224 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2225 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleX(); | |
2226 | ||
2227 | wxPyEndAllowThreads(__tstate); | |
2228 | if (PyErr_Occurred()) SWIG_fail; | |
2229 | } | |
c370783e | 2230 | resultobj = SWIG_From_double((double)result); |
d55e5bfc RD |
2231 | return resultobj; |
2232 | fail: | |
2233 | return NULL; | |
2234 | } | |
2235 | ||
2236 | ||
c370783e | 2237 | static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2238 | PyObject *resultobj; |
2239 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2240 | double result; | |
2241 | PyObject * obj0 = 0 ; | |
2242 | char *kwnames[] = { | |
2243 | (char *) "self", NULL | |
2244 | }; | |
2245 | ||
2246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail; | |
2247 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2248 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2249 | { | |
2250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2251 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleY(); | |
2252 | ||
2253 | wxPyEndAllowThreads(__tstate); | |
2254 | if (PyErr_Occurred()) SWIG_fail; | |
2255 | } | |
c370783e | 2256 | resultobj = SWIG_From_double((double)result); |
d55e5bfc RD |
2257 | return resultobj; |
2258 | fail: | |
2259 | return NULL; | |
2260 | } | |
2261 | ||
2262 | ||
c370783e | 2263 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
2264 | PyObject *resultobj; |
2265 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2266 | wxPoint *arg2 = 0 ; | |
2267 | wxPoint result; | |
2268 | wxPoint temp2 ; | |
2269 | PyObject * obj0 = 0 ; | |
2270 | PyObject * obj1 = 0 ; | |
2271 | ||
2272 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail; | |
2273 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2274 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2275 | { | |
2276 | arg2 = &temp2; | |
2277 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2278 | } | |
2279 | { | |
2280 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2281 | result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2); | |
2282 | ||
2283 | wxPyEndAllowThreads(__tstate); | |
2284 | if (PyErr_Occurred()) SWIG_fail; | |
2285 | } | |
2286 | { | |
2287 | wxPoint * resultptr; | |
2288 | resultptr = new wxPoint((wxPoint &) result); | |
2289 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); | |
2290 | } | |
2291 | return resultobj; | |
2292 | fail: | |
2293 | return NULL; | |
2294 | } | |
2295 | ||
2296 | ||
c370783e | 2297 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) { |
d55e5bfc RD |
2298 | PyObject *resultobj; |
2299 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2300 | int arg2 ; | |
2301 | int arg3 ; | |
2302 | int *arg4 = (int *) 0 ; | |
2303 | int *arg5 = (int *) 0 ; | |
2304 | int temp4 ; | |
c370783e | 2305 | int res4 = 0 ; |
d55e5bfc | 2306 | int temp5 ; |
c370783e | 2307 | int res5 = 0 ; |
d55e5bfc RD |
2308 | PyObject * obj0 = 0 ; |
2309 | PyObject * obj1 = 0 ; | |
2310 | PyObject * obj2 = 0 ; | |
2311 | ||
c370783e RD |
2312 | arg4 = &temp4; res4 = SWIG_NEWOBJ; |
2313 | arg5 = &temp5; res5 = SWIG_NEWOBJ; | |
d55e5bfc RD |
2314 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
2315 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2316 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2317 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc | 2318 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2319 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
2320 | if (PyErr_Occurred()) SWIG_fail; |
2321 | { | |
2322 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2323 | ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5); | |
2324 | ||
2325 | wxPyEndAllowThreads(__tstate); | |
2326 | if (PyErr_Occurred()) SWIG_fail; | |
2327 | } | |
2328 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
2329 | resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ? |
2330 | SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0))); | |
2331 | resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ? | |
2332 | SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
2333 | return resultobj; |
2334 | fail: | |
2335 | return NULL; | |
2336 | } | |
2337 | ||
2338 | ||
2339 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) { | |
2340 | int argc; | |
2341 | PyObject *argv[4]; | |
2342 | int ii; | |
2343 | ||
2344 | argc = PyObject_Length(args); | |
2345 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
2346 | argv[ii] = PyTuple_GetItem(args,ii); | |
2347 | } | |
2348 | if (argc == 2) { | |
2349 | int _v; | |
2350 | { | |
2351 | void *ptr; | |
2352 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
2353 | _v = 0; | |
2354 | PyErr_Clear(); | |
2355 | } else { | |
2356 | _v = 1; | |
2357 | } | |
2358 | } | |
2359 | if (_v) { | |
2360 | { | |
2361 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
2362 | } | |
2363 | if (_v) { | |
2364 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args); | |
2365 | } | |
2366 | } | |
2367 | } | |
2368 | if (argc == 3) { | |
2369 | int _v; | |
2370 | { | |
2371 | void *ptr; | |
2372 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
2373 | _v = 0; | |
2374 | PyErr_Clear(); | |
2375 | } else { | |
2376 | _v = 1; | |
2377 | } | |
2378 | } | |
2379 | if (_v) { | |
c370783e | 2380 | _v = SWIG_Check_int(argv[1]); |
d55e5bfc | 2381 | if (_v) { |
c370783e | 2382 | _v = SWIG_Check_int(argv[2]); |
d55e5bfc RD |
2383 | if (_v) { |
2384 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args); | |
2385 | } | |
2386 | } | |
2387 | } | |
2388 | } | |
2389 | ||
2390 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'"); | |
2391 | return NULL; | |
2392 | } | |
2393 | ||
2394 | ||
c370783e | 2395 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
2396 | PyObject *resultobj; |
2397 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2398 | wxPoint *arg2 = 0 ; | |
2399 | wxPoint result; | |
2400 | wxPoint temp2 ; | |
2401 | PyObject * obj0 = 0 ; | |
2402 | PyObject * obj1 = 0 ; | |
2403 | ||
2404 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail; | |
2405 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2406 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2407 | { | |
2408 | arg2 = &temp2; | |
2409 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2410 | } | |
2411 | { | |
2412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2413 | result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2); | |
2414 | ||
2415 | wxPyEndAllowThreads(__tstate); | |
2416 | if (PyErr_Occurred()) SWIG_fail; | |
2417 | } | |
2418 | { | |
2419 | wxPoint * resultptr; | |
2420 | resultptr = new wxPoint((wxPoint &) result); | |
2421 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); | |
2422 | } | |
2423 | return resultobj; | |
2424 | fail: | |
2425 | return NULL; | |
2426 | } | |
2427 | ||
2428 | ||
c370783e | 2429 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) { |
d55e5bfc RD |
2430 | PyObject *resultobj; |
2431 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2432 | int arg2 ; | |
2433 | int arg3 ; | |
2434 | int *arg4 = (int *) 0 ; | |
2435 | int *arg5 = (int *) 0 ; | |
2436 | int temp4 ; | |
c370783e | 2437 | int res4 = 0 ; |
d55e5bfc | 2438 | int temp5 ; |
c370783e | 2439 | int res5 = 0 ; |
d55e5bfc RD |
2440 | PyObject * obj0 = 0 ; |
2441 | PyObject * obj1 = 0 ; | |
2442 | PyObject * obj2 = 0 ; | |
2443 | ||
c370783e RD |
2444 | arg4 = &temp4; res4 = SWIG_NEWOBJ; |
2445 | arg5 = &temp5; res5 = SWIG_NEWOBJ; | |
d55e5bfc RD |
2446 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
2447 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2448 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2449 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc | 2450 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2451 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
2452 | if (PyErr_Occurred()) SWIG_fail; |
2453 | { | |
2454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2455 | ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5); | |
2456 | ||
2457 | wxPyEndAllowThreads(__tstate); | |
2458 | if (PyErr_Occurred()) SWIG_fail; | |
2459 | } | |
2460 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
2461 | resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ? |
2462 | SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0))); | |
2463 | resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ? | |
2464 | SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
2465 | return resultobj; |
2466 | fail: | |
2467 | return NULL; | |
2468 | } | |
2469 | ||
2470 | ||
2471 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) { | |
2472 | int argc; | |
2473 | PyObject *argv[4]; | |
2474 | int ii; | |
2475 | ||
2476 | argc = PyObject_Length(args); | |
2477 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
2478 | argv[ii] = PyTuple_GetItem(args,ii); | |
2479 | } | |
2480 | if (argc == 2) { | |
2481 | int _v; | |
2482 | { | |
2483 | void *ptr; | |
2484 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
2485 | _v = 0; | |
2486 | PyErr_Clear(); | |
2487 | } else { | |
2488 | _v = 1; | |
2489 | } | |
2490 | } | |
2491 | if (_v) { | |
2492 | { | |
2493 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
2494 | } | |
2495 | if (_v) { | |
2496 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args); | |
2497 | } | |
2498 | } | |
2499 | } | |
2500 | if (argc == 3) { | |
2501 | int _v; | |
2502 | { | |
2503 | void *ptr; | |
2504 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
2505 | _v = 0; | |
2506 | PyErr_Clear(); | |
2507 | } else { | |
2508 | _v = 1; | |
2509 | } | |
2510 | } | |
2511 | if (_v) { | |
c370783e | 2512 | _v = SWIG_Check_int(argv[1]); |
d55e5bfc | 2513 | if (_v) { |
c370783e | 2514 | _v = SWIG_Check_int(argv[2]); |
d55e5bfc RD |
2515 | if (_v) { |
2516 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args); | |
2517 | } | |
2518 | } | |
2519 | } | |
2520 | } | |
2521 | ||
2522 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'"); | |
2523 | return NULL; | |
2524 | } | |
2525 | ||
2526 | ||
c370783e | 2527 | static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2528 | PyObject *resultobj; |
2529 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2530 | PyObject * obj0 = 0 ; | |
2531 | char *kwnames[] = { | |
2532 | (char *) "self", NULL | |
2533 | }; | |
2534 | ||
2535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail; | |
2536 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2537 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2538 | { | |
2539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2540 | (arg1)->AdjustScrollbars(); | |
2541 | ||
2542 | wxPyEndAllowThreads(__tstate); | |
2543 | if (PyErr_Occurred()) SWIG_fail; | |
2544 | } | |
2545 | Py_INCREF(Py_None); resultobj = Py_None; | |
2546 | return resultobj; | |
2547 | fail: | |
2548 | return NULL; | |
2549 | } | |
2550 | ||
2551 | ||
c370783e | 2552 | static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2553 | PyObject *resultobj; |
2554 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2555 | wxScrollWinEvent *arg2 = 0 ; | |
2556 | int result; | |
2557 | PyObject * obj0 = 0 ; | |
2558 | PyObject * obj1 = 0 ; | |
2559 | char *kwnames[] = { | |
2560 | (char *) "self",(char *) "event", NULL | |
2561 | }; | |
2562 | ||
2563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail; | |
2564 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2565 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2566 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent, | |
2567 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2568 | SWIG_fail; | |
2569 | if (arg2 == NULL) { | |
2570 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
2571 | SWIG_fail; | |
2572 | } | |
2573 | { | |
2574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2575 | result = (int)(arg1)->CalcScrollInc(*arg2); | |
2576 | ||
2577 | wxPyEndAllowThreads(__tstate); | |
2578 | if (PyErr_Occurred()) SWIG_fail; | |
2579 | } | |
c370783e | 2580 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
2581 | return resultobj; |
2582 | fail: | |
2583 | return NULL; | |
2584 | } | |
2585 | ||
2586 | ||
c370783e | 2587 | static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2588 | PyObject *resultobj; |
2589 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2590 | wxWindow *arg2 = (wxWindow *) 0 ; | |
2591 | PyObject * obj0 = 0 ; | |
2592 | PyObject * obj1 = 0 ; | |
2593 | char *kwnames[] = { | |
2594 | (char *) "self",(char *) "target", NULL | |
2595 | }; | |
2596 | ||
2597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail; | |
2598 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2599 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2600 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
2601 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2602 | { | |
2603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2604 | (arg1)->SetTargetWindow(arg2); | |
2605 | ||
2606 | wxPyEndAllowThreads(__tstate); | |
2607 | if (PyErr_Occurred()) SWIG_fail; | |
2608 | } | |
2609 | Py_INCREF(Py_None); resultobj = Py_None; | |
2610 | return resultobj; | |
2611 | fail: | |
2612 | return NULL; | |
2613 | } | |
2614 | ||
2615 | ||
c370783e | 2616 | static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2617 | PyObject *resultobj; |
2618 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2619 | wxWindow *result; | |
2620 | PyObject * obj0 = 0 ; | |
2621 | char *kwnames[] = { | |
2622 | (char *) "self", NULL | |
2623 | }; | |
2624 | ||
2625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail; | |
2626 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2627 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2628 | { | |
2629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2630 | result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow(); | |
2631 | ||
2632 | wxPyEndAllowThreads(__tstate); | |
2633 | if (PyErr_Occurred()) SWIG_fail; | |
2634 | } | |
2635 | { | |
412d302d | 2636 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
2637 | } |
2638 | return resultobj; | |
2639 | fail: | |
2640 | return NULL; | |
2641 | } | |
2642 | ||
2643 | ||
c370783e | 2644 | static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2645 | PyObject *resultobj; |
2646 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2647 | wxRect *arg2 = 0 ; | |
2648 | wxRect temp2 ; | |
2649 | PyObject * obj0 = 0 ; | |
2650 | PyObject * obj1 = 0 ; | |
2651 | char *kwnames[] = { | |
2652 | (char *) "self",(char *) "rect", NULL | |
2653 | }; | |
2654 | ||
2655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail; | |
2656 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2657 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2658 | { | |
2659 | arg2 = &temp2; | |
2660 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
2661 | } | |
2662 | { | |
2663 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2664 | (arg1)->SetTargetRect((wxRect const &)*arg2); | |
2665 | ||
2666 | wxPyEndAllowThreads(__tstate); | |
2667 | if (PyErr_Occurred()) SWIG_fail; | |
2668 | } | |
2669 | Py_INCREF(Py_None); resultobj = Py_None; | |
2670 | return resultobj; | |
2671 | fail: | |
2672 | return NULL; | |
2673 | } | |
2674 | ||
2675 | ||
c370783e | 2676 | static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2677 | PyObject *resultobj; |
2678 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2679 | wxRect result; | |
2680 | PyObject * obj0 = 0 ; | |
2681 | char *kwnames[] = { | |
2682 | (char *) "self", NULL | |
2683 | }; | |
2684 | ||
2685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail; | |
2686 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2687 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2688 | { | |
2689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2690 | result = ((wxScrolledWindow const *)arg1)->GetTargetRect(); | |
2691 | ||
2692 | wxPyEndAllowThreads(__tstate); | |
2693 | if (PyErr_Occurred()) SWIG_fail; | |
2694 | } | |
2695 | { | |
2696 | wxRect * resultptr; | |
2697 | resultptr = new wxRect((wxRect &) result); | |
2698 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); | |
2699 | } | |
2700 | return resultobj; | |
2701 | fail: | |
2702 | return NULL; | |
2703 | } | |
2704 | ||
2705 | ||
c370783e | 2706 | static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) { |
f5b96ee1 RD |
2707 | PyObject *resultobj; |
2708 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2709 | wxDC *arg2 = 0 ; | |
2710 | PyObject * obj0 = 0 ; | |
2711 | PyObject * obj1 = 0 ; | |
2712 | char *kwnames[] = { | |
2713 | (char *) "self",(char *) "dc", NULL | |
2714 | }; | |
2715 | ||
2716 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail; | |
2717 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2718 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2719 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
2720 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2721 | SWIG_fail; | |
2722 | if (arg2 == NULL) { | |
2723 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
2724 | SWIG_fail; | |
2725 | } | |
2726 | { | |
2727 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2728 | (arg1)->DoPrepareDC(*arg2); | |
2729 | ||
2730 | wxPyEndAllowThreads(__tstate); | |
2731 | if (PyErr_Occurred()) SWIG_fail; | |
2732 | } | |
2733 | Py_INCREF(Py_None); resultobj = Py_None; | |
2734 | return resultobj; | |
2735 | fail: | |
2736 | return NULL; | |
2737 | } | |
2738 | ||
2739 | ||
c370783e | 2740 | static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
f20a2e1f RD |
2741 | PyObject *resultobj; |
2742 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
2743 | wxVisualAttributes result; | |
2744 | PyObject * obj0 = 0 ; | |
2745 | char *kwnames[] = { | |
2746 | (char *) "variant", NULL | |
2747 | }; | |
2748 | ||
2749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
2750 | if (obj0) { | |
c370783e | 2751 | arg1 = (int)SWIG_As_int(obj0); |
f20a2e1f RD |
2752 | if (PyErr_Occurred()) SWIG_fail; |
2753 | } | |
2754 | { | |
0439c23b | 2755 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
2756 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2757 | result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
2758 | ||
2759 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2760 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
2761 | } |
2762 | { | |
2763 | wxVisualAttributes * resultptr; | |
2764 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
2765 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
2766 | } | |
2767 | return resultobj; | |
2768 | fail: | |
2769 | return NULL; | |
2770 | } | |
2771 | ||
2772 | ||
c370783e | 2773 | static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
2774 | PyObject *obj; |
2775 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2776 | SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj); | |
2777 | Py_INCREF(obj); | |
2778 | return Py_BuildValue((char *)""); | |
2779 | } | |
c370783e | 2780 | static int _wrap_FrameNameStr_set(PyObject *) { |
d55e5bfc RD |
2781 | PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only."); |
2782 | return 1; | |
2783 | } | |
2784 | ||
2785 | ||
2786 | static PyObject *_wrap_FrameNameStr_get() { | |
2787 | PyObject *pyobj; | |
2788 | ||
2789 | { | |
2790 | #if wxUSE_UNICODE | |
2791 | pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
2792 | #else | |
2793 | pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
2794 | #endif | |
2795 | } | |
2796 | return pyobj; | |
2797 | } | |
2798 | ||
2799 | ||
c370783e | 2800 | static int _wrap_DialogNameStr_set(PyObject *) { |
d55e5bfc RD |
2801 | PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only."); |
2802 | return 1; | |
2803 | } | |
2804 | ||
2805 | ||
2806 | static PyObject *_wrap_DialogNameStr_get() { | |
2807 | PyObject *pyobj; | |
2808 | ||
2809 | { | |
2810 | #if wxUSE_UNICODE | |
2811 | pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
2812 | #else | |
2813 | pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
2814 | #endif | |
2815 | } | |
2816 | return pyobj; | |
2817 | } | |
2818 | ||
2819 | ||
c370783e | 2820 | static int _wrap_StatusLineNameStr_set(PyObject *) { |
d55e5bfc RD |
2821 | PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only."); |
2822 | return 1; | |
2823 | } | |
2824 | ||
2825 | ||
2826 | static PyObject *_wrap_StatusLineNameStr_get() { | |
2827 | PyObject *pyobj; | |
2828 | ||
2829 | { | |
2830 | #if wxUSE_UNICODE | |
2831 | pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
2832 | #else | |
2833 | pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
2834 | #endif | |
2835 | } | |
2836 | return pyobj; | |
2837 | } | |
2838 | ||
2839 | ||
c370783e | 2840 | static int _wrap_ToolBarNameStr_set(PyObject *) { |
d55e5bfc RD |
2841 | PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only."); |
2842 | return 1; | |
2843 | } | |
2844 | ||
2845 | ||
2846 | static PyObject *_wrap_ToolBarNameStr_get() { | |
2847 | PyObject *pyobj; | |
2848 | ||
2849 | { | |
2850 | #if wxUSE_UNICODE | |
2851 | pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
2852 | #else | |
2853 | pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
2854 | #endif | |
2855 | } | |
2856 | return pyobj; | |
2857 | } | |
2858 | ||
2859 | ||
c370783e | 2860 | static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2861 | PyObject *resultobj; |
2862 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
b411df4a | 2863 | bool arg2 = (bool) true ; |
d55e5bfc RD |
2864 | PyObject * obj0 = 0 ; |
2865 | PyObject * obj1 = 0 ; | |
2866 | char *kwnames[] = { | |
2867 | (char *) "self",(char *) "maximize", NULL | |
2868 | }; | |
2869 | ||
2870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
2871 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
2872 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2873 | if (obj1) { | |
c370783e | 2874 | arg2 = (bool)SWIG_As_bool(obj1); |
d55e5bfc RD |
2875 | if (PyErr_Occurred()) SWIG_fail; |
2876 | } | |
2877 | { | |
2878 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2879 | (arg1)->Maximize(arg2); | |
2880 | ||
2881 | wxPyEndAllowThreads(__tstate); | |
2882 | if (PyErr_Occurred()) SWIG_fail; | |
2883 | } | |
2884 | Py_INCREF(Py_None); resultobj = Py_None; | |
2885 | return resultobj; | |
2886 | fail: | |
2887 | return NULL; | |
2888 | } | |
2889 | ||
2890 | ||
c370783e | 2891 | static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2892 | PyObject *resultobj; |
2893 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2894 | PyObject * obj0 = 0 ; | |
2895 | char *kwnames[] = { | |
2896 | (char *) "self", NULL | |
2897 | }; | |
2898 | ||
2899 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail; | |
2900 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
2901 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2902 | { | |
2903 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2904 | (arg1)->Restore(); | |
2905 | ||
2906 | wxPyEndAllowThreads(__tstate); | |
2907 | if (PyErr_Occurred()) SWIG_fail; | |
2908 | } | |
2909 | Py_INCREF(Py_None); resultobj = Py_None; | |
2910 | return resultobj; | |
2911 | fail: | |
2912 | return NULL; | |
2913 | } | |
2914 | ||
2915 | ||
c370783e | 2916 | static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2917 | PyObject *resultobj; |
2918 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
b411df4a | 2919 | bool arg2 = (bool) true ; |
d55e5bfc RD |
2920 | PyObject * obj0 = 0 ; |
2921 | PyObject * obj1 = 0 ; | |
2922 | char *kwnames[] = { | |
2923 | (char *) "self",(char *) "iconize", NULL | |
2924 | }; | |
2925 | ||
2926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail; | |
2927 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
2928 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2929 | if (obj1) { | |
c370783e | 2930 | arg2 = (bool)SWIG_As_bool(obj1); |
d55e5bfc RD |
2931 | if (PyErr_Occurred()) SWIG_fail; |
2932 | } | |
2933 | { | |
2934 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2935 | (arg1)->Iconize(arg2); | |
2936 | ||
2937 | wxPyEndAllowThreads(__tstate); | |
2938 | if (PyErr_Occurred()) SWIG_fail; | |
2939 | } | |
2940 | Py_INCREF(Py_None); resultobj = Py_None; | |
2941 | return resultobj; | |
2942 | fail: | |
2943 | return NULL; | |
2944 | } | |
2945 | ||
2946 | ||
c370783e | 2947 | static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2948 | PyObject *resultobj; |
2949 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2950 | bool result; | |
2951 | PyObject * obj0 = 0 ; | |
2952 | char *kwnames[] = { | |
2953 | (char *) "self", NULL | |
2954 | }; | |
2955 | ||
2956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail; | |
2957 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
2958 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2959 | { | |
2960 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2961 | result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized(); | |
2962 | ||
2963 | wxPyEndAllowThreads(__tstate); | |
2964 | if (PyErr_Occurred()) SWIG_fail; | |
2965 | } | |
2966 | { | |
2967 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2968 | } | |
2969 | return resultobj; | |
2970 | fail: | |
2971 | return NULL; | |
2972 | } | |
2973 | ||
2974 | ||
c370783e | 2975 | static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2976 | PyObject *resultobj; |
2977 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2978 | bool result; | |
2979 | PyObject * obj0 = 0 ; | |
2980 | char *kwnames[] = { | |
2981 | (char *) "self", NULL | |
2982 | }; | |
2983 | ||
2984 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail; | |
2985 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
2986 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2987 | { | |
2988 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2989 | result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized(); | |
2990 | ||
2991 | wxPyEndAllowThreads(__tstate); | |
2992 | if (PyErr_Occurred()) SWIG_fail; | |
2993 | } | |
2994 | { | |
2995 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2996 | } | |
2997 | return resultobj; | |
2998 | fail: | |
2999 | return NULL; | |
3000 | } | |
3001 | ||
3002 | ||
c370783e | 3003 | static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3004 | PyObject *resultobj; |
3005 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3006 | wxIcon result; | |
3007 | PyObject * obj0 = 0 ; | |
3008 | char *kwnames[] = { | |
3009 | (char *) "self", NULL | |
3010 | }; | |
3011 | ||
3012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail; | |
3013 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
3014 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3015 | { | |
3016 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3017 | result = ((wxTopLevelWindow const *)arg1)->GetIcon(); | |
3018 | ||
3019 | wxPyEndAllowThreads(__tstate); | |
3020 | if (PyErr_Occurred()) SWIG_fail; | |
3021 | } | |
3022 | { | |
3023 | wxIcon * resultptr; | |
3024 | resultptr = new wxIcon((wxIcon &) result); | |
3025 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1); | |
3026 | } | |
3027 | return resultobj; | |
3028 | fail: | |
3029 | return NULL; | |
3030 | } | |
3031 | ||
3032 | ||
c370783e | 3033 | static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3034 | PyObject *resultobj; |
3035 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3036 | wxIcon *arg2 = 0 ; | |
3037 | PyObject * obj0 = 0 ; | |
3038 | PyObject * obj1 = 0 ; | |
3039 | char *kwnames[] = { | |
3040 | (char *) "self",(char *) "icon", NULL | |
3041 | }; | |
3042 | ||
3043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail; | |
3044 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
3045 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3046 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon, | |
3047 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
3048 | SWIG_fail; | |
3049 | if (arg2 == NULL) { | |
3050 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
3051 | SWIG_fail; | |
3052 | } | |
3053 | { | |
3054 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3055 | (arg1)->SetIcon((wxIcon const &)*arg2); | |
3056 | ||
3057 | wxPyEndAllowThreads(__tstate); | |
3058 | if (PyErr_Occurred()) SWIG_fail; | |
3059 | } | |
3060 | Py_INCREF(Py_None); resultobj = Py_None; | |
3061 | return resultobj; | |
3062 | fail: | |
3063 | return NULL; | |
3064 | } | |
3065 | ||
3066 | ||
c370783e | 3067 | static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3068 | PyObject *resultobj; |
3069 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3070 | wxIconBundle *arg2 = 0 ; | |
3071 | PyObject * obj0 = 0 ; | |
3072 | PyObject * obj1 = 0 ; | |
3073 | char *kwnames[] = { | |
3074 | (char *) "self",(char *) "icons", NULL | |
3075 | }; | |
3076 | ||
3077 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail; | |
3078 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
3079 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3080 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle, | |
3081 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
3082 | SWIG_fail; | |
3083 | if (arg2 == NULL) { | |
3084 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
3085 | SWIG_fail; | |
3086 | } | |
3087 | { | |
3088 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3089 | (arg1)->SetIcons((wxIconBundle const &)*arg2); | |
3090 | ||
3091 | wxPyEndAllowThreads(__tstate); | |
3092 | if (PyErr_Occurred()) SWIG_fail; | |
3093 | } | |
3094 | Py_INCREF(Py_None); resultobj = Py_None; | |
3095 | return resultobj; | |
3096 | fail: | |
3097 | return NULL; | |
3098 | } | |
3099 | ||
3100 | ||
c370783e | 3101 | static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3102 | PyObject *resultobj; |
3103 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3104 | bool arg2 ; | |
3105 | long arg3 = (long) wxFULLSCREEN_ALL ; | |
3106 | bool result; | |
3107 | PyObject * obj0 = 0 ; | |
3108 | PyObject * obj1 = 0 ; | |
3109 | PyObject * obj2 = 0 ; | |
3110 | char *kwnames[] = { | |
3111 | (char *) "self",(char *) "show",(char *) "style", NULL | |
3112 | }; | |
3113 | ||
3114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3115 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
3116 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3117 | arg2 = (bool)SWIG_As_bool(obj1); |
d55e5bfc RD |
3118 | if (PyErr_Occurred()) SWIG_fail; |
3119 | if (obj2) { | |
c370783e | 3120 | arg3 = (long)SWIG_As_long(obj2); |
d55e5bfc RD |
3121 | if (PyErr_Occurred()) SWIG_fail; |
3122 | } | |
3123 | { | |
3124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3125 | result = (bool)(arg1)->ShowFullScreen(arg2,arg3); | |
3126 | ||
3127 | wxPyEndAllowThreads(__tstate); | |
3128 | if (PyErr_Occurred()) SWIG_fail; | |
3129 | } | |
3130 | { | |
3131 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3132 | } | |
3133 | return resultobj; | |
3134 | fail: | |
3135 | return NULL; | |
3136 | } | |
3137 | ||
3138 | ||
c370783e | 3139 | static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3140 | PyObject *resultobj; |
3141 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3142 | bool result; | |
3143 | PyObject * obj0 = 0 ; | |
3144 | char *kwnames[] = { | |
3145 | (char *) "self", NULL | |
3146 | }; | |
3147 | ||
3148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail; | |
3149 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
3150 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3151 | { | |
3152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3153 | result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen(); | |
3154 | ||
3155 | wxPyEndAllowThreads(__tstate); | |
3156 | if (PyErr_Occurred()) SWIG_fail; | |
3157 | } | |
3158 | { | |
3159 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3160 | } | |
3161 | return resultobj; | |
3162 | fail: | |
3163 | return NULL; | |
3164 | } | |
3165 | ||
3166 | ||
c370783e | 3167 | static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3168 | PyObject *resultobj; |
3169 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3170 | wxString *arg2 = 0 ; | |
b411df4a | 3171 | bool temp2 = false ; |
d55e5bfc RD |
3172 | PyObject * obj0 = 0 ; |
3173 | PyObject * obj1 = 0 ; | |
3174 | char *kwnames[] = { | |
3175 | (char *) "self",(char *) "title", NULL | |
3176 | }; | |
3177 | ||
3178 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
3179 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
3180 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3181 | { | |
3182 | arg2 = wxString_in_helper(obj1); | |
3183 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 3184 | temp2 = true; |
d55e5bfc RD |
3185 | } |
3186 | { | |
3187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3188 | (arg1)->SetTitle((wxString const &)*arg2); | |
3189 | ||
3190 | wxPyEndAllowThreads(__tstate); | |
3191 | if (PyErr_Occurred()) SWIG_fail; | |
3192 | } | |
3193 | Py_INCREF(Py_None); resultobj = Py_None; | |
3194 | { | |
3195 | if (temp2) | |
3196 | delete arg2; | |
3197 | } | |
3198 | return resultobj; | |
3199 | fail: | |
3200 | { | |
3201 | if (temp2) | |
3202 | delete arg2; | |
3203 | } | |
3204 | return NULL; | |
3205 | } | |
3206 | ||
3207 | ||
c370783e | 3208 | static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3209 | PyObject *resultobj; |
3210 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3211 | wxString result; | |
3212 | PyObject * obj0 = 0 ; | |
3213 | char *kwnames[] = { | |
3214 | (char *) "self", NULL | |
3215 | }; | |
3216 | ||
3217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail; | |
3218 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
3219 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3220 | { | |
3221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3222 | result = ((wxTopLevelWindow const *)arg1)->GetTitle(); | |
3223 | ||
3224 | wxPyEndAllowThreads(__tstate); | |
3225 | if (PyErr_Occurred()) SWIG_fail; | |
3226 | } | |
3227 | { | |
3228 | #if wxUSE_UNICODE | |
3229 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
3230 | #else | |
3231 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
3232 | #endif | |
3233 | } | |
3234 | return resultobj; | |
3235 | fail: | |
3236 | return NULL; | |
3237 | } | |
3238 | ||
3239 | ||
c370783e | 3240 | static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3241 | PyObject *resultobj; |
3242 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3243 | wxRegion *arg2 = 0 ; | |
3244 | bool result; | |
3245 | PyObject * obj0 = 0 ; | |
3246 | PyObject * obj1 = 0 ; | |
3247 | char *kwnames[] = { | |
3248 | (char *) "self",(char *) "region", NULL | |
3249 | }; | |
3250 | ||
3251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail; | |
3252 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
3253 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3254 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion, | |
3255 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
3256 | SWIG_fail; | |
3257 | if (arg2 == NULL) { | |
3258 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
3259 | SWIG_fail; | |
3260 | } | |
3261 | { | |
3262 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3263 | result = (bool)(arg1)->SetShape((wxRegion const &)*arg2); | |
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 | ||
c370783e RD |
3277 | static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) { |
3278 | PyObject *resultobj; | |
3279 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3280 | int arg2 = (int) wxUSER_ATTENTION_INFO ; | |
3281 | PyObject * obj0 = 0 ; | |
3282 | PyObject * obj1 = 0 ; | |
3283 | char *kwnames[] = { | |
3284 | (char *) "self",(char *) "flags", NULL | |
3285 | }; | |
3286 | ||
3287 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail; | |
3288 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
3289 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3290 | if (obj1) { | |
3291 | arg2 = (int)SWIG_As_int(obj1); | |
3292 | if (PyErr_Occurred()) SWIG_fail; | |
3293 | } | |
3294 | { | |
3295 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3296 | (arg1)->RequestUserAttention(arg2); | |
3297 | ||
3298 | wxPyEndAllowThreads(__tstate); | |
3299 | if (PyErr_Occurred()) SWIG_fail; | |
3300 | } | |
3301 | Py_INCREF(Py_None); resultobj = Py_None; | |
3302 | return resultobj; | |
3303 | fail: | |
3304 | return NULL; | |
3305 | } | |
3306 | ||
3307 | ||
5e483524 RD |
3308 | static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) { |
3309 | PyObject *resultobj; | |
3310 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3311 | bool result; | |
3312 | PyObject * obj0 = 0 ; | |
3313 | char *kwnames[] = { | |
3314 | (char *) "self", NULL | |
3315 | }; | |
3316 | ||
3317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail; | |
3318 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
3319 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3320 | { | |
3321 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3322 | result = (bool)(arg1)->IsActive(); | |
3323 | ||
3324 | wxPyEndAllowThreads(__tstate); | |
3325 | if (PyErr_Occurred()) SWIG_fail; | |
3326 | } | |
3327 | { | |
3328 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3329 | } | |
3330 | return resultobj; | |
3331 | fail: | |
3332 | return NULL; | |
3333 | } | |
3334 | ||
3335 | ||
c370783e | 3336 | static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3337 | PyObject *resultobj; |
3338 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3339 | bool arg2 ; | |
3340 | PyObject * obj0 = 0 ; | |
3341 | PyObject * obj1 = 0 ; | |
3342 | char *kwnames[] = { | |
3343 | (char *) "self",(char *) "on", NULL | |
3344 | }; | |
3345 | ||
3346 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail; | |
3347 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
3348 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3349 | arg2 = (bool)SWIG_As_bool(obj1); |
d55e5bfc RD |
3350 | if (PyErr_Occurred()) SWIG_fail; |
3351 | { | |
3352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3353 | (arg1)->MacSetMetalAppearance(arg2); | |
3354 | ||
3355 | wxPyEndAllowThreads(__tstate); | |
3356 | if (PyErr_Occurred()) SWIG_fail; | |
3357 | } | |
3358 | Py_INCREF(Py_None); resultobj = Py_None; | |
3359 | return resultobj; | |
3360 | fail: | |
3361 | return NULL; | |
3362 | } | |
3363 | ||
3364 | ||
c370783e | 3365 | static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3366 | PyObject *resultobj; |
3367 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3368 | bool result; | |
3369 | PyObject * obj0 = 0 ; | |
3370 | char *kwnames[] = { | |
3371 | (char *) "self", NULL | |
3372 | }; | |
3373 | ||
3374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail; | |
3375 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
3376 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3377 | { | |
3378 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3379 | result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance(); | |
3380 | ||
3381 | wxPyEndAllowThreads(__tstate); | |
3382 | if (PyErr_Occurred()) SWIG_fail; | |
3383 | } | |
3384 | { | |
3385 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3386 | } | |
3387 | return resultobj; | |
3388 | fail: | |
3389 | return NULL; | |
3390 | } | |
3391 | ||
3392 | ||
c370783e | 3393 | static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
3394 | PyObject *obj; |
3395 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3396 | SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj); | |
3397 | Py_INCREF(obj); | |
3398 | return Py_BuildValue((char *)""); | |
3399 | } | |
c370783e | 3400 | static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3401 | PyObject *resultobj; |
3402 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 RD |
3403 | int arg2 = (int) (int)-1 ; |
3404 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
3405 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d55e5bfc RD |
3406 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
3407 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
3408 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
3409 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
3410 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
3411 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
3412 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
3413 | wxFrame *result; | |
b411df4a | 3414 | bool temp3 = false ; |
d55e5bfc RD |
3415 | wxPoint temp4 ; |
3416 | wxSize temp5 ; | |
b411df4a | 3417 | bool temp7 = false ; |
d55e5bfc RD |
3418 | PyObject * obj0 = 0 ; |
3419 | PyObject * obj1 = 0 ; | |
3420 | PyObject * obj2 = 0 ; | |
3421 | PyObject * obj3 = 0 ; | |
3422 | PyObject * obj4 = 0 ; | |
3423 | PyObject * obj5 = 0 ; | |
3424 | PyObject * obj6 = 0 ; | |
3425 | char *kwnames[] = { | |
3426 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3427 | }; | |
3428 | ||
bfddbb17 | 3429 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d55e5bfc RD |
3430 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
3431 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
bfddbb17 | 3432 | if (obj1) { |
c370783e | 3433 | arg2 = (int)SWIG_As_int(obj1); |
bfddbb17 RD |
3434 | if (PyErr_Occurred()) SWIG_fail; |
3435 | } | |
3436 | if (obj2) { | |
3437 | { | |
3438 | arg3 = wxString_in_helper(obj2); | |
3439 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 3440 | temp3 = true; |
bfddbb17 | 3441 | } |
d55e5bfc RD |
3442 | } |
3443 | if (obj3) { | |
3444 | { | |
3445 | arg4 = &temp4; | |
3446 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
3447 | } | |
3448 | } | |
3449 | if (obj4) { | |
3450 | { | |
3451 | arg5 = &temp5; | |
3452 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
3453 | } | |
3454 | } | |
3455 | if (obj5) { | |
c370783e | 3456 | arg6 = (long)SWIG_As_long(obj5); |
d55e5bfc RD |
3457 | if (PyErr_Occurred()) SWIG_fail; |
3458 | } | |
3459 | if (obj6) { | |
3460 | { | |
3461 | arg7 = wxString_in_helper(obj6); | |
3462 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 3463 | temp7 = true; |
d55e5bfc RD |
3464 | } |
3465 | } | |
3466 | { | |
0439c23b | 3467 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
3468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
3469 | result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
3470 | ||
3471 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 3472 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 3473 | } |
b0f7404b | 3474 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1); |
d55e5bfc RD |
3475 | { |
3476 | if (temp3) | |
3477 | delete arg3; | |
3478 | } | |
3479 | { | |
3480 | if (temp7) | |
3481 | delete arg7; | |
3482 | } | |
3483 | return resultobj; | |
3484 | fail: | |
3485 | { | |
3486 | if (temp3) | |
3487 | delete arg3; | |
3488 | } | |
3489 | { | |
3490 | if (temp7) | |
3491 | delete arg7; | |
3492 | } | |
3493 | return NULL; | |
3494 | } | |
3495 | ||
3496 | ||
c370783e | 3497 | static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3498 | PyObject *resultobj; |
3499 | wxFrame *result; | |
3500 | char *kwnames[] = { | |
3501 | NULL | |
3502 | }; | |
3503 | ||
3504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail; | |
3505 | { | |
0439c23b | 3506 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
3507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
3508 | result = (wxFrame *)new wxFrame(); | |
3509 | ||
3510 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 3511 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 3512 | } |
b0f7404b | 3513 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1); |
d55e5bfc RD |
3514 | return resultobj; |
3515 | fail: | |
3516 | return NULL; | |
3517 | } | |
3518 | ||
3519 | ||
c370783e | 3520 | static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3521 | PyObject *resultobj; |
3522 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3523 | wxWindow *arg2 = (wxWindow *) 0 ; | |
bfddbb17 RD |
3524 | int arg3 = (int) (int)-1 ; |
3525 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
3526 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d55e5bfc RD |
3527 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
3528 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
3529 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
3530 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
3531 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
3532 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
3533 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
3534 | bool result; | |
b411df4a | 3535 | bool temp4 = false ; |
d55e5bfc RD |
3536 | wxPoint temp5 ; |
3537 | wxSize temp6 ; | |
b411df4a | 3538 | bool temp8 = false ; |
d55e5bfc RD |
3539 | PyObject * obj0 = 0 ; |
3540 | PyObject * obj1 = 0 ; | |
3541 | PyObject * obj2 = 0 ; | |
3542 | PyObject * obj3 = 0 ; | |
3543 | PyObject * obj4 = 0 ; | |
3544 | PyObject * obj5 = 0 ; | |
3545 | PyObject * obj6 = 0 ; | |
3546 | PyObject * obj7 = 0 ; | |
3547 | char *kwnames[] = { | |
3548 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3549 | }; | |
3550 | ||
bfddbb17 | 3551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
d55e5bfc RD |
3552 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3553 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3554 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
3555 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
bfddbb17 | 3556 | if (obj2) { |
c370783e | 3557 | arg3 = (int)SWIG_As_int(obj2); |
bfddbb17 RD |
3558 | if (PyErr_Occurred()) SWIG_fail; |
3559 | } | |
3560 | if (obj3) { | |
3561 | { | |
3562 | arg4 = wxString_in_helper(obj3); | |
3563 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 3564 | temp4 = true; |
bfddbb17 | 3565 | } |
d55e5bfc RD |
3566 | } |
3567 | if (obj4) { | |
3568 | { | |
3569 | arg5 = &temp5; | |
3570 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
3571 | } | |
3572 | } | |
3573 | if (obj5) { | |
3574 | { | |
3575 | arg6 = &temp6; | |
3576 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
3577 | } | |
3578 | } | |
3579 | if (obj6) { | |
c370783e | 3580 | arg7 = (long)SWIG_As_long(obj6); |
d55e5bfc RD |
3581 | if (PyErr_Occurred()) SWIG_fail; |
3582 | } | |
3583 | if (obj7) { | |
3584 | { | |
3585 | arg8 = wxString_in_helper(obj7); | |
3586 | if (arg8 == NULL) SWIG_fail; | |
b411df4a | 3587 | temp8 = true; |
d55e5bfc RD |
3588 | } |
3589 | } | |
3590 | { | |
3591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3592 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
3593 | ||
3594 | wxPyEndAllowThreads(__tstate); | |
3595 | if (PyErr_Occurred()) SWIG_fail; | |
3596 | } | |
3597 | { | |
3598 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3599 | } | |
3600 | { | |
3601 | if (temp4) | |
3602 | delete arg4; | |
3603 | } | |
3604 | { | |
3605 | if (temp8) | |
3606 | delete arg8; | |
3607 | } | |
3608 | return resultobj; | |
3609 | fail: | |
3610 | { | |
3611 | if (temp4) | |
3612 | delete arg4; | |
3613 | } | |
3614 | { | |
3615 | if (temp8) | |
3616 | delete arg8; | |
3617 | } | |
3618 | return NULL; | |
3619 | } | |
3620 | ||
3621 | ||
c370783e | 3622 | static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3623 | PyObject *resultobj; |
3624 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3625 | wxPoint result; | |
3626 | PyObject * obj0 = 0 ; | |
3627 | char *kwnames[] = { | |
3628 | (char *) "self", NULL | |
3629 | }; | |
3630 | ||
3631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail; | |
3632 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
3633 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3634 | { | |
3635 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3636 | result = ((wxFrame const *)arg1)->GetClientAreaOrigin(); | |
3637 | ||
3638 | wxPyEndAllowThreads(__tstate); | |
3639 | if (PyErr_Occurred()) SWIG_fail; | |
3640 | } | |
3641 | { | |
3642 | wxPoint * resultptr; | |
3643 | resultptr = new wxPoint((wxPoint &) result); | |
3644 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); | |
3645 | } | |
3646 | return resultobj; | |
3647 | fail: | |
3648 | return NULL; | |
3649 | } | |
3650 | ||
3651 | ||
c370783e | 3652 | static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3653 | PyObject *resultobj; |
3654 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3655 | PyObject * obj0 = 0 ; | |
3656 | char *kwnames[] = { | |
3657 | (char *) "self", NULL | |
3658 | }; | |
3659 | ||
3660 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail; | |
3661 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
3662 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3663 | { | |
3664 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3665 | (arg1)->SendSizeEvent(); | |
3666 | ||
3667 | wxPyEndAllowThreads(__tstate); | |
3668 | if (PyErr_Occurred()) SWIG_fail; | |
3669 | } | |
3670 | Py_INCREF(Py_None); resultobj = Py_None; | |
3671 | return resultobj; | |
3672 | fail: | |
3673 | return NULL; | |
3674 | } | |
3675 | ||
3676 | ||
c370783e | 3677 | static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3678 | PyObject *resultobj; |
3679 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3680 | wxMenuBar *arg2 = (wxMenuBar *) 0 ; | |
3681 | PyObject * obj0 = 0 ; | |
3682 | PyObject * obj1 = 0 ; | |
3683 | char *kwnames[] = { | |
3684 | (char *) "self",(char *) "menubar", NULL | |
3685 | }; | |
3686 | ||
3687 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail; | |
3688 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
3689 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3690 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar, | |
3691 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3692 | { | |
3693 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3694 | (arg1)->SetMenuBar(arg2); | |
3695 | ||
3696 | wxPyEndAllowThreads(__tstate); | |
3697 | if (PyErr_Occurred()) SWIG_fail; | |
3698 | } | |
3699 | Py_INCREF(Py_None); resultobj = Py_None; | |
3700 | return resultobj; | |
3701 | fail: | |
3702 | return NULL; | |
3703 | } | |
3704 | ||
3705 | ||
c370783e | 3706 | static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3707 | PyObject *resultobj; |
3708 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3709 | wxMenuBar *result; | |
3710 | PyObject * obj0 = 0 ; | |
3711 | char *kwnames[] = { | |
3712 | (char *) "self", NULL | |
3713 | }; | |
3714 | ||
3715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail; | |
3716 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
3717 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3718 | { | |
3719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3720 | result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar(); | |
3721 | ||
3722 | wxPyEndAllowThreads(__tstate); | |
3723 | if (PyErr_Occurred()) SWIG_fail; | |
3724 | } | |
3725 | { | |
412d302d | 3726 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
3727 | } |
3728 | return resultobj; | |
3729 | fail: | |
3730 | return NULL; | |
3731 | } | |
3732 | ||
3733 | ||
c370783e | 3734 | static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3735 | PyObject *resultobj; |
3736 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3737 | int arg2 ; | |
3738 | bool result; | |
3739 | PyObject * obj0 = 0 ; | |
3740 | PyObject * obj1 = 0 ; | |
3741 | char *kwnames[] = { | |
3742 | (char *) "self",(char *) "winid", NULL | |
3743 | }; | |
3744 | ||
3745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail; | |
3746 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
3747 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3748 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
3749 | if (PyErr_Occurred()) SWIG_fail; |
3750 | { | |
3751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3752 | result = (bool)(arg1)->ProcessCommand(arg2); | |
3753 | ||
3754 | wxPyEndAllowThreads(__tstate); | |
3755 | if (PyErr_Occurred()) SWIG_fail; | |
3756 | } | |
3757 | { | |
3758 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3759 | } | |
3760 | return resultobj; | |
3761 | fail: | |
3762 | return NULL; | |
3763 | } | |
3764 | ||
3765 | ||
c370783e | 3766 | static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3767 | PyObject *resultobj; |
3768 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3769 | int arg2 = (int) 1 ; | |
3770 | long arg3 = (long) wxST_SIZEGRIP ; | |
3771 | int arg4 = (int) 0 ; | |
3772 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; | |
3773 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
3774 | wxStatusBar *result; | |
b411df4a | 3775 | bool temp5 = false ; |
d55e5bfc RD |
3776 | PyObject * obj0 = 0 ; |
3777 | PyObject * obj1 = 0 ; | |
3778 | PyObject * obj2 = 0 ; | |
3779 | PyObject * obj3 = 0 ; | |
3780 | PyObject * obj4 = 0 ; | |
3781 | char *kwnames[] = { | |
3782 | (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL | |
3783 | }; | |
3784 | ||
3785 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
3786 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
3787 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3788 | if (obj1) { | |
c370783e | 3789 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
3790 | if (PyErr_Occurred()) SWIG_fail; |
3791 | } | |
3792 | if (obj2) { | |
c370783e | 3793 | arg3 = (long)SWIG_As_long(obj2); |
d55e5bfc RD |
3794 | if (PyErr_Occurred()) SWIG_fail; |
3795 | } | |
3796 | if (obj3) { | |
c370783e | 3797 | arg4 = (int)SWIG_As_int(obj3); |
d55e5bfc RD |
3798 | if (PyErr_Occurred()) SWIG_fail; |
3799 | } | |
3800 | if (obj4) { | |
3801 | { | |
3802 | arg5 = wxString_in_helper(obj4); | |
3803 | if (arg5 == NULL) SWIG_fail; | |
b411df4a | 3804 | temp5 = true; |
d55e5bfc RD |
3805 | } |
3806 | } | |
3807 | { | |
3808 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3809 | result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5); | |
3810 | ||
3811 | wxPyEndAllowThreads(__tstate); | |
3812 | if (PyErr_Occurred()) SWIG_fail; | |
3813 | } | |
3814 | { | |
412d302d | 3815 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
3816 | } |
3817 | { | |
3818 | if (temp5) | |
3819 | delete arg5; | |
3820 | } | |
3821 | return resultobj; | |
3822 | fail: | |
3823 | { | |
3824 | if (temp5) | |
3825 | delete arg5; | |
3826 | } | |
3827 | return NULL; | |
3828 | } | |
3829 | ||
3830 | ||
c370783e | 3831 | static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3832 | PyObject *resultobj; |
3833 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3834 | wxStatusBar *result; | |
3835 | PyObject * obj0 = 0 ; | |
3836 | char *kwnames[] = { | |
3837 | (char *) "self", NULL | |
3838 | }; | |
3839 | ||
3840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail; | |
3841 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
3842 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3843 | { | |
3844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3845 | result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar(); | |
3846 | ||
3847 | wxPyEndAllowThreads(__tstate); | |
3848 | if (PyErr_Occurred()) SWIG_fail; | |
3849 | } | |
3850 | { | |
412d302d | 3851 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
3852 | } |
3853 | return resultobj; | |
3854 | fail: | |
3855 | return NULL; | |
3856 | } | |
3857 | ||
3858 | ||
c370783e | 3859 | static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3860 | PyObject *resultobj; |
3861 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3862 | wxStatusBar *arg2 = (wxStatusBar *) 0 ; | |
3863 | PyObject * obj0 = 0 ; | |
3864 | PyObject * obj1 = 0 ; | |
3865 | char *kwnames[] = { | |
3866 | (char *) "self",(char *) "statBar", NULL | |
3867 | }; | |
3868 | ||
3869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail; | |
3870 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
3871 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3872 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar, | |
3873 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3874 | { | |
3875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3876 | (arg1)->SetStatusBar(arg2); | |
3877 | ||
3878 | wxPyEndAllowThreads(__tstate); | |
3879 | if (PyErr_Occurred()) SWIG_fail; | |
3880 | } | |
3881 | Py_INCREF(Py_None); resultobj = Py_None; | |
3882 | return resultobj; | |
3883 | fail: | |
3884 | return NULL; | |
3885 | } | |
3886 | ||
3887 | ||
c370783e | 3888 | static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3889 | PyObject *resultobj; |
3890 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3891 | wxString *arg2 = 0 ; | |
3892 | int arg3 = (int) 0 ; | |
b411df4a | 3893 | bool temp2 = false ; |
d55e5bfc RD |
3894 | PyObject * obj0 = 0 ; |
3895 | PyObject * obj1 = 0 ; | |
3896 | PyObject * obj2 = 0 ; | |
3897 | char *kwnames[] = { | |
3898 | (char *) "self",(char *) "text",(char *) "number", NULL | |
3899 | }; | |
3900 | ||
3901 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3902 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
3903 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3904 | { | |
3905 | arg2 = wxString_in_helper(obj1); | |
3906 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 3907 | temp2 = true; |
d55e5bfc RD |
3908 | } |
3909 | if (obj2) { | |
c370783e | 3910 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
3911 | if (PyErr_Occurred()) SWIG_fail; |
3912 | } | |
3913 | { | |
3914 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3915 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
3916 | ||
3917 | wxPyEndAllowThreads(__tstate); | |
3918 | if (PyErr_Occurred()) SWIG_fail; | |
3919 | } | |
3920 | Py_INCREF(Py_None); resultobj = Py_None; | |
3921 | { | |
3922 | if (temp2) | |
3923 | delete arg2; | |
3924 | } | |
3925 | return resultobj; | |
3926 | fail: | |
3927 | { | |
3928 | if (temp2) | |
3929 | delete arg2; | |
3930 | } | |
3931 | return NULL; | |
3932 | } | |
3933 | ||
3934 | ||
c370783e | 3935 | static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3936 | PyObject *resultobj; |
3937 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3938 | int arg2 ; | |
3939 | int *arg3 = (int *) 0 ; | |
3940 | PyObject * obj0 = 0 ; | |
3941 | PyObject * obj1 = 0 ; | |
3942 | char *kwnames[] = { | |
3943 | (char *) "self",(char *) "widths", NULL | |
3944 | }; | |
3945 | ||
3946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
3947 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
3948 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3949 | { | |
3950 | arg2 = PyList_Size(obj1); | |
3951 | arg3 = int_LIST_helper(obj1); | |
3952 | if (arg3 == NULL) SWIG_fail; | |
3953 | } | |
3954 | { | |
3955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3956 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
3957 | ||
3958 | wxPyEndAllowThreads(__tstate); | |
3959 | if (PyErr_Occurred()) SWIG_fail; | |
3960 | } | |
3961 | Py_INCREF(Py_None); resultobj = Py_None; | |
3962 | { | |
3963 | if (arg3) delete [] arg3; | |
3964 | } | |
3965 | return resultobj; | |
3966 | fail: | |
3967 | { | |
3968 | if (arg3) delete [] arg3; | |
3969 | } | |
3970 | return NULL; | |
3971 | } | |
3972 | ||
3973 | ||
c370783e | 3974 | static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3975 | PyObject *resultobj; |
3976 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3977 | wxString *arg2 = 0 ; | |
3978 | int arg3 = (int) 0 ; | |
b411df4a | 3979 | bool temp2 = false ; |
d55e5bfc RD |
3980 | PyObject * obj0 = 0 ; |
3981 | PyObject * obj1 = 0 ; | |
3982 | PyObject * obj2 = 0 ; | |
3983 | char *kwnames[] = { | |
3984 | (char *) "self",(char *) "text",(char *) "number", NULL | |
3985 | }; | |
3986 | ||
3987 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3988 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
3989 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3990 | { | |
3991 | arg2 = wxString_in_helper(obj1); | |
3992 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 3993 | temp2 = true; |
d55e5bfc RD |
3994 | } |
3995 | if (obj2) { | |
c370783e | 3996 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
3997 | if (PyErr_Occurred()) SWIG_fail; |
3998 | } | |
3999 | { | |
4000 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4001 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
4002 | ||
4003 | wxPyEndAllowThreads(__tstate); | |
4004 | if (PyErr_Occurred()) SWIG_fail; | |
4005 | } | |
4006 | Py_INCREF(Py_None); resultobj = Py_None; | |
4007 | { | |
4008 | if (temp2) | |
4009 | delete arg2; | |
4010 | } | |
4011 | return resultobj; | |
4012 | fail: | |
4013 | { | |
4014 | if (temp2) | |
4015 | delete arg2; | |
4016 | } | |
4017 | return NULL; | |
4018 | } | |
4019 | ||
4020 | ||
c370783e | 4021 | static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4022 | PyObject *resultobj; |
4023 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4024 | int arg2 = (int) 0 ; | |
4025 | PyObject * obj0 = 0 ; | |
4026 | PyObject * obj1 = 0 ; | |
4027 | char *kwnames[] = { | |
4028 | (char *) "self",(char *) "number", NULL | |
4029 | }; | |
4030 | ||
4031 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail; | |
4032 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
4033 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4034 | if (obj1) { | |
c370783e | 4035 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
4036 | if (PyErr_Occurred()) SWIG_fail; |
4037 | } | |
4038 | { | |
4039 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4040 | (arg1)->PopStatusText(arg2); | |
4041 | ||
4042 | wxPyEndAllowThreads(__tstate); | |
4043 | if (PyErr_Occurred()) SWIG_fail; | |
4044 | } | |
4045 | Py_INCREF(Py_None); resultobj = Py_None; | |
4046 | return resultobj; | |
4047 | fail: | |
4048 | return NULL; | |
4049 | } | |
4050 | ||
4051 | ||
c370783e | 4052 | static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4053 | PyObject *resultobj; |
4054 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4055 | int arg2 ; | |
4056 | PyObject * obj0 = 0 ; | |
4057 | PyObject * obj1 = 0 ; | |
4058 | char *kwnames[] = { | |
4059 | (char *) "self",(char *) "n", NULL | |
4060 | }; | |
4061 | ||
4062 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail; | |
4063 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
4064 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4065 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
4066 | if (PyErr_Occurred()) SWIG_fail; |
4067 | { | |
4068 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4069 | (arg1)->SetStatusBarPane(arg2); | |
4070 | ||
4071 | wxPyEndAllowThreads(__tstate); | |
4072 | if (PyErr_Occurred()) SWIG_fail; | |
4073 | } | |
4074 | Py_INCREF(Py_None); resultobj = Py_None; | |
4075 | return resultobj; | |
4076 | fail: | |
4077 | return NULL; | |
4078 | } | |
4079 | ||
4080 | ||
c370783e | 4081 | static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4082 | PyObject *resultobj; |
4083 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4084 | int result; | |
4085 | PyObject * obj0 = 0 ; | |
4086 | char *kwnames[] = { | |
4087 | (char *) "self", NULL | |
4088 | }; | |
4089 | ||
4090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail; | |
4091 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
4092 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4093 | { | |
4094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4095 | result = (int)((wxFrame const *)arg1)->GetStatusBarPane(); | |
4096 | ||
4097 | wxPyEndAllowThreads(__tstate); | |
4098 | if (PyErr_Occurred()) SWIG_fail; | |
4099 | } | |
c370783e | 4100 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
4101 | return resultobj; |
4102 | fail: | |
4103 | return NULL; | |
4104 | } | |
4105 | ||
4106 | ||
c370783e | 4107 | static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4108 | PyObject *resultobj; |
4109 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4110 | long arg2 = (long) -1 ; | |
4111 | int arg3 = (int) -1 ; | |
4112 | wxString const &arg4_defvalue = wxPyToolBarNameStr ; | |
4113 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
4114 | wxToolBar *result; | |
b411df4a | 4115 | bool temp4 = false ; |
d55e5bfc RD |
4116 | PyObject * obj0 = 0 ; |
4117 | PyObject * obj1 = 0 ; | |
4118 | PyObject * obj2 = 0 ; | |
4119 | PyObject * obj3 = 0 ; | |
4120 | char *kwnames[] = { | |
4121 | (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL | |
4122 | }; | |
4123 | ||
4124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
4125 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
4126 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4127 | if (obj1) { | |
c370783e | 4128 | arg2 = (long)SWIG_As_long(obj1); |
d55e5bfc RD |
4129 | if (PyErr_Occurred()) SWIG_fail; |
4130 | } | |
4131 | if (obj2) { | |
c370783e | 4132 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
4133 | if (PyErr_Occurred()) SWIG_fail; |
4134 | } | |
4135 | if (obj3) { | |
4136 | { | |
4137 | arg4 = wxString_in_helper(obj3); | |
4138 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 4139 | temp4 = true; |
d55e5bfc RD |
4140 | } |
4141 | } | |
4142 | { | |
4143 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4144 | result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4); | |
4145 | ||
4146 | wxPyEndAllowThreads(__tstate); | |
4147 | if (PyErr_Occurred()) SWIG_fail; | |
4148 | } | |
4149 | { | |
412d302d | 4150 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
4151 | } |
4152 | { | |
4153 | if (temp4) | |
4154 | delete arg4; | |
4155 | } | |
4156 | return resultobj; | |
4157 | fail: | |
4158 | { | |
4159 | if (temp4) | |
4160 | delete arg4; | |
4161 | } | |
4162 | return NULL; | |
4163 | } | |
4164 | ||
4165 | ||
c370783e | 4166 | static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4167 | PyObject *resultobj; |
4168 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4169 | wxToolBar *result; | |
4170 | PyObject * obj0 = 0 ; | |
4171 | char *kwnames[] = { | |
4172 | (char *) "self", NULL | |
4173 | }; | |
4174 | ||
4175 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail; | |
4176 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
4177 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4178 | { | |
4179 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4180 | result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar(); | |
4181 | ||
4182 | wxPyEndAllowThreads(__tstate); | |
4183 | if (PyErr_Occurred()) SWIG_fail; | |
4184 | } | |
4185 | { | |
412d302d | 4186 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
4187 | } |
4188 | return resultobj; | |
4189 | fail: | |
4190 | return NULL; | |
4191 | } | |
4192 | ||
4193 | ||
c370783e | 4194 | static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4195 | PyObject *resultobj; |
4196 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4197 | wxToolBar *arg2 = (wxToolBar *) 0 ; | |
4198 | PyObject * obj0 = 0 ; | |
4199 | PyObject * obj1 = 0 ; | |
4200 | char *kwnames[] = { | |
4201 | (char *) "self",(char *) "toolbar", NULL | |
4202 | }; | |
4203 | ||
4204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail; | |
4205 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
4206 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4207 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar, | |
4208 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4209 | { | |
4210 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4211 | (arg1)->SetToolBar(arg2); | |
4212 | ||
4213 | wxPyEndAllowThreads(__tstate); | |
4214 | if (PyErr_Occurred()) SWIG_fail; | |
4215 | } | |
4216 | Py_INCREF(Py_None); resultobj = Py_None; | |
4217 | return resultobj; | |
4218 | fail: | |
4219 | return NULL; | |
4220 | } | |
4221 | ||
4222 | ||
c370783e | 4223 | static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4224 | PyObject *resultobj; |
4225 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4226 | wxString *arg2 = 0 ; | |
4227 | bool arg3 ; | |
b411df4a | 4228 | bool temp2 = false ; |
d55e5bfc RD |
4229 | PyObject * obj0 = 0 ; |
4230 | PyObject * obj1 = 0 ; | |
4231 | PyObject * obj2 = 0 ; | |
4232 | char *kwnames[] = { | |
4233 | (char *) "self",(char *) "text",(char *) "show", NULL | |
4234 | }; | |
4235 | ||
4236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4237 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
4238 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4239 | { | |
4240 | arg2 = wxString_in_helper(obj1); | |
4241 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 4242 | temp2 = true; |
d55e5bfc | 4243 | } |
c370783e | 4244 | arg3 = (bool)SWIG_As_bool(obj2); |
d55e5bfc RD |
4245 | if (PyErr_Occurred()) SWIG_fail; |
4246 | { | |
4247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4248 | (arg1)->DoGiveHelp((wxString const &)*arg2,arg3); | |
4249 | ||
4250 | wxPyEndAllowThreads(__tstate); | |
4251 | if (PyErr_Occurred()) SWIG_fail; | |
4252 | } | |
4253 | Py_INCREF(Py_None); resultobj = Py_None; | |
4254 | { | |
4255 | if (temp2) | |
4256 | delete arg2; | |
4257 | } | |
4258 | return resultobj; | |
4259 | fail: | |
4260 | { | |
4261 | if (temp2) | |
4262 | delete arg2; | |
4263 | } | |
4264 | return NULL; | |
4265 | } | |
4266 | ||
4267 | ||
c370783e | 4268 | static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4269 | PyObject *resultobj; |
4270 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4271 | wxMenu *arg2 = (wxMenu *) NULL ; | |
4272 | PyObject * obj0 = 0 ; | |
4273 | PyObject * obj1 = 0 ; | |
4274 | char *kwnames[] = { | |
4275 | (char *) "self",(char *) "menu", NULL | |
4276 | }; | |
4277 | ||
4278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail; | |
4279 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, | |
4280 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4281 | if (obj1) { | |
4282 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu, | |
4283 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4284 | } | |
4285 | { | |
4286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4287 | (arg1)->DoMenuUpdates(arg2); | |
4288 | ||
4289 | wxPyEndAllowThreads(__tstate); | |
4290 | if (PyErr_Occurred()) SWIG_fail; | |
4291 | } | |
4292 | Py_INCREF(Py_None); resultobj = Py_None; | |
4293 | return resultobj; | |
4294 | fail: | |
4295 | return NULL; | |
4296 | } | |
4297 | ||
4298 | ||
c370783e | 4299 | static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
f20a2e1f RD |
4300 | PyObject *resultobj; |
4301 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
4302 | wxVisualAttributes result; | |
4303 | PyObject * obj0 = 0 ; | |
4304 | char *kwnames[] = { | |
4305 | (char *) "variant", NULL | |
4306 | }; | |
4307 | ||
4308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
4309 | if (obj0) { | |
c370783e | 4310 | arg1 = (int)SWIG_As_int(obj0); |
f20a2e1f RD |
4311 | if (PyErr_Occurred()) SWIG_fail; |
4312 | } | |
4313 | { | |
0439c23b | 4314 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
4315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4316 | result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
4317 | ||
4318 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4319 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
4320 | } |
4321 | { | |
4322 | wxVisualAttributes * resultptr; | |
4323 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
4324 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
4325 | } | |
4326 | return resultobj; | |
4327 | fail: | |
4328 | return NULL; | |
4329 | } | |
4330 | ||
4331 | ||
c370783e | 4332 | static PyObject * Frame_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
4333 | PyObject *obj; |
4334 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4335 | SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj); | |
4336 | Py_INCREF(obj); | |
4337 | return Py_BuildValue((char *)""); | |
4338 | } | |
c370783e | 4339 | static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4340 | PyObject *resultobj; |
4341 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 RD |
4342 | int arg2 = (int) (int)-1 ; |
4343 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
4344 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d55e5bfc RD |
4345 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
4346 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4347 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4348 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4349 | long arg6 = (long) wxDEFAULT_DIALOG_STYLE ; | |
4350 | wxString const &arg7_defvalue = wxPyDialogNameStr ; | |
4351 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
4352 | wxDialog *result; | |
b411df4a | 4353 | bool temp3 = false ; |
d55e5bfc RD |
4354 | wxPoint temp4 ; |
4355 | wxSize temp5 ; | |
b411df4a | 4356 | bool temp7 = false ; |
d55e5bfc RD |
4357 | PyObject * obj0 = 0 ; |
4358 | PyObject * obj1 = 0 ; | |
4359 | PyObject * obj2 = 0 ; | |
4360 | PyObject * obj3 = 0 ; | |
4361 | PyObject * obj4 = 0 ; | |
4362 | PyObject * obj5 = 0 ; | |
4363 | PyObject * obj6 = 0 ; | |
4364 | char *kwnames[] = { | |
4365 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4366 | }; | |
4367 | ||
bfddbb17 | 4368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d55e5bfc RD |
4369 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
4370 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
bfddbb17 | 4371 | if (obj1) { |
c370783e | 4372 | arg2 = (int)SWIG_As_int(obj1); |
bfddbb17 RD |
4373 | if (PyErr_Occurred()) SWIG_fail; |
4374 | } | |
4375 | if (obj2) { | |
4376 | { | |
4377 | arg3 = wxString_in_helper(obj2); | |
4378 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 4379 | temp3 = true; |
bfddbb17 | 4380 | } |
d55e5bfc RD |
4381 | } |
4382 | if (obj3) { | |
4383 | { | |
4384 | arg4 = &temp4; | |
4385 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4386 | } | |
4387 | } | |
4388 | if (obj4) { | |
4389 | { | |
4390 | arg5 = &temp5; | |
4391 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4392 | } | |
4393 | } | |
4394 | if (obj5) { | |
c370783e | 4395 | arg6 = (long)SWIG_As_long(obj5); |
d55e5bfc RD |
4396 | if (PyErr_Occurred()) SWIG_fail; |
4397 | } | |
4398 | if (obj6) { | |
4399 | { | |
4400 | arg7 = wxString_in_helper(obj6); | |
4401 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 4402 | temp7 = true; |
d55e5bfc RD |
4403 | } |
4404 | } | |
4405 | { | |
0439c23b | 4406 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
4407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4408 | result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
4409 | ||
4410 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4411 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 4412 | } |
b0f7404b | 4413 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1); |
d55e5bfc RD |
4414 | { |
4415 | if (temp3) | |
4416 | delete arg3; | |
4417 | } | |
4418 | { | |
4419 | if (temp7) | |
4420 | delete arg7; | |
4421 | } | |
4422 | return resultobj; | |
4423 | fail: | |
4424 | { | |
4425 | if (temp3) | |
4426 | delete arg3; | |
4427 | } | |
4428 | { | |
4429 | if (temp7) | |
4430 | delete arg7; | |
4431 | } | |
4432 | return NULL; | |
4433 | } | |
4434 | ||
4435 | ||
c370783e | 4436 | static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4437 | PyObject *resultobj; |
4438 | wxDialog *result; | |
4439 | char *kwnames[] = { | |
4440 | NULL | |
4441 | }; | |
4442 | ||
4443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail; | |
4444 | { | |
0439c23b | 4445 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
4446 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4447 | result = (wxDialog *)new wxDialog(); | |
4448 | ||
4449 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4450 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 4451 | } |
b0f7404b | 4452 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1); |
d55e5bfc RD |
4453 | return resultobj; |
4454 | fail: | |
4455 | return NULL; | |
4456 | } | |
4457 | ||
4458 | ||
c370783e | 4459 | static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4460 | PyObject *resultobj; |
4461 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4462 | wxWindow *arg2 = (wxWindow *) 0 ; | |
bfddbb17 RD |
4463 | int arg3 = (int) (int)-1 ; |
4464 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
4465 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d55e5bfc RD |
4466 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
4467 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
4468 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
4469 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
4470 | long arg7 = (long) wxDEFAULT_DIALOG_STYLE ; | |
4471 | wxString const &arg8_defvalue = wxPyDialogNameStr ; | |
4472 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
4473 | bool result; | |
b411df4a | 4474 | bool temp4 = false ; |
d55e5bfc RD |
4475 | wxPoint temp5 ; |
4476 | wxSize temp6 ; | |
b411df4a | 4477 | bool temp8 = false ; |
d55e5bfc RD |
4478 | PyObject * obj0 = 0 ; |
4479 | PyObject * obj1 = 0 ; | |
4480 | PyObject * obj2 = 0 ; | |
4481 | PyObject * obj3 = 0 ; | |
4482 | PyObject * obj4 = 0 ; | |
4483 | PyObject * obj5 = 0 ; | |
4484 | PyObject * obj6 = 0 ; | |
4485 | PyObject * obj7 = 0 ; | |
4486 | char *kwnames[] = { | |
4487 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4488 | }; | |
4489 | ||
bfddbb17 | 4490 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
d55e5bfc RD |
4491 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4492 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4493 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
4494 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
bfddbb17 | 4495 | if (obj2) { |
c370783e | 4496 | arg3 = (int)SWIG_As_int(obj2); |
bfddbb17 RD |
4497 | if (PyErr_Occurred()) SWIG_fail; |
4498 | } | |
4499 | if (obj3) { | |
4500 | { | |
4501 | arg4 = wxString_in_helper(obj3); | |
4502 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 4503 | temp4 = true; |
bfddbb17 | 4504 | } |
d55e5bfc RD |
4505 | } |
4506 | if (obj4) { | |
4507 | { | |
4508 | arg5 = &temp5; | |
4509 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
4510 | } | |
4511 | } | |
4512 | if (obj5) { | |
4513 | { | |
4514 | arg6 = &temp6; | |
4515 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
4516 | } | |
4517 | } | |
4518 | if (obj6) { | |
c370783e | 4519 | arg7 = (long)SWIG_As_long(obj6); |
d55e5bfc RD |
4520 | if (PyErr_Occurred()) SWIG_fail; |
4521 | } | |
4522 | if (obj7) { | |
4523 | { | |
4524 | arg8 = wxString_in_helper(obj7); | |
4525 | if (arg8 == NULL) SWIG_fail; | |
b411df4a | 4526 | temp8 = true; |
d55e5bfc RD |
4527 | } |
4528 | } | |
4529 | { | |
4530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4531 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
4532 | ||
4533 | wxPyEndAllowThreads(__tstate); | |
4534 | if (PyErr_Occurred()) SWIG_fail; | |
4535 | } | |
4536 | { | |
4537 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4538 | } | |
4539 | { | |
4540 | if (temp4) | |
4541 | delete arg4; | |
4542 | } | |
4543 | { | |
4544 | if (temp8) | |
4545 | delete arg8; | |
4546 | } | |
4547 | return resultobj; | |
4548 | fail: | |
4549 | { | |
4550 | if (temp4) | |
4551 | delete arg4; | |
4552 | } | |
4553 | { | |
4554 | if (temp8) | |
4555 | delete arg8; | |
4556 | } | |
4557 | return NULL; | |
4558 | } | |
4559 | ||
4560 | ||
c370783e | 4561 | static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4562 | PyObject *resultobj; |
4563 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4564 | int arg2 ; | |
4565 | PyObject * obj0 = 0 ; | |
4566 | PyObject * obj1 = 0 ; | |
4567 | char *kwnames[] = { | |
4568 | (char *) "self",(char *) "returnCode", NULL | |
4569 | }; | |
4570 | ||
4571 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail; | |
4572 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, | |
4573 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4574 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
4575 | if (PyErr_Occurred()) SWIG_fail; |
4576 | { | |
4577 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4578 | (arg1)->SetReturnCode(arg2); | |
4579 | ||
4580 | wxPyEndAllowThreads(__tstate); | |
4581 | if (PyErr_Occurred()) SWIG_fail; | |
4582 | } | |
4583 | Py_INCREF(Py_None); resultobj = Py_None; | |
4584 | return resultobj; | |
4585 | fail: | |
4586 | return NULL; | |
4587 | } | |
4588 | ||
4589 | ||
c370783e | 4590 | static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4591 | PyObject *resultobj; |
4592 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4593 | int result; | |
4594 | PyObject * obj0 = 0 ; | |
4595 | char *kwnames[] = { | |
4596 | (char *) "self", NULL | |
4597 | }; | |
4598 | ||
4599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail; | |
4600 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, | |
4601 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4602 | { | |
4603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4604 | result = (int)((wxDialog const *)arg1)->GetReturnCode(); | |
4605 | ||
4606 | wxPyEndAllowThreads(__tstate); | |
4607 | if (PyErr_Occurred()) SWIG_fail; | |
4608 | } | |
c370783e | 4609 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
4610 | return resultobj; |
4611 | fail: | |
4612 | return NULL; | |
4613 | } | |
4614 | ||
4615 | ||
c370783e | 4616 | static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4617 | PyObject *resultobj; |
4618 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4619 | wxString *arg2 = 0 ; | |
4620 | wxSizer *result; | |
b411df4a | 4621 | bool temp2 = false ; |
d55e5bfc RD |
4622 | PyObject * obj0 = 0 ; |
4623 | PyObject * obj1 = 0 ; | |
4624 | char *kwnames[] = { | |
4625 | (char *) "self",(char *) "message", NULL | |
4626 | }; | |
4627 | ||
4628 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail; | |
4629 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, | |
4630 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4631 | { | |
4632 | arg2 = wxString_in_helper(obj1); | |
4633 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 4634 | temp2 = true; |
d55e5bfc RD |
4635 | } |
4636 | { | |
4637 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4638 | result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2); | |
4639 | ||
4640 | wxPyEndAllowThreads(__tstate); | |
4641 | if (PyErr_Occurred()) SWIG_fail; | |
4642 | } | |
4643 | { | |
412d302d | 4644 | resultobj = wxPyMake_wxSizer(result, 0); |
d55e5bfc RD |
4645 | } |
4646 | { | |
4647 | if (temp2) | |
4648 | delete arg2; | |
4649 | } | |
4650 | return resultobj; | |
4651 | fail: | |
4652 | { | |
4653 | if (temp2) | |
4654 | delete arg2; | |
4655 | } | |
4656 | return NULL; | |
4657 | } | |
4658 | ||
4659 | ||
c370783e | 4660 | static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4661 | PyObject *resultobj; |
4662 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4663 | long arg2 ; | |
4664 | wxSizer *result; | |
4665 | PyObject * obj0 = 0 ; | |
4666 | PyObject * obj1 = 0 ; | |
4667 | char *kwnames[] = { | |
4668 | (char *) "self",(char *) "flags", NULL | |
4669 | }; | |
4670 | ||
4671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail; | |
4672 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, | |
4673 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4674 | arg2 = (long)SWIG_As_long(obj1); |
d55e5bfc RD |
4675 | if (PyErr_Occurred()) SWIG_fail; |
4676 | { | |
4677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4678 | result = (wxSizer *)(arg1)->CreateButtonSizer(arg2); | |
4679 | ||
4680 | wxPyEndAllowThreads(__tstate); | |
4681 | if (PyErr_Occurred()) SWIG_fail; | |
4682 | } | |
4683 | { | |
412d302d | 4684 | resultobj = wxPyMake_wxSizer(result, 0); |
d55e5bfc RD |
4685 | } |
4686 | return resultobj; | |
4687 | fail: | |
4688 | return NULL; | |
4689 | } | |
4690 | ||
4691 | ||
c370783e | 4692 | static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4693 | PyObject *resultobj; |
4694 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4695 | bool result; | |
4696 | PyObject * obj0 = 0 ; | |
4697 | char *kwnames[] = { | |
4698 | (char *) "self", NULL | |
4699 | }; | |
4700 | ||
4701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail; | |
4702 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, | |
4703 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4704 | { | |
4705 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4706 | result = (bool)((wxDialog const *)arg1)->IsModal(); | |
4707 | ||
4708 | wxPyEndAllowThreads(__tstate); | |
4709 | if (PyErr_Occurred()) SWIG_fail; | |
4710 | } | |
4711 | { | |
4712 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4713 | } | |
4714 | return resultobj; | |
4715 | fail: | |
4716 | return NULL; | |
4717 | } | |
4718 | ||
4719 | ||
c370783e | 4720 | static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4721 | PyObject *resultobj; |
4722 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4723 | int result; | |
4724 | PyObject * obj0 = 0 ; | |
4725 | char *kwnames[] = { | |
4726 | (char *) "self", NULL | |
4727 | }; | |
4728 | ||
4729 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail; | |
4730 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, | |
4731 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4732 | { | |
4733 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4734 | result = (int)(arg1)->ShowModal(); | |
4735 | ||
4736 | wxPyEndAllowThreads(__tstate); | |
4737 | if (PyErr_Occurred()) SWIG_fail; | |
4738 | } | |
c370783e | 4739 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
4740 | return resultobj; |
4741 | fail: | |
4742 | return NULL; | |
4743 | } | |
4744 | ||
4745 | ||
c370783e | 4746 | static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4747 | PyObject *resultobj; |
4748 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4749 | int arg2 ; | |
4750 | PyObject * obj0 = 0 ; | |
4751 | PyObject * obj1 = 0 ; | |
4752 | char *kwnames[] = { | |
4753 | (char *) "self",(char *) "retCode", NULL | |
4754 | }; | |
4755 | ||
4756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail; | |
4757 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, | |
4758 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4759 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
4760 | if (PyErr_Occurred()) SWIG_fail; |
4761 | { | |
4762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4763 | (arg1)->EndModal(arg2); | |
4764 | ||
4765 | wxPyEndAllowThreads(__tstate); | |
4766 | if (PyErr_Occurred()) SWIG_fail; | |
4767 | } | |
4768 | Py_INCREF(Py_None); resultobj = Py_None; | |
4769 | return resultobj; | |
4770 | fail: | |
4771 | return NULL; | |
4772 | } | |
4773 | ||
4774 | ||
c370783e | 4775 | static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
f20a2e1f RD |
4776 | PyObject *resultobj; |
4777 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
4778 | wxVisualAttributes result; | |
4779 | PyObject * obj0 = 0 ; | |
4780 | char *kwnames[] = { | |
4781 | (char *) "variant", NULL | |
4782 | }; | |
4783 | ||
4784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
4785 | if (obj0) { | |
c370783e | 4786 | arg1 = (int)SWIG_As_int(obj0); |
f20a2e1f RD |
4787 | if (PyErr_Occurred()) SWIG_fail; |
4788 | } | |
4789 | { | |
0439c23b | 4790 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
4791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4792 | result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
4793 | ||
4794 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4795 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
4796 | } |
4797 | { | |
4798 | wxVisualAttributes * resultptr; | |
4799 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
4800 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
4801 | } | |
4802 | return resultobj; | |
4803 | fail: | |
4804 | return NULL; | |
4805 | } | |
4806 | ||
4807 | ||
c370783e | 4808 | static PyObject * Dialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
4809 | PyObject *obj; |
4810 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4811 | SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj); | |
4812 | Py_INCREF(obj); | |
4813 | return Py_BuildValue((char *)""); | |
4814 | } | |
c370783e | 4815 | static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4816 | PyObject *resultobj; |
4817 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 RD |
4818 | int arg2 = (int) (int)-1 ; |
4819 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
4820 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d55e5bfc RD |
4821 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
4822 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4823 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4824 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4825 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
4826 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
4827 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
4828 | wxMiniFrame *result; | |
b411df4a | 4829 | bool temp3 = false ; |
d55e5bfc RD |
4830 | wxPoint temp4 ; |
4831 | wxSize temp5 ; | |
b411df4a | 4832 | bool temp7 = false ; |
d55e5bfc RD |
4833 | PyObject * obj0 = 0 ; |
4834 | PyObject * obj1 = 0 ; | |
4835 | PyObject * obj2 = 0 ; | |
4836 | PyObject * obj3 = 0 ; | |
4837 | PyObject * obj4 = 0 ; | |
4838 | PyObject * obj5 = 0 ; | |
4839 | PyObject * obj6 = 0 ; | |
4840 | char *kwnames[] = { | |
4841 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4842 | }; | |
4843 | ||
bfddbb17 | 4844 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d55e5bfc RD |
4845 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
4846 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
bfddbb17 | 4847 | if (obj1) { |
c370783e | 4848 | arg2 = (int)SWIG_As_int(obj1); |
bfddbb17 RD |
4849 | if (PyErr_Occurred()) SWIG_fail; |
4850 | } | |
4851 | if (obj2) { | |
4852 | { | |
4853 | arg3 = wxString_in_helper(obj2); | |
4854 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 4855 | temp3 = true; |
bfddbb17 | 4856 | } |
d55e5bfc RD |
4857 | } |
4858 | if (obj3) { | |
4859 | { | |
4860 | arg4 = &temp4; | |
4861 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4862 | } | |
4863 | } | |
4864 | if (obj4) { | |
4865 | { | |
4866 | arg5 = &temp5; | |
4867 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4868 | } | |
4869 | } | |
4870 | if (obj5) { | |
c370783e | 4871 | arg6 = (long)SWIG_As_long(obj5); |
d55e5bfc RD |
4872 | if (PyErr_Occurred()) SWIG_fail; |
4873 | } | |
4874 | if (obj6) { | |
4875 | { | |
4876 | arg7 = wxString_in_helper(obj6); | |
4877 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 4878 | temp7 = true; |
d55e5bfc RD |
4879 | } |
4880 | } | |
4881 | { | |
0439c23b | 4882 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
4883 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4884 | result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
4885 | ||
4886 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4887 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
4888 | } |
4889 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); | |
4890 | { | |
4891 | if (temp3) | |
4892 | delete arg3; | |
4893 | } | |
4894 | { | |
4895 | if (temp7) | |
4896 | delete arg7; | |
4897 | } | |
4898 | return resultobj; | |
4899 | fail: | |
4900 | { | |
4901 | if (temp3) | |
4902 | delete arg3; | |
4903 | } | |
4904 | { | |
4905 | if (temp7) | |
4906 | delete arg7; | |
4907 | } | |
4908 | return NULL; | |
4909 | } | |
4910 | ||
4911 | ||
c370783e | 4912 | static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4913 | PyObject *resultobj; |
4914 | wxMiniFrame *result; | |
4915 | char *kwnames[] = { | |
4916 | NULL | |
4917 | }; | |
4918 | ||
4919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail; | |
4920 | { | |
0439c23b | 4921 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
4922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4923 | result = (wxMiniFrame *)new wxMiniFrame(); | |
4924 | ||
4925 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4926 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
4927 | } |
4928 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); | |
4929 | return resultobj; | |
4930 | fail: | |
4931 | return NULL; | |
4932 | } | |
4933 | ||
4934 | ||
c370783e | 4935 | static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4936 | PyObject *resultobj; |
4937 | wxMiniFrame *arg1 = (wxMiniFrame *) 0 ; | |
4938 | wxWindow *arg2 = (wxWindow *) 0 ; | |
bfddbb17 RD |
4939 | int arg3 = (int) (int)-1 ; |
4940 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
4941 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d55e5bfc RD |
4942 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
4943 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
4944 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
4945 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
4946 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
4947 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
4948 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
4949 | bool result; | |
b411df4a | 4950 | bool temp4 = false ; |
d55e5bfc RD |
4951 | wxPoint temp5 ; |
4952 | wxSize temp6 ; | |
b411df4a | 4953 | bool temp8 = false ; |
d55e5bfc RD |
4954 | PyObject * obj0 = 0 ; |
4955 | PyObject * obj1 = 0 ; | |
4956 | PyObject * obj2 = 0 ; | |
4957 | PyObject * obj3 = 0 ; | |
4958 | PyObject * obj4 = 0 ; | |
4959 | PyObject * obj5 = 0 ; | |
4960 | PyObject * obj6 = 0 ; | |
4961 | PyObject * obj7 = 0 ; | |
4962 | char *kwnames[] = { | |
4963 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4964 | }; | |
4965 | ||
bfddbb17 | 4966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
d55e5bfc RD |
4967 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame, |
4968 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4969 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
4970 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
bfddbb17 | 4971 | if (obj2) { |
c370783e | 4972 | arg3 = (int)SWIG_As_int(obj2); |
bfddbb17 RD |
4973 | if (PyErr_Occurred()) SWIG_fail; |
4974 | } | |
4975 | if (obj3) { | |
4976 | { | |
4977 | arg4 = wxString_in_helper(obj3); | |
4978 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 4979 | temp4 = true; |
bfddbb17 | 4980 | } |
d55e5bfc RD |
4981 | } |
4982 | if (obj4) { | |
4983 | { | |
4984 | arg5 = &temp5; | |
4985 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
4986 | } | |
4987 | } | |
4988 | if (obj5) { | |
4989 | { | |
4990 | arg6 = &temp6; | |
4991 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
4992 | } | |
4993 | } | |
4994 | if (obj6) { | |
c370783e | 4995 | arg7 = (long)SWIG_As_long(obj6); |
d55e5bfc RD |
4996 | if (PyErr_Occurred()) SWIG_fail; |
4997 | } | |
4998 | if (obj7) { | |
4999 | { | |
5000 | arg8 = wxString_in_helper(obj7); | |
5001 | if (arg8 == NULL) SWIG_fail; | |
b411df4a | 5002 | temp8 = true; |
d55e5bfc RD |
5003 | } |
5004 | } | |
5005 | { | |
5006 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5007 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
5008 | ||
5009 | wxPyEndAllowThreads(__tstate); | |
5010 | if (PyErr_Occurred()) SWIG_fail; | |
5011 | } | |
5012 | { | |
5013 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5014 | } | |
5015 | { | |
5016 | if (temp4) | |
5017 | delete arg4; | |
5018 | } | |
5019 | { | |
5020 | if (temp8) | |
5021 | delete arg8; | |
5022 | } | |
5023 | return resultobj; | |
5024 | fail: | |
5025 | { | |
5026 | if (temp4) | |
5027 | delete arg4; | |
5028 | } | |
5029 | { | |
5030 | if (temp8) | |
5031 | delete arg8; | |
5032 | } | |
5033 | return NULL; | |
5034 | } | |
5035 | ||
5036 | ||
c370783e | 5037 | static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
5038 | PyObject *obj; |
5039 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5040 | SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj); | |
5041 | Py_INCREF(obj); | |
5042 | return Py_BuildValue((char *)""); | |
5043 | } | |
c370783e | 5044 | static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5045 | PyObject *resultobj; |
5046 | wxBitmap *arg1 = 0 ; | |
5047 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5048 | int arg3 ; | |
5049 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
5050 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
5051 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
5052 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
5053 | long arg6 = (long) wxNO_BORDER ; | |
5054 | wxSplashScreenWindow *result; | |
5055 | wxPoint temp4 ; | |
5056 | wxSize temp5 ; | |
5057 | PyObject * obj0 = 0 ; | |
5058 | PyObject * obj1 = 0 ; | |
5059 | PyObject * obj2 = 0 ; | |
5060 | PyObject * obj3 = 0 ; | |
5061 | PyObject * obj4 = 0 ; | |
5062 | PyObject * obj5 = 0 ; | |
5063 | char *kwnames[] = { | |
5064 | (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
5065 | }; | |
5066 | ||
5067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
5068 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap, | |
5069 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5070 | SWIG_fail; | |
5071 | if (arg1 == NULL) { | |
5072 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
5073 | SWIG_fail; | |
5074 | } | |
5075 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5076 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5077 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
5078 | if (PyErr_Occurred()) SWIG_fail; |
5079 | if (obj3) { | |
5080 | { | |
5081 | arg4 = &temp4; | |
5082 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
5083 | } | |
5084 | } | |
5085 | if (obj4) { | |
5086 | { | |
5087 | arg5 = &temp5; | |
5088 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
5089 | } | |
5090 | } | |
5091 | if (obj5) { | |
c370783e | 5092 | arg6 = (long)SWIG_As_long(obj5); |
d55e5bfc RD |
5093 | if (PyErr_Occurred()) SWIG_fail; |
5094 | } | |
5095 | { | |
0439c23b | 5096 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
5097 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5098 | result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
5099 | ||
5100 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5101 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
5102 | } |
5103 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1); | |
5104 | return resultobj; | |
5105 | fail: | |
5106 | return NULL; | |
5107 | } | |
5108 | ||
5109 | ||
c370783e | 5110 | static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5111 | PyObject *resultobj; |
5112 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
5113 | wxBitmap *arg2 = 0 ; | |
5114 | PyObject * obj0 = 0 ; | |
5115 | PyObject * obj1 = 0 ; | |
5116 | char *kwnames[] = { | |
5117 | (char *) "self",(char *) "bitmap", NULL | |
5118 | }; | |
5119 | ||
5120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail; | |
5121 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow, | |
5122 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5123 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap, | |
5124 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5125 | SWIG_fail; | |
5126 | if (arg2 == NULL) { | |
5127 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
5128 | SWIG_fail; | |
5129 | } | |
5130 | { | |
5131 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5132 | (arg1)->SetBitmap((wxBitmap const &)*arg2); | |
5133 | ||
5134 | wxPyEndAllowThreads(__tstate); | |
5135 | if (PyErr_Occurred()) SWIG_fail; | |
5136 | } | |
5137 | Py_INCREF(Py_None); resultobj = Py_None; | |
5138 | return resultobj; | |
5139 | fail: | |
5140 | return NULL; | |
5141 | } | |
5142 | ||
5143 | ||
c370783e | 5144 | static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5145 | PyObject *resultobj; |
5146 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
5147 | wxBitmap *result; | |
5148 | PyObject * obj0 = 0 ; | |
5149 | char *kwnames[] = { | |
5150 | (char *) "self", NULL | |
5151 | }; | |
5152 | ||
5153 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail; | |
5154 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow, | |
5155 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5156 | { | |
5157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5158 | { | |
5159 | wxBitmap &_result_ref = (arg1)->GetBitmap(); | |
5160 | result = (wxBitmap *) &_result_ref; | |
5161 | } | |
5162 | ||
5163 | wxPyEndAllowThreads(__tstate); | |
5164 | if (PyErr_Occurred()) SWIG_fail; | |
5165 | } | |
5166 | { | |
5167 | wxBitmap* resultptr = new wxBitmap(*result); | |
5168 | resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1); | |
5169 | } | |
5170 | return resultobj; | |
5171 | fail: | |
5172 | return NULL; | |
5173 | } | |
5174 | ||
5175 | ||
c370783e | 5176 | static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
5177 | PyObject *obj; |
5178 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5179 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj); | |
5180 | Py_INCREF(obj); | |
5181 | return Py_BuildValue((char *)""); | |
5182 | } | |
c370783e | 5183 | static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5184 | PyObject *resultobj; |
5185 | wxBitmap *arg1 = 0 ; | |
5186 | long arg2 ; | |
5187 | int arg3 ; | |
5188 | wxWindow *arg4 = (wxWindow *) 0 ; | |
bfddbb17 | 5189 | int arg5 = (int) -1 ; |
d55e5bfc RD |
5190 | wxPoint const &arg6_defvalue = wxDefaultPosition ; |
5191 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
5192 | wxSize const &arg7_defvalue = wxDefaultSize ; | |
5193 | wxSize *arg7 = (wxSize *) &arg7_defvalue ; | |
5194 | long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ; | |
5195 | wxSplashScreen *result; | |
5196 | wxPoint temp6 ; | |
5197 | wxSize temp7 ; | |
5198 | PyObject * obj0 = 0 ; | |
5199 | PyObject * obj1 = 0 ; | |
5200 | PyObject * obj2 = 0 ; | |
5201 | PyObject * obj3 = 0 ; | |
5202 | PyObject * obj4 = 0 ; | |
5203 | PyObject * obj5 = 0 ; | |
5204 | PyObject * obj6 = 0 ; | |
5205 | PyObject * obj7 = 0 ; | |
5206 | char *kwnames[] = { | |
5207 | (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
5208 | }; | |
5209 | ||
bfddbb17 | 5210 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
d55e5bfc RD |
5211 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap, |
5212 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5213 | SWIG_fail; | |
5214 | if (arg1 == NULL) { | |
5215 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
5216 | SWIG_fail; | |
5217 | } | |
c370783e | 5218 | arg2 = (long)SWIG_As_long(obj1); |
d55e5bfc | 5219 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 5220 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
5221 | if (PyErr_Occurred()) SWIG_fail; |
5222 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow, | |
5223 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
bfddbb17 | 5224 | if (obj4) { |
c370783e | 5225 | arg5 = (int)SWIG_As_int(obj4); |
bfddbb17 RD |
5226 | if (PyErr_Occurred()) SWIG_fail; |
5227 | } | |
d55e5bfc RD |
5228 | if (obj5) { |
5229 | { | |
5230 | arg6 = &temp6; | |
5231 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
5232 | } | |
5233 | } | |
5234 | if (obj6) { | |
5235 | { | |
5236 | arg7 = &temp7; | |
5237 | if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail; | |
5238 | } | |
5239 | } | |
5240 | if (obj7) { | |
c370783e | 5241 | arg8 = (long)SWIG_As_long(obj7); |
d55e5bfc RD |
5242 | if (PyErr_Occurred()) SWIG_fail; |
5243 | } | |
5244 | { | |
0439c23b | 5245 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
5246 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5247 | result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8); | |
5248 | ||
5249 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5250 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
5251 | } |
5252 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1); | |
5253 | return resultobj; | |
5254 | fail: | |
5255 | return NULL; | |
5256 | } | |
5257 | ||
5258 | ||
c370783e | 5259 | static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5260 | PyObject *resultobj; |
5261 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
5262 | long result; | |
5263 | PyObject * obj0 = 0 ; | |
5264 | char *kwnames[] = { | |
5265 | (char *) "self", NULL | |
5266 | }; | |
5267 | ||
5268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail; | |
5269 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen, | |
5270 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5271 | { | |
5272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5273 | result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle(); | |
5274 | ||
5275 | wxPyEndAllowThreads(__tstate); | |
5276 | if (PyErr_Occurred()) SWIG_fail; | |
5277 | } | |
c370783e | 5278 | resultobj = SWIG_From_long((long)result); |
d55e5bfc RD |
5279 | return resultobj; |
5280 | fail: | |
5281 | return NULL; | |
5282 | } | |
5283 | ||
5284 | ||
c370783e | 5285 | static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5286 | PyObject *resultobj; |
5287 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
5288 | wxSplashScreenWindow *result; | |
5289 | PyObject * obj0 = 0 ; | |
5290 | char *kwnames[] = { | |
5291 | (char *) "self", NULL | |
5292 | }; | |
5293 | ||
5294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail; | |
5295 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen, | |
5296 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5297 | { | |
5298 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5299 | result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow(); | |
5300 | ||
5301 | wxPyEndAllowThreads(__tstate); | |
5302 | if (PyErr_Occurred()) SWIG_fail; | |
5303 | } | |
5304 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0); | |
5305 | return resultobj; | |
5306 | fail: | |
5307 | return NULL; | |
5308 | } | |
5309 | ||
5310 | ||
c370783e | 5311 | static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5312 | PyObject *resultobj; |
5313 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
5314 | int result; | |
5315 | PyObject * obj0 = 0 ; | |
5316 | char *kwnames[] = { | |
5317 | (char *) "self", NULL | |
5318 | }; | |
5319 | ||
5320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail; | |
5321 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen, | |
5322 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5323 | { | |
5324 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5325 | result = (int)((wxSplashScreen const *)arg1)->GetTimeout(); | |
5326 | ||
5327 | wxPyEndAllowThreads(__tstate); | |
5328 | if (PyErr_Occurred()) SWIG_fail; | |
5329 | } | |
c370783e | 5330 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
5331 | return resultobj; |
5332 | fail: | |
5333 | return NULL; | |
5334 | } | |
5335 | ||
5336 | ||
c370783e | 5337 | static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
5338 | PyObject *obj; |
5339 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5340 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj); | |
5341 | Py_INCREF(obj); | |
5342 | return Py_BuildValue((char *)""); | |
5343 | } | |
c370783e | 5344 | static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5345 | PyObject *resultobj; |
5346 | wxWindow *arg1 = (wxWindow *) 0 ; | |
5347 | int arg2 = (int) -1 ; | |
5348 | long arg3 = (long) wxST_SIZEGRIP ; | |
5349 | wxString const &arg4_defvalue = wxPyStatusLineNameStr ; | |
5350 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
5351 | wxStatusBar *result; | |
b411df4a | 5352 | bool temp4 = false ; |
d55e5bfc RD |
5353 | PyObject * obj0 = 0 ; |
5354 | PyObject * obj1 = 0 ; | |
5355 | PyObject * obj2 = 0 ; | |
5356 | PyObject * obj3 = 0 ; | |
5357 | char *kwnames[] = { | |
5358 | (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
5359 | }; | |
5360 | ||
5361 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
5362 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
5363 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5364 | if (obj1) { | |
c370783e | 5365 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
5366 | if (PyErr_Occurred()) SWIG_fail; |
5367 | } | |
5368 | if (obj2) { | |
c370783e | 5369 | arg3 = (long)SWIG_As_long(obj2); |
d55e5bfc RD |
5370 | if (PyErr_Occurred()) SWIG_fail; |
5371 | } | |
5372 | if (obj3) { | |
5373 | { | |
5374 | arg4 = wxString_in_helper(obj3); | |
5375 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 5376 | temp4 = true; |
d55e5bfc RD |
5377 | } |
5378 | } | |
5379 | { | |
0439c23b | 5380 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
5381 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5382 | result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4); | |
5383 | ||
5384 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5385 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 5386 | } |
b0f7404b | 5387 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1); |
d55e5bfc RD |
5388 | { |
5389 | if (temp4) | |
5390 | delete arg4; | |
5391 | } | |
5392 | return resultobj; | |
5393 | fail: | |
5394 | { | |
5395 | if (temp4) | |
5396 | delete arg4; | |
5397 | } | |
5398 | return NULL; | |
5399 | } | |
5400 | ||
5401 | ||
c370783e | 5402 | static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5403 | PyObject *resultobj; |
5404 | wxStatusBar *result; | |
5405 | char *kwnames[] = { | |
5406 | NULL | |
5407 | }; | |
5408 | ||
5409 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail; | |
5410 | { | |
0439c23b | 5411 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
5412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5413 | result = (wxStatusBar *)new wxStatusBar(); | |
5414 | ||
5415 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5416 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 5417 | } |
b0f7404b | 5418 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1); |
d55e5bfc RD |
5419 | return resultobj; |
5420 | fail: | |
5421 | return NULL; | |
5422 | } | |
5423 | ||
5424 | ||
c370783e | 5425 | static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5426 | PyObject *resultobj; |
5427 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5428 | wxWindow *arg2 = (wxWindow *) 0 ; | |
bfddbb17 | 5429 | int arg3 = (int) -1 ; |
d55e5bfc RD |
5430 | long arg4 = (long) wxST_SIZEGRIP ; |
5431 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; | |
5432 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
5433 | bool result; | |
b411df4a | 5434 | bool temp5 = false ; |
d55e5bfc RD |
5435 | PyObject * obj0 = 0 ; |
5436 | PyObject * obj1 = 0 ; | |
5437 | PyObject * obj2 = 0 ; | |
5438 | PyObject * obj3 = 0 ; | |
5439 | PyObject * obj4 = 0 ; | |
5440 | char *kwnames[] = { | |
5441 | (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
5442 | }; | |
5443 | ||
bfddbb17 | 5444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
d55e5bfc RD |
5445 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5446 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5447 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5448 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
bfddbb17 | 5449 | if (obj2) { |
c370783e | 5450 | arg3 = (int)SWIG_As_int(obj2); |
bfddbb17 RD |
5451 | if (PyErr_Occurred()) SWIG_fail; |
5452 | } | |
d55e5bfc | 5453 | if (obj3) { |
c370783e | 5454 | arg4 = (long)SWIG_As_long(obj3); |
d55e5bfc RD |
5455 | if (PyErr_Occurred()) SWIG_fail; |
5456 | } | |
5457 | if (obj4) { | |
5458 | { | |
5459 | arg5 = wxString_in_helper(obj4); | |
5460 | if (arg5 == NULL) SWIG_fail; | |
b411df4a | 5461 | temp5 = true; |
d55e5bfc RD |
5462 | } |
5463 | } | |
5464 | { | |
5465 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5466 | result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5); | |
5467 | ||
5468 | wxPyEndAllowThreads(__tstate); | |
5469 | if (PyErr_Occurred()) SWIG_fail; | |
5470 | } | |
5471 | { | |
5472 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5473 | } | |
5474 | { | |
5475 | if (temp5) | |
5476 | delete arg5; | |
5477 | } | |
5478 | return resultobj; | |
5479 | fail: | |
5480 | { | |
5481 | if (temp5) | |
5482 | delete arg5; | |
5483 | } | |
5484 | return NULL; | |
5485 | } | |
5486 | ||
5487 | ||
c370783e | 5488 | static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5489 | PyObject *resultobj; |
5490 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5491 | int arg2 = (int) 1 ; | |
5492 | PyObject * obj0 = 0 ; | |
5493 | PyObject * obj1 = 0 ; | |
5494 | char *kwnames[] = { | |
5495 | (char *) "self",(char *) "number", NULL | |
5496 | }; | |
5497 | ||
5498 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail; | |
5499 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, | |
5500 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5501 | if (obj1) { | |
c370783e | 5502 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
5503 | if (PyErr_Occurred()) SWIG_fail; |
5504 | } | |
5505 | { | |
5506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5507 | (arg1)->SetFieldsCount(arg2); | |
5508 | ||
5509 | wxPyEndAllowThreads(__tstate); | |
5510 | if (PyErr_Occurred()) SWIG_fail; | |
5511 | } | |
5512 | Py_INCREF(Py_None); resultobj = Py_None; | |
5513 | return resultobj; | |
5514 | fail: | |
5515 | return NULL; | |
5516 | } | |
5517 | ||
5518 | ||
c370783e | 5519 | static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5520 | PyObject *resultobj; |
5521 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5522 | int result; | |
5523 | PyObject * obj0 = 0 ; | |
5524 | char *kwnames[] = { | |
5525 | (char *) "self", NULL | |
5526 | }; | |
5527 | ||
5528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail; | |
5529 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, | |
5530 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5531 | { | |
5532 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5533 | result = (int)((wxStatusBar const *)arg1)->GetFieldsCount(); | |
5534 | ||
5535 | wxPyEndAllowThreads(__tstate); | |
5536 | if (PyErr_Occurred()) SWIG_fail; | |
5537 | } | |
c370783e | 5538 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
5539 | return resultobj; |
5540 | fail: | |
5541 | return NULL; | |
5542 | } | |
5543 | ||
5544 | ||
c370783e | 5545 | static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5546 | PyObject *resultobj; |
5547 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5548 | wxString *arg2 = 0 ; | |
5549 | int arg3 = (int) 0 ; | |
b411df4a | 5550 | bool temp2 = false ; |
d55e5bfc RD |
5551 | PyObject * obj0 = 0 ; |
5552 | PyObject * obj1 = 0 ; | |
5553 | PyObject * obj2 = 0 ; | |
5554 | char *kwnames[] = { | |
5555 | (char *) "self",(char *) "text",(char *) "number", NULL | |
5556 | }; | |
5557 | ||
5558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5559 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, | |
5560 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5561 | { | |
5562 | arg2 = wxString_in_helper(obj1); | |
5563 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 5564 | temp2 = true; |
d55e5bfc RD |
5565 | } |
5566 | if (obj2) { | |
c370783e | 5567 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
5568 | if (PyErr_Occurred()) SWIG_fail; |
5569 | } | |
5570 | { | |
5571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5572 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
5573 | ||
5574 | wxPyEndAllowThreads(__tstate); | |
5575 | if (PyErr_Occurred()) SWIG_fail; | |
5576 | } | |
5577 | Py_INCREF(Py_None); resultobj = Py_None; | |
5578 | { | |
5579 | if (temp2) | |
5580 | delete arg2; | |
5581 | } | |
5582 | return resultobj; | |
5583 | fail: | |
5584 | { | |
5585 | if (temp2) | |
5586 | delete arg2; | |
5587 | } | |
5588 | return NULL; | |
5589 | } | |
5590 | ||
5591 | ||
c370783e | 5592 | static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5593 | PyObject *resultobj; |
5594 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5595 | int arg2 = (int) 0 ; | |
5596 | wxString result; | |
5597 | PyObject * obj0 = 0 ; | |
5598 | PyObject * obj1 = 0 ; | |
5599 | char *kwnames[] = { | |
5600 | (char *) "self",(char *) "number", NULL | |
5601 | }; | |
5602 | ||
5603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail; | |
5604 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, | |
5605 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5606 | if (obj1) { | |
c370783e | 5607 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
5608 | if (PyErr_Occurred()) SWIG_fail; |
5609 | } | |
5610 | { | |
5611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5612 | result = ((wxStatusBar const *)arg1)->GetStatusText(arg2); | |
5613 | ||
5614 | wxPyEndAllowThreads(__tstate); | |
5615 | if (PyErr_Occurred()) SWIG_fail; | |
5616 | } | |
5617 | { | |
5618 | #if wxUSE_UNICODE | |
5619 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5620 | #else | |
5621 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5622 | #endif | |
5623 | } | |
5624 | return resultobj; | |
5625 | fail: | |
5626 | return NULL; | |
5627 | } | |
5628 | ||
5629 | ||
c370783e | 5630 | static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5631 | PyObject *resultobj; |
5632 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5633 | wxString *arg2 = 0 ; | |
5634 | int arg3 = (int) 0 ; | |
b411df4a | 5635 | bool temp2 = false ; |
d55e5bfc RD |
5636 | PyObject * obj0 = 0 ; |
5637 | PyObject * obj1 = 0 ; | |
5638 | PyObject * obj2 = 0 ; | |
5639 | char *kwnames[] = { | |
5640 | (char *) "self",(char *) "text",(char *) "number", NULL | |
5641 | }; | |
5642 | ||
5643 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5644 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, | |
5645 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5646 | { | |
5647 | arg2 = wxString_in_helper(obj1); | |
5648 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 5649 | temp2 = true; |
d55e5bfc RD |
5650 | } |
5651 | if (obj2) { | |
c370783e | 5652 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
5653 | if (PyErr_Occurred()) SWIG_fail; |
5654 | } | |
5655 | { | |
5656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5657 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
5658 | ||
5659 | wxPyEndAllowThreads(__tstate); | |
5660 | if (PyErr_Occurred()) SWIG_fail; | |
5661 | } | |
5662 | Py_INCREF(Py_None); resultobj = Py_None; | |
5663 | { | |
5664 | if (temp2) | |
5665 | delete arg2; | |
5666 | } | |
5667 | return resultobj; | |
5668 | fail: | |
5669 | { | |
5670 | if (temp2) | |
5671 | delete arg2; | |
5672 | } | |
5673 | return NULL; | |
5674 | } | |
5675 | ||
5676 | ||
c370783e | 5677 | static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5678 | PyObject *resultobj; |
5679 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5680 | int arg2 = (int) 0 ; | |
5681 | PyObject * obj0 = 0 ; | |
5682 | PyObject * obj1 = 0 ; | |
5683 | char *kwnames[] = { | |
5684 | (char *) "self",(char *) "number", NULL | |
5685 | }; | |
5686 | ||
5687 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail; | |
5688 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, | |
5689 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5690 | if (obj1) { | |
c370783e | 5691 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
5692 | if (PyErr_Occurred()) SWIG_fail; |
5693 | } | |
5694 | { | |
5695 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5696 | (arg1)->PopStatusText(arg2); | |
5697 | ||
5698 | wxPyEndAllowThreads(__tstate); | |
5699 | if (PyErr_Occurred()) SWIG_fail; | |
5700 | } | |
5701 | Py_INCREF(Py_None); resultobj = Py_None; | |
5702 | return resultobj; | |
5703 | fail: | |
5704 | return NULL; | |
5705 | } | |
5706 | ||
5707 | ||
c370783e | 5708 | static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5709 | PyObject *resultobj; |
5710 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5711 | int arg2 ; | |
5712 | int *arg3 = (int *) 0 ; | |
5713 | PyObject * obj0 = 0 ; | |
5714 | PyObject * obj1 = 0 ; | |
5715 | char *kwnames[] = { | |
5716 | (char *) "self",(char *) "widths", NULL | |
5717 | }; | |
5718 | ||
5719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
5720 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, | |
5721 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5722 | { | |
5723 | arg2 = PyList_Size(obj1); | |
5724 | arg3 = int_LIST_helper(obj1); | |
5725 | if (arg3 == NULL) SWIG_fail; | |
5726 | } | |
5727 | { | |
5728 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5729 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
5730 | ||
5731 | wxPyEndAllowThreads(__tstate); | |
5732 | if (PyErr_Occurred()) SWIG_fail; | |
5733 | } | |
5734 | Py_INCREF(Py_None); resultobj = Py_None; | |
5735 | { | |
5736 | if (arg3) delete [] arg3; | |
5737 | } | |
5738 | return resultobj; | |
5739 | fail: | |
5740 | { | |
5741 | if (arg3) delete [] arg3; | |
5742 | } | |
5743 | return NULL; | |
5744 | } | |
5745 | ||
5746 | ||
c370783e | 5747 | static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) { |
03837c5c RD |
5748 | PyObject *resultobj; |
5749 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5750 | int arg2 ; | |
5751 | int *arg3 = (int *) 0 ; | |
5752 | PyObject * obj0 = 0 ; | |
5753 | PyObject * obj1 = 0 ; | |
5754 | char *kwnames[] = { | |
5755 | (char *) "self",(char *) "styles", NULL | |
5756 | }; | |
5757 | ||
5758 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail; | |
5759 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, | |
5760 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5761 | { | |
5762 | arg2 = PyList_Size(obj1); | |
5763 | arg3 = int_LIST_helper(obj1); | |
5764 | if (arg3 == NULL) SWIG_fail; | |
5765 | } | |
5766 | { | |
5767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5768 | (arg1)->SetStatusStyles(arg2,(int const *)arg3); | |
5769 | ||
5770 | wxPyEndAllowThreads(__tstate); | |
5771 | if (PyErr_Occurred()) SWIG_fail; | |
5772 | } | |
5773 | Py_INCREF(Py_None); resultobj = Py_None; | |
5774 | { | |
5775 | if (arg3) delete [] arg3; | |
5776 | } | |
5777 | return resultobj; | |
5778 | fail: | |
5779 | { | |
5780 | if (arg3) delete [] arg3; | |
5781 | } | |
5782 | return NULL; | |
5783 | } | |
5784 | ||
5785 | ||
c370783e | 5786 | static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5787 | PyObject *resultobj; |
5788 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5789 | int arg2 ; | |
5790 | wxRect result; | |
5791 | PyObject * obj0 = 0 ; | |
5792 | PyObject * obj1 = 0 ; | |
5793 | char *kwnames[] = { | |
5794 | (char *) "self",(char *) "i", NULL | |
5795 | }; | |
5796 | ||
5797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail; | |
5798 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, | |
5799 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5800 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
5801 | if (PyErr_Occurred()) SWIG_fail; |
5802 | { | |
5803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5804 | result = wxStatusBar_GetFieldRect(arg1,arg2); | |
5805 | ||
5806 | wxPyEndAllowThreads(__tstate); | |
5807 | if (PyErr_Occurred()) SWIG_fail; | |
5808 | } | |
5809 | { | |
5810 | wxRect * resultptr; | |
5811 | resultptr = new wxRect((wxRect &) result); | |
5812 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); | |
5813 | } | |
5814 | return resultobj; | |
5815 | fail: | |
5816 | return NULL; | |
5817 | } | |
5818 | ||
5819 | ||
c370783e | 5820 | static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5821 | PyObject *resultobj; |
5822 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5823 | int arg2 ; | |
5824 | PyObject * obj0 = 0 ; | |
5825 | PyObject * obj1 = 0 ; | |
5826 | char *kwnames[] = { | |
5827 | (char *) "self",(char *) "height", NULL | |
5828 | }; | |
5829 | ||
5830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail; | |
5831 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, | |
5832 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5833 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
5834 | if (PyErr_Occurred()) SWIG_fail; |
5835 | { | |
5836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5837 | (arg1)->SetMinHeight(arg2); | |
5838 | ||
5839 | wxPyEndAllowThreads(__tstate); | |
5840 | if (PyErr_Occurred()) SWIG_fail; | |
5841 | } | |
5842 | Py_INCREF(Py_None); resultobj = Py_None; | |
5843 | return resultobj; | |
5844 | fail: | |
5845 | return NULL; | |
5846 | } | |
5847 | ||
5848 | ||
c370783e | 5849 | static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5850 | PyObject *resultobj; |
5851 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5852 | int result; | |
5853 | PyObject * obj0 = 0 ; | |
5854 | char *kwnames[] = { | |
5855 | (char *) "self", NULL | |
5856 | }; | |
5857 | ||
5858 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail; | |
5859 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, | |
5860 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5861 | { | |
5862 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5863 | result = (int)((wxStatusBar const *)arg1)->GetBorderX(); | |
5864 | ||
5865 | wxPyEndAllowThreads(__tstate); | |
5866 | if (PyErr_Occurred()) SWIG_fail; | |
5867 | } | |
c370783e | 5868 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
5869 | return resultobj; |
5870 | fail: | |
5871 | return NULL; | |
5872 | } | |
5873 | ||
5874 | ||
c370783e | 5875 | static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5876 | PyObject *resultobj; |
5877 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5878 | int result; | |
5879 | PyObject * obj0 = 0 ; | |
5880 | char *kwnames[] = { | |
5881 | (char *) "self", NULL | |
5882 | }; | |
5883 | ||
5884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail; | |
5885 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, | |
5886 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5887 | { | |
5888 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5889 | result = (int)((wxStatusBar const *)arg1)->GetBorderY(); | |
5890 | ||
5891 | wxPyEndAllowThreads(__tstate); | |
5892 | if (PyErr_Occurred()) SWIG_fail; | |
5893 | } | |
c370783e | 5894 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
5895 | return resultobj; |
5896 | fail: | |
5897 | return NULL; | |
5898 | } | |
5899 | ||
5900 | ||
c370783e | 5901 | static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
f20a2e1f RD |
5902 | PyObject *resultobj; |
5903 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
5904 | wxVisualAttributes result; | |
5905 | PyObject * obj0 = 0 ; | |
5906 | char *kwnames[] = { | |
5907 | (char *) "variant", NULL | |
5908 | }; | |
5909 | ||
5910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
5911 | if (obj0) { | |
c370783e | 5912 | arg1 = (int)SWIG_As_int(obj0); |
f20a2e1f RD |
5913 | if (PyErr_Occurred()) SWIG_fail; |
5914 | } | |
5915 | { | |
0439c23b | 5916 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
5917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5918 | result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
5919 | ||
5920 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5921 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
5922 | } |
5923 | { | |
5924 | wxVisualAttributes * resultptr; | |
5925 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
5926 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
5927 | } | |
5928 | return resultobj; | |
5929 | fail: | |
5930 | return NULL; | |
5931 | } | |
5932 | ||
5933 | ||
c370783e | 5934 | static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
5935 | PyObject *obj; |
5936 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5937 | SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj); | |
5938 | Py_INCREF(obj); | |
5939 | return Py_BuildValue((char *)""); | |
5940 | } | |
c370783e | 5941 | static int _wrap_SplitterNameStr_set(PyObject *) { |
d55e5bfc RD |
5942 | PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only."); |
5943 | return 1; | |
5944 | } | |
5945 | ||
5946 | ||
5947 | static PyObject *_wrap_SplitterNameStr_get() { | |
5948 | PyObject *pyobj; | |
5949 | ||
5950 | { | |
5951 | #if wxUSE_UNICODE | |
5952 | pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
5953 | #else | |
5954 | pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
5955 | #endif | |
5956 | } | |
5957 | return pyobj; | |
5958 | } | |
5959 | ||
5960 | ||
c370783e | 5961 | static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5962 | PyObject *resultobj; |
5963 | wxWindow *arg1 = (wxWindow *) 0 ; | |
5964 | int arg2 = (int) -1 ; | |
5965 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
5966 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
5967 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
5968 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5969 | long arg5 = (long) wxSP_3D ; | |
5970 | wxString const &arg6_defvalue = wxPySplitterNameStr ; | |
5971 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
5972 | wxSplitterWindow *result; | |
5973 | wxPoint temp3 ; | |
5974 | wxSize temp4 ; | |
b411df4a | 5975 | bool temp6 = false ; |
d55e5bfc RD |
5976 | PyObject * obj0 = 0 ; |
5977 | PyObject * obj1 = 0 ; | |
5978 | PyObject * obj2 = 0 ; | |
5979 | PyObject * obj3 = 0 ; | |
5980 | PyObject * obj4 = 0 ; | |
5981 | PyObject * obj5 = 0 ; | |
5982 | char *kwnames[] = { | |
5983 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5984 | }; | |
5985 | ||
5986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
5987 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
5988 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5989 | if (obj1) { | |
c370783e | 5990 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
5991 | if (PyErr_Occurred()) SWIG_fail; |
5992 | } | |
5993 | if (obj2) { | |
5994 | { | |
5995 | arg3 = &temp3; | |
5996 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
5997 | } | |
5998 | } | |
5999 | if (obj3) { | |
6000 | { | |
6001 | arg4 = &temp4; | |
6002 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
6003 | } | |
6004 | } | |
6005 | if (obj4) { | |
c370783e | 6006 | arg5 = (long)SWIG_As_long(obj4); |
d55e5bfc RD |
6007 | if (PyErr_Occurred()) SWIG_fail; |
6008 | } | |
6009 | if (obj5) { | |
6010 | { | |
6011 | arg6 = wxString_in_helper(obj5); | |
6012 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 6013 | temp6 = true; |
d55e5bfc RD |
6014 | } |
6015 | } | |
6016 | { | |
0439c23b | 6017 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
6018 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6019 | result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
6020 | ||
6021 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6022 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
6023 | } |
6024 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); | |
6025 | { | |
6026 | if (temp6) | |
6027 | delete arg6; | |
6028 | } | |
6029 | return resultobj; | |
6030 | fail: | |
6031 | { | |
6032 | if (temp6) | |
6033 | delete arg6; | |
6034 | } | |
6035 | return NULL; | |
6036 | } | |
6037 | ||
6038 | ||
c370783e | 6039 | static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6040 | PyObject *resultobj; |
6041 | wxSplitterWindow *result; | |
6042 | char *kwnames[] = { | |
6043 | NULL | |
6044 | }; | |
6045 | ||
6046 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail; | |
6047 | { | |
0439c23b | 6048 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
6049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6050 | result = (wxSplitterWindow *)new wxSplitterWindow(); | |
6051 | ||
6052 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6053 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
6054 | } |
6055 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); | |
6056 | return resultobj; | |
6057 | fail: | |
6058 | return NULL; | |
6059 | } | |
6060 | ||
6061 | ||
c370783e | 6062 | static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6063 | PyObject *resultobj; |
6064 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6065 | wxWindow *arg2 = (wxWindow *) 0 ; | |
6066 | int arg3 = (int) -1 ; | |
6067 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
6068 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
6069 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
6070 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
6071 | long arg6 = (long) wxSP_3D ; | |
6072 | wxString const &arg7_defvalue = wxPySplitterNameStr ; | |
6073 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
6074 | bool result; | |
6075 | wxPoint temp4 ; | |
6076 | wxSize temp5 ; | |
b411df4a | 6077 | bool temp7 = false ; |
d55e5bfc RD |
6078 | PyObject * obj0 = 0 ; |
6079 | PyObject * obj1 = 0 ; | |
6080 | PyObject * obj2 = 0 ; | |
6081 | PyObject * obj3 = 0 ; | |
6082 | PyObject * obj4 = 0 ; | |
6083 | PyObject * obj5 = 0 ; | |
6084 | PyObject * obj6 = 0 ; | |
6085 | char *kwnames[] = { | |
6086 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6087 | }; | |
6088 | ||
6089 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
6090 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6091 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6092 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
6093 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6094 | if (obj2) { | |
c370783e | 6095 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
6096 | if (PyErr_Occurred()) SWIG_fail; |
6097 | } | |
6098 | if (obj3) { | |
6099 | { | |
6100 | arg4 = &temp4; | |
6101 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
6102 | } | |
6103 | } | |
6104 | if (obj4) { | |
6105 | { | |
6106 | arg5 = &temp5; | |
6107 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
6108 | } | |
6109 | } | |
6110 | if (obj5) { | |
c370783e | 6111 | arg6 = (long)SWIG_As_long(obj5); |
d55e5bfc RD |
6112 | if (PyErr_Occurred()) SWIG_fail; |
6113 | } | |
6114 | if (obj6) { | |
6115 | { | |
6116 | arg7 = wxString_in_helper(obj6); | |
6117 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 6118 | temp7 = true; |
d55e5bfc RD |
6119 | } |
6120 | } | |
6121 | { | |
6122 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6123 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
6124 | ||
6125 | wxPyEndAllowThreads(__tstate); | |
6126 | if (PyErr_Occurred()) SWIG_fail; | |
6127 | } | |
6128 | { | |
6129 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6130 | } | |
6131 | { | |
6132 | if (temp7) | |
6133 | delete arg7; | |
6134 | } | |
6135 | return resultobj; | |
6136 | fail: | |
6137 | { | |
6138 | if (temp7) | |
6139 | delete arg7; | |
6140 | } | |
6141 | return NULL; | |
6142 | } | |
6143 | ||
6144 | ||
c370783e | 6145 | static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6146 | PyObject *resultobj; |
6147 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6148 | wxWindow *result; | |
6149 | PyObject * obj0 = 0 ; | |
6150 | char *kwnames[] = { | |
6151 | (char *) "self", NULL | |
6152 | }; | |
6153 | ||
6154 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail; | |
6155 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6156 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6157 | { | |
6158 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6159 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1(); | |
6160 | ||
6161 | wxPyEndAllowThreads(__tstate); | |
6162 | if (PyErr_Occurred()) SWIG_fail; | |
6163 | } | |
6164 | { | |
412d302d | 6165 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
6166 | } |
6167 | return resultobj; | |
6168 | fail: | |
6169 | return NULL; | |
6170 | } | |
6171 | ||
6172 | ||
c370783e | 6173 | static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6174 | PyObject *resultobj; |
6175 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6176 | wxWindow *result; | |
6177 | PyObject * obj0 = 0 ; | |
6178 | char *kwnames[] = { | |
6179 | (char *) "self", NULL | |
6180 | }; | |
6181 | ||
6182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail; | |
6183 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6184 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6185 | { | |
6186 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6187 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2(); | |
6188 | ||
6189 | wxPyEndAllowThreads(__tstate); | |
6190 | if (PyErr_Occurred()) SWIG_fail; | |
6191 | } | |
6192 | { | |
412d302d | 6193 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
6194 | } |
6195 | return resultobj; | |
6196 | fail: | |
6197 | return NULL; | |
6198 | } | |
6199 | ||
6200 | ||
c370783e | 6201 | static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6202 | PyObject *resultobj; |
6203 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6204 | int arg2 ; | |
6205 | PyObject * obj0 = 0 ; | |
6206 | PyObject * obj1 = 0 ; | |
6207 | char *kwnames[] = { | |
6208 | (char *) "self",(char *) "mode", NULL | |
6209 | }; | |
6210 | ||
6211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail; | |
6212 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6213 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 6214 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
6215 | if (PyErr_Occurred()) SWIG_fail; |
6216 | { | |
6217 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6218 | (arg1)->SetSplitMode(arg2); | |
6219 | ||
6220 | wxPyEndAllowThreads(__tstate); | |
6221 | if (PyErr_Occurred()) SWIG_fail; | |
6222 | } | |
6223 | Py_INCREF(Py_None); resultobj = Py_None; | |
6224 | return resultobj; | |
6225 | fail: | |
6226 | return NULL; | |
6227 | } | |
6228 | ||
6229 | ||
c370783e | 6230 | static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6231 | PyObject *resultobj; |
6232 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6233 | int result; | |
6234 | PyObject * obj0 = 0 ; | |
6235 | char *kwnames[] = { | |
6236 | (char *) "self", NULL | |
6237 | }; | |
6238 | ||
6239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail; | |
6240 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6241 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6242 | { | |
6243 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6244 | result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode(); | |
6245 | ||
6246 | wxPyEndAllowThreads(__tstate); | |
6247 | if (PyErr_Occurred()) SWIG_fail; | |
6248 | } | |
c370783e | 6249 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
6250 | return resultobj; |
6251 | fail: | |
6252 | return NULL; | |
6253 | } | |
6254 | ||
6255 | ||
c370783e | 6256 | static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6257 | PyObject *resultobj; |
6258 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6259 | wxWindow *arg2 = (wxWindow *) 0 ; | |
6260 | PyObject * obj0 = 0 ; | |
6261 | PyObject * obj1 = 0 ; | |
6262 | char *kwnames[] = { | |
6263 | (char *) "self",(char *) "window", NULL | |
6264 | }; | |
6265 | ||
6266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail; | |
6267 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6268 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6269 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
6270 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6271 | { | |
6272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6273 | (arg1)->Initialize(arg2); | |
6274 | ||
6275 | wxPyEndAllowThreads(__tstate); | |
6276 | if (PyErr_Occurred()) SWIG_fail; | |
6277 | } | |
6278 | Py_INCREF(Py_None); resultobj = Py_None; | |
6279 | return resultobj; | |
6280 | fail: | |
6281 | return NULL; | |
6282 | } | |
6283 | ||
6284 | ||
c370783e | 6285 | static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6286 | PyObject *resultobj; |
6287 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6288 | wxWindow *arg2 = (wxWindow *) 0 ; | |
6289 | wxWindow *arg3 = (wxWindow *) 0 ; | |
6290 | int arg4 = (int) 0 ; | |
6291 | bool result; | |
6292 | PyObject * obj0 = 0 ; | |
6293 | PyObject * obj1 = 0 ; | |
6294 | PyObject * obj2 = 0 ; | |
6295 | PyObject * obj3 = 0 ; | |
6296 | char *kwnames[] = { | |
6297 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
6298 | }; | |
6299 | ||
6300 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
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; | |
6307 | if (obj3) { | |
c370783e | 6308 | arg4 = (int)SWIG_As_int(obj3); |
d55e5bfc RD |
6309 | if (PyErr_Occurred()) SWIG_fail; |
6310 | } | |
6311 | { | |
6312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6313 | result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4); | |
6314 | ||
6315 | wxPyEndAllowThreads(__tstate); | |
6316 | if (PyErr_Occurred()) SWIG_fail; | |
6317 | } | |
6318 | { | |
6319 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6320 | } | |
6321 | return resultobj; | |
6322 | fail: | |
6323 | return NULL; | |
6324 | } | |
6325 | ||
6326 | ||
c370783e | 6327 | static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6328 | PyObject *resultobj; |
6329 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6330 | wxWindow *arg2 = (wxWindow *) 0 ; | |
6331 | wxWindow *arg3 = (wxWindow *) 0 ; | |
6332 | int arg4 = (int) 0 ; | |
6333 | bool result; | |
6334 | PyObject * obj0 = 0 ; | |
6335 | PyObject * obj1 = 0 ; | |
6336 | PyObject * obj2 = 0 ; | |
6337 | PyObject * obj3 = 0 ; | |
6338 | char *kwnames[] = { | |
6339 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
6340 | }; | |
6341 | ||
6342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
6343 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6344 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6345 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
6346 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6347 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
6348 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6349 | if (obj3) { | |
c370783e | 6350 | arg4 = (int)SWIG_As_int(obj3); |
d55e5bfc RD |
6351 | if (PyErr_Occurred()) SWIG_fail; |
6352 | } | |
6353 | { | |
6354 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6355 | result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4); | |
6356 | ||
6357 | wxPyEndAllowThreads(__tstate); | |
6358 | if (PyErr_Occurred()) SWIG_fail; | |
6359 | } | |
6360 | { | |
6361 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6362 | } | |
6363 | return resultobj; | |
6364 | fail: | |
6365 | return NULL; | |
6366 | } | |
6367 | ||
6368 | ||
c370783e | 6369 | static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6370 | PyObject *resultobj; |
6371 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6372 | wxWindow *arg2 = (wxWindow *) NULL ; | |
6373 | bool result; | |
6374 | PyObject * obj0 = 0 ; | |
6375 | PyObject * obj1 = 0 ; | |
6376 | char *kwnames[] = { | |
6377 | (char *) "self",(char *) "toRemove", NULL | |
6378 | }; | |
6379 | ||
6380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail; | |
6381 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6382 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6383 | if (obj1) { | |
6384 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
6385 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6386 | } | |
6387 | { | |
6388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6389 | result = (bool)(arg1)->Unsplit(arg2); | |
6390 | ||
6391 | wxPyEndAllowThreads(__tstate); | |
6392 | if (PyErr_Occurred()) SWIG_fail; | |
6393 | } | |
6394 | { | |
6395 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6396 | } | |
6397 | return resultobj; | |
6398 | fail: | |
6399 | return NULL; | |
6400 | } | |
6401 | ||
6402 | ||
c370783e | 6403 | static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6404 | PyObject *resultobj; |
6405 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6406 | wxWindow *arg2 = (wxWindow *) 0 ; | |
6407 | wxWindow *arg3 = (wxWindow *) 0 ; | |
6408 | bool result; | |
6409 | PyObject * obj0 = 0 ; | |
6410 | PyObject * obj1 = 0 ; | |
6411 | PyObject * obj2 = 0 ; | |
6412 | char *kwnames[] = { | |
6413 | (char *) "self",(char *) "winOld",(char *) "winNew", NULL | |
6414 | }; | |
6415 | ||
6416 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
6417 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6418 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6419 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
6420 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6421 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
6422 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6423 | { | |
6424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6425 | result = (bool)(arg1)->ReplaceWindow(arg2,arg3); | |
6426 | ||
6427 | wxPyEndAllowThreads(__tstate); | |
6428 | if (PyErr_Occurred()) SWIG_fail; | |
6429 | } | |
6430 | { | |
6431 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6432 | } | |
6433 | return resultobj; | |
6434 | fail: | |
6435 | return NULL; | |
6436 | } | |
6437 | ||
6438 | ||
c370783e | 6439 | static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6440 | PyObject *resultobj; |
6441 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6442 | PyObject * obj0 = 0 ; | |
6443 | char *kwnames[] = { | |
6444 | (char *) "self", NULL | |
6445 | }; | |
6446 | ||
6447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail; | |
6448 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6449 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6450 | { | |
6451 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6452 | (arg1)->UpdateSize(); | |
6453 | ||
6454 | wxPyEndAllowThreads(__tstate); | |
6455 | if (PyErr_Occurred()) SWIG_fail; | |
6456 | } | |
6457 | Py_INCREF(Py_None); resultobj = Py_None; | |
6458 | return resultobj; | |
6459 | fail: | |
6460 | return NULL; | |
6461 | } | |
6462 | ||
6463 | ||
c370783e | 6464 | static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6465 | PyObject *resultobj; |
6466 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6467 | bool result; | |
6468 | PyObject * obj0 = 0 ; | |
6469 | char *kwnames[] = { | |
6470 | (char *) "self", NULL | |
6471 | }; | |
6472 | ||
6473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail; | |
6474 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6475 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6476 | { | |
6477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6478 | result = (bool)((wxSplitterWindow const *)arg1)->IsSplit(); | |
6479 | ||
6480 | wxPyEndAllowThreads(__tstate); | |
6481 | if (PyErr_Occurred()) SWIG_fail; | |
6482 | } | |
6483 | { | |
6484 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6485 | } | |
6486 | return resultobj; | |
6487 | fail: | |
6488 | return NULL; | |
6489 | } | |
6490 | ||
6491 | ||
c370783e | 6492 | static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6493 | PyObject *resultobj; |
6494 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6495 | int arg2 ; | |
6496 | PyObject * obj0 = 0 ; | |
6497 | PyObject * obj1 = 0 ; | |
6498 | char *kwnames[] = { | |
6499 | (char *) "self",(char *) "width", NULL | |
6500 | }; | |
6501 | ||
6502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail; | |
6503 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6504 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 6505 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
6506 | if (PyErr_Occurred()) SWIG_fail; |
6507 | { | |
6508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6509 | (arg1)->SetSashSize(arg2); | |
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 | ||
c370783e | 6521 | static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6522 | PyObject *resultobj; |
6523 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6524 | int arg2 ; | |
6525 | PyObject * obj0 = 0 ; | |
6526 | PyObject * obj1 = 0 ; | |
6527 | char *kwnames[] = { | |
6528 | (char *) "self",(char *) "width", NULL | |
6529 | }; | |
6530 | ||
6531 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail; | |
6532 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6533 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 6534 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
6535 | if (PyErr_Occurred()) SWIG_fail; |
6536 | { | |
6537 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6538 | (arg1)->SetBorderSize(arg2); | |
6539 | ||
6540 | wxPyEndAllowThreads(__tstate); | |
6541 | if (PyErr_Occurred()) SWIG_fail; | |
6542 | } | |
6543 | Py_INCREF(Py_None); resultobj = Py_None; | |
6544 | return resultobj; | |
6545 | fail: | |
6546 | return NULL; | |
6547 | } | |
6548 | ||
6549 | ||
c370783e | 6550 | static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6551 | PyObject *resultobj; |
6552 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6553 | int result; | |
6554 | PyObject * obj0 = 0 ; | |
6555 | char *kwnames[] = { | |
6556 | (char *) "self", NULL | |
6557 | }; | |
6558 | ||
6559 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail; | |
6560 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6561 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6562 | { | |
6563 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6564 | result = (int)((wxSplitterWindow const *)arg1)->GetSashSize(); | |
6565 | ||
6566 | wxPyEndAllowThreads(__tstate); | |
6567 | if (PyErr_Occurred()) SWIG_fail; | |
6568 | } | |
c370783e | 6569 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
6570 | return resultobj; |
6571 | fail: | |
6572 | return NULL; | |
6573 | } | |
6574 | ||
6575 | ||
c370783e | 6576 | static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc 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_GetBorderSize",kwnames,&obj0)) goto fail; | |
6586 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6587 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6588 | { | |
6589 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6590 | result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize(); | |
6591 | ||
6592 | wxPyEndAllowThreads(__tstate); | |
6593 | if (PyErr_Occurred()) SWIG_fail; | |
6594 | } | |
c370783e | 6595 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
6596 | return resultobj; |
6597 | fail: | |
6598 | return NULL; | |
6599 | } | |
6600 | ||
6601 | ||
c370783e | 6602 | static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6603 | PyObject *resultobj; |
6604 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6605 | int arg2 ; | |
b411df4a | 6606 | bool arg3 = (bool) true ; |
d55e5bfc RD |
6607 | PyObject * obj0 = 0 ; |
6608 | PyObject * obj1 = 0 ; | |
6609 | PyObject * obj2 = 0 ; | |
6610 | char *kwnames[] = { | |
6611 | (char *) "self",(char *) "position",(char *) "redraw", NULL | |
6612 | }; | |
6613 | ||
6614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
6615 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6616 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 6617 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
6618 | if (PyErr_Occurred()) SWIG_fail; |
6619 | if (obj2) { | |
c370783e | 6620 | arg3 = (bool)SWIG_As_bool(obj2); |
d55e5bfc RD |
6621 | if (PyErr_Occurred()) SWIG_fail; |
6622 | } | |
6623 | { | |
6624 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6625 | (arg1)->SetSashPosition(arg2,arg3); | |
6626 | ||
6627 | wxPyEndAllowThreads(__tstate); | |
6628 | if (PyErr_Occurred()) SWIG_fail; | |
6629 | } | |
6630 | Py_INCREF(Py_None); resultobj = Py_None; | |
6631 | return resultobj; | |
6632 | fail: | |
6633 | return NULL; | |
6634 | } | |
6635 | ||
6636 | ||
c370783e | 6637 | static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6638 | PyObject *resultobj; |
6639 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6640 | int result; | |
6641 | PyObject * obj0 = 0 ; | |
6642 | char *kwnames[] = { | |
6643 | (char *) "self", NULL | |
6644 | }; | |
6645 | ||
6646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail; | |
6647 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6648 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6649 | { | |
6650 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6651 | result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition(); | |
6652 | ||
6653 | wxPyEndAllowThreads(__tstate); | |
6654 | if (PyErr_Occurred()) SWIG_fail; | |
6655 | } | |
c370783e | 6656 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
6657 | return resultobj; |
6658 | fail: | |
6659 | return NULL; | |
6660 | } | |
6661 | ||
6662 | ||
c370783e | 6663 | static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6664 | PyObject *resultobj; |
6665 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6666 | int arg2 ; | |
6667 | PyObject * obj0 = 0 ; | |
6668 | PyObject * obj1 = 0 ; | |
6669 | char *kwnames[] = { | |
6670 | (char *) "self",(char *) "min", NULL | |
6671 | }; | |
6672 | ||
6673 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail; | |
6674 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6675 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 6676 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
6677 | if (PyErr_Occurred()) SWIG_fail; |
6678 | { | |
6679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6680 | (arg1)->SetMinimumPaneSize(arg2); | |
6681 | ||
6682 | wxPyEndAllowThreads(__tstate); | |
6683 | if (PyErr_Occurred()) SWIG_fail; | |
6684 | } | |
6685 | Py_INCREF(Py_None); resultobj = Py_None; | |
6686 | return resultobj; | |
6687 | fail: | |
6688 | return NULL; | |
6689 | } | |
6690 | ||
6691 | ||
c370783e | 6692 | static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6693 | PyObject *resultobj; |
6694 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6695 | int result; | |
6696 | PyObject * obj0 = 0 ; | |
6697 | char *kwnames[] = { | |
6698 | (char *) "self", NULL | |
6699 | }; | |
6700 | ||
6701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail; | |
6702 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6703 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6704 | { | |
6705 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6706 | result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize(); | |
6707 | ||
6708 | wxPyEndAllowThreads(__tstate); | |
6709 | if (PyErr_Occurred()) SWIG_fail; | |
6710 | } | |
c370783e | 6711 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
6712 | return resultobj; |
6713 | fail: | |
6714 | return NULL; | |
6715 | } | |
6716 | ||
6717 | ||
c370783e | 6718 | static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6719 | PyObject *resultobj; |
6720 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6721 | int arg2 ; | |
6722 | int arg3 ; | |
6723 | int arg4 = (int) 5 ; | |
6724 | bool result; | |
6725 | PyObject * obj0 = 0 ; | |
6726 | PyObject * obj1 = 0 ; | |
6727 | PyObject * obj2 = 0 ; | |
6728 | PyObject * obj3 = 0 ; | |
6729 | char *kwnames[] = { | |
6730 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
6731 | }; | |
6732 | ||
6733 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
6734 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6735 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 6736 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc | 6737 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 6738 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
6739 | if (PyErr_Occurred()) SWIG_fail; |
6740 | if (obj3) { | |
c370783e | 6741 | arg4 = (int)SWIG_As_int(obj3); |
d55e5bfc RD |
6742 | if (PyErr_Occurred()) SWIG_fail; |
6743 | } | |
6744 | { | |
6745 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6746 | result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4); | |
6747 | ||
6748 | wxPyEndAllowThreads(__tstate); | |
6749 | if (PyErr_Occurred()) SWIG_fail; | |
6750 | } | |
6751 | { | |
6752 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6753 | } | |
6754 | return resultobj; | |
6755 | fail: | |
6756 | return NULL; | |
6757 | } | |
6758 | ||
6759 | ||
c370783e | 6760 | static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6761 | PyObject *resultobj; |
6762 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6763 | PyObject * obj0 = 0 ; | |
6764 | char *kwnames[] = { | |
6765 | (char *) "self", NULL | |
6766 | }; | |
6767 | ||
6768 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
6769 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6770 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6771 | { | |
6772 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6773 | (arg1)->SizeWindows(); | |
6774 | ||
6775 | wxPyEndAllowThreads(__tstate); | |
6776 | if (PyErr_Occurred()) SWIG_fail; | |
6777 | } | |
6778 | Py_INCREF(Py_None); resultobj = Py_None; | |
6779 | return resultobj; | |
6780 | fail: | |
6781 | return NULL; | |
6782 | } | |
6783 | ||
6784 | ||
c370783e | 6785 | static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6786 | PyObject *resultobj; |
6787 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6788 | bool arg2 ; | |
6789 | PyObject * obj0 = 0 ; | |
6790 | PyObject * obj1 = 0 ; | |
6791 | char *kwnames[] = { | |
6792 | (char *) "self",(char *) "needUpdating", NULL | |
6793 | }; | |
6794 | ||
6795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail; | |
6796 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6797 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 6798 | arg2 = (bool)SWIG_As_bool(obj1); |
d55e5bfc RD |
6799 | if (PyErr_Occurred()) SWIG_fail; |
6800 | { | |
6801 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6802 | (arg1)->SetNeedUpdating(arg2); | |
6803 | ||
6804 | wxPyEndAllowThreads(__tstate); | |
6805 | if (PyErr_Occurred()) SWIG_fail; | |
6806 | } | |
6807 | Py_INCREF(Py_None); resultobj = Py_None; | |
6808 | return resultobj; | |
6809 | fail: | |
6810 | return NULL; | |
6811 | } | |
6812 | ||
6813 | ||
c370783e | 6814 | static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6815 | PyObject *resultobj; |
6816 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6817 | bool result; | |
6818 | PyObject * obj0 = 0 ; | |
6819 | char *kwnames[] = { | |
6820 | (char *) "self", NULL | |
6821 | }; | |
6822 | ||
6823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail; | |
6824 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6825 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6826 | { | |
6827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6828 | result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating(); | |
6829 | ||
6830 | wxPyEndAllowThreads(__tstate); | |
6831 | if (PyErr_Occurred()) SWIG_fail; | |
6832 | } | |
6833 | { | |
6834 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6835 | } | |
6836 | return resultobj; | |
6837 | fail: | |
6838 | return NULL; | |
6839 | } | |
6840 | ||
6841 | ||
c370783e | 6842 | static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
f20a2e1f RD |
6843 | PyObject *resultobj; |
6844 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
6845 | wxVisualAttributes result; | |
6846 | PyObject * obj0 = 0 ; | |
6847 | char *kwnames[] = { | |
6848 | (char *) "variant", NULL | |
6849 | }; | |
6850 | ||
6851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
6852 | if (obj0) { | |
c370783e | 6853 | arg1 = (int)SWIG_As_int(obj0); |
f20a2e1f RD |
6854 | if (PyErr_Occurred()) SWIG_fail; |
6855 | } | |
6856 | { | |
0439c23b | 6857 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
6858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6859 | result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
6860 | ||
6861 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6862 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
6863 | } |
6864 | { | |
6865 | wxVisualAttributes * resultptr; | |
6866 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
6867 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
6868 | } | |
6869 | return resultobj; | |
6870 | fail: | |
6871 | return NULL; | |
6872 | } | |
6873 | ||
6874 | ||
c370783e | 6875 | static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
6876 | PyObject *obj; |
6877 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6878 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj); | |
6879 | Py_INCREF(obj); | |
6880 | return Py_BuildValue((char *)""); | |
6881 | } | |
c370783e | 6882 | static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6883 | PyObject *resultobj; |
6884 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
6885 | wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ; | |
6886 | wxSplitterEvent *result; | |
6887 | PyObject * obj0 = 0 ; | |
6888 | PyObject * obj1 = 0 ; | |
6889 | char *kwnames[] = { | |
6890 | (char *) "type",(char *) "splitter", NULL | |
6891 | }; | |
6892 | ||
6893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail; | |
6894 | if (obj0) { | |
c370783e | 6895 | arg1 = (wxEventType)SWIG_As_int(obj0); |
d55e5bfc RD |
6896 | if (PyErr_Occurred()) SWIG_fail; |
6897 | } | |
6898 | if (obj1) { | |
6899 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow, | |
6900 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6901 | } | |
6902 | { | |
6903 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6904 | result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2); | |
6905 | ||
6906 | wxPyEndAllowThreads(__tstate); | |
6907 | if (PyErr_Occurred()) SWIG_fail; | |
6908 | } | |
6909 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1); | |
6910 | return resultobj; | |
6911 | fail: | |
6912 | return NULL; | |
6913 | } | |
6914 | ||
6915 | ||
c370783e | 6916 | static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6917 | PyObject *resultobj; |
6918 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6919 | int arg2 ; | |
6920 | PyObject * obj0 = 0 ; | |
6921 | PyObject * obj1 = 0 ; | |
6922 | char *kwnames[] = { | |
6923 | (char *) "self",(char *) "pos", NULL | |
6924 | }; | |
6925 | ||
6926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail; | |
6927 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, | |
6928 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 6929 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
6930 | if (PyErr_Occurred()) SWIG_fail; |
6931 | { | |
6932 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6933 | (arg1)->SetSashPosition(arg2); | |
6934 | ||
6935 | wxPyEndAllowThreads(__tstate); | |
6936 | if (PyErr_Occurred()) SWIG_fail; | |
6937 | } | |
6938 | Py_INCREF(Py_None); resultobj = Py_None; | |
6939 | return resultobj; | |
6940 | fail: | |
6941 | return NULL; | |
6942 | } | |
6943 | ||
6944 | ||
c370783e | 6945 | static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6946 | PyObject *resultobj; |
6947 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6948 | int result; | |
6949 | PyObject * obj0 = 0 ; | |
6950 | char *kwnames[] = { | |
6951 | (char *) "self", NULL | |
6952 | }; | |
6953 | ||
6954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail; | |
6955 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, | |
6956 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6957 | { | |
6958 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6959 | result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition(); | |
6960 | ||
6961 | wxPyEndAllowThreads(__tstate); | |
6962 | if (PyErr_Occurred()) SWIG_fail; | |
6963 | } | |
c370783e | 6964 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
6965 | return resultobj; |
6966 | fail: | |
6967 | return NULL; | |
6968 | } | |
6969 | ||
6970 | ||
c370783e | 6971 | static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6972 | PyObject *resultobj; |
6973 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6974 | wxWindow *result; | |
6975 | PyObject * obj0 = 0 ; | |
6976 | char *kwnames[] = { | |
6977 | (char *) "self", NULL | |
6978 | }; | |
6979 | ||
6980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail; | |
6981 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, | |
6982 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6983 | { | |
6984 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6985 | result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved(); | |
6986 | ||
6987 | wxPyEndAllowThreads(__tstate); | |
6988 | if (PyErr_Occurred()) SWIG_fail; | |
6989 | } | |
6990 | { | |
412d302d | 6991 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
6992 | } |
6993 | return resultobj; | |
6994 | fail: | |
6995 | return NULL; | |
6996 | } | |
6997 | ||
6998 | ||
c370783e | 6999 | static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7000 | PyObject *resultobj; |
7001 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
7002 | int result; | |
7003 | PyObject * obj0 = 0 ; | |
7004 | char *kwnames[] = { | |
7005 | (char *) "self", NULL | |
7006 | }; | |
7007 | ||
7008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail; | |
7009 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, | |
7010 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7011 | { | |
7012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7013 | result = (int)((wxSplitterEvent const *)arg1)->GetX(); | |
7014 | ||
7015 | wxPyEndAllowThreads(__tstate); | |
7016 | if (PyErr_Occurred()) SWIG_fail; | |
7017 | } | |
c370783e | 7018 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
7019 | return resultobj; |
7020 | fail: | |
7021 | return NULL; | |
7022 | } | |
7023 | ||
7024 | ||
c370783e | 7025 | static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7026 | PyObject *resultobj; |
7027 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
7028 | int result; | |
7029 | PyObject * obj0 = 0 ; | |
7030 | char *kwnames[] = { | |
7031 | (char *) "self", NULL | |
7032 | }; | |
7033 | ||
7034 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail; | |
7035 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, | |
7036 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7037 | { | |
7038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7039 | result = (int)((wxSplitterEvent const *)arg1)->GetY(); | |
7040 | ||
7041 | wxPyEndAllowThreads(__tstate); | |
7042 | if (PyErr_Occurred()) SWIG_fail; | |
7043 | } | |
c370783e | 7044 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
7045 | return resultobj; |
7046 | fail: | |
7047 | return NULL; | |
7048 | } | |
7049 | ||
7050 | ||
c370783e | 7051 | static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
7052 | PyObject *obj; |
7053 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7054 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj); | |
7055 | Py_INCREF(obj); | |
7056 | return Py_BuildValue((char *)""); | |
7057 | } | |
c370783e | 7058 | static int _wrap_SashNameStr_set(PyObject *) { |
d55e5bfc RD |
7059 | PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only."); |
7060 | return 1; | |
7061 | } | |
7062 | ||
7063 | ||
7064 | static PyObject *_wrap_SashNameStr_get() { | |
7065 | PyObject *pyobj; | |
7066 | ||
7067 | { | |
7068 | #if wxUSE_UNICODE | |
7069 | pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
7070 | #else | |
7071 | pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
7072 | #endif | |
7073 | } | |
7074 | return pyobj; | |
7075 | } | |
7076 | ||
7077 | ||
c370783e | 7078 | static int _wrap_SashLayoutNameStr_set(PyObject *) { |
d55e5bfc RD |
7079 | PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only."); |
7080 | return 1; | |
7081 | } | |
7082 | ||
7083 | ||
7084 | static PyObject *_wrap_SashLayoutNameStr_get() { | |
7085 | PyObject *pyobj; | |
7086 | ||
7087 | { | |
7088 | #if wxUSE_UNICODE | |
7089 | pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
7090 | #else | |
7091 | pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
7092 | #endif | |
7093 | } | |
7094 | return pyobj; | |
7095 | } | |
7096 | ||
7097 | ||
c370783e | 7098 | static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7099 | PyObject *resultobj; |
7100 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 | 7101 | int arg2 = (int) -1 ; |
d55e5bfc RD |
7102 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
7103 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
7104 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
7105 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
7106 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
7107 | wxString const &arg6_defvalue = wxPySashNameStr ; | |
7108 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
7109 | wxSashWindow *result; | |
7110 | wxPoint temp3 ; | |
7111 | wxSize temp4 ; | |
b411df4a | 7112 | bool temp6 = false ; |
d55e5bfc RD |
7113 | PyObject * obj0 = 0 ; |
7114 | PyObject * obj1 = 0 ; | |
7115 | PyObject * obj2 = 0 ; | |
7116 | PyObject * obj3 = 0 ; | |
7117 | PyObject * obj4 = 0 ; | |
7118 | PyObject * obj5 = 0 ; | |
7119 | char *kwnames[] = { | |
7120 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7121 | }; | |
7122 | ||
bfddbb17 | 7123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d55e5bfc RD |
7124 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
7125 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
bfddbb17 | 7126 | if (obj1) { |
c370783e | 7127 | arg2 = (int)SWIG_As_int(obj1); |
bfddbb17 RD |
7128 | if (PyErr_Occurred()) SWIG_fail; |
7129 | } | |
d55e5bfc RD |
7130 | if (obj2) { |
7131 | { | |
7132 | arg3 = &temp3; | |
7133 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
7134 | } | |
7135 | } | |
7136 | if (obj3) { | |
7137 | { | |
7138 | arg4 = &temp4; | |
7139 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
7140 | } | |
7141 | } | |
7142 | if (obj4) { | |
c370783e | 7143 | arg5 = (long)SWIG_As_long(obj4); |
d55e5bfc RD |
7144 | if (PyErr_Occurred()) SWIG_fail; |
7145 | } | |
7146 | if (obj5) { | |
7147 | { | |
7148 | arg6 = wxString_in_helper(obj5); | |
7149 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 7150 | temp6 = true; |
d55e5bfc RD |
7151 | } |
7152 | } | |
7153 | { | |
0439c23b | 7154 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
7155 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
7156 | result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
7157 | ||
7158 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7159 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
7160 | } |
7161 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); | |
7162 | { | |
7163 | if (temp6) | |
7164 | delete arg6; | |
7165 | } | |
7166 | return resultobj; | |
7167 | fail: | |
7168 | { | |
7169 | if (temp6) | |
7170 | delete arg6; | |
7171 | } | |
7172 | return NULL; | |
7173 | } | |
7174 | ||
7175 | ||
c370783e | 7176 | static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7177 | PyObject *resultobj; |
7178 | wxSashWindow *result; | |
7179 | char *kwnames[] = { | |
7180 | NULL | |
7181 | }; | |
7182 | ||
7183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail; | |
7184 | { | |
0439c23b | 7185 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
7186 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
7187 | result = (wxSashWindow *)new wxSashWindow(); | |
7188 | ||
7189 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7190 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
7191 | } |
7192 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); | |
7193 | return resultobj; | |
7194 | fail: | |
7195 | return NULL; | |
7196 | } | |
7197 | ||
7198 | ||
c370783e | 7199 | static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7200 | PyObject *resultobj; |
7201 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7202 | wxWindow *arg2 = (wxWindow *) 0 ; | |
bfddbb17 | 7203 | int arg3 = (int) -1 ; |
d55e5bfc RD |
7204 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
7205 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
7206 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
7207 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
7208 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
7209 | wxString const &arg7_defvalue = wxPySashNameStr ; | |
7210 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
7211 | bool result; | |
7212 | wxPoint temp4 ; | |
7213 | wxSize temp5 ; | |
b411df4a | 7214 | bool temp7 = false ; |
d55e5bfc RD |
7215 | PyObject * obj0 = 0 ; |
7216 | PyObject * obj1 = 0 ; | |
7217 | PyObject * obj2 = 0 ; | |
7218 | PyObject * obj3 = 0 ; | |
7219 | PyObject * obj4 = 0 ; | |
7220 | PyObject * obj5 = 0 ; | |
7221 | PyObject * obj6 = 0 ; | |
7222 | char *kwnames[] = { | |
7223 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7224 | }; | |
7225 | ||
bfddbb17 | 7226 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d55e5bfc RD |
7227 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7228 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7229 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
7230 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
bfddbb17 | 7231 | if (obj2) { |
c370783e | 7232 | arg3 = (int)SWIG_As_int(obj2); |
bfddbb17 RD |
7233 | if (PyErr_Occurred()) SWIG_fail; |
7234 | } | |
d55e5bfc RD |
7235 | if (obj3) { |
7236 | { | |
7237 | arg4 = &temp4; | |
7238 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
7239 | } | |
7240 | } | |
7241 | if (obj4) { | |
7242 | { | |
7243 | arg5 = &temp5; | |
7244 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
7245 | } | |
7246 | } | |
7247 | if (obj5) { | |
c370783e | 7248 | arg6 = (long)SWIG_As_long(obj5); |
d55e5bfc RD |
7249 | if (PyErr_Occurred()) SWIG_fail; |
7250 | } | |
7251 | if (obj6) { | |
7252 | { | |
7253 | arg7 = wxString_in_helper(obj6); | |
7254 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 7255 | temp7 = true; |
d55e5bfc RD |
7256 | } |
7257 | } | |
7258 | { | |
7259 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7260 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
7261 | ||
7262 | wxPyEndAllowThreads(__tstate); | |
7263 | if (PyErr_Occurred()) SWIG_fail; | |
7264 | } | |
7265 | { | |
7266 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7267 | } | |
7268 | { | |
7269 | if (temp7) | |
7270 | delete arg7; | |
7271 | } | |
7272 | return resultobj; | |
7273 | fail: | |
7274 | { | |
7275 | if (temp7) | |
7276 | delete arg7; | |
7277 | } | |
7278 | return NULL; | |
7279 | } | |
7280 | ||
7281 | ||
c370783e | 7282 | static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7283 | PyObject *resultobj; |
7284 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7285 | int arg2 ; | |
7286 | bool arg3 ; | |
7287 | PyObject * obj0 = 0 ; | |
7288 | PyObject * obj1 = 0 ; | |
7289 | PyObject * obj2 = 0 ; | |
7290 | char *kwnames[] = { | |
7291 | (char *) "self",(char *) "edge",(char *) "sash", NULL | |
7292 | }; | |
7293 | ||
7294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7295 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7296 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7297 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc | 7298 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 7299 | arg3 = (bool)SWIG_As_bool(obj2); |
d55e5bfc RD |
7300 | if (PyErr_Occurred()) SWIG_fail; |
7301 | { | |
7302 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7303 | (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3); | |
7304 | ||
7305 | wxPyEndAllowThreads(__tstate); | |
7306 | if (PyErr_Occurred()) SWIG_fail; | |
7307 | } | |
7308 | Py_INCREF(Py_None); resultobj = Py_None; | |
7309 | return resultobj; | |
7310 | fail: | |
7311 | return NULL; | |
7312 | } | |
7313 | ||
7314 | ||
c370783e | 7315 | static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7316 | PyObject *resultobj; |
7317 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7318 | int arg2 ; | |
7319 | bool result; | |
7320 | PyObject * obj0 = 0 ; | |
7321 | PyObject * obj1 = 0 ; | |
7322 | char *kwnames[] = { | |
7323 | (char *) "self",(char *) "edge", NULL | |
7324 | }; | |
7325 | ||
7326 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail; | |
7327 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7328 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7329 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
7330 | if (PyErr_Occurred()) SWIG_fail; |
7331 | { | |
7332 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7333 | result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2); | |
7334 | ||
7335 | wxPyEndAllowThreads(__tstate); | |
7336 | if (PyErr_Occurred()) SWIG_fail; | |
7337 | } | |
7338 | { | |
7339 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7340 | } | |
7341 | return resultobj; | |
7342 | fail: | |
7343 | return NULL; | |
7344 | } | |
7345 | ||
7346 | ||
c370783e | 7347 | static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7348 | PyObject *resultobj; |
7349 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7350 | int arg2 ; | |
7351 | bool arg3 ; | |
7352 | PyObject * obj0 = 0 ; | |
7353 | PyObject * obj1 = 0 ; | |
7354 | PyObject * obj2 = 0 ; | |
7355 | char *kwnames[] = { | |
7356 | (char *) "self",(char *) "edge",(char *) "border", NULL | |
7357 | }; | |
7358 | ||
7359 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7360 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7361 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7362 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc | 7363 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 7364 | arg3 = (bool)SWIG_As_bool(obj2); |
d55e5bfc RD |
7365 | if (PyErr_Occurred()) SWIG_fail; |
7366 | { | |
7367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7368 | (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3); | |
7369 | ||
7370 | wxPyEndAllowThreads(__tstate); | |
7371 | if (PyErr_Occurred()) SWIG_fail; | |
7372 | } | |
7373 | Py_INCREF(Py_None); resultobj = Py_None; | |
7374 | return resultobj; | |
7375 | fail: | |
7376 | return NULL; | |
7377 | } | |
7378 | ||
7379 | ||
c370783e | 7380 | static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7381 | PyObject *resultobj; |
7382 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7383 | int arg2 ; | |
7384 | bool result; | |
7385 | PyObject * obj0 = 0 ; | |
7386 | PyObject * obj1 = 0 ; | |
7387 | char *kwnames[] = { | |
7388 | (char *) "self",(char *) "edge", NULL | |
7389 | }; | |
7390 | ||
7391 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail; | |
7392 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7393 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7394 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
7395 | if (PyErr_Occurred()) SWIG_fail; |
7396 | { | |
7397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7398 | result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2); | |
7399 | ||
7400 | wxPyEndAllowThreads(__tstate); | |
7401 | if (PyErr_Occurred()) SWIG_fail; | |
7402 | } | |
7403 | { | |
7404 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7405 | } | |
7406 | return resultobj; | |
7407 | fail: | |
7408 | return NULL; | |
7409 | } | |
7410 | ||
7411 | ||
c370783e | 7412 | static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7413 | PyObject *resultobj; |
7414 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7415 | int arg2 ; | |
7416 | int result; | |
7417 | PyObject * obj0 = 0 ; | |
7418 | PyObject * obj1 = 0 ; | |
7419 | char *kwnames[] = { | |
7420 | (char *) "self",(char *) "edge", NULL | |
7421 | }; | |
7422 | ||
7423 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail; | |
7424 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7425 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7426 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
7427 | if (PyErr_Occurred()) SWIG_fail; |
7428 | { | |
7429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7430 | result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2); | |
7431 | ||
7432 | wxPyEndAllowThreads(__tstate); | |
7433 | if (PyErr_Occurred()) SWIG_fail; | |
7434 | } | |
c370783e | 7435 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
7436 | return resultobj; |
7437 | fail: | |
7438 | return NULL; | |
7439 | } | |
7440 | ||
7441 | ||
c370783e | 7442 | static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7443 | PyObject *resultobj; |
7444 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7445 | int arg2 ; | |
7446 | PyObject * obj0 = 0 ; | |
7447 | PyObject * obj1 = 0 ; | |
7448 | char *kwnames[] = { | |
7449 | (char *) "self",(char *) "width", NULL | |
7450 | }; | |
7451 | ||
7452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail; | |
7453 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7454 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7455 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
7456 | if (PyErr_Occurred()) SWIG_fail; |
7457 | { | |
7458 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7459 | (arg1)->SetDefaultBorderSize(arg2); | |
7460 | ||
7461 | wxPyEndAllowThreads(__tstate); | |
7462 | if (PyErr_Occurred()) SWIG_fail; | |
7463 | } | |
7464 | Py_INCREF(Py_None); resultobj = Py_None; | |
7465 | return resultobj; | |
7466 | fail: | |
7467 | return NULL; | |
7468 | } | |
7469 | ||
7470 | ||
c370783e | 7471 | static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7472 | PyObject *resultobj; |
7473 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7474 | int result; | |
7475 | PyObject * obj0 = 0 ; | |
7476 | char *kwnames[] = { | |
7477 | (char *) "self", NULL | |
7478 | }; | |
7479 | ||
7480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail; | |
7481 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7482 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7483 | { | |
7484 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7485 | result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize(); | |
7486 | ||
7487 | wxPyEndAllowThreads(__tstate); | |
7488 | if (PyErr_Occurred()) SWIG_fail; | |
7489 | } | |
c370783e | 7490 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
7491 | return resultobj; |
7492 | fail: | |
7493 | return NULL; | |
7494 | } | |
7495 | ||
7496 | ||
c370783e | 7497 | static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7498 | PyObject *resultobj; |
7499 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7500 | int arg2 ; | |
7501 | PyObject * obj0 = 0 ; | |
7502 | PyObject * obj1 = 0 ; | |
7503 | char *kwnames[] = { | |
7504 | (char *) "self",(char *) "width", NULL | |
7505 | }; | |
7506 | ||
7507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail; | |
7508 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7509 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7510 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
7511 | if (PyErr_Occurred()) SWIG_fail; |
7512 | { | |
7513 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7514 | (arg1)->SetExtraBorderSize(arg2); | |
7515 | ||
7516 | wxPyEndAllowThreads(__tstate); | |
7517 | if (PyErr_Occurred()) SWIG_fail; | |
7518 | } | |
7519 | Py_INCREF(Py_None); resultobj = Py_None; | |
7520 | return resultobj; | |
7521 | fail: | |
7522 | return NULL; | |
7523 | } | |
7524 | ||
7525 | ||
c370783e | 7526 | static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7527 | PyObject *resultobj; |
7528 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7529 | int result; | |
7530 | PyObject * obj0 = 0 ; | |
7531 | char *kwnames[] = { | |
7532 | (char *) "self", NULL | |
7533 | }; | |
7534 | ||
7535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail; | |
7536 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7537 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7538 | { | |
7539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7540 | result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize(); | |
7541 | ||
7542 | wxPyEndAllowThreads(__tstate); | |
7543 | if (PyErr_Occurred()) SWIG_fail; | |
7544 | } | |
c370783e | 7545 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
7546 | return resultobj; |
7547 | fail: | |
7548 | return NULL; | |
7549 | } | |
7550 | ||
7551 | ||
c370783e | 7552 | static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7553 | PyObject *resultobj; |
7554 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7555 | int arg2 ; | |
7556 | PyObject * obj0 = 0 ; | |
7557 | PyObject * obj1 = 0 ; | |
7558 | char *kwnames[] = { | |
7559 | (char *) "self",(char *) "min", NULL | |
7560 | }; | |
7561 | ||
7562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail; | |
7563 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7564 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7565 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
7566 | if (PyErr_Occurred()) SWIG_fail; |
7567 | { | |
7568 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7569 | (arg1)->SetMinimumSizeX(arg2); | |
7570 | ||
7571 | wxPyEndAllowThreads(__tstate); | |
7572 | if (PyErr_Occurred()) SWIG_fail; | |
7573 | } | |
7574 | Py_INCREF(Py_None); resultobj = Py_None; | |
7575 | return resultobj; | |
7576 | fail: | |
7577 | return NULL; | |
7578 | } | |
7579 | ||
7580 | ||
c370783e | 7581 | static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7582 | PyObject *resultobj; |
7583 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7584 | int arg2 ; | |
7585 | PyObject * obj0 = 0 ; | |
7586 | PyObject * obj1 = 0 ; | |
7587 | char *kwnames[] = { | |
7588 | (char *) "self",(char *) "min", NULL | |
7589 | }; | |
7590 | ||
7591 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail; | |
7592 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7593 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7594 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
7595 | if (PyErr_Occurred()) SWIG_fail; |
7596 | { | |
7597 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7598 | (arg1)->SetMinimumSizeY(arg2); | |
7599 | ||
7600 | wxPyEndAllowThreads(__tstate); | |
7601 | if (PyErr_Occurred()) SWIG_fail; | |
7602 | } | |
7603 | Py_INCREF(Py_None); resultobj = Py_None; | |
7604 | return resultobj; | |
7605 | fail: | |
7606 | return NULL; | |
7607 | } | |
7608 | ||
7609 | ||
c370783e | 7610 | static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7611 | PyObject *resultobj; |
7612 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7613 | int result; | |
7614 | PyObject * obj0 = 0 ; | |
7615 | char *kwnames[] = { | |
7616 | (char *) "self", NULL | |
7617 | }; | |
7618 | ||
7619 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail; | |
7620 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7621 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7622 | { | |
7623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7624 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX(); | |
7625 | ||
7626 | wxPyEndAllowThreads(__tstate); | |
7627 | if (PyErr_Occurred()) SWIG_fail; | |
7628 | } | |
c370783e | 7629 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
7630 | return resultobj; |
7631 | fail: | |
7632 | return NULL; | |
7633 | } | |
7634 | ||
7635 | ||
c370783e | 7636 | static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7637 | PyObject *resultobj; |
7638 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7639 | int result; | |
7640 | PyObject * obj0 = 0 ; | |
7641 | char *kwnames[] = { | |
7642 | (char *) "self", NULL | |
7643 | }; | |
7644 | ||
7645 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail; | |
7646 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7647 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7648 | { | |
7649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7650 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY(); | |
7651 | ||
7652 | wxPyEndAllowThreads(__tstate); | |
7653 | if (PyErr_Occurred()) SWIG_fail; | |
7654 | } | |
c370783e | 7655 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
7656 | return resultobj; |
7657 | fail: | |
7658 | return NULL; | |
7659 | } | |
7660 | ||
7661 | ||
c370783e | 7662 | static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7663 | PyObject *resultobj; |
7664 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7665 | int arg2 ; | |
7666 | PyObject * obj0 = 0 ; | |
7667 | PyObject * obj1 = 0 ; | |
7668 | char *kwnames[] = { | |
7669 | (char *) "self",(char *) "max", NULL | |
7670 | }; | |
7671 | ||
7672 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail; | |
7673 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7674 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7675 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
7676 | if (PyErr_Occurred()) SWIG_fail; |
7677 | { | |
7678 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7679 | (arg1)->SetMaximumSizeX(arg2); | |
7680 | ||
7681 | wxPyEndAllowThreads(__tstate); | |
7682 | if (PyErr_Occurred()) SWIG_fail; | |
7683 | } | |
7684 | Py_INCREF(Py_None); resultobj = Py_None; | |
7685 | return resultobj; | |
7686 | fail: | |
7687 | return NULL; | |
7688 | } | |
7689 | ||
7690 | ||
c370783e | 7691 | static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7692 | PyObject *resultobj; |
7693 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7694 | int arg2 ; | |
7695 | PyObject * obj0 = 0 ; | |
7696 | PyObject * obj1 = 0 ; | |
7697 | char *kwnames[] = { | |
7698 | (char *) "self",(char *) "max", NULL | |
7699 | }; | |
7700 | ||
7701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail; | |
7702 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7703 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7704 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
7705 | if (PyErr_Occurred()) SWIG_fail; |
7706 | { | |
7707 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7708 | (arg1)->SetMaximumSizeY(arg2); | |
7709 | ||
7710 | wxPyEndAllowThreads(__tstate); | |
7711 | if (PyErr_Occurred()) SWIG_fail; | |
7712 | } | |
7713 | Py_INCREF(Py_None); resultobj = Py_None; | |
7714 | return resultobj; | |
7715 | fail: | |
7716 | return NULL; | |
7717 | } | |
7718 | ||
7719 | ||
c370783e | 7720 | static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7721 | PyObject *resultobj; |
7722 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7723 | int result; | |
7724 | PyObject * obj0 = 0 ; | |
7725 | char *kwnames[] = { | |
7726 | (char *) "self", NULL | |
7727 | }; | |
7728 | ||
7729 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail; | |
7730 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7731 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7732 | { | |
7733 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7734 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX(); | |
7735 | ||
7736 | wxPyEndAllowThreads(__tstate); | |
7737 | if (PyErr_Occurred()) SWIG_fail; | |
7738 | } | |
c370783e | 7739 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
7740 | return resultobj; |
7741 | fail: | |
7742 | return NULL; | |
7743 | } | |
7744 | ||
7745 | ||
c370783e | 7746 | static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7747 | PyObject *resultobj; |
7748 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7749 | int result; | |
7750 | PyObject * obj0 = 0 ; | |
7751 | char *kwnames[] = { | |
7752 | (char *) "self", NULL | |
7753 | }; | |
7754 | ||
7755 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail; | |
7756 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7757 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7758 | { | |
7759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7760 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY(); | |
7761 | ||
7762 | wxPyEndAllowThreads(__tstate); | |
7763 | if (PyErr_Occurred()) SWIG_fail; | |
7764 | } | |
c370783e | 7765 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
7766 | return resultobj; |
7767 | fail: | |
7768 | return NULL; | |
7769 | } | |
7770 | ||
7771 | ||
c370783e | 7772 | static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7773 | PyObject *resultobj; |
7774 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7775 | int arg2 ; | |
7776 | int arg3 ; | |
7777 | int arg4 = (int) 2 ; | |
7778 | int result; | |
7779 | PyObject * obj0 = 0 ; | |
7780 | PyObject * obj1 = 0 ; | |
7781 | PyObject * obj2 = 0 ; | |
7782 | PyObject * obj3 = 0 ; | |
7783 | char *kwnames[] = { | |
7784 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
7785 | }; | |
7786 | ||
7787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
7788 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7789 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7790 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc | 7791 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 7792 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
7793 | if (PyErr_Occurred()) SWIG_fail; |
7794 | if (obj3) { | |
c370783e | 7795 | arg4 = (int)SWIG_As_int(obj3); |
d55e5bfc RD |
7796 | if (PyErr_Occurred()) SWIG_fail; |
7797 | } | |
7798 | { | |
7799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7800 | result = (int)(arg1)->SashHitTest(arg2,arg3,arg4); | |
7801 | ||
7802 | wxPyEndAllowThreads(__tstate); | |
7803 | if (PyErr_Occurred()) SWIG_fail; | |
7804 | } | |
c370783e | 7805 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
7806 | return resultobj; |
7807 | fail: | |
7808 | return NULL; | |
7809 | } | |
7810 | ||
7811 | ||
c370783e | 7812 | static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7813 | PyObject *resultobj; |
7814 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7815 | PyObject * obj0 = 0 ; | |
7816 | char *kwnames[] = { | |
7817 | (char *) "self", NULL | |
7818 | }; | |
7819 | ||
7820 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
7821 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, | |
7822 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7823 | { | |
7824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7825 | (arg1)->SizeWindows(); | |
7826 | ||
7827 | wxPyEndAllowThreads(__tstate); | |
7828 | if (PyErr_Occurred()) SWIG_fail; | |
7829 | } | |
7830 | Py_INCREF(Py_None); resultobj = Py_None; | |
7831 | return resultobj; | |
7832 | fail: | |
7833 | return NULL; | |
7834 | } | |
7835 | ||
7836 | ||
c370783e | 7837 | static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
7838 | PyObject *obj; |
7839 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7840 | SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj); | |
7841 | Py_INCREF(obj); | |
7842 | return Py_BuildValue((char *)""); | |
7843 | } | |
c370783e | 7844 | static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7845 | PyObject *resultobj; |
7846 | int arg1 = (int) 0 ; | |
7847 | int arg2 = (int) wxSASH_NONE ; | |
7848 | wxSashEvent *result; | |
7849 | PyObject * obj0 = 0 ; | |
7850 | PyObject * obj1 = 0 ; | |
7851 | char *kwnames[] = { | |
7852 | (char *) "id",(char *) "edge", NULL | |
7853 | }; | |
7854 | ||
7855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail; | |
7856 | if (obj0) { | |
c370783e | 7857 | arg1 = (int)SWIG_As_int(obj0); |
d55e5bfc RD |
7858 | if (PyErr_Occurred()) SWIG_fail; |
7859 | } | |
7860 | if (obj1) { | |
c370783e | 7861 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
7862 | if (PyErr_Occurred()) SWIG_fail; |
7863 | } | |
7864 | { | |
7865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7866 | result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2); | |
7867 | ||
7868 | wxPyEndAllowThreads(__tstate); | |
7869 | if (PyErr_Occurred()) SWIG_fail; | |
7870 | } | |
7871 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1); | |
7872 | return resultobj; | |
7873 | fail: | |
7874 | return NULL; | |
7875 | } | |
7876 | ||
7877 | ||
c370783e | 7878 | static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7879 | PyObject *resultobj; |
7880 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7881 | int arg2 ; | |
7882 | PyObject * obj0 = 0 ; | |
7883 | PyObject * obj1 = 0 ; | |
7884 | char *kwnames[] = { | |
7885 | (char *) "self",(char *) "edge", NULL | |
7886 | }; | |
7887 | ||
7888 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail; | |
7889 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, | |
7890 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7891 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
7892 | if (PyErr_Occurred()) SWIG_fail; |
7893 | { | |
7894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7895 | (arg1)->SetEdge((wxSashEdgePosition )arg2); | |
7896 | ||
7897 | wxPyEndAllowThreads(__tstate); | |
7898 | if (PyErr_Occurred()) SWIG_fail; | |
7899 | } | |
7900 | Py_INCREF(Py_None); resultobj = Py_None; | |
7901 | return resultobj; | |
7902 | fail: | |
7903 | return NULL; | |
7904 | } | |
7905 | ||
7906 | ||
c370783e | 7907 | static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7908 | PyObject *resultobj; |
7909 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7910 | int result; | |
7911 | PyObject * obj0 = 0 ; | |
7912 | char *kwnames[] = { | |
7913 | (char *) "self", NULL | |
7914 | }; | |
7915 | ||
7916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail; | |
7917 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, | |
7918 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7919 | { | |
7920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7921 | result = (int)((wxSashEvent const *)arg1)->GetEdge(); | |
7922 | ||
7923 | wxPyEndAllowThreads(__tstate); | |
7924 | if (PyErr_Occurred()) SWIG_fail; | |
7925 | } | |
c370783e | 7926 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
7927 | return resultobj; |
7928 | fail: | |
7929 | return NULL; | |
7930 | } | |
7931 | ||
7932 | ||
c370783e | 7933 | static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7934 | PyObject *resultobj; |
7935 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7936 | wxRect *arg2 = 0 ; | |
7937 | wxRect temp2 ; | |
7938 | PyObject * obj0 = 0 ; | |
7939 | PyObject * obj1 = 0 ; | |
7940 | char *kwnames[] = { | |
7941 | (char *) "self",(char *) "rect", NULL | |
7942 | }; | |
7943 | ||
7944 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail; | |
7945 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, | |
7946 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7947 | { | |
7948 | arg2 = &temp2; | |
7949 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
7950 | } | |
7951 | { | |
7952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7953 | (arg1)->SetDragRect((wxRect const &)*arg2); | |
7954 | ||
7955 | wxPyEndAllowThreads(__tstate); | |
7956 | if (PyErr_Occurred()) SWIG_fail; | |
7957 | } | |
7958 | Py_INCREF(Py_None); resultobj = Py_None; | |
7959 | return resultobj; | |
7960 | fail: | |
7961 | return NULL; | |
7962 | } | |
7963 | ||
7964 | ||
c370783e | 7965 | static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7966 | PyObject *resultobj; |
7967 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7968 | wxRect result; | |
7969 | PyObject * obj0 = 0 ; | |
7970 | char *kwnames[] = { | |
7971 | (char *) "self", NULL | |
7972 | }; | |
7973 | ||
7974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail; | |
7975 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, | |
7976 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7977 | { | |
7978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7979 | result = ((wxSashEvent const *)arg1)->GetDragRect(); | |
7980 | ||
7981 | wxPyEndAllowThreads(__tstate); | |
7982 | if (PyErr_Occurred()) SWIG_fail; | |
7983 | } | |
7984 | { | |
7985 | wxRect * resultptr; | |
7986 | resultptr = new wxRect((wxRect &) result); | |
7987 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); | |
7988 | } | |
7989 | return resultobj; | |
7990 | fail: | |
7991 | return NULL; | |
7992 | } | |
7993 | ||
7994 | ||
c370783e | 7995 | static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7996 | PyObject *resultobj; |
7997 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7998 | int arg2 ; | |
7999 | PyObject * obj0 = 0 ; | |
8000 | PyObject * obj1 = 0 ; | |
8001 | char *kwnames[] = { | |
8002 | (char *) "self",(char *) "status", NULL | |
8003 | }; | |
8004 | ||
8005 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail; | |
8006 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, | |
8007 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 8008 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
8009 | if (PyErr_Occurred()) SWIG_fail; |
8010 | { | |
8011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8012 | (arg1)->SetDragStatus((wxSashDragStatus )arg2); | |
8013 | ||
8014 | wxPyEndAllowThreads(__tstate); | |
8015 | if (PyErr_Occurred()) SWIG_fail; | |
8016 | } | |
8017 | Py_INCREF(Py_None); resultobj = Py_None; | |
8018 | return resultobj; | |
8019 | fail: | |
8020 | return NULL; | |
8021 | } | |
8022 | ||
8023 | ||
c370783e | 8024 | static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8025 | PyObject *resultobj; |
8026 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
8027 | int result; | |
8028 | PyObject * obj0 = 0 ; | |
8029 | char *kwnames[] = { | |
8030 | (char *) "self", NULL | |
8031 | }; | |
8032 | ||
8033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail; | |
8034 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, | |
8035 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8036 | { | |
8037 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8038 | result = (int)((wxSashEvent const *)arg1)->GetDragStatus(); | |
8039 | ||
8040 | wxPyEndAllowThreads(__tstate); | |
8041 | if (PyErr_Occurred()) SWIG_fail; | |
8042 | } | |
c370783e | 8043 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
8044 | return resultobj; |
8045 | fail: | |
8046 | return NULL; | |
8047 | } | |
8048 | ||
8049 | ||
c370783e | 8050 | static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
8051 | PyObject *obj; |
8052 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8053 | SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj); | |
8054 | Py_INCREF(obj); | |
8055 | return Py_BuildValue((char *)""); | |
8056 | } | |
c370783e | 8057 | static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8058 | PyObject *resultobj; |
8059 | int arg1 = (int) 0 ; | |
8060 | wxQueryLayoutInfoEvent *result; | |
8061 | PyObject * obj0 = 0 ; | |
8062 | char *kwnames[] = { | |
8063 | (char *) "id", NULL | |
8064 | }; | |
8065 | ||
8066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail; | |
8067 | if (obj0) { | |
c370783e | 8068 | arg1 = (int)SWIG_As_int(obj0); |
d55e5bfc RD |
8069 | if (PyErr_Occurred()) SWIG_fail; |
8070 | } | |
8071 | { | |
8072 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8073 | result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1); | |
8074 | ||
8075 | wxPyEndAllowThreads(__tstate); | |
8076 | if (PyErr_Occurred()) SWIG_fail; | |
8077 | } | |
8078 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1); | |
8079 | return resultobj; | |
8080 | fail: | |
8081 | return NULL; | |
8082 | } | |
8083 | ||
8084 | ||
c370783e | 8085 | static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8086 | PyObject *resultobj; |
8087 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
8088 | int arg2 ; | |
8089 | PyObject * obj0 = 0 ; | |
8090 | PyObject * obj1 = 0 ; | |
8091 | char *kwnames[] = { | |
8092 | (char *) "self",(char *) "length", NULL | |
8093 | }; | |
8094 | ||
8095 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail; | |
8096 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, | |
8097 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 8098 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
8099 | if (PyErr_Occurred()) SWIG_fail; |
8100 | { | |
8101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8102 | (arg1)->SetRequestedLength(arg2); | |
8103 | ||
8104 | wxPyEndAllowThreads(__tstate); | |
8105 | if (PyErr_Occurred()) SWIG_fail; | |
8106 | } | |
8107 | Py_INCREF(Py_None); resultobj = Py_None; | |
8108 | return resultobj; | |
8109 | fail: | |
8110 | return NULL; | |
8111 | } | |
8112 | ||
8113 | ||
c370783e | 8114 | static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8115 | PyObject *resultobj; |
8116 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
8117 | int result; | |
8118 | PyObject * obj0 = 0 ; | |
8119 | char *kwnames[] = { | |
8120 | (char *) "self", NULL | |
8121 | }; | |
8122 | ||
8123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail; | |
8124 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, | |
8125 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8126 | { | |
8127 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8128 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength(); | |
8129 | ||
8130 | wxPyEndAllowThreads(__tstate); | |
8131 | if (PyErr_Occurred()) SWIG_fail; | |
8132 | } | |
c370783e | 8133 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
8134 | return resultobj; |
8135 | fail: | |
8136 | return NULL; | |
8137 | } | |
8138 | ||
8139 | ||
c370783e | 8140 | static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8141 | PyObject *resultobj; |
8142 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
8143 | int arg2 ; | |
8144 | PyObject * obj0 = 0 ; | |
8145 | PyObject * obj1 = 0 ; | |
8146 | char *kwnames[] = { | |
8147 | (char *) "self",(char *) "flags", NULL | |
8148 | }; | |
8149 | ||
8150 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; | |
8151 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, | |
8152 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 8153 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
8154 | if (PyErr_Occurred()) SWIG_fail; |
8155 | { | |
8156 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8157 | (arg1)->SetFlags(arg2); | |
8158 | ||
8159 | wxPyEndAllowThreads(__tstate); | |
8160 | if (PyErr_Occurred()) SWIG_fail; | |
8161 | } | |
8162 | Py_INCREF(Py_None); resultobj = Py_None; | |
8163 | return resultobj; | |
8164 | fail: | |
8165 | return NULL; | |
8166 | } | |
8167 | ||
8168 | ||
c370783e | 8169 | static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8170 | PyObject *resultobj; |
8171 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
8172 | int result; | |
8173 | PyObject * obj0 = 0 ; | |
8174 | char *kwnames[] = { | |
8175 | (char *) "self", NULL | |
8176 | }; | |
8177 | ||
8178 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail; | |
8179 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, | |
8180 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8181 | { | |
8182 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8183 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags(); | |
8184 | ||
8185 | wxPyEndAllowThreads(__tstate); | |
8186 | if (PyErr_Occurred()) SWIG_fail; | |
8187 | } | |
c370783e | 8188 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
8189 | return resultobj; |
8190 | fail: | |
8191 | return NULL; | |
8192 | } | |
8193 | ||
8194 | ||
c370783e | 8195 | static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8196 | PyObject *resultobj; |
8197 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
8198 | wxSize *arg2 = 0 ; | |
8199 | wxSize temp2 ; | |
8200 | PyObject * obj0 = 0 ; | |
8201 | PyObject * obj1 = 0 ; | |
8202 | char *kwnames[] = { | |
8203 | (char *) "self",(char *) "size", NULL | |
8204 | }; | |
8205 | ||
8206 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail; | |
8207 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, | |
8208 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8209 | { | |
8210 | arg2 = &temp2; | |
8211 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
8212 | } | |
8213 | { | |
8214 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8215 | (arg1)->SetSize((wxSize const &)*arg2); | |
8216 | ||
8217 | wxPyEndAllowThreads(__tstate); | |
8218 | if (PyErr_Occurred()) SWIG_fail; | |
8219 | } | |
8220 | Py_INCREF(Py_None); resultobj = Py_None; | |
8221 | return resultobj; | |
8222 | fail: | |
8223 | return NULL; | |
8224 | } | |
8225 | ||
8226 | ||
c370783e | 8227 | static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8228 | PyObject *resultobj; |
8229 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
8230 | wxSize result; | |
8231 | PyObject * obj0 = 0 ; | |
8232 | char *kwnames[] = { | |
8233 | (char *) "self", NULL | |
8234 | }; | |
8235 | ||
8236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail; | |
8237 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, | |
8238 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8239 | { | |
8240 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8241 | result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize(); | |
8242 | ||
8243 | wxPyEndAllowThreads(__tstate); | |
8244 | if (PyErr_Occurred()) SWIG_fail; | |
8245 | } | |
8246 | { | |
8247 | wxSize * resultptr; | |
8248 | resultptr = new wxSize((wxSize &) result); | |
8249 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
8250 | } | |
8251 | return resultobj; | |
8252 | fail: | |
8253 | return NULL; | |
8254 | } | |
8255 | ||
8256 | ||
c370783e | 8257 | static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8258 | PyObject *resultobj; |
8259 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
8260 | int arg2 ; | |
8261 | PyObject * obj0 = 0 ; | |
8262 | PyObject * obj1 = 0 ; | |
8263 | char *kwnames[] = { | |
8264 | (char *) "self",(char *) "orient", NULL | |
8265 | }; | |
8266 | ||
8267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail; | |
8268 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, | |
8269 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 8270 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
8271 | if (PyErr_Occurred()) SWIG_fail; |
8272 | { | |
8273 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8274 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
8275 | ||
8276 | wxPyEndAllowThreads(__tstate); | |
8277 | if (PyErr_Occurred()) SWIG_fail; | |
8278 | } | |
8279 | Py_INCREF(Py_None); resultobj = Py_None; | |
8280 | return resultobj; | |
8281 | fail: | |
8282 | return NULL; | |
8283 | } | |
8284 | ||
8285 | ||
c370783e | 8286 | static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8287 | PyObject *resultobj; |
8288 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
8289 | int result; | |
8290 | PyObject * obj0 = 0 ; | |
8291 | char *kwnames[] = { | |
8292 | (char *) "self", NULL | |
8293 | }; | |
8294 | ||
8295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail; | |
8296 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, | |
8297 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8298 | { | |
8299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8300 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation(); | |
8301 | ||
8302 | wxPyEndAllowThreads(__tstate); | |
8303 | if (PyErr_Occurred()) SWIG_fail; | |
8304 | } | |
c370783e | 8305 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
8306 | return resultobj; |
8307 | fail: | |
8308 | return NULL; | |
8309 | } | |
8310 | ||
8311 | ||
c370783e | 8312 | static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8313 | PyObject *resultobj; |
8314 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
8315 | int arg2 ; | |
8316 | PyObject * obj0 = 0 ; | |
8317 | PyObject * obj1 = 0 ; | |
8318 | char *kwnames[] = { | |
8319 | (char *) "self",(char *) "align", NULL | |
8320 | }; | |
8321 | ||
8322 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail; | |
8323 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, | |
8324 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 8325 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
8326 | if (PyErr_Occurred()) SWIG_fail; |
8327 | { | |
8328 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8329 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
8330 | ||
8331 | wxPyEndAllowThreads(__tstate); | |
8332 | if (PyErr_Occurred()) SWIG_fail; | |
8333 | } | |
8334 | Py_INCREF(Py_None); resultobj = Py_None; | |
8335 | return resultobj; | |
8336 | fail: | |
8337 | return NULL; | |
8338 | } | |
8339 | ||
8340 | ||
c370783e | 8341 | static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8342 | PyObject *resultobj; |
8343 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
8344 | int result; | |
8345 | PyObject * obj0 = 0 ; | |
8346 | char *kwnames[] = { | |
8347 | (char *) "self", NULL | |
8348 | }; | |
8349 | ||
8350 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail; | |
8351 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, | |
8352 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8353 | { | |
8354 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8355 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment(); | |
8356 | ||
8357 | wxPyEndAllowThreads(__tstate); | |
8358 | if (PyErr_Occurred()) SWIG_fail; | |
8359 | } | |
c370783e | 8360 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
8361 | return resultobj; |
8362 | fail: | |
8363 | return NULL; | |
8364 | } | |
8365 | ||
8366 | ||
c370783e | 8367 | static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
8368 | PyObject *obj; |
8369 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8370 | SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj); | |
8371 | Py_INCREF(obj); | |
8372 | return Py_BuildValue((char *)""); | |
8373 | } | |
c370783e | 8374 | static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8375 | PyObject *resultobj; |
8376 | int arg1 = (int) 0 ; | |
8377 | wxCalculateLayoutEvent *result; | |
8378 | PyObject * obj0 = 0 ; | |
8379 | char *kwnames[] = { | |
8380 | (char *) "id", NULL | |
8381 | }; | |
8382 | ||
8383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail; | |
8384 | if (obj0) { | |
c370783e | 8385 | arg1 = (int)SWIG_As_int(obj0); |
d55e5bfc RD |
8386 | if (PyErr_Occurred()) SWIG_fail; |
8387 | } | |
8388 | { | |
8389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8390 | result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1); | |
8391 | ||
8392 | wxPyEndAllowThreads(__tstate); | |
8393 | if (PyErr_Occurred()) SWIG_fail; | |
8394 | } | |
8395 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1); | |
8396 | return resultobj; | |
8397 | fail: | |
8398 | return NULL; | |
8399 | } | |
8400 | ||
8401 | ||
c370783e | 8402 | static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8403 | PyObject *resultobj; |
8404 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
8405 | int arg2 ; | |
8406 | PyObject * obj0 = 0 ; | |
8407 | PyObject * obj1 = 0 ; | |
8408 | char *kwnames[] = { | |
8409 | (char *) "self",(char *) "flags", NULL | |
8410 | }; | |
8411 | ||
8412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; | |
8413 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, | |
8414 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 8415 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
8416 | if (PyErr_Occurred()) SWIG_fail; |
8417 | { | |
8418 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8419 | (arg1)->SetFlags(arg2); | |
8420 | ||
8421 | wxPyEndAllowThreads(__tstate); | |
8422 | if (PyErr_Occurred()) SWIG_fail; | |
8423 | } | |
8424 | Py_INCREF(Py_None); resultobj = Py_None; | |
8425 | return resultobj; | |
8426 | fail: | |
8427 | return NULL; | |
8428 | } | |
8429 | ||
8430 | ||
c370783e | 8431 | static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8432 | PyObject *resultobj; |
8433 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
8434 | int result; | |
8435 | PyObject * obj0 = 0 ; | |
8436 | char *kwnames[] = { | |
8437 | (char *) "self", NULL | |
8438 | }; | |
8439 | ||
8440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail; | |
8441 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, | |
8442 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8443 | { | |
8444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8445 | result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags(); | |
8446 | ||
8447 | wxPyEndAllowThreads(__tstate); | |
8448 | if (PyErr_Occurred()) SWIG_fail; | |
8449 | } | |
c370783e | 8450 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
8451 | return resultobj; |
8452 | fail: | |
8453 | return NULL; | |
8454 | } | |
8455 | ||
8456 | ||
c370783e | 8457 | static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8458 | PyObject *resultobj; |
8459 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
8460 | wxRect *arg2 = 0 ; | |
8461 | wxRect temp2 ; | |
8462 | PyObject * obj0 = 0 ; | |
8463 | PyObject * obj1 = 0 ; | |
8464 | char *kwnames[] = { | |
8465 | (char *) "self",(char *) "rect", NULL | |
8466 | }; | |
8467 | ||
8468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail; | |
8469 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, | |
8470 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8471 | { | |
8472 | arg2 = &temp2; | |
8473 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
8474 | } | |
8475 | { | |
8476 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8477 | (arg1)->SetRect((wxRect const &)*arg2); | |
8478 | ||
8479 | wxPyEndAllowThreads(__tstate); | |
8480 | if (PyErr_Occurred()) SWIG_fail; | |
8481 | } | |
8482 | Py_INCREF(Py_None); resultobj = Py_None; | |
8483 | return resultobj; | |
8484 | fail: | |
8485 | return NULL; | |
8486 | } | |
8487 | ||
8488 | ||
c370783e | 8489 | static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8490 | PyObject *resultobj; |
8491 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
8492 | wxRect result; | |
8493 | PyObject * obj0 = 0 ; | |
8494 | char *kwnames[] = { | |
8495 | (char *) "self", NULL | |
8496 | }; | |
8497 | ||
8498 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail; | |
8499 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, | |
8500 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8501 | { | |
8502 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8503 | result = ((wxCalculateLayoutEvent const *)arg1)->GetRect(); | |
8504 | ||
8505 | wxPyEndAllowThreads(__tstate); | |
8506 | if (PyErr_Occurred()) SWIG_fail; | |
8507 | } | |
8508 | { | |
8509 | wxRect * resultptr; | |
8510 | resultptr = new wxRect((wxRect &) result); | |
8511 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); | |
8512 | } | |
8513 | return resultobj; | |
8514 | fail: | |
8515 | return NULL; | |
8516 | } | |
8517 | ||
8518 | ||
c370783e | 8519 | static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
8520 | PyObject *obj; |
8521 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8522 | SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj); | |
8523 | Py_INCREF(obj); | |
8524 | return Py_BuildValue((char *)""); | |
8525 | } | |
c370783e | 8526 | static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8527 | PyObject *resultobj; |
8528 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 | 8529 | int arg2 = (int) -1 ; |
d55e5bfc RD |
8530 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
8531 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
8532 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
8533 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
8534 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
8535 | wxString const &arg6_defvalue = wxPySashLayoutNameStr ; | |
8536 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
8537 | wxSashLayoutWindow *result; | |
8538 | wxPoint temp3 ; | |
8539 | wxSize temp4 ; | |
b411df4a | 8540 | bool temp6 = false ; |
d55e5bfc RD |
8541 | PyObject * obj0 = 0 ; |
8542 | PyObject * obj1 = 0 ; | |
8543 | PyObject * obj2 = 0 ; | |
8544 | PyObject * obj3 = 0 ; | |
8545 | PyObject * obj4 = 0 ; | |
8546 | PyObject * obj5 = 0 ; | |
8547 | char *kwnames[] = { | |
8548 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8549 | }; | |
8550 | ||
bfddbb17 | 8551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d55e5bfc RD |
8552 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
8553 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
bfddbb17 | 8554 | if (obj1) { |
c370783e | 8555 | arg2 = (int)SWIG_As_int(obj1); |
bfddbb17 RD |
8556 | if (PyErr_Occurred()) SWIG_fail; |
8557 | } | |
d55e5bfc RD |
8558 | if (obj2) { |
8559 | { | |
8560 | arg3 = &temp3; | |
8561 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8562 | } | |
8563 | } | |
8564 | if (obj3) { | |
8565 | { | |
8566 | arg4 = &temp4; | |
8567 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
8568 | } | |
8569 | } | |
8570 | if (obj4) { | |
c370783e | 8571 | arg5 = (long)SWIG_As_long(obj4); |
d55e5bfc RD |
8572 | if (PyErr_Occurred()) SWIG_fail; |
8573 | } | |
8574 | if (obj5) { | |
8575 | { | |
8576 | arg6 = wxString_in_helper(obj5); | |
8577 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 8578 | temp6 = true; |
d55e5bfc RD |
8579 | } |
8580 | } | |
8581 | { | |
0439c23b | 8582 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
8583 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8584 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
8585 | ||
8586 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8587 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
8588 | } |
8589 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); | |
8590 | { | |
8591 | if (temp6) | |
8592 | delete arg6; | |
8593 | } | |
8594 | return resultobj; | |
8595 | fail: | |
8596 | { | |
8597 | if (temp6) | |
8598 | delete arg6; | |
8599 | } | |
8600 | return NULL; | |
8601 | } | |
8602 | ||
8603 | ||
c370783e | 8604 | static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8605 | PyObject *resultobj; |
8606 | wxSashLayoutWindow *result; | |
8607 | char *kwnames[] = { | |
8608 | NULL | |
8609 | }; | |
8610 | ||
8611 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail; | |
8612 | { | |
0439c23b | 8613 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
8614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8615 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(); | |
8616 | ||
8617 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8618 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
8619 | } |
8620 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); | |
8621 | return resultobj; | |
8622 | fail: | |
8623 | return NULL; | |
8624 | } | |
8625 | ||
8626 | ||
c370783e | 8627 | static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8628 | PyObject *resultobj; |
8629 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8630 | wxWindow *arg2 = (wxWindow *) 0 ; | |
bfddbb17 | 8631 | int arg3 = (int) -1 ; |
d55e5bfc RD |
8632 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
8633 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
8634 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
8635 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
8636 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
8637 | wxString const &arg7_defvalue = wxPySashLayoutNameStr ; | |
8638 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
8639 | bool result; | |
8640 | wxPoint temp4 ; | |
8641 | wxSize temp5 ; | |
b411df4a | 8642 | bool temp7 = false ; |
d55e5bfc RD |
8643 | PyObject * obj0 = 0 ; |
8644 | PyObject * obj1 = 0 ; | |
8645 | PyObject * obj2 = 0 ; | |
8646 | PyObject * obj3 = 0 ; | |
8647 | PyObject * obj4 = 0 ; | |
8648 | PyObject * obj5 = 0 ; | |
8649 | PyObject * obj6 = 0 ; | |
8650 | char *kwnames[] = { | |
8651 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8652 | }; | |
8653 | ||
bfddbb17 | 8654 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d55e5bfc RD |
8655 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8656 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8657 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
8658 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
bfddbb17 | 8659 | if (obj2) { |
c370783e | 8660 | arg3 = (int)SWIG_As_int(obj2); |
bfddbb17 RD |
8661 | if (PyErr_Occurred()) SWIG_fail; |
8662 | } | |
d55e5bfc RD |
8663 | if (obj3) { |
8664 | { | |
8665 | arg4 = &temp4; | |
8666 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8667 | } | |
8668 | } | |
8669 | if (obj4) { | |
8670 | { | |
8671 | arg5 = &temp5; | |
8672 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
8673 | } | |
8674 | } | |
8675 | if (obj5) { | |
c370783e | 8676 | arg6 = (long)SWIG_As_long(obj5); |
d55e5bfc RD |
8677 | if (PyErr_Occurred()) SWIG_fail; |
8678 | } | |
8679 | if (obj6) { | |
8680 | { | |
8681 | arg7 = wxString_in_helper(obj6); | |
8682 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 8683 | temp7 = true; |
d55e5bfc RD |
8684 | } |
8685 | } | |
8686 | { | |
8687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8688 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
8689 | ||
8690 | wxPyEndAllowThreads(__tstate); | |
8691 | if (PyErr_Occurred()) SWIG_fail; | |
8692 | } | |
8693 | { | |
8694 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8695 | } | |
8696 | { | |
8697 | if (temp7) | |
8698 | delete arg7; | |
8699 | } | |
8700 | return resultobj; | |
8701 | fail: | |
8702 | { | |
8703 | if (temp7) | |
8704 | delete arg7; | |
8705 | } | |
8706 | return NULL; | |
8707 | } | |
8708 | ||
8709 | ||
c370783e | 8710 | static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8711 | PyObject *resultobj; |
8712 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8713 | int result; | |
8714 | PyObject * obj0 = 0 ; | |
8715 | char *kwnames[] = { | |
8716 | (char *) "self", NULL | |
8717 | }; | |
8718 | ||
8719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail; | |
8720 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, | |
8721 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8722 | { | |
8723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8724 | result = (int)(arg1)->GetAlignment(); | |
8725 | ||
8726 | wxPyEndAllowThreads(__tstate); | |
8727 | if (PyErr_Occurred()) SWIG_fail; | |
8728 | } | |
c370783e | 8729 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
8730 | return resultobj; |
8731 | fail: | |
8732 | return NULL; | |
8733 | } | |
8734 | ||
8735 | ||
c370783e | 8736 | static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8737 | PyObject *resultobj; |
8738 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8739 | int result; | |
8740 | PyObject * obj0 = 0 ; | |
8741 | char *kwnames[] = { | |
8742 | (char *) "self", NULL | |
8743 | }; | |
8744 | ||
8745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail; | |
8746 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, | |
8747 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8748 | { | |
8749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8750 | result = (int)(arg1)->GetOrientation(); | |
8751 | ||
8752 | wxPyEndAllowThreads(__tstate); | |
8753 | if (PyErr_Occurred()) SWIG_fail; | |
8754 | } | |
c370783e | 8755 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
8756 | return resultobj; |
8757 | fail: | |
8758 | return NULL; | |
8759 | } | |
8760 | ||
8761 | ||
c370783e | 8762 | static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8763 | PyObject *resultobj; |
8764 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8765 | int arg2 ; | |
8766 | PyObject * obj0 = 0 ; | |
8767 | PyObject * obj1 = 0 ; | |
8768 | char *kwnames[] = { | |
8769 | (char *) "self",(char *) "alignment", NULL | |
8770 | }; | |
8771 | ||
8772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail; | |
8773 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, | |
8774 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 8775 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
8776 | if (PyErr_Occurred()) SWIG_fail; |
8777 | { | |
8778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8779 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
8780 | ||
8781 | wxPyEndAllowThreads(__tstate); | |
8782 | if (PyErr_Occurred()) SWIG_fail; | |
8783 | } | |
8784 | Py_INCREF(Py_None); resultobj = Py_None; | |
8785 | return resultobj; | |
8786 | fail: | |
8787 | return NULL; | |
8788 | } | |
8789 | ||
8790 | ||
c370783e | 8791 | static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8792 | PyObject *resultobj; |
8793 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8794 | wxSize *arg2 = 0 ; | |
8795 | wxSize temp2 ; | |
8796 | PyObject * obj0 = 0 ; | |
8797 | PyObject * obj1 = 0 ; | |
8798 | char *kwnames[] = { | |
8799 | (char *) "self",(char *) "size", NULL | |
8800 | }; | |
8801 | ||
8802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail; | |
8803 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, | |
8804 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8805 | { | |
8806 | arg2 = &temp2; | |
8807 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
8808 | } | |
8809 | { | |
8810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8811 | (arg1)->SetDefaultSize((wxSize const &)*arg2); | |
8812 | ||
8813 | wxPyEndAllowThreads(__tstate); | |
8814 | if (PyErr_Occurred()) SWIG_fail; | |
8815 | } | |
8816 | Py_INCREF(Py_None); resultobj = Py_None; | |
8817 | return resultobj; | |
8818 | fail: | |
8819 | return NULL; | |
8820 | } | |
8821 | ||
8822 | ||
c370783e | 8823 | static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8824 | PyObject *resultobj; |
8825 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8826 | int arg2 ; | |
8827 | PyObject * obj0 = 0 ; | |
8828 | PyObject * obj1 = 0 ; | |
8829 | char *kwnames[] = { | |
8830 | (char *) "self",(char *) "orientation", NULL | |
8831 | }; | |
8832 | ||
8833 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail; | |
8834 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, | |
8835 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 8836 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
8837 | if (PyErr_Occurred()) SWIG_fail; |
8838 | { | |
8839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8840 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
8841 | ||
8842 | wxPyEndAllowThreads(__tstate); | |
8843 | if (PyErr_Occurred()) SWIG_fail; | |
8844 | } | |
8845 | Py_INCREF(Py_None); resultobj = Py_None; | |
8846 | return resultobj; | |
8847 | fail: | |
8848 | return NULL; | |
8849 | } | |
8850 | ||
8851 | ||
c370783e | 8852 | static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
8853 | PyObject *obj; |
8854 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8855 | SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj); | |
8856 | Py_INCREF(obj); | |
8857 | return Py_BuildValue((char *)""); | |
8858 | } | |
c370783e | 8859 | static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8860 | PyObject *resultobj; |
8861 | wxLayoutAlgorithm *result; | |
8862 | char *kwnames[] = { | |
8863 | NULL | |
8864 | }; | |
8865 | ||
8866 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail; | |
8867 | { | |
8868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8869 | result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm(); | |
8870 | ||
8871 | wxPyEndAllowThreads(__tstate); | |
8872 | if (PyErr_Occurred()) SWIG_fail; | |
8873 | } | |
8874 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1); | |
8875 | return resultobj; | |
8876 | fail: | |
8877 | return NULL; | |
8878 | } | |
8879 | ||
8880 | ||
c370783e | 8881 | static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8882 | PyObject *resultobj; |
8883 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8884 | PyObject * obj0 = 0 ; | |
8885 | char *kwnames[] = { | |
8886 | (char *) "self", NULL | |
8887 | }; | |
8888 | ||
8889 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail; | |
8890 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, | |
8891 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8892 | { | |
8893 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8894 | delete arg1; | |
8895 | ||
8896 | wxPyEndAllowThreads(__tstate); | |
8897 | if (PyErr_Occurred()) SWIG_fail; | |
8898 | } | |
8899 | Py_INCREF(Py_None); resultobj = Py_None; | |
8900 | return resultobj; | |
8901 | fail: | |
8902 | return NULL; | |
8903 | } | |
8904 | ||
8905 | ||
c370783e | 8906 | static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8907 | PyObject *resultobj; |
8908 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8909 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
8910 | wxRect *arg3 = (wxRect *) NULL ; | |
8911 | bool result; | |
8912 | PyObject * obj0 = 0 ; | |
8913 | PyObject * obj1 = 0 ; | |
8914 | PyObject * obj2 = 0 ; | |
8915 | char *kwnames[] = { | |
8916 | (char *) "self",(char *) "frame",(char *) "rect", NULL | |
8917 | }; | |
8918 | ||
8919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8920 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, | |
8921 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8922 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame, | |
8923 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8924 | if (obj2) { | |
8925 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect, | |
8926 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8927 | } | |
8928 | { | |
8929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8930 | result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3); | |
8931 | ||
8932 | wxPyEndAllowThreads(__tstate); | |
8933 | if (PyErr_Occurred()) SWIG_fail; | |
8934 | } | |
8935 | { | |
8936 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8937 | } | |
8938 | return resultobj; | |
8939 | fail: | |
8940 | return NULL; | |
8941 | } | |
8942 | ||
8943 | ||
c370783e | 8944 | static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8945 | PyObject *resultobj; |
8946 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8947 | wxFrame *arg2 = (wxFrame *) 0 ; | |
8948 | wxWindow *arg3 = (wxWindow *) NULL ; | |
8949 | bool result; | |
8950 | PyObject * obj0 = 0 ; | |
8951 | PyObject * obj1 = 0 ; | |
8952 | PyObject * obj2 = 0 ; | |
8953 | char *kwnames[] = { | |
8954 | (char *) "self",(char *) "frame",(char *) "mainWindow", NULL | |
8955 | }; | |
8956 | ||
8957 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8958 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, | |
8959 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8960 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
8961 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8962 | if (obj2) { | |
8963 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
8964 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8965 | } | |
8966 | { | |
8967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8968 | result = (bool)(arg1)->LayoutFrame(arg2,arg3); | |
8969 | ||
8970 | wxPyEndAllowThreads(__tstate); | |
8971 | if (PyErr_Occurred()) SWIG_fail; | |
8972 | } | |
8973 | { | |
8974 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8975 | } | |
8976 | return resultobj; | |
8977 | fail: | |
8978 | return NULL; | |
8979 | } | |
8980 | ||
8981 | ||
c370783e | 8982 | static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8983 | PyObject *resultobj; |
8984 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8985 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8986 | wxWindow *arg3 = (wxWindow *) NULL ; | |
8987 | bool result; | |
8988 | PyObject * obj0 = 0 ; | |
8989 | PyObject * obj1 = 0 ; | |
8990 | PyObject * obj2 = 0 ; | |
8991 | char *kwnames[] = { | |
8992 | (char *) "self",(char *) "parent",(char *) "mainWindow", NULL | |
8993 | }; | |
8994 | ||
8995 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8996 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, | |
8997 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8998 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
8999 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9000 | if (obj2) { | |
9001 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
9002 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9003 | } | |
9004 | { | |
9005 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9006 | result = (bool)(arg1)->LayoutWindow(arg2,arg3); | |
9007 | ||
9008 | wxPyEndAllowThreads(__tstate); | |
9009 | if (PyErr_Occurred()) SWIG_fail; | |
9010 | } | |
9011 | { | |
9012 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9013 | } | |
9014 | return resultobj; | |
9015 | fail: | |
9016 | return NULL; | |
9017 | } | |
9018 | ||
9019 | ||
c370783e | 9020 | static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
9021 | PyObject *obj; |
9022 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9023 | SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj); | |
9024 | Py_INCREF(obj); | |
9025 | return Py_BuildValue((char *)""); | |
9026 | } | |
c370783e | 9027 | static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9028 | PyObject *resultobj; |
9029 | wxWindow *arg1 = (wxWindow *) 0 ; | |
9030 | int arg2 = (int) wxBORDER_NONE ; | |
9031 | wxPopupWindow *result; | |
9032 | PyObject * obj0 = 0 ; | |
9033 | PyObject * obj1 = 0 ; | |
9034 | char *kwnames[] = { | |
9035 | (char *) "parent",(char *) "flags", NULL | |
9036 | }; | |
9037 | ||
9038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail; | |
9039 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
9040 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9041 | if (obj1) { | |
c370783e | 9042 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
9043 | if (PyErr_Occurred()) SWIG_fail; |
9044 | } | |
9045 | { | |
9046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9047 | result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2); | |
9048 | ||
9049 | wxPyEndAllowThreads(__tstate); | |
9050 | if (PyErr_Occurred()) SWIG_fail; | |
9051 | } | |
9052 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); | |
9053 | return resultobj; | |
9054 | fail: | |
9055 | return NULL; | |
9056 | } | |
9057 | ||
9058 | ||
c370783e | 9059 | static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9060 | PyObject *resultobj; |
9061 | wxPopupWindow *result; | |
9062 | char *kwnames[] = { | |
9063 | NULL | |
9064 | }; | |
9065 | ||
9066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail; | |
9067 | { | |
9068 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9069 | result = (wxPopupWindow *)new wxPopupWindow(); | |
9070 | ||
9071 | wxPyEndAllowThreads(__tstate); | |
9072 | if (PyErr_Occurred()) SWIG_fail; | |
9073 | } | |
9074 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); | |
9075 | return resultobj; | |
9076 | fail: | |
9077 | return NULL; | |
9078 | } | |
9079 | ||
9080 | ||
c370783e | 9081 | static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
9082 | PyObject *obj; |
9083 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9084 | SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj); | |
9085 | Py_INCREF(obj); | |
9086 | return Py_BuildValue((char *)""); | |
9087 | } | |
c370783e | 9088 | static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9089 | PyObject *resultobj; |
9090 | wxWindow *arg1 = (wxWindow *) 0 ; | |
9091 | int arg2 = (int) wxBORDER_NONE ; | |
9092 | wxPyPopupTransientWindow *result; | |
9093 | PyObject * obj0 = 0 ; | |
9094 | PyObject * obj1 = 0 ; | |
9095 | char *kwnames[] = { | |
9096 | (char *) "parent",(char *) "style", NULL | |
9097 | }; | |
9098 | ||
9099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail; | |
9100 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
9101 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9102 | if (obj1) { | |
c370783e | 9103 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
9104 | if (PyErr_Occurred()) SWIG_fail; |
9105 | } | |
9106 | { | |
9107 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9108 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2); | |
9109 | ||
9110 | wxPyEndAllowThreads(__tstate); | |
9111 | if (PyErr_Occurred()) SWIG_fail; | |
9112 | } | |
9113 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); | |
9114 | return resultobj; | |
9115 | fail: | |
9116 | return NULL; | |
9117 | } | |
9118 | ||
9119 | ||
c370783e | 9120 | static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9121 | PyObject *resultobj; |
9122 | wxPyPopupTransientWindow *result; | |
9123 | char *kwnames[] = { | |
9124 | NULL | |
9125 | }; | |
9126 | ||
9127 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail; | |
9128 | { | |
9129 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9130 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(); | |
9131 | ||
9132 | wxPyEndAllowThreads(__tstate); | |
9133 | if (PyErr_Occurred()) SWIG_fail; | |
9134 | } | |
9135 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); | |
9136 | return resultobj; | |
9137 | fail: | |
9138 | return NULL; | |
9139 | } | |
9140 | ||
9141 | ||
c370783e | 9142 | static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
9143 | PyObject *obj; |
9144 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9145 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj); | |
9146 | Py_INCREF(obj); | |
9147 | return Py_BuildValue((char *)""); | |
9148 | } | |
c370783e | 9149 | static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9150 | PyObject *resultobj; |
9151 | wxWindow *arg1 = (wxWindow *) 0 ; | |
9152 | wxString *arg2 = 0 ; | |
9153 | int arg3 = (int) 100 ; | |
9154 | wxRect *arg4 = (wxRect *) NULL ; | |
9155 | wxTipWindow *result; | |
b411df4a | 9156 | bool temp2 = false ; |
d55e5bfc RD |
9157 | PyObject * obj0 = 0 ; |
9158 | PyObject * obj1 = 0 ; | |
9159 | PyObject * obj2 = 0 ; | |
9160 | PyObject * obj3 = 0 ; | |
9161 | char *kwnames[] = { | |
9162 | (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL | |
9163 | }; | |
9164 | ||
9165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
9166 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
9167 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9168 | { | |
9169 | arg2 = wxString_in_helper(obj1); | |
9170 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 9171 | temp2 = true; |
d55e5bfc RD |
9172 | } |
9173 | if (obj2) { | |
c370783e | 9174 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
9175 | if (PyErr_Occurred()) SWIG_fail; |
9176 | } | |
9177 | if (obj3) { | |
9178 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect, | |
9179 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9180 | } | |
9181 | { | |
0439c23b | 9182 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
9183 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9184 | result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4); | |
9185 | ||
9186 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 9187 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
9188 | } |
9189 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1); | |
9190 | { | |
9191 | if (temp2) | |
9192 | delete arg2; | |
9193 | } | |
9194 | return resultobj; | |
9195 | fail: | |
9196 | { | |
9197 | if (temp2) | |
9198 | delete arg2; | |
9199 | } | |
9200 | return NULL; | |
9201 | } | |
9202 | ||
9203 | ||
c370783e | 9204 | static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9205 | PyObject *resultobj; |
9206 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
9207 | wxRect *arg2 = 0 ; | |
9208 | wxRect temp2 ; | |
9209 | PyObject * obj0 = 0 ; | |
9210 | PyObject * obj1 = 0 ; | |
9211 | char *kwnames[] = { | |
9212 | (char *) "self",(char *) "rectBound", NULL | |
9213 | }; | |
9214 | ||
9215 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail; | |
9216 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow, | |
9217 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9218 | { | |
9219 | arg2 = &temp2; | |
9220 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
9221 | } | |
9222 | { | |
9223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9224 | (arg1)->SetBoundingRect((wxRect const &)*arg2); | |
9225 | ||
9226 | wxPyEndAllowThreads(__tstate); | |
9227 | if (PyErr_Occurred()) SWIG_fail; | |
9228 | } | |
9229 | Py_INCREF(Py_None); resultobj = Py_None; | |
9230 | return resultobj; | |
9231 | fail: | |
9232 | return NULL; | |
9233 | } | |
9234 | ||
9235 | ||
c370783e | 9236 | static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9237 | PyObject *resultobj; |
9238 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
9239 | PyObject * obj0 = 0 ; | |
9240 | char *kwnames[] = { | |
9241 | (char *) "self", NULL | |
9242 | }; | |
9243 | ||
9244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail; | |
9245 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow, | |
9246 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9247 | { | |
9248 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9249 | (arg1)->Close(); | |
9250 | ||
9251 | wxPyEndAllowThreads(__tstate); | |
9252 | if (PyErr_Occurred()) SWIG_fail; | |
9253 | } | |
9254 | Py_INCREF(Py_None); resultobj = Py_None; | |
9255 | return resultobj; | |
9256 | fail: | |
9257 | return NULL; | |
9258 | } | |
9259 | ||
9260 | ||
c370783e | 9261 | static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
9262 | PyObject *obj; |
9263 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9264 | SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj); | |
9265 | Py_INCREF(obj); | |
9266 | return Py_BuildValue((char *)""); | |
9267 | } | |
c370783e | 9268 | static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9269 | PyObject *resultobj; |
9270 | wxWindow *arg1 = (wxWindow *) 0 ; | |
9271 | int arg2 = (int) wxID_ANY ; | |
9272 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
9273 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
9274 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
9275 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
9276 | long arg5 = (long) 0 ; | |
9277 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
9278 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
9279 | wxPyVScrolledWindow *result; | |
9280 | wxPoint temp3 ; | |
9281 | wxSize temp4 ; | |
b411df4a | 9282 | bool temp6 = false ; |
d55e5bfc RD |
9283 | PyObject * obj0 = 0 ; |
9284 | PyObject * obj1 = 0 ; | |
9285 | PyObject * obj2 = 0 ; | |
9286 | PyObject * obj3 = 0 ; | |
9287 | PyObject * obj4 = 0 ; | |
9288 | PyObject * obj5 = 0 ; | |
9289 | char *kwnames[] = { | |
9290 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9291 | }; | |
9292 | ||
9293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
9294 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
9295 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9296 | if (obj1) { | |
c370783e | 9297 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
9298 | if (PyErr_Occurred()) SWIG_fail; |
9299 | } | |
9300 | if (obj2) { | |
9301 | { | |
9302 | arg3 = &temp3; | |
9303 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
9304 | } | |
9305 | } | |
9306 | if (obj3) { | |
9307 | { | |
9308 | arg4 = &temp4; | |
9309 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
9310 | } | |
9311 | } | |
9312 | if (obj4) { | |
c370783e | 9313 | arg5 = (long)SWIG_As_long(obj4); |
d55e5bfc RD |
9314 | if (PyErr_Occurred()) SWIG_fail; |
9315 | } | |
9316 | if (obj5) { | |
9317 | { | |
9318 | arg6 = wxString_in_helper(obj5); | |
9319 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 9320 | temp6 = true; |
d55e5bfc RD |
9321 | } |
9322 | } | |
9323 | { | |
0439c23b | 9324 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
9325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9326 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
9327 | ||
9328 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 9329 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
9330 | } |
9331 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); | |
9332 | { | |
9333 | if (temp6) | |
9334 | delete arg6; | |
9335 | } | |
9336 | return resultobj; | |
9337 | fail: | |
9338 | { | |
9339 | if (temp6) | |
9340 | delete arg6; | |
9341 | } | |
9342 | return NULL; | |
9343 | } | |
9344 | ||
9345 | ||
c370783e | 9346 | static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9347 | PyObject *resultobj; |
9348 | wxPyVScrolledWindow *result; | |
9349 | char *kwnames[] = { | |
9350 | NULL | |
9351 | }; | |
9352 | ||
9353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail; | |
9354 | { | |
0439c23b | 9355 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
9356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9357 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(); | |
9358 | ||
9359 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 9360 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
9361 | } |
9362 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); | |
9363 | return resultobj; | |
9364 | fail: | |
9365 | return NULL; | |
9366 | } | |
9367 | ||
9368 | ||
c370783e | 9369 | static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9370 | PyObject *resultobj; |
9371 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9372 | PyObject *arg2 = (PyObject *) 0 ; | |
9373 | PyObject *arg3 = (PyObject *) 0 ; | |
9374 | PyObject * obj0 = 0 ; | |
9375 | PyObject * obj1 = 0 ; | |
9376 | PyObject * obj2 = 0 ; | |
9377 | char *kwnames[] = { | |
9378 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
9379 | }; | |
9380 | ||
9381 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9382 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, | |
9383 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9384 | arg2 = obj1; | |
9385 | arg3 = obj2; | |
9386 | { | |
9387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9388 | (arg1)->_setCallbackInfo(arg2,arg3); | |
9389 | ||
9390 | wxPyEndAllowThreads(__tstate); | |
9391 | if (PyErr_Occurred()) SWIG_fail; | |
9392 | } | |
9393 | Py_INCREF(Py_None); resultobj = Py_None; | |
9394 | return resultobj; | |
9395 | fail: | |
9396 | return NULL; | |
9397 | } | |
9398 | ||
9399 | ||
c370783e | 9400 | static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9401 | PyObject *resultobj; |
9402 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9403 | wxWindow *arg2 = (wxWindow *) 0 ; | |
9404 | int arg3 = (int) wxID_ANY ; | |
9405 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
9406 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
9407 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
9408 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
9409 | long arg6 = (long) 0 ; | |
9410 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
9411 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
9412 | bool result; | |
9413 | wxPoint temp4 ; | |
9414 | wxSize temp5 ; | |
b411df4a | 9415 | bool temp7 = false ; |
d55e5bfc RD |
9416 | PyObject * obj0 = 0 ; |
9417 | PyObject * obj1 = 0 ; | |
9418 | PyObject * obj2 = 0 ; | |
9419 | PyObject * obj3 = 0 ; | |
9420 | PyObject * obj4 = 0 ; | |
9421 | PyObject * obj5 = 0 ; | |
9422 | PyObject * obj6 = 0 ; | |
9423 | char *kwnames[] = { | |
9424 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9425 | }; | |
9426 | ||
9427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
9428 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, | |
9429 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9430 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
9431 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9432 | if (obj2) { | |
c370783e | 9433 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
9434 | if (PyErr_Occurred()) SWIG_fail; |
9435 | } | |
9436 | if (obj3) { | |
9437 | { | |
9438 | arg4 = &temp4; | |
9439 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
9440 | } | |
9441 | } | |
9442 | if (obj4) { | |
9443 | { | |
9444 | arg5 = &temp5; | |
9445 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
9446 | } | |
9447 | } | |
9448 | if (obj5) { | |
c370783e | 9449 | arg6 = (long)SWIG_As_long(obj5); |
d55e5bfc RD |
9450 | if (PyErr_Occurred()) SWIG_fail; |
9451 | } | |
9452 | if (obj6) { | |
9453 | { | |
9454 | arg7 = wxString_in_helper(obj6); | |
9455 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 9456 | temp7 = true; |
d55e5bfc RD |
9457 | } |
9458 | } | |
9459 | { | |
9460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9461 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
9462 | ||
9463 | wxPyEndAllowThreads(__tstate); | |
9464 | if (PyErr_Occurred()) SWIG_fail; | |
9465 | } | |
9466 | { | |
9467 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9468 | } | |
9469 | { | |
9470 | if (temp7) | |
9471 | delete arg7; | |
9472 | } | |
9473 | return resultobj; | |
9474 | fail: | |
9475 | { | |
9476 | if (temp7) | |
9477 | delete arg7; | |
9478 | } | |
9479 | return NULL; | |
9480 | } | |
9481 | ||
9482 | ||
c370783e | 9483 | static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9484 | PyObject *resultobj; |
9485 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9486 | size_t arg2 ; | |
9487 | PyObject * obj0 = 0 ; | |
9488 | PyObject * obj1 = 0 ; | |
9489 | char *kwnames[] = { | |
9490 | (char *) "self",(char *) "count", NULL | |
9491 | }; | |
9492 | ||
9493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail; | |
9494 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, | |
9495 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 9496 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
d55e5bfc RD |
9497 | if (PyErr_Occurred()) SWIG_fail; |
9498 | { | |
9499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9500 | (arg1)->SetLineCount(arg2); | |
9501 | ||
9502 | wxPyEndAllowThreads(__tstate); | |
9503 | if (PyErr_Occurred()) SWIG_fail; | |
9504 | } | |
9505 | Py_INCREF(Py_None); resultobj = Py_None; | |
9506 | return resultobj; | |
9507 | fail: | |
9508 | return NULL; | |
9509 | } | |
9510 | ||
9511 | ||
c370783e | 9512 | static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9513 | PyObject *resultobj; |
9514 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9515 | size_t arg2 ; | |
9516 | bool result; | |
9517 | PyObject * obj0 = 0 ; | |
9518 | PyObject * obj1 = 0 ; | |
9519 | char *kwnames[] = { | |
9520 | (char *) "self",(char *) "line", NULL | |
9521 | }; | |
9522 | ||
9523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail; | |
9524 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, | |
9525 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 9526 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
d55e5bfc RD |
9527 | if (PyErr_Occurred()) SWIG_fail; |
9528 | { | |
9529 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9530 | result = (bool)(arg1)->ScrollToLine(arg2); | |
9531 | ||
9532 | wxPyEndAllowThreads(__tstate); | |
9533 | if (PyErr_Occurred()) SWIG_fail; | |
9534 | } | |
9535 | { | |
9536 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9537 | } | |
9538 | return resultobj; | |
9539 | fail: | |
9540 | return NULL; | |
9541 | } | |
9542 | ||
9543 | ||
c370783e | 9544 | static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9545 | PyObject *resultobj; |
9546 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9547 | int arg2 ; | |
9548 | bool result; | |
9549 | PyObject * obj0 = 0 ; | |
9550 | PyObject * obj1 = 0 ; | |
9551 | char *kwnames[] = { | |
9552 | (char *) "self",(char *) "lines", NULL | |
9553 | }; | |
9554 | ||
9555 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail; | |
9556 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, | |
9557 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 9558 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
9559 | if (PyErr_Occurred()) SWIG_fail; |
9560 | { | |
9561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9562 | result = (bool)(arg1)->ScrollLines(arg2); | |
9563 | ||
9564 | wxPyEndAllowThreads(__tstate); | |
9565 | if (PyErr_Occurred()) SWIG_fail; | |
9566 | } | |
9567 | { | |
9568 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9569 | } | |
9570 | return resultobj; | |
9571 | fail: | |
9572 | return NULL; | |
9573 | } | |
9574 | ||
9575 | ||
c370783e | 9576 | static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9577 | PyObject *resultobj; |
9578 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9579 | int arg2 ; | |
9580 | bool result; | |
9581 | PyObject * obj0 = 0 ; | |
9582 | PyObject * obj1 = 0 ; | |
9583 | char *kwnames[] = { | |
9584 | (char *) "self",(char *) "pages", NULL | |
9585 | }; | |
9586 | ||
9587 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail; | |
9588 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, | |
9589 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 9590 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
9591 | if (PyErr_Occurred()) SWIG_fail; |
9592 | { | |
9593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9594 | result = (bool)(arg1)->ScrollPages(arg2); | |
9595 | ||
9596 | wxPyEndAllowThreads(__tstate); | |
9597 | if (PyErr_Occurred()) SWIG_fail; | |
9598 | } | |
9599 | { | |
9600 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9601 | } | |
9602 | return resultobj; | |
9603 | fail: | |
9604 | return NULL; | |
9605 | } | |
9606 | ||
9607 | ||
c370783e | 9608 | static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9609 | PyObject *resultobj; |
9610 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9611 | size_t arg2 ; | |
9612 | PyObject * obj0 = 0 ; | |
9613 | PyObject * obj1 = 0 ; | |
9614 | char *kwnames[] = { | |
9615 | (char *) "self",(char *) "line", NULL | |
9616 | }; | |
9617 | ||
9618 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail; | |
9619 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, | |
9620 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 9621 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
d55e5bfc RD |
9622 | if (PyErr_Occurred()) SWIG_fail; |
9623 | { | |
9624 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9625 | (arg1)->RefreshLine(arg2); | |
9626 | ||
9627 | wxPyEndAllowThreads(__tstate); | |
9628 | if (PyErr_Occurred()) SWIG_fail; | |
9629 | } | |
9630 | Py_INCREF(Py_None); resultobj = Py_None; | |
9631 | return resultobj; | |
9632 | fail: | |
9633 | return NULL; | |
9634 | } | |
9635 | ||
9636 | ||
c370783e | 9637 | static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9638 | PyObject *resultobj; |
9639 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9640 | size_t arg2 ; | |
9641 | size_t arg3 ; | |
9642 | PyObject * obj0 = 0 ; | |
9643 | PyObject * obj1 = 0 ; | |
9644 | PyObject * obj2 = 0 ; | |
9645 | char *kwnames[] = { | |
9646 | (char *) "self",(char *) "from",(char *) "to", NULL | |
9647 | }; | |
9648 | ||
9649 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9650 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, | |
9651 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 9652 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
d55e5bfc | 9653 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 9654 | arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2); |
d55e5bfc RD |
9655 | if (PyErr_Occurred()) SWIG_fail; |
9656 | { | |
9657 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9658 | (arg1)->RefreshLines(arg2,arg3); | |
9659 | ||
9660 | wxPyEndAllowThreads(__tstate); | |
9661 | if (PyErr_Occurred()) SWIG_fail; | |
9662 | } | |
9663 | Py_INCREF(Py_None); resultobj = Py_None; | |
9664 | return resultobj; | |
9665 | fail: | |
9666 | return NULL; | |
9667 | } | |
9668 | ||
9669 | ||
c370783e | 9670 | static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9671 | PyObject *resultobj; |
9672 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9673 | int arg2 ; | |
9674 | int arg3 ; | |
9675 | int result; | |
9676 | PyObject * obj0 = 0 ; | |
9677 | PyObject * obj1 = 0 ; | |
9678 | PyObject * obj2 = 0 ; | |
9679 | char *kwnames[] = { | |
9680 | (char *) "self",(char *) "x",(char *) "y", NULL | |
9681 | }; | |
9682 | ||
03ee685a | 9683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d55e5bfc RD |
9684 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9685 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 9686 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc | 9687 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 9688 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
9689 | if (PyErr_Occurred()) SWIG_fail; |
9690 | { | |
9691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9692 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3); | |
9693 | ||
9694 | wxPyEndAllowThreads(__tstate); | |
9695 | if (PyErr_Occurred()) SWIG_fail; | |
9696 | } | |
c370783e | 9697 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
9698 | return resultobj; |
9699 | fail: | |
9700 | return NULL; | |
9701 | } | |
9702 | ||
9703 | ||
c370783e | 9704 | static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9705 | PyObject *resultobj; |
9706 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9707 | wxPoint *arg2 = 0 ; | |
9708 | int result; | |
9709 | wxPoint temp2 ; | |
9710 | PyObject * obj0 = 0 ; | |
9711 | PyObject * obj1 = 0 ; | |
9712 | char *kwnames[] = { | |
9713 | (char *) "self",(char *) "pt", NULL | |
9714 | }; | |
9715 | ||
9716 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail; | |
9717 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, | |
9718 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9719 | { | |
9720 | arg2 = &temp2; | |
9721 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
9722 | } | |
9723 | { | |
9724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9725 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2); | |
9726 | ||
9727 | wxPyEndAllowThreads(__tstate); | |
9728 | if (PyErr_Occurred()) SWIG_fail; | |
9729 | } | |
c370783e | 9730 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
9731 | return resultobj; |
9732 | fail: | |
9733 | return NULL; | |
9734 | } | |
9735 | ||
9736 | ||
c370783e | 9737 | static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9738 | PyObject *resultobj; |
9739 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9740 | PyObject * obj0 = 0 ; | |
9741 | char *kwnames[] = { | |
9742 | (char *) "self", NULL | |
9743 | }; | |
9744 | ||
9745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail; | |
9746 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, | |
9747 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9748 | { | |
9749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9750 | (arg1)->RefreshAll(); | |
9751 | ||
9752 | wxPyEndAllowThreads(__tstate); | |
9753 | if (PyErr_Occurred()) SWIG_fail; | |
9754 | } | |
9755 | Py_INCREF(Py_None); resultobj = Py_None; | |
9756 | return resultobj; | |
9757 | fail: | |
9758 | return NULL; | |
9759 | } | |
9760 | ||
9761 | ||
c370783e | 9762 | static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9763 | PyObject *resultobj; |
9764 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9765 | size_t result; | |
9766 | PyObject * obj0 = 0 ; | |
9767 | char *kwnames[] = { | |
9768 | (char *) "self", NULL | |
9769 | }; | |
9770 | ||
9771 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail; | |
9772 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, | |
9773 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9774 | { | |
9775 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9776 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount(); | |
9777 | ||
9778 | wxPyEndAllowThreads(__tstate); | |
9779 | if (PyErr_Occurred()) SWIG_fail; | |
9780 | } | |
c370783e | 9781 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)result); |
d55e5bfc RD |
9782 | return resultobj; |
9783 | fail: | |
9784 | return NULL; | |
9785 | } | |
9786 | ||
9787 | ||
c370783e | 9788 | static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9789 | PyObject *resultobj; |
9790 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9791 | size_t result; | |
9792 | PyObject * obj0 = 0 ; | |
9793 | char *kwnames[] = { | |
9794 | (char *) "self", NULL | |
9795 | }; | |
9796 | ||
9797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail; | |
9798 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, | |
9799 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9800 | { | |
9801 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9802 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine(); | |
9803 | ||
9804 | wxPyEndAllowThreads(__tstate); | |
9805 | if (PyErr_Occurred()) SWIG_fail; | |
9806 | } | |
c370783e | 9807 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)result); |
d55e5bfc RD |
9808 | return resultobj; |
9809 | fail: | |
9810 | return NULL; | |
9811 | } | |
9812 | ||
9813 | ||
c370783e | 9814 | static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc 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_GetLastVisibleLine",kwnames,&obj0)) goto fail; | |
9824 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, | |
9825 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9826 | { | |
9827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9828 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine(); | |
9829 | ||
9830 | wxPyEndAllowThreads(__tstate); | |
9831 | if (PyErr_Occurred()) SWIG_fail; | |
9832 | } | |
c370783e | 9833 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)result); |
d55e5bfc RD |
9834 | return resultobj; |
9835 | fail: | |
9836 | return NULL; | |
9837 | } | |
9838 | ||
9839 | ||
c370783e | 9840 | static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9841 | PyObject *resultobj; |
9842 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9843 | size_t arg2 ; | |
9844 | bool result; | |
9845 | PyObject * obj0 = 0 ; | |
9846 | PyObject * obj1 = 0 ; | |
9847 | char *kwnames[] = { | |
9848 | (char *) "self",(char *) "line", NULL | |
9849 | }; | |
9850 | ||
9851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail; | |
9852 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, | |
9853 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 9854 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
d55e5bfc RD |
9855 | if (PyErr_Occurred()) SWIG_fail; |
9856 | { | |
9857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9858 | result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2); | |
9859 | ||
9860 | wxPyEndAllowThreads(__tstate); | |
9861 | if (PyErr_Occurred()) SWIG_fail; | |
9862 | } | |
9863 | { | |
9864 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9865 | } | |
9866 | return resultobj; | |
9867 | fail: | |
9868 | return NULL; | |
9869 | } | |
9870 | ||
9871 | ||
c370783e | 9872 | static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
9873 | PyObject *obj; |
9874 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9875 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj); | |
9876 | Py_INCREF(obj); | |
9877 | return Py_BuildValue((char *)""); | |
9878 | } | |
c370783e | 9879 | static int _wrap_VListBoxNameStr_set(PyObject *) { |
d55e5bfc RD |
9880 | PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only."); |
9881 | return 1; | |
9882 | } | |
9883 | ||
9884 | ||
9885 | static PyObject *_wrap_VListBoxNameStr_get() { | |
9886 | PyObject *pyobj; | |
9887 | ||
9888 | { | |
9889 | #if wxUSE_UNICODE | |
9890 | pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
9891 | #else | |
9892 | pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
9893 | #endif | |
9894 | } | |
9895 | return pyobj; | |
9896 | } | |
9897 | ||
9898 | ||
c370783e | 9899 | static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9900 | PyObject *resultobj; |
9901 | wxWindow *arg1 = (wxWindow *) 0 ; | |
9902 | int arg2 = (int) wxID_ANY ; | |
9903 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
9904 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
9905 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
9906 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
9907 | long arg5 = (long) 0 ; | |
9908 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
9909 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
9910 | wxPyVListBox *result; | |
9911 | wxPoint temp3 ; | |
9912 | wxSize temp4 ; | |
b411df4a | 9913 | bool temp6 = false ; |
d55e5bfc RD |
9914 | PyObject * obj0 = 0 ; |
9915 | PyObject * obj1 = 0 ; | |
9916 | PyObject * obj2 = 0 ; | |
9917 | PyObject * obj3 = 0 ; | |
9918 | PyObject * obj4 = 0 ; | |
9919 | PyObject * obj5 = 0 ; | |
9920 | char *kwnames[] = { | |
9921 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9922 | }; | |
9923 | ||
9924 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
9925 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
9926 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9927 | if (obj1) { | |
c370783e | 9928 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
9929 | if (PyErr_Occurred()) SWIG_fail; |
9930 | } | |
9931 | if (obj2) { | |
9932 | { | |
9933 | arg3 = &temp3; | |
9934 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
9935 | } | |
9936 | } | |
9937 | if (obj3) { | |
9938 | { | |
9939 | arg4 = &temp4; | |
9940 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
9941 | } | |
9942 | } | |
9943 | if (obj4) { | |
c370783e | 9944 | arg5 = (long)SWIG_As_long(obj4); |
d55e5bfc RD |
9945 | if (PyErr_Occurred()) SWIG_fail; |
9946 | } | |
9947 | if (obj5) { | |
9948 | { | |
9949 | arg6 = wxString_in_helper(obj5); | |
9950 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 9951 | temp6 = true; |
d55e5bfc RD |
9952 | } |
9953 | } | |
9954 | { | |
0439c23b | 9955 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
9956 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9957 | result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
9958 | ||
9959 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 9960 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
9961 | } |
9962 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); | |
9963 | { | |
9964 | if (temp6) | |
9965 | delete arg6; | |
9966 | } | |
9967 | return resultobj; | |
9968 | fail: | |
9969 | { | |
9970 | if (temp6) | |
9971 | delete arg6; | |
9972 | } | |
9973 | return NULL; | |
9974 | } | |
9975 | ||
9976 | ||
c370783e | 9977 | static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9978 | PyObject *resultobj; |
9979 | wxPyVListBox *result; | |
9980 | char *kwnames[] = { | |
9981 | NULL | |
9982 | }; | |
9983 | ||
9984 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail; | |
9985 | { | |
0439c23b | 9986 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
9987 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9988 | result = (wxPyVListBox *)new wxPyVListBox(); | |
9989 | ||
9990 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 9991 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
9992 | } |
9993 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); | |
9994 | return resultobj; | |
9995 | fail: | |
9996 | return NULL; | |
9997 | } | |
9998 | ||
9999 | ||
c370783e | 10000 | static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10001 | PyObject *resultobj; |
10002 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10003 | PyObject *arg2 = (PyObject *) 0 ; | |
10004 | PyObject *arg3 = (PyObject *) 0 ; | |
10005 | PyObject * obj0 = 0 ; | |
10006 | PyObject * obj1 = 0 ; | |
10007 | PyObject * obj2 = 0 ; | |
10008 | char *kwnames[] = { | |
10009 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
10010 | }; | |
10011 | ||
10012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10013 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10014 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10015 | arg2 = obj1; | |
10016 | arg3 = obj2; | |
10017 | { | |
10018 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10019 | (arg1)->_setCallbackInfo(arg2,arg3); | |
10020 | ||
10021 | wxPyEndAllowThreads(__tstate); | |
10022 | if (PyErr_Occurred()) SWIG_fail; | |
10023 | } | |
10024 | Py_INCREF(Py_None); resultobj = Py_None; | |
10025 | return resultobj; | |
10026 | fail: | |
10027 | return NULL; | |
10028 | } | |
10029 | ||
10030 | ||
c370783e | 10031 | static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10032 | PyObject *resultobj; |
10033 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10034 | wxWindow *arg2 = (wxWindow *) 0 ; | |
10035 | int arg3 = (int) wxID_ANY ; | |
10036 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
10037 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
10038 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
10039 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
10040 | long arg6 = (long) 0 ; | |
10041 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
10042 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
10043 | bool result; | |
10044 | wxPoint temp4 ; | |
10045 | wxSize temp5 ; | |
b411df4a | 10046 | bool temp7 = false ; |
d55e5bfc RD |
10047 | PyObject * obj0 = 0 ; |
10048 | PyObject * obj1 = 0 ; | |
10049 | PyObject * obj2 = 0 ; | |
10050 | PyObject * obj3 = 0 ; | |
10051 | PyObject * obj4 = 0 ; | |
10052 | PyObject * obj5 = 0 ; | |
10053 | PyObject * obj6 = 0 ; | |
10054 | char *kwnames[] = { | |
10055 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10056 | }; | |
10057 | ||
10058 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
10059 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10060 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10061 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
10062 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10063 | if (obj2) { | |
c370783e | 10064 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
10065 | if (PyErr_Occurred()) SWIG_fail; |
10066 | } | |
10067 | if (obj3) { | |
10068 | { | |
10069 | arg4 = &temp4; | |
10070 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
10071 | } | |
10072 | } | |
10073 | if (obj4) { | |
10074 | { | |
10075 | arg5 = &temp5; | |
10076 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
10077 | } | |
10078 | } | |
10079 | if (obj5) { | |
c370783e | 10080 | arg6 = (long)SWIG_As_long(obj5); |
d55e5bfc RD |
10081 | if (PyErr_Occurred()) SWIG_fail; |
10082 | } | |
10083 | if (obj6) { | |
10084 | { | |
10085 | arg7 = wxString_in_helper(obj6); | |
10086 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 10087 | temp7 = true; |
d55e5bfc RD |
10088 | } |
10089 | } | |
10090 | { | |
10091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10092 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
10093 | ||
10094 | wxPyEndAllowThreads(__tstate); | |
10095 | if (PyErr_Occurred()) SWIG_fail; | |
10096 | } | |
10097 | { | |
10098 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10099 | } | |
10100 | { | |
10101 | if (temp7) | |
10102 | delete arg7; | |
10103 | } | |
10104 | return resultobj; | |
10105 | fail: | |
10106 | { | |
10107 | if (temp7) | |
10108 | delete arg7; | |
10109 | } | |
10110 | return NULL; | |
10111 | } | |
10112 | ||
10113 | ||
c370783e | 10114 | static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10115 | PyObject *resultobj; |
10116 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10117 | size_t result; | |
10118 | PyObject * obj0 = 0 ; | |
10119 | char *kwnames[] = { | |
10120 | (char *) "self", NULL | |
10121 | }; | |
10122 | ||
10123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail; | |
10124 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10125 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10126 | { | |
10127 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10128 | result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount(); | |
10129 | ||
10130 | wxPyEndAllowThreads(__tstate); | |
10131 | if (PyErr_Occurred()) SWIG_fail; | |
10132 | } | |
c370783e | 10133 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)result); |
d55e5bfc RD |
10134 | return resultobj; |
10135 | fail: | |
10136 | return NULL; | |
10137 | } | |
10138 | ||
10139 | ||
c370783e | 10140 | static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10141 | PyObject *resultobj; |
10142 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10143 | bool result; | |
10144 | PyObject * obj0 = 0 ; | |
10145 | char *kwnames[] = { | |
10146 | (char *) "self", NULL | |
10147 | }; | |
10148 | ||
10149 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail; | |
10150 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10151 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10152 | { | |
10153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10154 | result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection(); | |
10155 | ||
10156 | wxPyEndAllowThreads(__tstate); | |
10157 | if (PyErr_Occurred()) SWIG_fail; | |
10158 | } | |
10159 | { | |
10160 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10161 | } | |
10162 | return resultobj; | |
10163 | fail: | |
10164 | return NULL; | |
10165 | } | |
10166 | ||
10167 | ||
c370783e | 10168 | static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10169 | PyObject *resultobj; |
10170 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10171 | int result; | |
10172 | PyObject * obj0 = 0 ; | |
10173 | char *kwnames[] = { | |
10174 | (char *) "self", NULL | |
10175 | }; | |
10176 | ||
10177 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail; | |
10178 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10179 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10180 | { | |
10181 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10182 | result = (int)((wxPyVListBox const *)arg1)->GetSelection(); | |
10183 | ||
10184 | wxPyEndAllowThreads(__tstate); | |
10185 | if (PyErr_Occurred()) SWIG_fail; | |
10186 | } | |
c370783e | 10187 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
10188 | return resultobj; |
10189 | fail: | |
10190 | return NULL; | |
10191 | } | |
10192 | ||
10193 | ||
c370783e | 10194 | static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10195 | PyObject *resultobj; |
10196 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10197 | size_t arg2 ; | |
10198 | bool result; | |
10199 | PyObject * obj0 = 0 ; | |
10200 | PyObject * obj1 = 0 ; | |
10201 | char *kwnames[] = { | |
10202 | (char *) "self",(char *) "item", NULL | |
10203 | }; | |
10204 | ||
10205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail; | |
10206 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10207 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10208 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
d55e5bfc RD |
10209 | if (PyErr_Occurred()) SWIG_fail; |
10210 | { | |
10211 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10212 | result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2); | |
10213 | ||
10214 | wxPyEndAllowThreads(__tstate); | |
10215 | if (PyErr_Occurred()) SWIG_fail; | |
10216 | } | |
10217 | { | |
10218 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10219 | } | |
10220 | return resultobj; | |
10221 | fail: | |
10222 | return NULL; | |
10223 | } | |
10224 | ||
10225 | ||
c370783e | 10226 | static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10227 | PyObject *resultobj; |
10228 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10229 | size_t arg2 ; | |
10230 | bool result; | |
10231 | PyObject * obj0 = 0 ; | |
10232 | PyObject * obj1 = 0 ; | |
10233 | char *kwnames[] = { | |
10234 | (char *) "self",(char *) "item", NULL | |
10235 | }; | |
10236 | ||
10237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail; | |
10238 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10239 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10240 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
d55e5bfc RD |
10241 | if (PyErr_Occurred()) SWIG_fail; |
10242 | { | |
10243 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10244 | result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2); | |
10245 | ||
10246 | wxPyEndAllowThreads(__tstate); | |
10247 | if (PyErr_Occurred()) SWIG_fail; | |
10248 | } | |
10249 | { | |
10250 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10251 | } | |
10252 | return resultobj; | |
10253 | fail: | |
10254 | return NULL; | |
10255 | } | |
10256 | ||
10257 | ||
c370783e | 10258 | static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10259 | PyObject *resultobj; |
10260 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10261 | size_t result; | |
10262 | PyObject * obj0 = 0 ; | |
10263 | char *kwnames[] = { | |
10264 | (char *) "self", NULL | |
10265 | }; | |
10266 | ||
10267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail; | |
10268 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10269 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10270 | { | |
10271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10272 | result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount(); | |
10273 | ||
10274 | wxPyEndAllowThreads(__tstate); | |
10275 | if (PyErr_Occurred()) SWIG_fail; | |
10276 | } | |
c370783e | 10277 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)result); |
d55e5bfc RD |
10278 | return resultobj; |
10279 | fail: | |
10280 | return NULL; | |
10281 | } | |
10282 | ||
10283 | ||
c370783e | 10284 | static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10285 | PyObject *resultobj; |
10286 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
09c21d3b | 10287 | PyObject *result; |
d55e5bfc | 10288 | PyObject * obj0 = 0 ; |
d55e5bfc | 10289 | char *kwnames[] = { |
09c21d3b | 10290 | (char *) "self", NULL |
d55e5bfc RD |
10291 | }; |
10292 | ||
09c21d3b | 10293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail; |
d55e5bfc RD |
10294 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10295 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d55e5bfc RD |
10296 | { |
10297 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
09c21d3b | 10298 | result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1); |
d55e5bfc RD |
10299 | |
10300 | wxPyEndAllowThreads(__tstate); | |
10301 | if (PyErr_Occurred()) SWIG_fail; | |
10302 | } | |
09c21d3b | 10303 | resultobj = result; |
d55e5bfc RD |
10304 | return resultobj; |
10305 | fail: | |
10306 | return NULL; | |
10307 | } | |
10308 | ||
10309 | ||
c370783e | 10310 | static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10311 | PyObject *resultobj; |
10312 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
09c21d3b RD |
10313 | unsigned long arg2 ; |
10314 | PyObject *result; | |
d55e5bfc RD |
10315 | PyObject * obj0 = 0 ; |
10316 | PyObject * obj1 = 0 ; | |
10317 | char *kwnames[] = { | |
10318 | (char *) "self",(char *) "cookie", NULL | |
10319 | }; | |
10320 | ||
10321 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail; | |
10322 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10323 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10324 | arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1); |
09c21d3b | 10325 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
10326 | { |
10327 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
09c21d3b | 10328 | result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2); |
d55e5bfc RD |
10329 | |
10330 | wxPyEndAllowThreads(__tstate); | |
10331 | if (PyErr_Occurred()) SWIG_fail; | |
10332 | } | |
09c21d3b | 10333 | resultobj = result; |
d55e5bfc RD |
10334 | return resultobj; |
10335 | fail: | |
10336 | return NULL; | |
10337 | } | |
10338 | ||
10339 | ||
c370783e | 10340 | static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10341 | PyObject *resultobj; |
10342 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10343 | wxPoint result; | |
10344 | PyObject * obj0 = 0 ; | |
10345 | char *kwnames[] = { | |
10346 | (char *) "self", NULL | |
10347 | }; | |
10348 | ||
10349 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail; | |
10350 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10351 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10352 | { | |
10353 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10354 | result = ((wxPyVListBox const *)arg1)->GetMargins(); | |
10355 | ||
10356 | wxPyEndAllowThreads(__tstate); | |
10357 | if (PyErr_Occurred()) SWIG_fail; | |
10358 | } | |
10359 | { | |
10360 | wxPoint * resultptr; | |
10361 | resultptr = new wxPoint((wxPoint &) result); | |
10362 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); | |
10363 | } | |
10364 | return resultobj; | |
10365 | fail: | |
10366 | return NULL; | |
10367 | } | |
10368 | ||
10369 | ||
c370783e | 10370 | static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10371 | PyObject *resultobj; |
10372 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10373 | wxColour *result; | |
10374 | PyObject * obj0 = 0 ; | |
10375 | char *kwnames[] = { | |
10376 | (char *) "self", NULL | |
10377 | }; | |
10378 | ||
10379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail; | |
10380 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10381 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10382 | { | |
10383 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10384 | { | |
10385 | wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground(); | |
10386 | result = (wxColour *) &_result_ref; | |
10387 | } | |
10388 | ||
10389 | wxPyEndAllowThreads(__tstate); | |
10390 | if (PyErr_Occurred()) SWIG_fail; | |
10391 | } | |
10392 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0); | |
10393 | return resultobj; | |
10394 | fail: | |
10395 | return NULL; | |
10396 | } | |
10397 | ||
10398 | ||
c370783e | 10399 | static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10400 | PyObject *resultobj; |
10401 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10402 | size_t arg2 ; | |
10403 | PyObject * obj0 = 0 ; | |
10404 | PyObject * obj1 = 0 ; | |
10405 | char *kwnames[] = { | |
10406 | (char *) "self",(char *) "count", NULL | |
10407 | }; | |
10408 | ||
10409 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
10410 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10411 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10412 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
d55e5bfc RD |
10413 | if (PyErr_Occurred()) SWIG_fail; |
10414 | { | |
10415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10416 | (arg1)->SetItemCount(arg2); | |
10417 | ||
10418 | wxPyEndAllowThreads(__tstate); | |
10419 | if (PyErr_Occurred()) SWIG_fail; | |
10420 | } | |
10421 | Py_INCREF(Py_None); resultobj = Py_None; | |
10422 | return resultobj; | |
10423 | fail: | |
10424 | return NULL; | |
10425 | } | |
10426 | ||
10427 | ||
c370783e | 10428 | static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10429 | PyObject *resultobj; |
10430 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10431 | PyObject * obj0 = 0 ; | |
10432 | char *kwnames[] = { | |
10433 | (char *) "self", NULL | |
10434 | }; | |
10435 | ||
10436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail; | |
10437 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10438 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10439 | { | |
10440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10441 | (arg1)->Clear(); | |
10442 | ||
10443 | wxPyEndAllowThreads(__tstate); | |
10444 | if (PyErr_Occurred()) SWIG_fail; | |
10445 | } | |
10446 | Py_INCREF(Py_None); resultobj = Py_None; | |
10447 | return resultobj; | |
10448 | fail: | |
10449 | return NULL; | |
10450 | } | |
10451 | ||
10452 | ||
c370783e | 10453 | static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10454 | PyObject *resultobj; |
10455 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10456 | int arg2 ; | |
10457 | PyObject * obj0 = 0 ; | |
10458 | PyObject * obj1 = 0 ; | |
10459 | char *kwnames[] = { | |
10460 | (char *) "self",(char *) "selection", NULL | |
10461 | }; | |
10462 | ||
10463 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
10464 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10465 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10466 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
10467 | if (PyErr_Occurred()) SWIG_fail; |
10468 | { | |
10469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10470 | (arg1)->SetSelection(arg2); | |
10471 | ||
10472 | wxPyEndAllowThreads(__tstate); | |
10473 | if (PyErr_Occurred()) SWIG_fail; | |
10474 | } | |
10475 | Py_INCREF(Py_None); resultobj = Py_None; | |
10476 | return resultobj; | |
10477 | fail: | |
10478 | return NULL; | |
10479 | } | |
10480 | ||
10481 | ||
c370783e | 10482 | static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10483 | PyObject *resultobj; |
10484 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10485 | size_t arg2 ; | |
b411df4a | 10486 | bool arg3 = (bool) true ; |
d55e5bfc RD |
10487 | bool result; |
10488 | PyObject * obj0 = 0 ; | |
10489 | PyObject * obj1 = 0 ; | |
10490 | PyObject * obj2 = 0 ; | |
10491 | char *kwnames[] = { | |
10492 | (char *) "self",(char *) "item",(char *) "select", NULL | |
10493 | }; | |
10494 | ||
10495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10496 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10497 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10498 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
d55e5bfc RD |
10499 | if (PyErr_Occurred()) SWIG_fail; |
10500 | if (obj2) { | |
c370783e | 10501 | arg3 = (bool)SWIG_As_bool(obj2); |
d55e5bfc RD |
10502 | if (PyErr_Occurred()) SWIG_fail; |
10503 | } | |
10504 | { | |
10505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10506 | result = (bool)(arg1)->Select(arg2,arg3); | |
10507 | ||
10508 | wxPyEndAllowThreads(__tstate); | |
10509 | if (PyErr_Occurred()) SWIG_fail; | |
10510 | } | |
10511 | { | |
10512 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10513 | } | |
10514 | return resultobj; | |
10515 | fail: | |
10516 | return NULL; | |
10517 | } | |
10518 | ||
10519 | ||
c370783e | 10520 | static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10521 | PyObject *resultobj; |
10522 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10523 | size_t arg2 ; | |
10524 | size_t arg3 ; | |
10525 | bool result; | |
10526 | PyObject * obj0 = 0 ; | |
10527 | PyObject * obj1 = 0 ; | |
10528 | PyObject * obj2 = 0 ; | |
10529 | char *kwnames[] = { | |
10530 | (char *) "self",(char *) "from",(char *) "to", NULL | |
10531 | }; | |
10532 | ||
10533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10534 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10535 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10536 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
d55e5bfc | 10537 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 10538 | arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2); |
d55e5bfc RD |
10539 | if (PyErr_Occurred()) SWIG_fail; |
10540 | { | |
10541 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10542 | result = (bool)(arg1)->SelectRange(arg2,arg3); | |
10543 | ||
10544 | wxPyEndAllowThreads(__tstate); | |
10545 | if (PyErr_Occurred()) SWIG_fail; | |
10546 | } | |
10547 | { | |
10548 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10549 | } | |
10550 | return resultobj; | |
10551 | fail: | |
10552 | return NULL; | |
10553 | } | |
10554 | ||
10555 | ||
c370783e | 10556 | static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10557 | PyObject *resultobj; |
10558 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10559 | size_t arg2 ; | |
10560 | PyObject * obj0 = 0 ; | |
10561 | PyObject * obj1 = 0 ; | |
10562 | char *kwnames[] = { | |
10563 | (char *) "self",(char *) "item", NULL | |
10564 | }; | |
10565 | ||
10566 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail; | |
10567 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10568 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10569 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
d55e5bfc RD |
10570 | if (PyErr_Occurred()) SWIG_fail; |
10571 | { | |
10572 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10573 | (arg1)->Toggle(arg2); | |
10574 | ||
10575 | wxPyEndAllowThreads(__tstate); | |
10576 | if (PyErr_Occurred()) SWIG_fail; | |
10577 | } | |
10578 | Py_INCREF(Py_None); resultobj = Py_None; | |
10579 | return resultobj; | |
10580 | fail: | |
10581 | return NULL; | |
10582 | } | |
10583 | ||
10584 | ||
c370783e | 10585 | static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10586 | PyObject *resultobj; |
10587 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10588 | bool result; | |
10589 | PyObject * obj0 = 0 ; | |
10590 | char *kwnames[] = { | |
10591 | (char *) "self", NULL | |
10592 | }; | |
10593 | ||
10594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail; | |
10595 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10596 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10597 | { | |
10598 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10599 | result = (bool)(arg1)->SelectAll(); | |
10600 | ||
10601 | wxPyEndAllowThreads(__tstate); | |
10602 | if (PyErr_Occurred()) SWIG_fail; | |
10603 | } | |
10604 | { | |
10605 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10606 | } | |
10607 | return resultobj; | |
10608 | fail: | |
10609 | return NULL; | |
10610 | } | |
10611 | ||
10612 | ||
c370783e | 10613 | static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10614 | PyObject *resultobj; |
10615 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10616 | bool result; | |
10617 | PyObject * obj0 = 0 ; | |
10618 | char *kwnames[] = { | |
10619 | (char *) "self", NULL | |
10620 | }; | |
10621 | ||
10622 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail; | |
10623 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10624 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10625 | { | |
10626 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10627 | result = (bool)(arg1)->DeselectAll(); | |
10628 | ||
10629 | wxPyEndAllowThreads(__tstate); | |
10630 | if (PyErr_Occurred()) SWIG_fail; | |
10631 | } | |
10632 | { | |
10633 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10634 | } | |
10635 | return resultobj; | |
10636 | fail: | |
10637 | return NULL; | |
10638 | } | |
10639 | ||
10640 | ||
c370783e | 10641 | static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10642 | PyObject *resultobj; |
10643 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10644 | wxPoint *arg2 = 0 ; | |
10645 | wxPoint temp2 ; | |
10646 | PyObject * obj0 = 0 ; | |
10647 | PyObject * obj1 = 0 ; | |
10648 | char *kwnames[] = { | |
10649 | (char *) "self",(char *) "pt", NULL | |
10650 | }; | |
10651 | ||
10652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail; | |
10653 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10654 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10655 | { | |
10656 | arg2 = &temp2; | |
10657 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
10658 | } | |
10659 | { | |
10660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10661 | (arg1)->SetMargins((wxPoint const &)*arg2); | |
10662 | ||
10663 | wxPyEndAllowThreads(__tstate); | |
10664 | if (PyErr_Occurred()) SWIG_fail; | |
10665 | } | |
10666 | Py_INCREF(Py_None); resultobj = Py_None; | |
10667 | return resultobj; | |
10668 | fail: | |
10669 | return NULL; | |
10670 | } | |
10671 | ||
10672 | ||
c370783e | 10673 | static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10674 | PyObject *resultobj; |
10675 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10676 | int arg2 ; | |
10677 | int arg3 ; | |
10678 | PyObject * obj0 = 0 ; | |
10679 | PyObject * obj1 = 0 ; | |
10680 | PyObject * obj2 = 0 ; | |
10681 | char *kwnames[] = { | |
10682 | (char *) "self",(char *) "x",(char *) "y", NULL | |
10683 | }; | |
10684 | ||
10685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10686 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10687 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10688 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc | 10689 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 10690 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
10691 | if (PyErr_Occurred()) SWIG_fail; |
10692 | { | |
10693 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10694 | (arg1)->SetMargins(arg2,arg3); | |
10695 | ||
10696 | wxPyEndAllowThreads(__tstate); | |
10697 | if (PyErr_Occurred()) SWIG_fail; | |
10698 | } | |
10699 | Py_INCREF(Py_None); resultobj = Py_None; | |
10700 | return resultobj; | |
10701 | fail: | |
10702 | return NULL; | |
10703 | } | |
10704 | ||
10705 | ||
c370783e | 10706 | static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10707 | PyObject *resultobj; |
10708 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10709 | wxColour *arg2 = 0 ; | |
10710 | wxColour temp2 ; | |
10711 | PyObject * obj0 = 0 ; | |
10712 | PyObject * obj1 = 0 ; | |
10713 | char *kwnames[] = { | |
10714 | (char *) "self",(char *) "col", NULL | |
10715 | }; | |
10716 | ||
10717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail; | |
10718 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10719 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10720 | { | |
10721 | arg2 = &temp2; | |
10722 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
10723 | } | |
10724 | { | |
10725 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10726 | (arg1)->SetSelectionBackground((wxColour const &)*arg2); | |
10727 | ||
10728 | wxPyEndAllowThreads(__tstate); | |
10729 | if (PyErr_Occurred()) SWIG_fail; | |
10730 | } | |
10731 | Py_INCREF(Py_None); resultobj = Py_None; | |
10732 | return resultobj; | |
10733 | fail: | |
10734 | return NULL; | |
10735 | } | |
10736 | ||
10737 | ||
c370783e | 10738 | static PyObject * VListBox_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
10739 | PyObject *obj; |
10740 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10741 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj); | |
10742 | Py_INCREF(obj); | |
10743 | return Py_BuildValue((char *)""); | |
10744 | } | |
c370783e | 10745 | static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10746 | PyObject *resultobj; |
10747 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10748 | int arg2 = (int) wxID_ANY ; | |
10749 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
10750 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
10751 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
10752 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
10753 | long arg5 = (long) 0 ; | |
10754 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
10755 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
10756 | wxPyHtmlListBox *result; | |
10757 | wxPoint temp3 ; | |
10758 | wxSize temp4 ; | |
b411df4a | 10759 | bool temp6 = false ; |
d55e5bfc RD |
10760 | PyObject * obj0 = 0 ; |
10761 | PyObject * obj1 = 0 ; | |
10762 | PyObject * obj2 = 0 ; | |
10763 | PyObject * obj3 = 0 ; | |
10764 | PyObject * obj4 = 0 ; | |
10765 | PyObject * obj5 = 0 ; | |
10766 | char *kwnames[] = { | |
10767 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10768 | }; | |
10769 | ||
10770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
10771 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
10772 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10773 | if (obj1) { | |
c370783e | 10774 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
10775 | if (PyErr_Occurred()) SWIG_fail; |
10776 | } | |
10777 | if (obj2) { | |
10778 | { | |
10779 | arg3 = &temp3; | |
10780 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
10781 | } | |
10782 | } | |
10783 | if (obj3) { | |
10784 | { | |
10785 | arg4 = &temp4; | |
10786 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
10787 | } | |
10788 | } | |
10789 | if (obj4) { | |
c370783e | 10790 | arg5 = (long)SWIG_As_long(obj4); |
d55e5bfc RD |
10791 | if (PyErr_Occurred()) SWIG_fail; |
10792 | } | |
10793 | if (obj5) { | |
10794 | { | |
10795 | arg6 = wxString_in_helper(obj5); | |
10796 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 10797 | temp6 = true; |
d55e5bfc RD |
10798 | } |
10799 | } | |
10800 | { | |
0439c23b | 10801 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
10802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10803 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
10804 | ||
10805 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10806 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
10807 | } |
10808 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); | |
10809 | { | |
10810 | if (temp6) | |
10811 | delete arg6; | |
10812 | } | |
10813 | return resultobj; | |
10814 | fail: | |
10815 | { | |
10816 | if (temp6) | |
10817 | delete arg6; | |
10818 | } | |
10819 | return NULL; | |
10820 | } | |
10821 | ||
10822 | ||
c370783e | 10823 | static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10824 | PyObject *resultobj; |
10825 | wxPyHtmlListBox *result; | |
10826 | char *kwnames[] = { | |
10827 | NULL | |
10828 | }; | |
10829 | ||
10830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail; | |
10831 | { | |
0439c23b | 10832 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
10833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10834 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(); | |
10835 | ||
10836 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10837 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
10838 | } |
10839 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); | |
10840 | return resultobj; | |
10841 | fail: | |
10842 | return NULL; | |
10843 | } | |
10844 | ||
10845 | ||
c370783e | 10846 | static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10847 | PyObject *resultobj; |
10848 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10849 | PyObject *arg2 = (PyObject *) 0 ; | |
10850 | PyObject *arg3 = (PyObject *) 0 ; | |
10851 | PyObject * obj0 = 0 ; | |
10852 | PyObject * obj1 = 0 ; | |
10853 | PyObject * obj2 = 0 ; | |
10854 | char *kwnames[] = { | |
10855 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
10856 | }; | |
10857 | ||
10858 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10859 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, | |
10860 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10861 | arg2 = obj1; | |
10862 | arg3 = obj2; | |
10863 | { | |
10864 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10865 | (arg1)->_setCallbackInfo(arg2,arg3); | |
10866 | ||
10867 | wxPyEndAllowThreads(__tstate); | |
10868 | if (PyErr_Occurred()) SWIG_fail; | |
10869 | } | |
10870 | Py_INCREF(Py_None); resultobj = Py_None; | |
10871 | return resultobj; | |
10872 | fail: | |
10873 | return NULL; | |
10874 | } | |
10875 | ||
10876 | ||
c370783e | 10877 | static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10878 | PyObject *resultobj; |
10879 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10880 | wxWindow *arg2 = (wxWindow *) 0 ; | |
10881 | int arg3 = (int) wxID_ANY ; | |
10882 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
10883 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
10884 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
10885 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
10886 | long arg6 = (long) 0 ; | |
10887 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
10888 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
10889 | bool result; | |
10890 | wxPoint temp4 ; | |
10891 | wxSize temp5 ; | |
b411df4a | 10892 | bool temp7 = false ; |
d55e5bfc RD |
10893 | PyObject * obj0 = 0 ; |
10894 | PyObject * obj1 = 0 ; | |
10895 | PyObject * obj2 = 0 ; | |
10896 | PyObject * obj3 = 0 ; | |
10897 | PyObject * obj4 = 0 ; | |
10898 | PyObject * obj5 = 0 ; | |
10899 | PyObject * obj6 = 0 ; | |
10900 | char *kwnames[] = { | |
10901 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10902 | }; | |
10903 | ||
10904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
10905 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, | |
10906 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10907 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
10908 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10909 | if (obj2) { | |
c370783e | 10910 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
10911 | if (PyErr_Occurred()) SWIG_fail; |
10912 | } | |
10913 | if (obj3) { | |
10914 | { | |
10915 | arg4 = &temp4; | |
10916 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
10917 | } | |
10918 | } | |
10919 | if (obj4) { | |
10920 | { | |
10921 | arg5 = &temp5; | |
10922 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
10923 | } | |
10924 | } | |
10925 | if (obj5) { | |
c370783e | 10926 | arg6 = (long)SWIG_As_long(obj5); |
d55e5bfc RD |
10927 | if (PyErr_Occurred()) SWIG_fail; |
10928 | } | |
10929 | if (obj6) { | |
10930 | { | |
10931 | arg7 = wxString_in_helper(obj6); | |
10932 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 10933 | temp7 = true; |
d55e5bfc RD |
10934 | } |
10935 | } | |
10936 | { | |
10937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10938 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
10939 | ||
10940 | wxPyEndAllowThreads(__tstate); | |
10941 | if (PyErr_Occurred()) SWIG_fail; | |
10942 | } | |
10943 | { | |
10944 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10945 | } | |
10946 | { | |
10947 | if (temp7) | |
10948 | delete arg7; | |
10949 | } | |
10950 | return resultobj; | |
10951 | fail: | |
10952 | { | |
10953 | if (temp7) | |
10954 | delete arg7; | |
10955 | } | |
10956 | return NULL; | |
10957 | } | |
10958 | ||
10959 | ||
c370783e | 10960 | static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10961 | PyObject *resultobj; |
10962 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10963 | PyObject * obj0 = 0 ; | |
10964 | char *kwnames[] = { | |
10965 | (char *) "self", NULL | |
10966 | }; | |
10967 | ||
10968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail; | |
10969 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, | |
10970 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10971 | { | |
10972 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10973 | (arg1)->RefreshAll(); | |
10974 | ||
10975 | wxPyEndAllowThreads(__tstate); | |
10976 | if (PyErr_Occurred()) SWIG_fail; | |
10977 | } | |
10978 | Py_INCREF(Py_None); resultobj = Py_None; | |
10979 | return resultobj; | |
10980 | fail: | |
10981 | return NULL; | |
10982 | } | |
10983 | ||
10984 | ||
c370783e | 10985 | static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10986 | PyObject *resultobj; |
10987 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10988 | size_t arg2 ; | |
10989 | PyObject * obj0 = 0 ; | |
10990 | PyObject * obj1 = 0 ; | |
10991 | char *kwnames[] = { | |
10992 | (char *) "self",(char *) "count", NULL | |
10993 | }; | |
10994 | ||
10995 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
10996 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, | |
10997 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10998 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
d55e5bfc RD |
10999 | if (PyErr_Occurred()) SWIG_fail; |
11000 | { | |
11001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11002 | (arg1)->SetItemCount(arg2); | |
11003 | ||
11004 | wxPyEndAllowThreads(__tstate); | |
11005 | if (PyErr_Occurred()) SWIG_fail; | |
11006 | } | |
11007 | Py_INCREF(Py_None); resultobj = Py_None; | |
11008 | return resultobj; | |
11009 | fail: | |
11010 | return NULL; | |
11011 | } | |
11012 | ||
11013 | ||
c370783e | 11014 | static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) { |
d6c14a4c RD |
11015 | PyObject *resultobj; |
11016 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
11017 | wxFileSystem *result; | |
11018 | PyObject * obj0 = 0 ; | |
11019 | char *kwnames[] = { | |
11020 | (char *) "self", NULL | |
11021 | }; | |
11022 | ||
11023 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail; | |
11024 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, | |
11025 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11026 | { | |
11027 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11028 | { | |
11029 | wxFileSystem &_result_ref = (arg1)->GetFileSystem(); | |
11030 | result = (wxFileSystem *) &_result_ref; | |
11031 | } | |
11032 | ||
11033 | wxPyEndAllowThreads(__tstate); | |
11034 | if (PyErr_Occurred()) SWIG_fail; | |
11035 | } | |
11036 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0); | |
11037 | return resultobj; | |
11038 | fail: | |
11039 | return NULL; | |
11040 | } | |
11041 | ||
11042 | ||
c370783e | 11043 | static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
11044 | PyObject *obj; |
11045 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11046 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj); | |
11047 | Py_INCREF(obj); | |
11048 | return Py_BuildValue((char *)""); | |
11049 | } | |
c370783e | 11050 | static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc | 11051 | PyObject *resultobj; |
5e483524 | 11052 | wxPyTaskBarIcon *result; |
d55e5bfc RD |
11053 | char *kwnames[] = { |
11054 | NULL | |
11055 | }; | |
11056 | ||
11057 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail; | |
11058 | { | |
0439c23b | 11059 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc | 11060 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5e483524 | 11061 | result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon(); |
d55e5bfc RD |
11062 | |
11063 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 11064 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 11065 | } |
5e483524 | 11066 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1); |
d55e5bfc RD |
11067 | return resultobj; |
11068 | fail: | |
11069 | return NULL; | |
11070 | } | |
11071 | ||
11072 | ||
5e483524 | 11073 | static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc | 11074 | PyObject *resultobj; |
5e483524 RD |
11075 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
11076 | PyObject *arg2 = (PyObject *) 0 ; | |
11077 | PyObject *arg3 = (PyObject *) 0 ; | |
11078 | int arg4 ; | |
d55e5bfc | 11079 | PyObject * obj0 = 0 ; |
5e483524 RD |
11080 | PyObject * obj1 = 0 ; |
11081 | PyObject * obj2 = 0 ; | |
11082 | PyObject * obj3 = 0 ; | |
d55e5bfc | 11083 | char *kwnames[] = { |
5e483524 | 11084 | (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL |
d55e5bfc RD |
11085 | }; |
11086 | ||
5e483524 RD |
11087 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
11088 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon, | |
d55e5bfc | 11089 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
5e483524 RD |
11090 | arg2 = obj1; |
11091 | arg3 = obj2; | |
11092 | arg4 = (int)SWIG_As_int(obj3); | |
11093 | if (PyErr_Occurred()) SWIG_fail; | |
d55e5bfc RD |
11094 | { |
11095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 11096 | (arg1)->_setCallbackInfo(arg2,arg3,arg4); |
d55e5bfc RD |
11097 | |
11098 | wxPyEndAllowThreads(__tstate); | |
11099 | if (PyErr_Occurred()) SWIG_fail; | |
11100 | } | |
11101 | Py_INCREF(Py_None); resultobj = Py_None; | |
11102 | return resultobj; | |
11103 | fail: | |
11104 | return NULL; | |
11105 | } | |
11106 | ||
11107 | ||
c370783e | 11108 | static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc | 11109 | PyObject *resultobj; |
5e483524 | 11110 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
d55e5bfc RD |
11111 | PyObject * obj0 = 0 ; |
11112 | char *kwnames[] = { | |
11113 | (char *) "self", NULL | |
11114 | }; | |
11115 | ||
11116 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail; | |
5e483524 | 11117 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon, |
d55e5bfc RD |
11118 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
11119 | { | |
11120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 11121 | wxPyTaskBarIcon_Destroy(arg1); |
d55e5bfc RD |
11122 | |
11123 | wxPyEndAllowThreads(__tstate); | |
11124 | if (PyErr_Occurred()) SWIG_fail; | |
11125 | } | |
11126 | Py_INCREF(Py_None); resultobj = Py_None; | |
11127 | return resultobj; | |
11128 | fail: | |
11129 | return NULL; | |
11130 | } | |
11131 | ||
11132 | ||
b411df4a RD |
11133 | static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { |
11134 | PyObject *resultobj; | |
5e483524 | 11135 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
b411df4a RD |
11136 | bool result; |
11137 | PyObject * obj0 = 0 ; | |
11138 | char *kwnames[] = { | |
11139 | (char *) "self", NULL | |
11140 | }; | |
11141 | ||
11142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail; | |
5e483524 | 11143 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon, |
b411df4a RD |
11144 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
11145 | { | |
11146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 11147 | result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk(); |
b411df4a RD |
11148 | |
11149 | wxPyEndAllowThreads(__tstate); | |
11150 | if (PyErr_Occurred()) SWIG_fail; | |
11151 | } | |
11152 | { | |
11153 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11154 | } | |
11155 | return resultobj; | |
11156 | fail: | |
11157 | return NULL; | |
11158 | } | |
11159 | ||
11160 | ||
11161 | static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) { | |
11162 | PyObject *resultobj; | |
5e483524 | 11163 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
b411df4a RD |
11164 | bool result; |
11165 | PyObject * obj0 = 0 ; | |
11166 | char *kwnames[] = { | |
11167 | (char *) "self", NULL | |
11168 | }; | |
11169 | ||
11170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail; | |
5e483524 | 11171 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon, |
b411df4a RD |
11172 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
11173 | { | |
11174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 11175 | result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled(); |
b411df4a RD |
11176 | |
11177 | wxPyEndAllowThreads(__tstate); | |
11178 | if (PyErr_Occurred()) SWIG_fail; | |
11179 | } | |
11180 | { | |
11181 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11182 | } | |
11183 | return resultobj; | |
11184 | fail: | |
11185 | return NULL; | |
11186 | } | |
11187 | ||
11188 | ||
11189 | static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) { | |
11190 | PyObject *resultobj; | |
5e483524 | 11191 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
b411df4a RD |
11192 | wxIcon *arg2 = 0 ; |
11193 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11194 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11195 | bool result; | |
11196 | bool temp3 = false ; | |
11197 | PyObject * obj0 = 0 ; | |
11198 | PyObject * obj1 = 0 ; | |
11199 | PyObject * obj2 = 0 ; | |
11200 | char *kwnames[] = { | |
11201 | (char *) "self",(char *) "icon",(char *) "tooltip", NULL | |
11202 | }; | |
11203 | ||
11204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5e483524 | 11205 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon, |
b411df4a RD |
11206 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
11207 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon, | |
11208 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
11209 | SWIG_fail; | |
11210 | if (arg2 == NULL) { | |
11211 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
11212 | SWIG_fail; | |
11213 | } | |
11214 | if (obj2) { | |
11215 | { | |
11216 | arg3 = wxString_in_helper(obj2); | |
11217 | if (arg3 == NULL) SWIG_fail; | |
11218 | temp3 = true; | |
11219 | } | |
11220 | } | |
11221 | { | |
11222 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11223 | result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3); | |
11224 | ||
11225 | wxPyEndAllowThreads(__tstate); | |
11226 | if (PyErr_Occurred()) SWIG_fail; | |
11227 | } | |
11228 | { | |
11229 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11230 | } | |
11231 | { | |
11232 | if (temp3) | |
11233 | delete arg3; | |
11234 | } | |
11235 | return resultobj; | |
11236 | fail: | |
11237 | { | |
11238 | if (temp3) | |
11239 | delete arg3; | |
11240 | } | |
11241 | return NULL; | |
11242 | } | |
11243 | ||
11244 | ||
11245 | static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) { | |
11246 | PyObject *resultobj; | |
5e483524 | 11247 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
b411df4a RD |
11248 | bool result; |
11249 | PyObject * obj0 = 0 ; | |
11250 | char *kwnames[] = { | |
11251 | (char *) "self", NULL | |
11252 | }; | |
11253 | ||
11254 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail; | |
5e483524 | 11255 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon, |
b411df4a RD |
11256 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
11257 | { | |
11258 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11259 | result = (bool)(arg1)->RemoveIcon(); | |
11260 | ||
11261 | wxPyEndAllowThreads(__tstate); | |
11262 | if (PyErr_Occurred()) SWIG_fail; | |
11263 | } | |
11264 | { | |
11265 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11266 | } | |
11267 | return resultobj; | |
11268 | fail: | |
11269 | return NULL; | |
11270 | } | |
11271 | ||
11272 | ||
11273 | static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) { | |
11274 | PyObject *resultobj; | |
5e483524 | 11275 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
b411df4a RD |
11276 | wxMenu *arg2 = (wxMenu *) 0 ; |
11277 | bool result; | |
11278 | PyObject * obj0 = 0 ; | |
11279 | PyObject * obj1 = 0 ; | |
11280 | char *kwnames[] = { | |
11281 | (char *) "self",(char *) "menu", NULL | |
11282 | }; | |
11283 | ||
11284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail; | |
5e483524 | 11285 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon, |
b411df4a RD |
11286 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
11287 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu, | |
11288 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11289 | { | |
11290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11291 | result = (bool)(arg1)->PopupMenu(arg2); | |
11292 | ||
11293 | wxPyEndAllowThreads(__tstate); | |
11294 | if (PyErr_Occurred()) SWIG_fail; | |
11295 | } | |
11296 | { | |
11297 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11298 | } | |
11299 | return resultobj; | |
11300 | fail: | |
11301 | return NULL; | |
11302 | } | |
11303 | ||
11304 | ||
c370783e | 11305 | static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
11306 | PyObject *obj; |
11307 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5e483524 | 11308 | SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj); |
d55e5bfc RD |
11309 | Py_INCREF(obj); |
11310 | return Py_BuildValue((char *)""); | |
11311 | } | |
c370783e | 11312 | static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11313 | PyObject *resultobj; |
11314 | wxEventType arg1 ; | |
11315 | wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ; | |
11316 | wxTaskBarIconEvent *result; | |
11317 | PyObject * obj0 = 0 ; | |
11318 | PyObject * obj1 = 0 ; | |
11319 | char *kwnames[] = { | |
11320 | (char *) "evtType",(char *) "tbIcon", NULL | |
11321 | }; | |
11322 | ||
11323 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail; | |
c370783e | 11324 | arg1 = (wxEventType)SWIG_As_int(obj0); |
d55e5bfc RD |
11325 | if (PyErr_Occurred()) SWIG_fail; |
11326 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon, | |
11327 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11328 | { | |
11329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11330 | result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2); | |
11331 | ||
11332 | wxPyEndAllowThreads(__tstate); | |
11333 | if (PyErr_Occurred()) SWIG_fail; | |
11334 | } | |
11335 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1); | |
11336 | return resultobj; | |
11337 | fail: | |
11338 | return NULL; | |
11339 | } | |
11340 | ||
11341 | ||
c370783e | 11342 | static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
11343 | PyObject *obj; |
11344 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11345 | SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj); | |
11346 | Py_INCREF(obj); | |
11347 | return Py_BuildValue((char *)""); | |
11348 | } | |
c370783e | 11349 | static int _wrap_FileSelectorPromptStr_set(PyObject *) { |
d55e5bfc RD |
11350 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only."); |
11351 | return 1; | |
11352 | } | |
11353 | ||
11354 | ||
11355 | static PyObject *_wrap_FileSelectorPromptStr_get() { | |
11356 | PyObject *pyobj; | |
11357 | ||
11358 | { | |
11359 | #if wxUSE_UNICODE | |
11360 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
11361 | #else | |
11362 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
11363 | #endif | |
11364 | } | |
11365 | return pyobj; | |
11366 | } | |
11367 | ||
11368 | ||
c370783e | 11369 | static int _wrap_DirSelectorPromptStr_set(PyObject *) { |
d55e5bfc RD |
11370 | PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only."); |
11371 | return 1; | |
11372 | } | |
11373 | ||
11374 | ||
11375 | static PyObject *_wrap_DirSelectorPromptStr_get() { | |
11376 | PyObject *pyobj; | |
11377 | ||
11378 | { | |
11379 | #if wxUSE_UNICODE | |
11380 | pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
11381 | #else | |
11382 | pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
11383 | #endif | |
11384 | } | |
11385 | return pyobj; | |
11386 | } | |
11387 | ||
11388 | ||
c370783e | 11389 | static int _wrap_DirDialogNameStr_set(PyObject *) { |
d55e5bfc RD |
11390 | PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only."); |
11391 | return 1; | |
11392 | } | |
11393 | ||
11394 | ||
11395 | static PyObject *_wrap_DirDialogNameStr_get() { | |
11396 | PyObject *pyobj; | |
11397 | ||
11398 | { | |
11399 | #if wxUSE_UNICODE | |
11400 | pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
11401 | #else | |
11402 | pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
11403 | #endif | |
11404 | } | |
11405 | return pyobj; | |
11406 | } | |
11407 | ||
11408 | ||
c370783e | 11409 | static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) { |
d55e5bfc RD |
11410 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only."); |
11411 | return 1; | |
11412 | } | |
11413 | ||
11414 | ||
11415 | static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() { | |
11416 | PyObject *pyobj; | |
11417 | ||
11418 | { | |
11419 | #if wxUSE_UNICODE | |
11420 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
11421 | #else | |
11422 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
11423 | #endif | |
11424 | } | |
11425 | return pyobj; | |
11426 | } | |
11427 | ||
11428 | ||
c370783e | 11429 | static int _wrap_GetTextFromUserPromptStr_set(PyObject *) { |
d55e5bfc RD |
11430 | PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only."); |
11431 | return 1; | |
11432 | } | |
11433 | ||
11434 | ||
11435 | static PyObject *_wrap_GetTextFromUserPromptStr_get() { | |
11436 | PyObject *pyobj; | |
11437 | ||
11438 | { | |
11439 | #if wxUSE_UNICODE | |
11440 | pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
11441 | #else | |
11442 | pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
11443 | #endif | |
11444 | } | |
11445 | return pyobj; | |
11446 | } | |
11447 | ||
11448 | ||
c370783e | 11449 | static int _wrap_MessageBoxCaptionStr_set(PyObject *) { |
d55e5bfc RD |
11450 | PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only."); |
11451 | return 1; | |
11452 | } | |
11453 | ||
11454 | ||
11455 | static PyObject *_wrap_MessageBoxCaptionStr_get() { | |
11456 | PyObject *pyobj; | |
11457 | ||
11458 | { | |
11459 | #if wxUSE_UNICODE | |
11460 | pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
11461 | #else | |
11462 | pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
11463 | #endif | |
11464 | } | |
11465 | return pyobj; | |
11466 | } | |
11467 | ||
11468 | ||
c370783e | 11469 | static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11470 | PyObject *resultobj; |
11471 | wxColourData *result; | |
11472 | char *kwnames[] = { | |
11473 | NULL | |
11474 | }; | |
11475 | ||
11476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail; | |
11477 | { | |
11478 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11479 | result = (wxColourData *)new wxColourData(); | |
11480 | ||
11481 | wxPyEndAllowThreads(__tstate); | |
11482 | if (PyErr_Occurred()) SWIG_fail; | |
11483 | } | |
11484 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1); | |
11485 | return resultobj; | |
11486 | fail: | |
11487 | return NULL; | |
11488 | } | |
11489 | ||
11490 | ||
c370783e | 11491 | static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11492 | PyObject *resultobj; |
11493 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11494 | PyObject * obj0 = 0 ; | |
11495 | char *kwnames[] = { | |
11496 | (char *) "self", NULL | |
11497 | }; | |
11498 | ||
11499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail; | |
11500 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, | |
11501 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11502 | { | |
11503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11504 | delete arg1; | |
11505 | ||
11506 | wxPyEndAllowThreads(__tstate); | |
11507 | if (PyErr_Occurred()) SWIG_fail; | |
11508 | } | |
11509 | Py_INCREF(Py_None); resultobj = Py_None; | |
11510 | return resultobj; | |
11511 | fail: | |
11512 | return NULL; | |
11513 | } | |
11514 | ||
11515 | ||
c370783e | 11516 | static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11517 | PyObject *resultobj; |
11518 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11519 | bool result; | |
11520 | PyObject * obj0 = 0 ; | |
11521 | char *kwnames[] = { | |
11522 | (char *) "self", NULL | |
11523 | }; | |
11524 | ||
11525 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail; | |
11526 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, | |
11527 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11528 | { | |
11529 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11530 | result = (bool)(arg1)->GetChooseFull(); | |
11531 | ||
11532 | wxPyEndAllowThreads(__tstate); | |
11533 | if (PyErr_Occurred()) SWIG_fail; | |
11534 | } | |
11535 | { | |
11536 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11537 | } | |
11538 | return resultobj; | |
11539 | fail: | |
11540 | return NULL; | |
11541 | } | |
11542 | ||
11543 | ||
c370783e | 11544 | static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11545 | PyObject *resultobj; |
11546 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11547 | wxColour result; | |
11548 | PyObject * obj0 = 0 ; | |
11549 | char *kwnames[] = { | |
11550 | (char *) "self", NULL | |
11551 | }; | |
11552 | ||
11553 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail; | |
11554 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, | |
11555 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11556 | { | |
11557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11558 | result = (arg1)->GetColour(); | |
11559 | ||
11560 | wxPyEndAllowThreads(__tstate); | |
11561 | if (PyErr_Occurred()) SWIG_fail; | |
11562 | } | |
11563 | { | |
11564 | wxColour * resultptr; | |
11565 | resultptr = new wxColour((wxColour &) result); | |
11566 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
11567 | } | |
11568 | return resultobj; | |
11569 | fail: | |
11570 | return NULL; | |
11571 | } | |
11572 | ||
11573 | ||
c370783e | 11574 | static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11575 | PyObject *resultobj; |
11576 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11577 | int arg2 ; | |
11578 | wxColour result; | |
11579 | PyObject * obj0 = 0 ; | |
11580 | PyObject * obj1 = 0 ; | |
11581 | char *kwnames[] = { | |
11582 | (char *) "self",(char *) "i", NULL | |
11583 | }; | |
11584 | ||
11585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail; | |
11586 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, | |
11587 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11588 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
11589 | if (PyErr_Occurred()) SWIG_fail; |
11590 | { | |
11591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11592 | result = (arg1)->GetCustomColour(arg2); | |
11593 | ||
11594 | wxPyEndAllowThreads(__tstate); | |
11595 | if (PyErr_Occurred()) SWIG_fail; | |
11596 | } | |
11597 | { | |
11598 | wxColour * resultptr; | |
11599 | resultptr = new wxColour((wxColour &) result); | |
11600 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
11601 | } | |
11602 | return resultobj; | |
11603 | fail: | |
11604 | return NULL; | |
11605 | } | |
11606 | ||
11607 | ||
c370783e | 11608 | static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11609 | PyObject *resultobj; |
11610 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11611 | int arg2 ; | |
11612 | PyObject * obj0 = 0 ; | |
11613 | PyObject * obj1 = 0 ; | |
11614 | char *kwnames[] = { | |
11615 | (char *) "self",(char *) "flag", NULL | |
11616 | }; | |
11617 | ||
11618 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail; | |
11619 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, | |
11620 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11621 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
11622 | if (PyErr_Occurred()) SWIG_fail; |
11623 | { | |
11624 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11625 | (arg1)->SetChooseFull(arg2); | |
11626 | ||
11627 | wxPyEndAllowThreads(__tstate); | |
11628 | if (PyErr_Occurred()) SWIG_fail; | |
11629 | } | |
11630 | Py_INCREF(Py_None); resultobj = Py_None; | |
11631 | return resultobj; | |
11632 | fail: | |
11633 | return NULL; | |
11634 | } | |
11635 | ||
11636 | ||
c370783e | 11637 | static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11638 | PyObject *resultobj; |
11639 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11640 | wxColour *arg2 = 0 ; | |
11641 | wxColour temp2 ; | |
11642 | PyObject * obj0 = 0 ; | |
11643 | PyObject * obj1 = 0 ; | |
11644 | char *kwnames[] = { | |
11645 | (char *) "self",(char *) "colour", NULL | |
11646 | }; | |
11647 | ||
11648 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
11649 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, | |
11650 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11651 | { | |
11652 | arg2 = &temp2; | |
11653 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
11654 | } | |
11655 | { | |
11656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11657 | (arg1)->SetColour((wxColour const &)*arg2); | |
11658 | ||
11659 | wxPyEndAllowThreads(__tstate); | |
11660 | if (PyErr_Occurred()) SWIG_fail; | |
11661 | } | |
11662 | Py_INCREF(Py_None); resultobj = Py_None; | |
11663 | return resultobj; | |
11664 | fail: | |
11665 | return NULL; | |
11666 | } | |
11667 | ||
11668 | ||
c370783e | 11669 | static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11670 | PyObject *resultobj; |
11671 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11672 | int arg2 ; | |
11673 | wxColour *arg3 = 0 ; | |
11674 | wxColour temp3 ; | |
11675 | PyObject * obj0 = 0 ; | |
11676 | PyObject * obj1 = 0 ; | |
11677 | PyObject * obj2 = 0 ; | |
11678 | char *kwnames[] = { | |
11679 | (char *) "self",(char *) "i",(char *) "colour", NULL | |
11680 | }; | |
11681 | ||
11682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
11683 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, | |
11684 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11685 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
11686 | if (PyErr_Occurred()) SWIG_fail; |
11687 | { | |
11688 | arg3 = &temp3; | |
11689 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
11690 | } | |
11691 | { | |
11692 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11693 | (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3); | |
11694 | ||
11695 | wxPyEndAllowThreads(__tstate); | |
11696 | if (PyErr_Occurred()) SWIG_fail; | |
11697 | } | |
11698 | Py_INCREF(Py_None); resultobj = Py_None; | |
11699 | return resultobj; | |
11700 | fail: | |
11701 | return NULL; | |
11702 | } | |
11703 | ||
11704 | ||
c370783e | 11705 | static PyObject * ColourData_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
11706 | PyObject *obj; |
11707 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11708 | SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj); | |
11709 | Py_INCREF(obj); | |
11710 | return Py_BuildValue((char *)""); | |
11711 | } | |
c370783e | 11712 | static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11713 | PyObject *resultobj; |
11714 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11715 | wxColourData *arg2 = (wxColourData *) NULL ; | |
11716 | wxColourDialog *result; | |
11717 | PyObject * obj0 = 0 ; | |
11718 | PyObject * obj1 = 0 ; | |
11719 | char *kwnames[] = { | |
11720 | (char *) "parent",(char *) "data", NULL | |
11721 | }; | |
11722 | ||
11723 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail; | |
11724 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
11725 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11726 | if (obj1) { | |
11727 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData, | |
11728 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11729 | } | |
11730 | { | |
0439c23b | 11731 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
11732 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
11733 | result = (wxColourDialog *)new wxColourDialog(arg1,arg2); | |
11734 | ||
11735 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 11736 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
11737 | } |
11738 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1); | |
11739 | return resultobj; | |
11740 | fail: | |
11741 | return NULL; | |
11742 | } | |
11743 | ||
11744 | ||
c370783e | 11745 | static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11746 | PyObject *resultobj; |
11747 | wxColourDialog *arg1 = (wxColourDialog *) 0 ; | |
11748 | wxColourData *result; | |
11749 | PyObject * obj0 = 0 ; | |
11750 | char *kwnames[] = { | |
11751 | (char *) "self", NULL | |
11752 | }; | |
11753 | ||
11754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail; | |
11755 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog, | |
11756 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11757 | { | |
11758 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11759 | { | |
11760 | wxColourData &_result_ref = (arg1)->GetColourData(); | |
11761 | result = (wxColourData *) &_result_ref; | |
11762 | } | |
11763 | ||
11764 | wxPyEndAllowThreads(__tstate); | |
11765 | if (PyErr_Occurred()) SWIG_fail; | |
11766 | } | |
11767 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0); | |
11768 | return resultobj; | |
11769 | fail: | |
11770 | return NULL; | |
11771 | } | |
11772 | ||
11773 | ||
c370783e | 11774 | static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
11775 | PyObject *obj; |
11776 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11777 | SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj); | |
11778 | Py_INCREF(obj); | |
11779 | return Py_BuildValue((char *)""); | |
11780 | } | |
c370783e | 11781 | static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11782 | PyObject *resultobj; |
11783 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11784 | wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ; | |
11785 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
11786 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11787 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11788 | long arg4 = (long) 0 ; | |
11789 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
11790 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
11791 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
11792 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
11793 | wxString const &arg7_defvalue = wxPyDirDialogNameStr ; | |
11794 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
11795 | wxDirDialog *result; | |
b411df4a RD |
11796 | bool temp2 = false ; |
11797 | bool temp3 = false ; | |
d55e5bfc RD |
11798 | wxPoint temp5 ; |
11799 | wxSize temp6 ; | |
b411df4a | 11800 | bool temp7 = false ; |
d55e5bfc RD |
11801 | PyObject * obj0 = 0 ; |
11802 | PyObject * obj1 = 0 ; | |
11803 | PyObject * obj2 = 0 ; | |
11804 | PyObject * obj3 = 0 ; | |
11805 | PyObject * obj4 = 0 ; | |
11806 | PyObject * obj5 = 0 ; | |
11807 | PyObject * obj6 = 0 ; | |
11808 | char *kwnames[] = { | |
11809 | (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL | |
11810 | }; | |
11811 | ||
11812 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
11813 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
11814 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11815 | if (obj1) { | |
11816 | { | |
11817 | arg2 = wxString_in_helper(obj1); | |
11818 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 11819 | temp2 = true; |
d55e5bfc RD |
11820 | } |
11821 | } | |
11822 | if (obj2) { | |
11823 | { | |
11824 | arg3 = wxString_in_helper(obj2); | |
11825 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 11826 | temp3 = true; |
d55e5bfc RD |
11827 | } |
11828 | } | |
11829 | if (obj3) { | |
c370783e | 11830 | arg4 = (long)SWIG_As_long(obj3); |
d55e5bfc RD |
11831 | if (PyErr_Occurred()) SWIG_fail; |
11832 | } | |
11833 | if (obj4) { | |
11834 | { | |
11835 | arg5 = &temp5; | |
11836 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
11837 | } | |
11838 | } | |
11839 | if (obj5) { | |
11840 | { | |
11841 | arg6 = &temp6; | |
11842 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
11843 | } | |
11844 | } | |
11845 | if (obj6) { | |
11846 | { | |
11847 | arg7 = wxString_in_helper(obj6); | |
11848 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 11849 | temp7 = true; |
d55e5bfc RD |
11850 | } |
11851 | } | |
11852 | { | |
0439c23b | 11853 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
11854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
11855 | result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7); | |
11856 | ||
11857 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 11858 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
11859 | } |
11860 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1); | |
11861 | { | |
11862 | if (temp2) | |
11863 | delete arg2; | |
11864 | } | |
11865 | { | |
11866 | if (temp3) | |
11867 | delete arg3; | |
11868 | } | |
11869 | { | |
11870 | if (temp7) | |
11871 | delete arg7; | |
11872 | } | |
11873 | return resultobj; | |
11874 | fail: | |
11875 | { | |
11876 | if (temp2) | |
11877 | delete arg2; | |
11878 | } | |
11879 | { | |
11880 | if (temp3) | |
11881 | delete arg3; | |
11882 | } | |
11883 | { | |
11884 | if (temp7) | |
11885 | delete arg7; | |
11886 | } | |
11887 | return NULL; | |
11888 | } | |
11889 | ||
11890 | ||
c370783e | 11891 | static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11892 | PyObject *resultobj; |
11893 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11894 | wxString result; | |
11895 | PyObject * obj0 = 0 ; | |
11896 | char *kwnames[] = { | |
11897 | (char *) "self", NULL | |
11898 | }; | |
11899 | ||
11900 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail; | |
11901 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, | |
11902 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11903 | { | |
11904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11905 | result = (arg1)->GetPath(); | |
11906 | ||
11907 | wxPyEndAllowThreads(__tstate); | |
11908 | if (PyErr_Occurred()) SWIG_fail; | |
11909 | } | |
11910 | { | |
11911 | #if wxUSE_UNICODE | |
11912 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11913 | #else | |
11914 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11915 | #endif | |
11916 | } | |
11917 | return resultobj; | |
11918 | fail: | |
11919 | return NULL; | |
11920 | } | |
11921 | ||
11922 | ||
c370783e | 11923 | static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11924 | PyObject *resultobj; |
11925 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11926 | wxString result; | |
11927 | PyObject * obj0 = 0 ; | |
11928 | char *kwnames[] = { | |
11929 | (char *) "self", NULL | |
11930 | }; | |
11931 | ||
11932 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail; | |
11933 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, | |
11934 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11935 | { | |
11936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11937 | result = (arg1)->GetMessage(); | |
11938 | ||
11939 | wxPyEndAllowThreads(__tstate); | |
11940 | if (PyErr_Occurred()) SWIG_fail; | |
11941 | } | |
11942 | { | |
11943 | #if wxUSE_UNICODE | |
11944 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11945 | #else | |
11946 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11947 | #endif | |
11948 | } | |
11949 | return resultobj; | |
11950 | fail: | |
11951 | return NULL; | |
11952 | } | |
11953 | ||
11954 | ||
c370783e | 11955 | static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11956 | PyObject *resultobj; |
11957 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11958 | long result; | |
11959 | PyObject * obj0 = 0 ; | |
11960 | char *kwnames[] = { | |
11961 | (char *) "self", NULL | |
11962 | }; | |
11963 | ||
11964 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail; | |
11965 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, | |
11966 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11967 | { | |
11968 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11969 | result = (long)(arg1)->GetStyle(); | |
11970 | ||
11971 | wxPyEndAllowThreads(__tstate); | |
11972 | if (PyErr_Occurred()) SWIG_fail; | |
11973 | } | |
c370783e | 11974 | resultobj = SWIG_From_long((long)result); |
d55e5bfc RD |
11975 | return resultobj; |
11976 | fail: | |
11977 | return NULL; | |
11978 | } | |
11979 | ||
11980 | ||
c370783e | 11981 | static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11982 | PyObject *resultobj; |
11983 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11984 | wxString *arg2 = 0 ; | |
b411df4a | 11985 | bool temp2 = false ; |
d55e5bfc RD |
11986 | PyObject * obj0 = 0 ; |
11987 | PyObject * obj1 = 0 ; | |
11988 | char *kwnames[] = { | |
11989 | (char *) "self",(char *) "message", NULL | |
11990 | }; | |
11991 | ||
11992 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
11993 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, | |
11994 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11995 | { | |
11996 | arg2 = wxString_in_helper(obj1); | |
11997 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 11998 | temp2 = true; |
d55e5bfc RD |
11999 | } |
12000 | { | |
12001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12002 | (arg1)->SetMessage((wxString const &)*arg2); | |
12003 | ||
12004 | wxPyEndAllowThreads(__tstate); | |
12005 | if (PyErr_Occurred()) SWIG_fail; | |
12006 | } | |
12007 | Py_INCREF(Py_None); resultobj = Py_None; | |
12008 | { | |
12009 | if (temp2) | |
12010 | delete arg2; | |
12011 | } | |
12012 | return resultobj; | |
12013 | fail: | |
12014 | { | |
12015 | if (temp2) | |
12016 | delete arg2; | |
12017 | } | |
12018 | return NULL; | |
12019 | } | |
12020 | ||
12021 | ||
c370783e | 12022 | static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12023 | PyObject *resultobj; |
12024 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
12025 | wxString *arg2 = 0 ; | |
b411df4a | 12026 | bool temp2 = false ; |
d55e5bfc RD |
12027 | PyObject * obj0 = 0 ; |
12028 | PyObject * obj1 = 0 ; | |
12029 | char *kwnames[] = { | |
12030 | (char *) "self",(char *) "path", NULL | |
12031 | }; | |
12032 | ||
12033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
12034 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, | |
12035 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12036 | { | |
12037 | arg2 = wxString_in_helper(obj1); | |
12038 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 12039 | temp2 = true; |
d55e5bfc RD |
12040 | } |
12041 | { | |
12042 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12043 | (arg1)->SetPath((wxString const &)*arg2); | |
12044 | ||
12045 | wxPyEndAllowThreads(__tstate); | |
12046 | if (PyErr_Occurred()) SWIG_fail; | |
12047 | } | |
12048 | Py_INCREF(Py_None); resultobj = Py_None; | |
12049 | { | |
12050 | if (temp2) | |
12051 | delete arg2; | |
12052 | } | |
12053 | return resultobj; | |
12054 | fail: | |
12055 | { | |
12056 | if (temp2) | |
12057 | delete arg2; | |
12058 | } | |
12059 | return NULL; | |
12060 | } | |
12061 | ||
12062 | ||
c370783e | 12063 | static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
12064 | PyObject *obj; |
12065 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12066 | SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj); | |
12067 | Py_INCREF(obj); | |
12068 | return Py_BuildValue((char *)""); | |
12069 | } | |
c370783e | 12070 | static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12071 | PyObject *resultobj; |
12072 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12073 | wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ; | |
12074 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
12075 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
12076 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12077 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
12078 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
12079 | wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ; | |
12080 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
12081 | long arg6 = (long) 0 ; | |
12082 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
12083 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
12084 | wxFileDialog *result; | |
b411df4a RD |
12085 | bool temp2 = false ; |
12086 | bool temp3 = false ; | |
12087 | bool temp4 = false ; | |
12088 | bool temp5 = false ; | |
d55e5bfc RD |
12089 | wxPoint temp7 ; |
12090 | PyObject * obj0 = 0 ; | |
12091 | PyObject * obj1 = 0 ; | |
12092 | PyObject * obj2 = 0 ; | |
12093 | PyObject * obj3 = 0 ; | |
12094 | PyObject * obj4 = 0 ; | |
12095 | PyObject * obj5 = 0 ; | |
12096 | PyObject * obj6 = 0 ; | |
12097 | char *kwnames[] = { | |
12098 | (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL | |
12099 | }; | |
12100 | ||
12101 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
12102 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
12103 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12104 | if (obj1) { | |
12105 | { | |
12106 | arg2 = wxString_in_helper(obj1); | |
12107 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 12108 | temp2 = true; |
d55e5bfc RD |
12109 | } |
12110 | } | |
12111 | if (obj2) { | |
12112 | { | |
12113 | arg3 = wxString_in_helper(obj2); | |
12114 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 12115 | temp3 = true; |
d55e5bfc RD |
12116 | } |
12117 | } | |
12118 | if (obj3) { | |
12119 | { | |
12120 | arg4 = wxString_in_helper(obj3); | |
12121 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 12122 | temp4 = true; |
d55e5bfc RD |
12123 | } |
12124 | } | |
12125 | if (obj4) { | |
12126 | { | |
12127 | arg5 = wxString_in_helper(obj4); | |
12128 | if (arg5 == NULL) SWIG_fail; | |
b411df4a | 12129 | temp5 = true; |
d55e5bfc RD |
12130 | } |
12131 | } | |
12132 | if (obj5) { | |
c370783e | 12133 | arg6 = (long)SWIG_As_long(obj5); |
d55e5bfc RD |
12134 | if (PyErr_Occurred()) SWIG_fail; |
12135 | } | |
12136 | if (obj6) { | |
12137 | { | |
12138 | arg7 = &temp7; | |
12139 | if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail; | |
12140 | } | |
12141 | } | |
12142 | { | |
0439c23b | 12143 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
12144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
12145 | result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7); | |
12146 | ||
12147 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 12148 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
12149 | } |
12150 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1); | |
12151 | { | |
12152 | if (temp2) | |
12153 | delete arg2; | |
12154 | } | |
12155 | { | |
12156 | if (temp3) | |
12157 | delete arg3; | |
12158 | } | |
12159 | { | |
12160 | if (temp4) | |
12161 | delete arg4; | |
12162 | } | |
12163 | { | |
12164 | if (temp5) | |
12165 | delete arg5; | |
12166 | } | |
12167 | return resultobj; | |
12168 | fail: | |
12169 | { | |
12170 | if (temp2) | |
12171 | delete arg2; | |
12172 | } | |
12173 | { | |
12174 | if (temp3) | |
12175 | delete arg3; | |
12176 | } | |
12177 | { | |
12178 | if (temp4) | |
12179 | delete arg4; | |
12180 | } | |
12181 | { | |
12182 | if (temp5) | |
12183 | delete arg5; | |
12184 | } | |
12185 | return NULL; | |
12186 | } | |
12187 | ||
12188 | ||
c370783e | 12189 | static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12190 | PyObject *resultobj; |
12191 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12192 | wxString *arg2 = 0 ; | |
b411df4a | 12193 | bool temp2 = false ; |
d55e5bfc RD |
12194 | PyObject * obj0 = 0 ; |
12195 | PyObject * obj1 = 0 ; | |
12196 | char *kwnames[] = { | |
12197 | (char *) "self",(char *) "message", NULL | |
12198 | }; | |
12199 | ||
12200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
12201 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, | |
12202 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12203 | { | |
12204 | arg2 = wxString_in_helper(obj1); | |
12205 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 12206 | temp2 = true; |
d55e5bfc RD |
12207 | } |
12208 | { | |
12209 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12210 | (arg1)->SetMessage((wxString const &)*arg2); | |
12211 | ||
12212 | wxPyEndAllowThreads(__tstate); | |
12213 | if (PyErr_Occurred()) SWIG_fail; | |
12214 | } | |
12215 | Py_INCREF(Py_None); resultobj = Py_None; | |
12216 | { | |
12217 | if (temp2) | |
12218 | delete arg2; | |
12219 | } | |
12220 | return resultobj; | |
12221 | fail: | |
12222 | { | |
12223 | if (temp2) | |
12224 | delete arg2; | |
12225 | } | |
12226 | return NULL; | |
12227 | } | |
12228 | ||
12229 | ||
c370783e | 12230 | static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12231 | PyObject *resultobj; |
12232 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12233 | wxString *arg2 = 0 ; | |
b411df4a | 12234 | bool temp2 = false ; |
d55e5bfc RD |
12235 | PyObject * obj0 = 0 ; |
12236 | PyObject * obj1 = 0 ; | |
12237 | char *kwnames[] = { | |
12238 | (char *) "self",(char *) "path", NULL | |
12239 | }; | |
12240 | ||
12241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
12242 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, | |
12243 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12244 | { | |
12245 | arg2 = wxString_in_helper(obj1); | |
12246 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 12247 | temp2 = true; |
d55e5bfc RD |
12248 | } |
12249 | { | |
12250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12251 | (arg1)->SetPath((wxString const &)*arg2); | |
12252 | ||
12253 | wxPyEndAllowThreads(__tstate); | |
12254 | if (PyErr_Occurred()) SWIG_fail; | |
12255 | } | |
12256 | Py_INCREF(Py_None); resultobj = Py_None; | |
12257 | { | |
12258 | if (temp2) | |
12259 | delete arg2; | |
12260 | } | |
12261 | return resultobj; | |
12262 | fail: | |
12263 | { | |
12264 | if (temp2) | |
12265 | delete arg2; | |
12266 | } | |
12267 | return NULL; | |
12268 | } | |
12269 | ||
12270 | ||
c370783e | 12271 | static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12272 | PyObject *resultobj; |
12273 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12274 | wxString *arg2 = 0 ; | |
b411df4a | 12275 | bool temp2 = false ; |
d55e5bfc RD |
12276 | PyObject * obj0 = 0 ; |
12277 | PyObject * obj1 = 0 ; | |
12278 | char *kwnames[] = { | |
12279 | (char *) "self",(char *) "dir", NULL | |
12280 | }; | |
12281 | ||
12282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail; | |
12283 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, | |
12284 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12285 | { | |
12286 | arg2 = wxString_in_helper(obj1); | |
12287 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 12288 | temp2 = true; |
d55e5bfc RD |
12289 | } |
12290 | { | |
12291 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12292 | (arg1)->SetDirectory((wxString const &)*arg2); | |
12293 | ||
12294 | wxPyEndAllowThreads(__tstate); | |
12295 | if (PyErr_Occurred()) SWIG_fail; | |
12296 | } | |
12297 | Py_INCREF(Py_None); resultobj = Py_None; | |
12298 | { | |
12299 | if (temp2) | |
12300 | delete arg2; | |
12301 | } | |
12302 | return resultobj; | |
12303 | fail: | |
12304 | { | |
12305 | if (temp2) | |
12306 | delete arg2; | |
12307 | } | |
12308 | return NULL; | |
12309 | } | |
12310 | ||
12311 | ||
c370783e | 12312 | static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12313 | PyObject *resultobj; |
12314 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12315 | wxString *arg2 = 0 ; | |
b411df4a | 12316 | bool temp2 = false ; |
d55e5bfc RD |
12317 | PyObject * obj0 = 0 ; |
12318 | PyObject * obj1 = 0 ; | |
12319 | char *kwnames[] = { | |
12320 | (char *) "self",(char *) "name", NULL | |
12321 | }; | |
12322 | ||
12323 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
12324 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, | |
12325 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12326 | { | |
12327 | arg2 = wxString_in_helper(obj1); | |
12328 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 12329 | temp2 = true; |
d55e5bfc RD |
12330 | } |
12331 | { | |
12332 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12333 | (arg1)->SetFilename((wxString const &)*arg2); | |
12334 | ||
12335 | wxPyEndAllowThreads(__tstate); | |
12336 | if (PyErr_Occurred()) SWIG_fail; | |
12337 | } | |
12338 | Py_INCREF(Py_None); resultobj = Py_None; | |
12339 | { | |
12340 | if (temp2) | |
12341 | delete arg2; | |
12342 | } | |
12343 | return resultobj; | |
12344 | fail: | |
12345 | { | |
12346 | if (temp2) | |
12347 | delete arg2; | |
12348 | } | |
12349 | return NULL; | |
12350 | } | |
12351 | ||
12352 | ||
c370783e | 12353 | static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12354 | PyObject *resultobj; |
12355 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12356 | wxString *arg2 = 0 ; | |
b411df4a | 12357 | bool temp2 = false ; |
d55e5bfc RD |
12358 | PyObject * obj0 = 0 ; |
12359 | PyObject * obj1 = 0 ; | |
12360 | char *kwnames[] = { | |
12361 | (char *) "self",(char *) "wildCard", NULL | |
12362 | }; | |
12363 | ||
12364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail; | |
12365 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, | |
12366 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12367 | { | |
12368 | arg2 = wxString_in_helper(obj1); | |
12369 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 12370 | temp2 = true; |
d55e5bfc RD |
12371 | } |
12372 | { | |
12373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12374 | (arg1)->SetWildcard((wxString const &)*arg2); | |
12375 | ||
12376 | wxPyEndAllowThreads(__tstate); | |
12377 | if (PyErr_Occurred()) SWIG_fail; | |
12378 | } | |
12379 | Py_INCREF(Py_None); resultobj = Py_None; | |
12380 | { | |
12381 | if (temp2) | |
12382 | delete arg2; | |
12383 | } | |
12384 | return resultobj; | |
12385 | fail: | |
12386 | { | |
12387 | if (temp2) | |
12388 | delete arg2; | |
12389 | } | |
12390 | return NULL; | |
12391 | } | |
12392 | ||
12393 | ||
c370783e | 12394 | static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12395 | PyObject *resultobj; |
12396 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12397 | long arg2 ; | |
12398 | PyObject * obj0 = 0 ; | |
12399 | PyObject * obj1 = 0 ; | |
12400 | char *kwnames[] = { | |
12401 | (char *) "self",(char *) "style", NULL | |
12402 | }; | |
12403 | ||
12404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail; | |
12405 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, | |
12406 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 12407 | arg2 = (long)SWIG_As_long(obj1); |
d55e5bfc RD |
12408 | if (PyErr_Occurred()) SWIG_fail; |
12409 | { | |
12410 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12411 | (arg1)->SetStyle(arg2); | |
12412 | ||
12413 | wxPyEndAllowThreads(__tstate); | |
12414 | if (PyErr_Occurred()) SWIG_fail; | |
12415 | } | |
12416 | Py_INCREF(Py_None); resultobj = Py_None; | |
12417 | return resultobj; | |
12418 | fail: | |
12419 | return NULL; | |
12420 | } | |
12421 | ||
12422 | ||
c370783e | 12423 | static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12424 | PyObject *resultobj; |
12425 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12426 | int arg2 ; | |
12427 | PyObject * obj0 = 0 ; | |
12428 | PyObject * obj1 = 0 ; | |
12429 | char *kwnames[] = { | |
12430 | (char *) "self",(char *) "filterIndex", NULL | |
12431 | }; | |
12432 | ||
12433 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail; | |
12434 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, | |
12435 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 12436 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
12437 | if (PyErr_Occurred()) SWIG_fail; |
12438 | { | |
12439 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12440 | (arg1)->SetFilterIndex(arg2); | |
12441 | ||
12442 | wxPyEndAllowThreads(__tstate); | |
12443 | if (PyErr_Occurred()) SWIG_fail; | |
12444 | } | |
12445 | Py_INCREF(Py_None); resultobj = Py_None; | |
12446 | return resultobj; | |
12447 | fail: | |
12448 | return NULL; | |
12449 | } | |
12450 | ||
12451 | ||
c370783e | 12452 | static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12453 | PyObject *resultobj; |
12454 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12455 | wxString result; | |
12456 | PyObject * obj0 = 0 ; | |
12457 | char *kwnames[] = { | |
12458 | (char *) "self", NULL | |
12459 | }; | |
12460 | ||
12461 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail; | |
12462 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, | |
12463 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12464 | { | |
12465 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12466 | result = ((wxFileDialog const *)arg1)->GetMessage(); | |
12467 | ||
12468 | wxPyEndAllowThreads(__tstate); | |
12469 | if (PyErr_Occurred()) SWIG_fail; | |
12470 | } | |
12471 | { | |
12472 | #if wxUSE_UNICODE | |
12473 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12474 | #else | |
12475 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12476 | #endif | |
12477 | } | |
12478 | return resultobj; | |
12479 | fail: | |
12480 | return NULL; | |
12481 | } | |
12482 | ||
12483 | ||
c370783e | 12484 | static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12485 | PyObject *resultobj; |
12486 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12487 | wxString result; | |
12488 | PyObject * obj0 = 0 ; | |
12489 | char *kwnames[] = { | |
12490 | (char *) "self", NULL | |
12491 | }; | |
12492 | ||
12493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail; | |
12494 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, | |
12495 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12496 | { | |
12497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12498 | result = ((wxFileDialog const *)arg1)->GetPath(); | |
12499 | ||
12500 | wxPyEndAllowThreads(__tstate); | |
12501 | if (PyErr_Occurred()) SWIG_fail; | |
12502 | } | |
12503 | { | |
12504 | #if wxUSE_UNICODE | |
12505 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12506 | #else | |
12507 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12508 | #endif | |
12509 | } | |
12510 | return resultobj; | |
12511 | fail: | |
12512 | return NULL; | |
12513 | } | |
12514 | ||
12515 | ||
c370783e | 12516 | static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12517 | PyObject *resultobj; |
12518 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12519 | wxString result; | |
12520 | PyObject * obj0 = 0 ; | |
12521 | char *kwnames[] = { | |
12522 | (char *) "self", NULL | |
12523 | }; | |
12524 | ||
12525 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail; | |
12526 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, | |
12527 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12528 | { | |
12529 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12530 | result = ((wxFileDialog const *)arg1)->GetDirectory(); | |
12531 | ||
12532 | wxPyEndAllowThreads(__tstate); | |
12533 | if (PyErr_Occurred()) SWIG_fail; | |
12534 | } | |
12535 | { | |
12536 | #if wxUSE_UNICODE | |
12537 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12538 | #else | |
12539 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12540 | #endif | |
12541 | } | |
12542 | return resultobj; | |
12543 | fail: | |
12544 | return NULL; | |
12545 | } | |
12546 | ||
12547 | ||
c370783e | 12548 | static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12549 | PyObject *resultobj; |
12550 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12551 | wxString result; | |
12552 | PyObject * obj0 = 0 ; | |
12553 | char *kwnames[] = { | |
12554 | (char *) "self", NULL | |
12555 | }; | |
12556 | ||
12557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail; | |
12558 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, | |
12559 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12560 | { | |
12561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12562 | result = ((wxFileDialog const *)arg1)->GetFilename(); | |
12563 | ||
12564 | wxPyEndAllowThreads(__tstate); | |
12565 | if (PyErr_Occurred()) SWIG_fail; | |
12566 | } | |
12567 | { | |
12568 | #if wxUSE_UNICODE | |
12569 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12570 | #else | |
12571 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12572 | #endif | |
12573 | } | |
12574 | return resultobj; | |
12575 | fail: | |
12576 | return NULL; | |
12577 | } | |
12578 | ||
12579 | ||
c370783e | 12580 | static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12581 | PyObject *resultobj; |
12582 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12583 | wxString result; | |
12584 | PyObject * obj0 = 0 ; | |
12585 | char *kwnames[] = { | |
12586 | (char *) "self", NULL | |
12587 | }; | |
12588 | ||
12589 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail; | |
12590 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, | |
12591 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12592 | { | |
12593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12594 | result = ((wxFileDialog const *)arg1)->GetWildcard(); | |
12595 | ||
12596 | wxPyEndAllowThreads(__tstate); | |
12597 | if (PyErr_Occurred()) SWIG_fail; | |
12598 | } | |
12599 | { | |
12600 | #if wxUSE_UNICODE | |
12601 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12602 | #else | |
12603 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12604 | #endif | |
12605 | } | |
12606 | return resultobj; | |
12607 | fail: | |
12608 | return NULL; | |
12609 | } | |
12610 | ||
12611 | ||
c370783e | 12612 | static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12613 | PyObject *resultobj; |
12614 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12615 | long result; | |
12616 | PyObject * obj0 = 0 ; | |
12617 | char *kwnames[] = { | |
12618 | (char *) "self", NULL | |
12619 | }; | |
12620 | ||
12621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail; | |
12622 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, | |
12623 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12624 | { | |
12625 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12626 | result = (long)((wxFileDialog const *)arg1)->GetStyle(); | |
12627 | ||
12628 | wxPyEndAllowThreads(__tstate); | |
12629 | if (PyErr_Occurred()) SWIG_fail; | |
12630 | } | |
c370783e | 12631 | resultobj = SWIG_From_long((long)result); |
d55e5bfc RD |
12632 | return resultobj; |
12633 | fail: | |
12634 | return NULL; | |
12635 | } | |
12636 | ||
12637 | ||
c370783e | 12638 | static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12639 | PyObject *resultobj; |
12640 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12641 | int result; | |
12642 | PyObject * obj0 = 0 ; | |
12643 | char *kwnames[] = { | |
12644 | (char *) "self", NULL | |
12645 | }; | |
12646 | ||
12647 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail; | |
12648 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, | |
12649 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12650 | { | |
12651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12652 | result = (int)((wxFileDialog const *)arg1)->GetFilterIndex(); | |
12653 | ||
12654 | wxPyEndAllowThreads(__tstate); | |
12655 | if (PyErr_Occurred()) SWIG_fail; | |
12656 | } | |
c370783e | 12657 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
12658 | return resultobj; |
12659 | fail: | |
12660 | return NULL; | |
12661 | } | |
12662 | ||
12663 | ||
c370783e | 12664 | static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12665 | PyObject *resultobj; |
12666 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12667 | PyObject *result; | |
12668 | PyObject * obj0 = 0 ; | |
12669 | char *kwnames[] = { | |
12670 | (char *) "self", NULL | |
12671 | }; | |
12672 | ||
12673 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail; | |
12674 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, | |
12675 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12676 | { | |
12677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12678 | result = (PyObject *)wxFileDialog_GetFilenames(arg1); | |
12679 | ||
12680 | wxPyEndAllowThreads(__tstate); | |
12681 | if (PyErr_Occurred()) SWIG_fail; | |
12682 | } | |
12683 | resultobj = result; | |
12684 | return resultobj; | |
12685 | fail: | |
12686 | return NULL; | |
12687 | } | |
12688 | ||
12689 | ||
c370783e | 12690 | static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12691 | PyObject *resultobj; |
12692 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12693 | PyObject *result; | |
12694 | PyObject * obj0 = 0 ; | |
12695 | char *kwnames[] = { | |
12696 | (char *) "self", NULL | |
12697 | }; | |
12698 | ||
12699 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail; | |
12700 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, | |
12701 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12702 | { | |
12703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12704 | result = (PyObject *)wxFileDialog_GetPaths(arg1); | |
12705 | ||
12706 | wxPyEndAllowThreads(__tstate); | |
12707 | if (PyErr_Occurred()) SWIG_fail; | |
12708 | } | |
12709 | resultobj = result; | |
12710 | return resultobj; | |
12711 | fail: | |
12712 | return NULL; | |
12713 | } | |
12714 | ||
12715 | ||
c370783e | 12716 | static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
12717 | PyObject *obj; |
12718 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12719 | SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj); | |
12720 | Py_INCREF(obj); | |
12721 | return Py_BuildValue((char *)""); | |
12722 | } | |
c370783e | 12723 | static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12724 | PyObject *resultobj; |
12725 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12726 | wxString *arg2 = 0 ; | |
12727 | wxString *arg3 = 0 ; | |
12728 | int arg4 = (int) 0 ; | |
bfddbb17 | 12729 | wxString *arg5 = (wxString *) NULL ; |
d55e5bfc RD |
12730 | long arg6 = (long) wxCHOICEDLG_STYLE ; |
12731 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
12732 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
12733 | wxMultiChoiceDialog *result; | |
b411df4a RD |
12734 | bool temp2 = false ; |
12735 | bool temp3 = false ; | |
d55e5bfc RD |
12736 | wxPoint temp6 ; |
12737 | PyObject * obj0 = 0 ; | |
12738 | PyObject * obj1 = 0 ; | |
12739 | PyObject * obj2 = 0 ; | |
12740 | PyObject * obj3 = 0 ; | |
12741 | PyObject * obj4 = 0 ; | |
12742 | PyObject * obj5 = 0 ; | |
12743 | char *kwnames[] = { | |
12744 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL | |
12745 | }; | |
12746 | ||
12747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
12748 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
12749 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12750 | { | |
12751 | arg2 = wxString_in_helper(obj1); | |
12752 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 12753 | temp2 = true; |
d55e5bfc RD |
12754 | } |
12755 | { | |
12756 | arg3 = wxString_in_helper(obj2); | |
12757 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 12758 | temp3 = true; |
d55e5bfc RD |
12759 | } |
12760 | if (obj3) { | |
12761 | { | |
12762 | arg4 = PyList_Size(obj3); | |
12763 | arg5 = wxString_LIST_helper(obj3); | |
12764 | if (arg5 == NULL) SWIG_fail; | |
12765 | } | |
12766 | } | |
12767 | if (obj4) { | |
c370783e | 12768 | arg6 = (long)SWIG_As_long(obj4); |
d55e5bfc RD |
12769 | if (PyErr_Occurred()) SWIG_fail; |
12770 | } | |
12771 | if (obj5) { | |
12772 | { | |
12773 | arg7 = &temp6; | |
12774 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; | |
12775 | } | |
12776 | } | |
12777 | { | |
0439c23b | 12778 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
12779 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
12780 | result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
12781 | ||
12782 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 12783 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
12784 | } |
12785 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1); | |
12786 | { | |
12787 | if (temp2) | |
12788 | delete arg2; | |
12789 | } | |
12790 | { | |
12791 | if (temp3) | |
12792 | delete arg3; | |
12793 | } | |
12794 | { | |
12795 | if (arg5) delete [] arg5; | |
12796 | } | |
12797 | return resultobj; | |
12798 | fail: | |
12799 | { | |
12800 | if (temp2) | |
12801 | delete arg2; | |
12802 | } | |
12803 | { | |
12804 | if (temp3) | |
12805 | delete arg3; | |
12806 | } | |
12807 | { | |
12808 | if (arg5) delete [] arg5; | |
12809 | } | |
12810 | return NULL; | |
12811 | } | |
12812 | ||
12813 | ||
c370783e | 12814 | static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12815 | PyObject *resultobj; |
12816 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
12817 | wxArrayInt *arg2 = 0 ; | |
b411df4a | 12818 | bool temp2 = false ; |
d55e5bfc RD |
12819 | PyObject * obj0 = 0 ; |
12820 | PyObject * obj1 = 0 ; | |
12821 | char *kwnames[] = { | |
12822 | (char *) "self",(char *) "selections", NULL | |
12823 | }; | |
12824 | ||
12825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail; | |
12826 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog, | |
12827 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12828 | { | |
12829 | if (! PySequence_Check(obj1)) { | |
12830 | PyErr_SetString(PyExc_TypeError, "Sequence of integers expected."); | |
12831 | SWIG_fail; | |
12832 | } | |
12833 | arg2 = new wxArrayInt; | |
b411df4a | 12834 | temp2 = true; |
d55e5bfc RD |
12835 | int i, len=PySequence_Length(obj1); |
12836 | for (i=0; i<len; i++) { | |
12837 | PyObject* item = PySequence_GetItem(obj1, i); | |
12838 | PyObject* number = PyNumber_Int(item); | |
12839 | arg2->Add(PyInt_AS_LONG(number)); | |
12840 | Py_DECREF(item); | |
12841 | Py_DECREF(number); | |
12842 | } | |
12843 | } | |
12844 | { | |
12845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12846 | (arg1)->SetSelections((wxArrayInt const &)*arg2); | |
12847 | ||
12848 | wxPyEndAllowThreads(__tstate); | |
12849 | if (PyErr_Occurred()) SWIG_fail; | |
12850 | } | |
12851 | Py_INCREF(Py_None); resultobj = Py_None; | |
12852 | { | |
12853 | if (temp2) delete arg2; | |
12854 | } | |
12855 | return resultobj; | |
12856 | fail: | |
12857 | { | |
12858 | if (temp2) delete arg2; | |
12859 | } | |
12860 | return NULL; | |
12861 | } | |
12862 | ||
12863 | ||
c370783e | 12864 | static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12865 | PyObject *resultobj; |
12866 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
12867 | PyObject *result; | |
12868 | PyObject * obj0 = 0 ; | |
12869 | char *kwnames[] = { | |
12870 | (char *) "self", NULL | |
12871 | }; | |
12872 | ||
12873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail; | |
12874 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog, | |
12875 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12876 | { | |
12877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12878 | result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1); | |
12879 | ||
12880 | wxPyEndAllowThreads(__tstate); | |
12881 | if (PyErr_Occurred()) SWIG_fail; | |
12882 | } | |
12883 | resultobj = result; | |
12884 | return resultobj; | |
12885 | fail: | |
12886 | return NULL; | |
12887 | } | |
12888 | ||
12889 | ||
c370783e | 12890 | static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
12891 | PyObject *obj; |
12892 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12893 | SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj); | |
12894 | Py_INCREF(obj); | |
12895 | return Py_BuildValue((char *)""); | |
12896 | } | |
c370783e | 12897 | static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12898 | PyObject *resultobj; |
12899 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12900 | wxString *arg2 = 0 ; | |
12901 | wxString *arg3 = 0 ; | |
12902 | int arg4 ; | |
12903 | wxString *arg5 = (wxString *) 0 ; | |
12904 | long arg6 = (long) wxCHOICEDLG_STYLE ; | |
12905 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
12906 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
12907 | wxSingleChoiceDialog *result; | |
b411df4a RD |
12908 | bool temp2 = false ; |
12909 | bool temp3 = false ; | |
d55e5bfc RD |
12910 | wxPoint temp6 ; |
12911 | PyObject * obj0 = 0 ; | |
12912 | PyObject * obj1 = 0 ; | |
12913 | PyObject * obj2 = 0 ; | |
12914 | PyObject * obj3 = 0 ; | |
12915 | PyObject * obj4 = 0 ; | |
12916 | PyObject * obj5 = 0 ; | |
12917 | char *kwnames[] = { | |
12918 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL | |
12919 | }; | |
12920 | ||
12921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
12922 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
12923 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12924 | { | |
12925 | arg2 = wxString_in_helper(obj1); | |
12926 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 12927 | temp2 = true; |
d55e5bfc RD |
12928 | } |
12929 | { | |
12930 | arg3 = wxString_in_helper(obj2); | |
12931 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 12932 | temp3 = true; |
d55e5bfc RD |
12933 | } |
12934 | { | |
12935 | arg4 = PyList_Size(obj3); | |
12936 | arg5 = wxString_LIST_helper(obj3); | |
12937 | if (arg5 == NULL) SWIG_fail; | |
12938 | } | |
12939 | if (obj4) { | |
c370783e | 12940 | arg6 = (long)SWIG_As_long(obj4); |
d55e5bfc RD |
12941 | if (PyErr_Occurred()) SWIG_fail; |
12942 | } | |
12943 | if (obj5) { | |
12944 | { | |
12945 | arg7 = &temp6; | |
12946 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; | |
12947 | } | |
12948 | } | |
12949 | { | |
0439c23b | 12950 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
12951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
12952 | result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
12953 | ||
12954 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 12955 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
12956 | } |
12957 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1); | |
12958 | { | |
12959 | if (temp2) | |
12960 | delete arg2; | |
12961 | } | |
12962 | { | |
12963 | if (temp3) | |
12964 | delete arg3; | |
12965 | } | |
12966 | { | |
12967 | if (arg5) delete [] arg5; | |
12968 | } | |
12969 | return resultobj; | |
12970 | fail: | |
12971 | { | |
12972 | if (temp2) | |
12973 | delete arg2; | |
12974 | } | |
12975 | { | |
12976 | if (temp3) | |
12977 | delete arg3; | |
12978 | } | |
12979 | { | |
12980 | if (arg5) delete [] arg5; | |
12981 | } | |
12982 | return NULL; | |
12983 | } | |
12984 | ||
12985 | ||
c370783e | 12986 | static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12987 | PyObject *resultobj; |
12988 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
12989 | int result; | |
12990 | PyObject * obj0 = 0 ; | |
12991 | char *kwnames[] = { | |
12992 | (char *) "self", NULL | |
12993 | }; | |
12994 | ||
12995 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail; | |
12996 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog, | |
12997 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12998 | { | |
12999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13000 | result = (int)(arg1)->GetSelection(); | |
13001 | ||
13002 | wxPyEndAllowThreads(__tstate); | |
13003 | if (PyErr_Occurred()) SWIG_fail; | |
13004 | } | |
c370783e | 13005 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
13006 | return resultobj; |
13007 | fail: | |
13008 | return NULL; | |
13009 | } | |
13010 | ||
13011 | ||
c370783e | 13012 | static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13013 | PyObject *resultobj; |
13014 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
13015 | wxString result; | |
13016 | PyObject * obj0 = 0 ; | |
13017 | char *kwnames[] = { | |
13018 | (char *) "self", NULL | |
13019 | }; | |
13020 | ||
13021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail; | |
13022 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog, | |
13023 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13024 | { | |
13025 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13026 | result = (arg1)->GetStringSelection(); | |
13027 | ||
13028 | wxPyEndAllowThreads(__tstate); | |
13029 | if (PyErr_Occurred()) SWIG_fail; | |
13030 | } | |
13031 | { | |
13032 | #if wxUSE_UNICODE | |
13033 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13034 | #else | |
13035 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13036 | #endif | |
13037 | } | |
13038 | return resultobj; | |
13039 | fail: | |
13040 | return NULL; | |
13041 | } | |
13042 | ||
13043 | ||
c370783e | 13044 | static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13045 | PyObject *resultobj; |
13046 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
13047 | int arg2 ; | |
13048 | PyObject * obj0 = 0 ; | |
13049 | PyObject * obj1 = 0 ; | |
13050 | char *kwnames[] = { | |
13051 | (char *) "self",(char *) "sel", NULL | |
13052 | }; | |
13053 | ||
13054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
13055 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog, | |
13056 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13057 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
13058 | if (PyErr_Occurred()) SWIG_fail; |
13059 | { | |
13060 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13061 | (arg1)->SetSelection(arg2); | |
13062 | ||
13063 | wxPyEndAllowThreads(__tstate); | |
13064 | if (PyErr_Occurred()) SWIG_fail; | |
13065 | } | |
13066 | Py_INCREF(Py_None); resultobj = Py_None; | |
13067 | return resultobj; | |
13068 | fail: | |
13069 | return NULL; | |
13070 | } | |
13071 | ||
13072 | ||
c370783e | 13073 | static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
13074 | PyObject *obj; |
13075 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13076 | SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj); | |
13077 | Py_INCREF(obj); | |
13078 | return Py_BuildValue((char *)""); | |
13079 | } | |
c370783e | 13080 | static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13081 | PyObject *resultobj; |
13082 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13083 | wxString *arg2 = 0 ; | |
13084 | wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ; | |
13085 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13086 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
13087 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
070c48b4 | 13088 | long arg5 = (long) wxTextEntryDialogStyle ; |
d55e5bfc RD |
13089 | wxPoint const &arg6_defvalue = wxDefaultPosition ; |
13090 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
13091 | wxTextEntryDialog *result; | |
b411df4a RD |
13092 | bool temp2 = false ; |
13093 | bool temp3 = false ; | |
13094 | bool temp4 = false ; | |
d55e5bfc RD |
13095 | wxPoint temp6 ; |
13096 | PyObject * obj0 = 0 ; | |
13097 | PyObject * obj1 = 0 ; | |
13098 | PyObject * obj2 = 0 ; | |
13099 | PyObject * obj3 = 0 ; | |
13100 | PyObject * obj4 = 0 ; | |
13101 | PyObject * obj5 = 0 ; | |
13102 | char *kwnames[] = { | |
13103 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL | |
13104 | }; | |
13105 | ||
13106 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
13107 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
13108 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13109 | { | |
13110 | arg2 = wxString_in_helper(obj1); | |
13111 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 13112 | temp2 = true; |
d55e5bfc RD |
13113 | } |
13114 | if (obj2) { | |
13115 | { | |
13116 | arg3 = wxString_in_helper(obj2); | |
13117 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 13118 | temp3 = true; |
d55e5bfc RD |
13119 | } |
13120 | } | |
13121 | if (obj3) { | |
13122 | { | |
13123 | arg4 = wxString_in_helper(obj3); | |
13124 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 13125 | temp4 = true; |
d55e5bfc RD |
13126 | } |
13127 | } | |
13128 | if (obj4) { | |
c370783e | 13129 | arg5 = (long)SWIG_As_long(obj4); |
d55e5bfc RD |
13130 | if (PyErr_Occurred()) SWIG_fail; |
13131 | } | |
13132 | if (obj5) { | |
13133 | { | |
13134 | arg6 = &temp6; | |
13135 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
13136 | } | |
13137 | } | |
13138 | { | |
0439c23b | 13139 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
13140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13141 | result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6); | |
13142 | ||
13143 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 13144 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
13145 | } |
13146 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1); | |
13147 | { | |
13148 | if (temp2) | |
13149 | delete arg2; | |
13150 | } | |
13151 | { | |
13152 | if (temp3) | |
13153 | delete arg3; | |
13154 | } | |
13155 | { | |
13156 | if (temp4) | |
13157 | delete arg4; | |
13158 | } | |
13159 | return resultobj; | |
13160 | fail: | |
13161 | { | |
13162 | if (temp2) | |
13163 | delete arg2; | |
13164 | } | |
13165 | { | |
13166 | if (temp3) | |
13167 | delete arg3; | |
13168 | } | |
13169 | { | |
13170 | if (temp4) | |
13171 | delete arg4; | |
13172 | } | |
13173 | return NULL; | |
13174 | } | |
13175 | ||
13176 | ||
c370783e | 13177 | static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13178 | PyObject *resultobj; |
13179 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
13180 | wxString result; | |
13181 | PyObject * obj0 = 0 ; | |
13182 | char *kwnames[] = { | |
13183 | (char *) "self", NULL | |
13184 | }; | |
13185 | ||
13186 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail; | |
13187 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog, | |
13188 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13189 | { | |
13190 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13191 | result = (arg1)->GetValue(); | |
13192 | ||
13193 | wxPyEndAllowThreads(__tstate); | |
13194 | if (PyErr_Occurred()) SWIG_fail; | |
13195 | } | |
13196 | { | |
13197 | #if wxUSE_UNICODE | |
13198 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13199 | #else | |
13200 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13201 | #endif | |
13202 | } | |
13203 | return resultobj; | |
13204 | fail: | |
13205 | return NULL; | |
13206 | } | |
13207 | ||
13208 | ||
c370783e | 13209 | static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13210 | PyObject *resultobj; |
13211 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
13212 | wxString *arg2 = 0 ; | |
b411df4a | 13213 | bool temp2 = false ; |
d55e5bfc RD |
13214 | PyObject * obj0 = 0 ; |
13215 | PyObject * obj1 = 0 ; | |
13216 | char *kwnames[] = { | |
13217 | (char *) "self",(char *) "value", NULL | |
13218 | }; | |
13219 | ||
13220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail; | |
13221 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog, | |
13222 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13223 | { | |
13224 | arg2 = wxString_in_helper(obj1); | |
13225 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 13226 | temp2 = true; |
d55e5bfc RD |
13227 | } |
13228 | { | |
13229 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13230 | (arg1)->SetValue((wxString const &)*arg2); | |
13231 | ||
13232 | wxPyEndAllowThreads(__tstate); | |
13233 | if (PyErr_Occurred()) SWIG_fail; | |
13234 | } | |
13235 | Py_INCREF(Py_None); resultobj = Py_None; | |
13236 | { | |
13237 | if (temp2) | |
13238 | delete arg2; | |
13239 | } | |
13240 | return resultobj; | |
13241 | fail: | |
13242 | { | |
13243 | if (temp2) | |
13244 | delete arg2; | |
13245 | } | |
13246 | return NULL; | |
13247 | } | |
13248 | ||
13249 | ||
c370783e | 13250 | static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
13251 | PyObject *obj; |
13252 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13253 | SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj); | |
13254 | Py_INCREF(obj); | |
13255 | return Py_BuildValue((char *)""); | |
13256 | } | |
070c48b4 RD |
13257 | static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) { |
13258 | PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only."); | |
13259 | return 1; | |
13260 | } | |
13261 | ||
13262 | ||
13263 | static PyObject *_wrap_GetPasswordFromUserPromptStr_get() { | |
13264 | PyObject *pyobj; | |
13265 | ||
13266 | { | |
13267 | #if wxUSE_UNICODE | |
13268 | pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len()); | |
13269 | #else | |
13270 | pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len()); | |
13271 | #endif | |
13272 | } | |
13273 | return pyobj; | |
13274 | } | |
13275 | ||
13276 | ||
13277 | static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) { | |
13278 | PyObject *resultobj; | |
13279 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13280 | wxString *arg2 = 0 ; | |
13281 | wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ; | |
13282 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13283 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
13284 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
13285 | long arg5 = (long) wxTextEntryDialogStyle ; | |
13286 | wxPoint const &arg6_defvalue = wxDefaultPosition ; | |
13287 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
13288 | wxPasswordEntryDialog *result; | |
13289 | bool temp2 = false ; | |
13290 | bool temp3 = false ; | |
13291 | bool temp4 = false ; | |
13292 | wxPoint temp6 ; | |
13293 | PyObject * obj0 = 0 ; | |
13294 | PyObject * obj1 = 0 ; | |
13295 | PyObject * obj2 = 0 ; | |
13296 | PyObject * obj3 = 0 ; | |
13297 | PyObject * obj4 = 0 ; | |
13298 | PyObject * obj5 = 0 ; | |
13299 | char *kwnames[] = { | |
13300 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL | |
13301 | }; | |
13302 | ||
13303 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
13304 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
13305 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13306 | { | |
13307 | arg2 = wxString_in_helper(obj1); | |
13308 | if (arg2 == NULL) SWIG_fail; | |
13309 | temp2 = true; | |
13310 | } | |
13311 | if (obj2) { | |
13312 | { | |
13313 | arg3 = wxString_in_helper(obj2); | |
13314 | if (arg3 == NULL) SWIG_fail; | |
13315 | temp3 = true; | |
13316 | } | |
13317 | } | |
13318 | if (obj3) { | |
13319 | { | |
13320 | arg4 = wxString_in_helper(obj3); | |
13321 | if (arg4 == NULL) SWIG_fail; | |
13322 | temp4 = true; | |
13323 | } | |
13324 | } | |
13325 | if (obj4) { | |
13326 | arg5 = (long)SWIG_As_long(obj4); | |
13327 | if (PyErr_Occurred()) SWIG_fail; | |
13328 | } | |
13329 | if (obj5) { | |
13330 | { | |
13331 | arg6 = &temp6; | |
13332 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
13333 | } | |
13334 | } | |
13335 | { | |
13336 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13337 | result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6); | |
13338 | ||
13339 | wxPyEndAllowThreads(__tstate); | |
13340 | if (PyErr_Occurred()) SWIG_fail; | |
13341 | } | |
13342 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1); | |
13343 | { | |
13344 | if (temp2) | |
13345 | delete arg2; | |
13346 | } | |
13347 | { | |
13348 | if (temp3) | |
13349 | delete arg3; | |
13350 | } | |
13351 | { | |
13352 | if (temp4) | |
13353 | delete arg4; | |
13354 | } | |
13355 | return resultobj; | |
13356 | fail: | |
13357 | { | |
13358 | if (temp2) | |
13359 | delete arg2; | |
13360 | } | |
13361 | { | |
13362 | if (temp3) | |
13363 | delete arg3; | |
13364 | } | |
13365 | { | |
13366 | if (temp4) | |
13367 | delete arg4; | |
13368 | } | |
13369 | return NULL; | |
13370 | } | |
13371 | ||
13372 | ||
13373 | static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) { | |
13374 | PyObject *obj; | |
13375 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13376 | SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj); | |
13377 | Py_INCREF(obj); | |
13378 | return Py_BuildValue((char *)""); | |
13379 | } | |
c370783e | 13380 | static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13381 | PyObject *resultobj; |
13382 | wxFontData *result; | |
13383 | char *kwnames[] = { | |
13384 | NULL | |
13385 | }; | |
13386 | ||
13387 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail; | |
13388 | { | |
13389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13390 | result = (wxFontData *)new wxFontData(); | |
13391 | ||
13392 | wxPyEndAllowThreads(__tstate); | |
13393 | if (PyErr_Occurred()) SWIG_fail; | |
13394 | } | |
13395 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1); | |
13396 | return resultobj; | |
13397 | fail: | |
13398 | return NULL; | |
13399 | } | |
13400 | ||
13401 | ||
c370783e | 13402 | static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13403 | PyObject *resultobj; |
13404 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13405 | PyObject * obj0 = 0 ; | |
13406 | char *kwnames[] = { | |
13407 | (char *) "self", NULL | |
13408 | }; | |
13409 | ||
13410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail; | |
13411 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, | |
13412 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13413 | { | |
13414 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13415 | delete arg1; | |
13416 | ||
13417 | wxPyEndAllowThreads(__tstate); | |
13418 | if (PyErr_Occurred()) SWIG_fail; | |
13419 | } | |
13420 | Py_INCREF(Py_None); resultobj = Py_None; | |
13421 | return resultobj; | |
13422 | fail: | |
13423 | return NULL; | |
13424 | } | |
13425 | ||
13426 | ||
c370783e | 13427 | static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13428 | PyObject *resultobj; |
13429 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13430 | bool arg2 ; | |
13431 | PyObject * obj0 = 0 ; | |
13432 | PyObject * obj1 = 0 ; | |
13433 | char *kwnames[] = { | |
13434 | (char *) "self",(char *) "enable", NULL | |
13435 | }; | |
13436 | ||
13437 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail; | |
13438 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, | |
13439 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13440 | arg2 = (bool)SWIG_As_bool(obj1); |
d55e5bfc RD |
13441 | if (PyErr_Occurred()) SWIG_fail; |
13442 | { | |
13443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13444 | (arg1)->EnableEffects(arg2); | |
13445 | ||
13446 | wxPyEndAllowThreads(__tstate); | |
13447 | if (PyErr_Occurred()) SWIG_fail; | |
13448 | } | |
13449 | Py_INCREF(Py_None); resultobj = Py_None; | |
13450 | return resultobj; | |
13451 | fail: | |
13452 | return NULL; | |
13453 | } | |
13454 | ||
13455 | ||
c370783e | 13456 | static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13457 | PyObject *resultobj; |
13458 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13459 | bool result; | |
13460 | PyObject * obj0 = 0 ; | |
13461 | char *kwnames[] = { | |
13462 | (char *) "self", NULL | |
13463 | }; | |
13464 | ||
13465 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail; | |
13466 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, | |
13467 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13468 | { | |
13469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13470 | result = (bool)(arg1)->GetAllowSymbols(); | |
13471 | ||
13472 | wxPyEndAllowThreads(__tstate); | |
13473 | if (PyErr_Occurred()) SWIG_fail; | |
13474 | } | |
13475 | { | |
13476 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13477 | } | |
13478 | return resultobj; | |
13479 | fail: | |
13480 | return NULL; | |
13481 | } | |
13482 | ||
13483 | ||
c370783e | 13484 | static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13485 | PyObject *resultobj; |
13486 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13487 | wxColour result; | |
13488 | PyObject * obj0 = 0 ; | |
13489 | char *kwnames[] = { | |
13490 | (char *) "self", NULL | |
13491 | }; | |
13492 | ||
13493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail; | |
13494 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, | |
13495 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13496 | { | |
13497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13498 | result = (arg1)->GetColour(); | |
13499 | ||
13500 | wxPyEndAllowThreads(__tstate); | |
13501 | if (PyErr_Occurred()) SWIG_fail; | |
13502 | } | |
13503 | { | |
13504 | wxColour * resultptr; | |
13505 | resultptr = new wxColour((wxColour &) result); | |
13506 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
13507 | } | |
13508 | return resultobj; | |
13509 | fail: | |
13510 | return NULL; | |
13511 | } | |
13512 | ||
13513 | ||
c370783e | 13514 | static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13515 | PyObject *resultobj; |
13516 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13517 | wxFont result; | |
13518 | PyObject * obj0 = 0 ; | |
13519 | char *kwnames[] = { | |
13520 | (char *) "self", NULL | |
13521 | }; | |
13522 | ||
13523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail; | |
13524 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, | |
13525 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13526 | { | |
13527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13528 | result = (arg1)->GetChosenFont(); | |
13529 | ||
13530 | wxPyEndAllowThreads(__tstate); | |
13531 | if (PyErr_Occurred()) SWIG_fail; | |
13532 | } | |
13533 | { | |
13534 | wxFont * resultptr; | |
13535 | resultptr = new wxFont((wxFont &) result); | |
13536 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); | |
13537 | } | |
13538 | return resultobj; | |
13539 | fail: | |
13540 | return NULL; | |
13541 | } | |
13542 | ||
13543 | ||
c370783e | 13544 | static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13545 | PyObject *resultobj; |
13546 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13547 | bool result; | |
13548 | PyObject * obj0 = 0 ; | |
13549 | char *kwnames[] = { | |
13550 | (char *) "self", NULL | |
13551 | }; | |
13552 | ||
13553 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail; | |
13554 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, | |
13555 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13556 | { | |
13557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13558 | result = (bool)(arg1)->GetEnableEffects(); | |
13559 | ||
13560 | wxPyEndAllowThreads(__tstate); | |
13561 | if (PyErr_Occurred()) SWIG_fail; | |
13562 | } | |
13563 | { | |
13564 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13565 | } | |
13566 | return resultobj; | |
13567 | fail: | |
13568 | return NULL; | |
13569 | } | |
13570 | ||
13571 | ||
c370783e | 13572 | static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13573 | PyObject *resultobj; |
13574 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13575 | wxFont result; | |
13576 | PyObject * obj0 = 0 ; | |
13577 | char *kwnames[] = { | |
13578 | (char *) "self", NULL | |
13579 | }; | |
13580 | ||
13581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail; | |
13582 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, | |
13583 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13584 | { | |
13585 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13586 | result = (arg1)->GetInitialFont(); | |
13587 | ||
13588 | wxPyEndAllowThreads(__tstate); | |
13589 | if (PyErr_Occurred()) SWIG_fail; | |
13590 | } | |
13591 | { | |
13592 | wxFont * resultptr; | |
13593 | resultptr = new wxFont((wxFont &) result); | |
13594 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); | |
13595 | } | |
13596 | return resultobj; | |
13597 | fail: | |
13598 | return NULL; | |
13599 | } | |
13600 | ||
13601 | ||
c370783e | 13602 | static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13603 | PyObject *resultobj; |
13604 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13605 | bool result; | |
13606 | PyObject * obj0 = 0 ; | |
13607 | char *kwnames[] = { | |
13608 | (char *) "self", NULL | |
13609 | }; | |
13610 | ||
13611 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail; | |
13612 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, | |
13613 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13614 | { | |
13615 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13616 | result = (bool)(arg1)->GetShowHelp(); | |
13617 | ||
13618 | wxPyEndAllowThreads(__tstate); | |
13619 | if (PyErr_Occurred()) SWIG_fail; | |
13620 | } | |
13621 | { | |
13622 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13623 | } | |
13624 | return resultobj; | |
13625 | fail: | |
13626 | return NULL; | |
13627 | } | |
13628 | ||
13629 | ||
c370783e | 13630 | static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13631 | PyObject *resultobj; |
13632 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13633 | bool arg2 ; | |
13634 | PyObject * obj0 = 0 ; | |
13635 | PyObject * obj1 = 0 ; | |
13636 | char *kwnames[] = { | |
13637 | (char *) "self",(char *) "allowSymbols", NULL | |
13638 | }; | |
13639 | ||
13640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail; | |
13641 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, | |
13642 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13643 | arg2 = (bool)SWIG_As_bool(obj1); |
d55e5bfc RD |
13644 | if (PyErr_Occurred()) SWIG_fail; |
13645 | { | |
13646 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13647 | (arg1)->SetAllowSymbols(arg2); | |
13648 | ||
13649 | wxPyEndAllowThreads(__tstate); | |
13650 | if (PyErr_Occurred()) SWIG_fail; | |
13651 | } | |
13652 | Py_INCREF(Py_None); resultobj = Py_None; | |
13653 | return resultobj; | |
13654 | fail: | |
13655 | return NULL; | |
13656 | } | |
13657 | ||
13658 | ||
c370783e | 13659 | static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13660 | PyObject *resultobj; |
13661 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13662 | wxFont *arg2 = 0 ; | |
13663 | PyObject * obj0 = 0 ; | |
13664 | PyObject * obj1 = 0 ; | |
13665 | char *kwnames[] = { | |
13666 | (char *) "self",(char *) "font", NULL | |
13667 | }; | |
13668 | ||
13669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail; | |
13670 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, | |
13671 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13672 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont, | |
13673 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
13674 | SWIG_fail; | |
13675 | if (arg2 == NULL) { | |
13676 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
13677 | SWIG_fail; | |
13678 | } | |
13679 | { | |
13680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13681 | (arg1)->SetChosenFont((wxFont const &)*arg2); | |
13682 | ||
13683 | wxPyEndAllowThreads(__tstate); | |
13684 | if (PyErr_Occurred()) SWIG_fail; | |
13685 | } | |
13686 | Py_INCREF(Py_None); resultobj = Py_None; | |
13687 | return resultobj; | |
13688 | fail: | |
13689 | return NULL; | |
13690 | } | |
13691 | ||
13692 | ||
c370783e | 13693 | static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13694 | PyObject *resultobj; |
13695 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13696 | wxColour *arg2 = 0 ; | |
13697 | wxColour temp2 ; | |
13698 | PyObject * obj0 = 0 ; | |
13699 | PyObject * obj1 = 0 ; | |
13700 | char *kwnames[] = { | |
13701 | (char *) "self",(char *) "colour", NULL | |
13702 | }; | |
13703 | ||
13704 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
13705 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, | |
13706 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13707 | { | |
13708 | arg2 = &temp2; | |
13709 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
13710 | } | |
13711 | { | |
13712 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13713 | (arg1)->SetColour((wxColour const &)*arg2); | |
13714 | ||
13715 | wxPyEndAllowThreads(__tstate); | |
13716 | if (PyErr_Occurred()) SWIG_fail; | |
13717 | } | |
13718 | Py_INCREF(Py_None); resultobj = Py_None; | |
13719 | return resultobj; | |
13720 | fail: | |
13721 | return NULL; | |
13722 | } | |
13723 | ||
13724 | ||
c370783e | 13725 | static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13726 | PyObject *resultobj; |
13727 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13728 | wxFont *arg2 = 0 ; | |
13729 | PyObject * obj0 = 0 ; | |
13730 | PyObject * obj1 = 0 ; | |
13731 | char *kwnames[] = { | |
13732 | (char *) "self",(char *) "font", NULL | |
13733 | }; | |
13734 | ||
13735 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail; | |
13736 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, | |
13737 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13738 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont, | |
13739 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
13740 | SWIG_fail; | |
13741 | if (arg2 == NULL) { | |
13742 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
13743 | SWIG_fail; | |
13744 | } | |
13745 | { | |
13746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13747 | (arg1)->SetInitialFont((wxFont const &)*arg2); | |
13748 | ||
13749 | wxPyEndAllowThreads(__tstate); | |
13750 | if (PyErr_Occurred()) SWIG_fail; | |
13751 | } | |
13752 | Py_INCREF(Py_None); resultobj = Py_None; | |
13753 | return resultobj; | |
13754 | fail: | |
13755 | return NULL; | |
13756 | } | |
13757 | ||
13758 | ||
c370783e | 13759 | static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13760 | PyObject *resultobj; |
13761 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13762 | int arg2 ; | |
13763 | int arg3 ; | |
13764 | PyObject * obj0 = 0 ; | |
13765 | PyObject * obj1 = 0 ; | |
13766 | PyObject * obj2 = 0 ; | |
13767 | char *kwnames[] = { | |
13768 | (char *) "self",(char *) "min",(char *) "max", NULL | |
13769 | }; | |
13770 | ||
13771 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
13772 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, | |
13773 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13774 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc | 13775 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 13776 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
13777 | if (PyErr_Occurred()) SWIG_fail; |
13778 | { | |
13779 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13780 | (arg1)->SetRange(arg2,arg3); | |
13781 | ||
13782 | wxPyEndAllowThreads(__tstate); | |
13783 | if (PyErr_Occurred()) SWIG_fail; | |
13784 | } | |
13785 | Py_INCREF(Py_None); resultobj = Py_None; | |
13786 | return resultobj; | |
13787 | fail: | |
13788 | return NULL; | |
13789 | } | |
13790 | ||
13791 | ||
c370783e | 13792 | static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13793 | PyObject *resultobj; |
13794 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13795 | bool arg2 ; | |
13796 | PyObject * obj0 = 0 ; | |
13797 | PyObject * obj1 = 0 ; | |
13798 | char *kwnames[] = { | |
13799 | (char *) "self",(char *) "showHelp", NULL | |
13800 | }; | |
13801 | ||
13802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail; | |
13803 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, | |
13804 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13805 | arg2 = (bool)SWIG_As_bool(obj1); |
d55e5bfc RD |
13806 | if (PyErr_Occurred()) SWIG_fail; |
13807 | { | |
13808 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13809 | (arg1)->SetShowHelp(arg2); | |
13810 | ||
13811 | wxPyEndAllowThreads(__tstate); | |
13812 | if (PyErr_Occurred()) SWIG_fail; | |
13813 | } | |
13814 | Py_INCREF(Py_None); resultobj = Py_None; | |
13815 | return resultobj; | |
13816 | fail: | |
13817 | return NULL; | |
13818 | } | |
13819 | ||
13820 | ||
c370783e | 13821 | static PyObject * FontData_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
13822 | PyObject *obj; |
13823 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13824 | SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj); | |
13825 | Py_INCREF(obj); | |
13826 | return Py_BuildValue((char *)""); | |
13827 | } | |
c370783e | 13828 | static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13829 | PyObject *resultobj; |
13830 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13831 | wxFontData *arg2 = 0 ; | |
13832 | wxFontDialog *result; | |
13833 | PyObject * obj0 = 0 ; | |
13834 | PyObject * obj1 = 0 ; | |
13835 | char *kwnames[] = { | |
13836 | (char *) "parent",(char *) "data", NULL | |
13837 | }; | |
13838 | ||
13839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail; | |
13840 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
13841 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13842 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData, | |
13843 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
13844 | SWIG_fail; | |
13845 | if (arg2 == NULL) { | |
13846 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
13847 | SWIG_fail; | |
13848 | } | |
13849 | { | |
0439c23b | 13850 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
13851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13852 | result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2); | |
13853 | ||
13854 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 13855 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
13856 | } |
13857 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1); | |
13858 | return resultobj; | |
13859 | fail: | |
13860 | return NULL; | |
13861 | } | |
13862 | ||
13863 | ||
c370783e | 13864 | static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13865 | PyObject *resultobj; |
13866 | wxFontDialog *arg1 = (wxFontDialog *) 0 ; | |
13867 | wxFontData *result; | |
13868 | PyObject * obj0 = 0 ; | |
13869 | char *kwnames[] = { | |
13870 | (char *) "self", NULL | |
13871 | }; | |
13872 | ||
13873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail; | |
13874 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog, | |
13875 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13876 | { | |
13877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13878 | { | |
13879 | wxFontData &_result_ref = (arg1)->GetFontData(); | |
13880 | result = (wxFontData *) &_result_ref; | |
13881 | } | |
13882 | ||
13883 | wxPyEndAllowThreads(__tstate); | |
13884 | if (PyErr_Occurred()) SWIG_fail; | |
13885 | } | |
13886 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0); | |
13887 | return resultobj; | |
13888 | fail: | |
13889 | return NULL; | |
13890 | } | |
13891 | ||
13892 | ||
c370783e | 13893 | static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
13894 | PyObject *obj; |
13895 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13896 | SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj); | |
13897 | Py_INCREF(obj); | |
13898 | return Py_BuildValue((char *)""); | |
13899 | } | |
c370783e | 13900 | static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13901 | PyObject *resultobj; |
13902 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13903 | wxString *arg2 = 0 ; | |
13904 | wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ; | |
13905 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13906 | long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
13907 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
13908 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
13909 | wxMessageDialog *result; | |
b411df4a RD |
13910 | bool temp2 = false ; |
13911 | bool temp3 = false ; | |
d55e5bfc RD |
13912 | wxPoint temp5 ; |
13913 | PyObject * obj0 = 0 ; | |
13914 | PyObject * obj1 = 0 ; | |
13915 | PyObject * obj2 = 0 ; | |
13916 | PyObject * obj3 = 0 ; | |
13917 | PyObject * obj4 = 0 ; | |
13918 | char *kwnames[] = { | |
13919 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL | |
13920 | }; | |
13921 | ||
13922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
13923 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
13924 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13925 | { | |
13926 | arg2 = wxString_in_helper(obj1); | |
13927 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 13928 | temp2 = true; |
d55e5bfc RD |
13929 | } |
13930 | if (obj2) { | |
13931 | { | |
13932 | arg3 = wxString_in_helper(obj2); | |
13933 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 13934 | temp3 = true; |
d55e5bfc RD |
13935 | } |
13936 | } | |
13937 | if (obj3) { | |
c370783e | 13938 | arg4 = (long)SWIG_As_long(obj3); |
d55e5bfc RD |
13939 | if (PyErr_Occurred()) SWIG_fail; |
13940 | } | |
13941 | if (obj4) { | |
13942 | { | |
13943 | arg5 = &temp5; | |
13944 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
13945 | } | |
13946 | } | |
13947 | { | |
0439c23b | 13948 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
13949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13950 | result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5); | |
13951 | ||
13952 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 13953 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
13954 | } |
13955 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1); | |
13956 | { | |
13957 | if (temp2) | |
13958 | delete arg2; | |
13959 | } | |
13960 | { | |
13961 | if (temp3) | |
13962 | delete arg3; | |
13963 | } | |
13964 | return resultobj; | |
13965 | fail: | |
13966 | { | |
13967 | if (temp2) | |
13968 | delete arg2; | |
13969 | } | |
13970 | { | |
13971 | if (temp3) | |
13972 | delete arg3; | |
13973 | } | |
13974 | return NULL; | |
13975 | } | |
13976 | ||
13977 | ||
c370783e | 13978 | static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
13979 | PyObject *obj; |
13980 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13981 | SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj); | |
13982 | Py_INCREF(obj); | |
13983 | return Py_BuildValue((char *)""); | |
13984 | } | |
c370783e | 13985 | static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13986 | PyObject *resultobj; |
13987 | wxString *arg1 = 0 ; | |
13988 | wxString *arg2 = 0 ; | |
13989 | int arg3 = (int) 100 ; | |
13990 | wxWindow *arg4 = (wxWindow *) NULL ; | |
13991 | int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ; | |
13992 | wxProgressDialog *result; | |
b411df4a RD |
13993 | bool temp1 = false ; |
13994 | bool temp2 = false ; | |
d55e5bfc RD |
13995 | PyObject * obj0 = 0 ; |
13996 | PyObject * obj1 = 0 ; | |
13997 | PyObject * obj2 = 0 ; | |
13998 | PyObject * obj3 = 0 ; | |
13999 | PyObject * obj4 = 0 ; | |
14000 | char *kwnames[] = { | |
14001 | (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL | |
14002 | }; | |
14003 | ||
14004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
14005 | { | |
14006 | arg1 = wxString_in_helper(obj0); | |
14007 | if (arg1 == NULL) SWIG_fail; | |
b411df4a | 14008 | temp1 = true; |
d55e5bfc RD |
14009 | } |
14010 | { | |
14011 | arg2 = wxString_in_helper(obj1); | |
14012 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 14013 | temp2 = true; |
d55e5bfc RD |
14014 | } |
14015 | if (obj2) { | |
c370783e | 14016 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
14017 | if (PyErr_Occurred()) SWIG_fail; |
14018 | } | |
14019 | if (obj3) { | |
14020 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow, | |
14021 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14022 | } | |
14023 | if (obj4) { | |
c370783e | 14024 | arg5 = (int)SWIG_As_int(obj4); |
d55e5bfc RD |
14025 | if (PyErr_Occurred()) SWIG_fail; |
14026 | } | |
14027 | { | |
0439c23b | 14028 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
14029 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14030 | result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5); | |
14031 | ||
14032 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14033 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
14034 | } |
14035 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1); | |
14036 | { | |
14037 | if (temp1) | |
14038 | delete arg1; | |
14039 | } | |
14040 | { | |
14041 | if (temp2) | |
14042 | delete arg2; | |
14043 | } | |
14044 | return resultobj; | |
14045 | fail: | |
14046 | { | |
14047 | if (temp1) | |
14048 | delete arg1; | |
14049 | } | |
14050 | { | |
14051 | if (temp2) | |
14052 | delete arg2; | |
14053 | } | |
14054 | return NULL; | |
14055 | } | |
14056 | ||
14057 | ||
c370783e | 14058 | static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14059 | PyObject *resultobj; |
14060 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
14061 | int arg2 ; | |
14062 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
14063 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
14064 | bool result; | |
b411df4a | 14065 | bool temp3 = false ; |
d55e5bfc RD |
14066 | PyObject * obj0 = 0 ; |
14067 | PyObject * obj1 = 0 ; | |
14068 | PyObject * obj2 = 0 ; | |
14069 | char *kwnames[] = { | |
14070 | (char *) "self",(char *) "value",(char *) "newmsg", NULL | |
14071 | }; | |
14072 | ||
14073 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
14074 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog, | |
14075 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 14076 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
14077 | if (PyErr_Occurred()) SWIG_fail; |
14078 | if (obj2) { | |
14079 | { | |
14080 | arg3 = wxString_in_helper(obj2); | |
14081 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 14082 | temp3 = true; |
d55e5bfc RD |
14083 | } |
14084 | } | |
14085 | { | |
14086 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14087 | result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3); | |
14088 | ||
14089 | wxPyEndAllowThreads(__tstate); | |
14090 | if (PyErr_Occurred()) SWIG_fail; | |
14091 | } | |
14092 | { | |
14093 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14094 | } | |
14095 | { | |
14096 | if (temp3) | |
14097 | delete arg3; | |
14098 | } | |
14099 | return resultobj; | |
14100 | fail: | |
14101 | { | |
14102 | if (temp3) | |
14103 | delete arg3; | |
14104 | } | |
14105 | return NULL; | |
14106 | } | |
14107 | ||
14108 | ||
c370783e | 14109 | static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14110 | PyObject *resultobj; |
14111 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
14112 | PyObject * obj0 = 0 ; | |
14113 | char *kwnames[] = { | |
14114 | (char *) "self", NULL | |
14115 | }; | |
14116 | ||
14117 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail; | |
14118 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog, | |
14119 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14120 | { | |
14121 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14122 | (arg1)->Resume(); | |
14123 | ||
14124 | wxPyEndAllowThreads(__tstate); | |
14125 | if (PyErr_Occurred()) SWIG_fail; | |
14126 | } | |
14127 | Py_INCREF(Py_None); resultobj = Py_None; | |
14128 | return resultobj; | |
14129 | fail: | |
14130 | return NULL; | |
14131 | } | |
14132 | ||
14133 | ||
c370783e | 14134 | static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
14135 | PyObject *obj; |
14136 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14137 | SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj); | |
14138 | Py_INCREF(obj); | |
14139 | return Py_BuildValue((char *)""); | |
14140 | } | |
c370783e | 14141 | static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14142 | PyObject *resultobj; |
14143 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
14144 | int arg2 = (int) 0 ; | |
14145 | wxFindDialogEvent *result; | |
14146 | PyObject * obj0 = 0 ; | |
14147 | PyObject * obj1 = 0 ; | |
14148 | char *kwnames[] = { | |
14149 | (char *) "commandType",(char *) "id", NULL | |
14150 | }; | |
14151 | ||
14152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail; | |
14153 | if (obj0) { | |
c370783e | 14154 | arg1 = (wxEventType)SWIG_As_int(obj0); |
d55e5bfc RD |
14155 | if (PyErr_Occurred()) SWIG_fail; |
14156 | } | |
14157 | if (obj1) { | |
c370783e | 14158 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
14159 | if (PyErr_Occurred()) SWIG_fail; |
14160 | } | |
14161 | { | |
14162 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14163 | result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2); | |
14164 | ||
14165 | wxPyEndAllowThreads(__tstate); | |
14166 | if (PyErr_Occurred()) SWIG_fail; | |
14167 | } | |
14168 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1); | |
14169 | return resultobj; | |
14170 | fail: | |
14171 | return NULL; | |
14172 | } | |
14173 | ||
14174 | ||
c370783e | 14175 | static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14176 | PyObject *resultobj; |
14177 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
14178 | int result; | |
14179 | PyObject * obj0 = 0 ; | |
14180 | char *kwnames[] = { | |
14181 | (char *) "self", NULL | |
14182 | }; | |
14183 | ||
14184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail; | |
14185 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, | |
14186 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14187 | { | |
14188 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14189 | result = (int)(arg1)->GetFlags(); | |
14190 | ||
14191 | wxPyEndAllowThreads(__tstate); | |
14192 | if (PyErr_Occurred()) SWIG_fail; | |
14193 | } | |
c370783e | 14194 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
14195 | return resultobj; |
14196 | fail: | |
14197 | return NULL; | |
14198 | } | |
14199 | ||
14200 | ||
c370783e | 14201 | static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14202 | PyObject *resultobj; |
14203 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
14204 | wxString *result; | |
14205 | PyObject * obj0 = 0 ; | |
14206 | char *kwnames[] = { | |
14207 | (char *) "self", NULL | |
14208 | }; | |
14209 | ||
14210 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail; | |
14211 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, | |
14212 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14213 | { | |
14214 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14215 | { | |
14216 | wxString const &_result_ref = (arg1)->GetFindString(); | |
14217 | result = (wxString *) &_result_ref; | |
14218 | } | |
14219 | ||
14220 | wxPyEndAllowThreads(__tstate); | |
14221 | if (PyErr_Occurred()) SWIG_fail; | |
14222 | } | |
14223 | { | |
14224 | #if wxUSE_UNICODE | |
14225 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
14226 | #else | |
14227 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
14228 | #endif | |
14229 | } | |
14230 | return resultobj; | |
14231 | fail: | |
14232 | return NULL; | |
14233 | } | |
14234 | ||
14235 | ||
c370783e | 14236 | static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14237 | PyObject *resultobj; |
14238 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
14239 | wxString *result; | |
14240 | PyObject * obj0 = 0 ; | |
14241 | char *kwnames[] = { | |
14242 | (char *) "self", NULL | |
14243 | }; | |
14244 | ||
14245 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail; | |
14246 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, | |
14247 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14248 | { | |
14249 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14250 | { | |
14251 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
14252 | result = (wxString *) &_result_ref; | |
14253 | } | |
14254 | ||
14255 | wxPyEndAllowThreads(__tstate); | |
14256 | if (PyErr_Occurred()) SWIG_fail; | |
14257 | } | |
14258 | { | |
14259 | #if wxUSE_UNICODE | |
14260 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
14261 | #else | |
14262 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
14263 | #endif | |
14264 | } | |
14265 | return resultobj; | |
14266 | fail: | |
14267 | return NULL; | |
14268 | } | |
14269 | ||
14270 | ||
c370783e | 14271 | static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14272 | PyObject *resultobj; |
14273 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
14274 | wxFindReplaceDialog *result; | |
14275 | PyObject * obj0 = 0 ; | |
14276 | char *kwnames[] = { | |
14277 | (char *) "self", NULL | |
14278 | }; | |
14279 | ||
14280 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail; | |
14281 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, | |
14282 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14283 | { | |
14284 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14285 | result = (wxFindReplaceDialog *)(arg1)->GetDialog(); | |
14286 | ||
14287 | wxPyEndAllowThreads(__tstate); | |
14288 | if (PyErr_Occurred()) SWIG_fail; | |
14289 | } | |
14290 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0); | |
14291 | return resultobj; | |
14292 | fail: | |
14293 | return NULL; | |
14294 | } | |
14295 | ||
14296 | ||
c370783e | 14297 | static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14298 | PyObject *resultobj; |
14299 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
14300 | int arg2 ; | |
14301 | PyObject * obj0 = 0 ; | |
14302 | PyObject * obj1 = 0 ; | |
14303 | char *kwnames[] = { | |
14304 | (char *) "self",(char *) "flags", NULL | |
14305 | }; | |
14306 | ||
14307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; | |
14308 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, | |
14309 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 14310 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
14311 | if (PyErr_Occurred()) SWIG_fail; |
14312 | { | |
14313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14314 | (arg1)->SetFlags(arg2); | |
14315 | ||
14316 | wxPyEndAllowThreads(__tstate); | |
14317 | if (PyErr_Occurred()) SWIG_fail; | |
14318 | } | |
14319 | Py_INCREF(Py_None); resultobj = Py_None; | |
14320 | return resultobj; | |
14321 | fail: | |
14322 | return NULL; | |
14323 | } | |
14324 | ||
14325 | ||
c370783e | 14326 | static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14327 | PyObject *resultobj; |
14328 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
14329 | wxString *arg2 = 0 ; | |
b411df4a | 14330 | bool temp2 = false ; |
d55e5bfc RD |
14331 | PyObject * obj0 = 0 ; |
14332 | PyObject * obj1 = 0 ; | |
14333 | char *kwnames[] = { | |
14334 | (char *) "self",(char *) "str", NULL | |
14335 | }; | |
14336 | ||
14337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
14338 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, | |
14339 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14340 | { | |
14341 | arg2 = wxString_in_helper(obj1); | |
14342 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 14343 | temp2 = true; |
d55e5bfc RD |
14344 | } |
14345 | { | |
14346 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14347 | (arg1)->SetFindString((wxString const &)*arg2); | |
14348 | ||
14349 | wxPyEndAllowThreads(__tstate); | |
14350 | if (PyErr_Occurred()) SWIG_fail; | |
14351 | } | |
14352 | Py_INCREF(Py_None); resultobj = Py_None; | |
14353 | { | |
14354 | if (temp2) | |
14355 | delete arg2; | |
14356 | } | |
14357 | return resultobj; | |
14358 | fail: | |
14359 | { | |
14360 | if (temp2) | |
14361 | delete arg2; | |
14362 | } | |
14363 | return NULL; | |
14364 | } | |
14365 | ||
14366 | ||
c370783e | 14367 | static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14368 | PyObject *resultobj; |
14369 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
14370 | wxString *arg2 = 0 ; | |
b411df4a | 14371 | bool temp2 = false ; |
d55e5bfc RD |
14372 | PyObject * obj0 = 0 ; |
14373 | PyObject * obj1 = 0 ; | |
14374 | char *kwnames[] = { | |
14375 | (char *) "self",(char *) "str", NULL | |
14376 | }; | |
14377 | ||
14378 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
14379 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, | |
14380 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14381 | { | |
14382 | arg2 = wxString_in_helper(obj1); | |
14383 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 14384 | temp2 = true; |
d55e5bfc RD |
14385 | } |
14386 | { | |
14387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14388 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
14389 | ||
14390 | wxPyEndAllowThreads(__tstate); | |
14391 | if (PyErr_Occurred()) SWIG_fail; | |
14392 | } | |
14393 | Py_INCREF(Py_None); resultobj = Py_None; | |
14394 | { | |
14395 | if (temp2) | |
14396 | delete arg2; | |
14397 | } | |
14398 | return resultobj; | |
14399 | fail: | |
14400 | { | |
14401 | if (temp2) | |
14402 | delete arg2; | |
14403 | } | |
14404 | return NULL; | |
14405 | } | |
14406 | ||
14407 | ||
c370783e | 14408 | static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
14409 | PyObject *obj; |
14410 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14411 | SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj); | |
14412 | Py_INCREF(obj); | |
14413 | return Py_BuildValue((char *)""); | |
14414 | } | |
c370783e | 14415 | static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14416 | PyObject *resultobj; |
14417 | int arg1 = (int) 0 ; | |
14418 | wxFindReplaceData *result; | |
14419 | PyObject * obj0 = 0 ; | |
14420 | char *kwnames[] = { | |
14421 | (char *) "flags", NULL | |
14422 | }; | |
14423 | ||
14424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail; | |
14425 | if (obj0) { | |
c370783e | 14426 | arg1 = (int)SWIG_As_int(obj0); |
d55e5bfc RD |
14427 | if (PyErr_Occurred()) SWIG_fail; |
14428 | } | |
14429 | { | |
14430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14431 | result = (wxFindReplaceData *)new wxFindReplaceData(arg1); | |
14432 | ||
14433 | wxPyEndAllowThreads(__tstate); | |
14434 | if (PyErr_Occurred()) SWIG_fail; | |
14435 | } | |
14436 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1); | |
14437 | return resultobj; | |
14438 | fail: | |
14439 | return NULL; | |
14440 | } | |
14441 | ||
14442 | ||
c370783e | 14443 | static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14444 | PyObject *resultobj; |
14445 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14446 | PyObject * obj0 = 0 ; | |
14447 | char *kwnames[] = { | |
14448 | (char *) "self", NULL | |
14449 | }; | |
14450 | ||
14451 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail; | |
14452 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, | |
14453 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14454 | { | |
14455 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14456 | delete arg1; | |
14457 | ||
14458 | wxPyEndAllowThreads(__tstate); | |
14459 | if (PyErr_Occurred()) SWIG_fail; | |
14460 | } | |
14461 | Py_INCREF(Py_None); resultobj = Py_None; | |
14462 | return resultobj; | |
14463 | fail: | |
14464 | return NULL; | |
14465 | } | |
14466 | ||
14467 | ||
c370783e | 14468 | static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14469 | PyObject *resultobj; |
14470 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14471 | wxString *result; | |
14472 | PyObject * obj0 = 0 ; | |
14473 | char *kwnames[] = { | |
14474 | (char *) "self", NULL | |
14475 | }; | |
14476 | ||
14477 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail; | |
14478 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, | |
14479 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14480 | { | |
14481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14482 | { | |
14483 | wxString const &_result_ref = (arg1)->GetFindString(); | |
14484 | result = (wxString *) &_result_ref; | |
14485 | } | |
14486 | ||
14487 | wxPyEndAllowThreads(__tstate); | |
14488 | if (PyErr_Occurred()) SWIG_fail; | |
14489 | } | |
14490 | { | |
14491 | #if wxUSE_UNICODE | |
14492 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
14493 | #else | |
14494 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
14495 | #endif | |
14496 | } | |
14497 | return resultobj; | |
14498 | fail: | |
14499 | return NULL; | |
14500 | } | |
14501 | ||
14502 | ||
c370783e | 14503 | static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14504 | PyObject *resultobj; |
14505 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14506 | wxString *result; | |
14507 | PyObject * obj0 = 0 ; | |
14508 | char *kwnames[] = { | |
14509 | (char *) "self", NULL | |
14510 | }; | |
14511 | ||
14512 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail; | |
14513 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, | |
14514 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14515 | { | |
14516 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14517 | { | |
14518 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
14519 | result = (wxString *) &_result_ref; | |
14520 | } | |
14521 | ||
14522 | wxPyEndAllowThreads(__tstate); | |
14523 | if (PyErr_Occurred()) SWIG_fail; | |
14524 | } | |
14525 | { | |
14526 | #if wxUSE_UNICODE | |
14527 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
14528 | #else | |
14529 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
14530 | #endif | |
14531 | } | |
14532 | return resultobj; | |
14533 | fail: | |
14534 | return NULL; | |
14535 | } | |
14536 | ||
14537 | ||
c370783e | 14538 | static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14539 | PyObject *resultobj; |
14540 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14541 | int result; | |
14542 | PyObject * obj0 = 0 ; | |
14543 | char *kwnames[] = { | |
14544 | (char *) "self", NULL | |
14545 | }; | |
14546 | ||
14547 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail; | |
14548 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, | |
14549 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14550 | { | |
14551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14552 | result = (int)(arg1)->GetFlags(); | |
14553 | ||
14554 | wxPyEndAllowThreads(__tstate); | |
14555 | if (PyErr_Occurred()) SWIG_fail; | |
14556 | } | |
c370783e | 14557 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
14558 | return resultobj; |
14559 | fail: | |
14560 | return NULL; | |
14561 | } | |
14562 | ||
14563 | ||
c370783e | 14564 | static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14565 | PyObject *resultobj; |
14566 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14567 | int arg2 ; | |
14568 | PyObject * obj0 = 0 ; | |
14569 | PyObject * obj1 = 0 ; | |
14570 | char *kwnames[] = { | |
14571 | (char *) "self",(char *) "flags", NULL | |
14572 | }; | |
14573 | ||
14574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail; | |
14575 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, | |
14576 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 14577 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
14578 | if (PyErr_Occurred()) SWIG_fail; |
14579 | { | |
14580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14581 | (arg1)->SetFlags(arg2); | |
14582 | ||
14583 | wxPyEndAllowThreads(__tstate); | |
14584 | if (PyErr_Occurred()) SWIG_fail; | |
14585 | } | |
14586 | Py_INCREF(Py_None); resultobj = Py_None; | |
14587 | return resultobj; | |
14588 | fail: | |
14589 | return NULL; | |
14590 | } | |
14591 | ||
14592 | ||
c370783e | 14593 | static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14594 | PyObject *resultobj; |
14595 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14596 | wxString *arg2 = 0 ; | |
b411df4a | 14597 | bool temp2 = false ; |
d55e5bfc RD |
14598 | PyObject * obj0 = 0 ; |
14599 | PyObject * obj1 = 0 ; | |
14600 | char *kwnames[] = { | |
14601 | (char *) "self",(char *) "str", NULL | |
14602 | }; | |
14603 | ||
14604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
14605 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, | |
14606 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14607 | { | |
14608 | arg2 = wxString_in_helper(obj1); | |
14609 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 14610 | temp2 = true; |
d55e5bfc RD |
14611 | } |
14612 | { | |
14613 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14614 | (arg1)->SetFindString((wxString const &)*arg2); | |
14615 | ||
14616 | wxPyEndAllowThreads(__tstate); | |
14617 | if (PyErr_Occurred()) SWIG_fail; | |
14618 | } | |
14619 | Py_INCREF(Py_None); resultobj = Py_None; | |
14620 | { | |
14621 | if (temp2) | |
14622 | delete arg2; | |
14623 | } | |
14624 | return resultobj; | |
14625 | fail: | |
14626 | { | |
14627 | if (temp2) | |
14628 | delete arg2; | |
14629 | } | |
14630 | return NULL; | |
14631 | } | |
14632 | ||
14633 | ||
c370783e | 14634 | static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14635 | PyObject *resultobj; |
14636 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14637 | wxString *arg2 = 0 ; | |
b411df4a | 14638 | bool temp2 = false ; |
d55e5bfc RD |
14639 | PyObject * obj0 = 0 ; |
14640 | PyObject * obj1 = 0 ; | |
14641 | char *kwnames[] = { | |
14642 | (char *) "self",(char *) "str", NULL | |
14643 | }; | |
14644 | ||
14645 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
14646 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, | |
14647 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14648 | { | |
14649 | arg2 = wxString_in_helper(obj1); | |
14650 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 14651 | temp2 = true; |
d55e5bfc RD |
14652 | } |
14653 | { | |
14654 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14655 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
14656 | ||
14657 | wxPyEndAllowThreads(__tstate); | |
14658 | if (PyErr_Occurred()) SWIG_fail; | |
14659 | } | |
14660 | Py_INCREF(Py_None); resultobj = Py_None; | |
14661 | { | |
14662 | if (temp2) | |
14663 | delete arg2; | |
14664 | } | |
14665 | return resultobj; | |
14666 | fail: | |
14667 | { | |
14668 | if (temp2) | |
14669 | delete arg2; | |
14670 | } | |
14671 | return NULL; | |
14672 | } | |
14673 | ||
14674 | ||
c370783e | 14675 | static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
14676 | PyObject *obj; |
14677 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14678 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj); | |
14679 | Py_INCREF(obj); | |
14680 | return Py_BuildValue((char *)""); | |
14681 | } | |
c370783e | 14682 | static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14683 | PyObject *resultobj; |
14684 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14685 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
14686 | wxString *arg3 = 0 ; | |
14687 | int arg4 = (int) 0 ; | |
14688 | wxFindReplaceDialog *result; | |
b411df4a | 14689 | bool temp3 = false ; |
d55e5bfc RD |
14690 | PyObject * obj0 = 0 ; |
14691 | PyObject * obj1 = 0 ; | |
14692 | PyObject * obj2 = 0 ; | |
14693 | PyObject * obj3 = 0 ; | |
14694 | char *kwnames[] = { | |
14695 | (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
14696 | }; | |
14697 | ||
14698 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
14699 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
14700 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14701 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData, | |
14702 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14703 | { | |
14704 | arg3 = wxString_in_helper(obj2); | |
14705 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 14706 | temp3 = true; |
d55e5bfc RD |
14707 | } |
14708 | if (obj3) { | |
c370783e | 14709 | arg4 = (int)SWIG_As_int(obj3); |
d55e5bfc RD |
14710 | if (PyErr_Occurred()) SWIG_fail; |
14711 | } | |
14712 | { | |
0439c23b | 14713 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
14714 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14715 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4); | |
14716 | ||
14717 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14718 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
14719 | } |
14720 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); | |
14721 | { | |
14722 | if (temp3) | |
14723 | delete arg3; | |
14724 | } | |
14725 | return resultobj; | |
14726 | fail: | |
14727 | { | |
14728 | if (temp3) | |
14729 | delete arg3; | |
14730 | } | |
14731 | return NULL; | |
14732 | } | |
14733 | ||
14734 | ||
c370783e | 14735 | static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14736 | PyObject *resultobj; |
14737 | wxFindReplaceDialog *result; | |
14738 | char *kwnames[] = { | |
14739 | NULL | |
14740 | }; | |
14741 | ||
14742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail; | |
14743 | { | |
0439c23b | 14744 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
14745 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14746 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(); | |
14747 | ||
14748 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14749 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
14750 | } |
14751 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); | |
14752 | return resultobj; | |
14753 | fail: | |
14754 | return NULL; | |
14755 | } | |
14756 | ||
14757 | ||
c370783e | 14758 | static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14759 | PyObject *resultobj; |
14760 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
14761 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14762 | wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ; | |
14763 | wxString *arg4 = 0 ; | |
14764 | int arg5 = (int) 0 ; | |
14765 | bool result; | |
b411df4a | 14766 | bool temp4 = false ; |
d55e5bfc RD |
14767 | PyObject * obj0 = 0 ; |
14768 | PyObject * obj1 = 0 ; | |
14769 | PyObject * obj2 = 0 ; | |
14770 | PyObject * obj3 = 0 ; | |
14771 | PyObject * obj4 = 0 ; | |
14772 | char *kwnames[] = { | |
14773 | (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
14774 | }; | |
14775 | ||
14776 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
14777 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog, | |
14778 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14779 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
14780 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14781 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData, | |
14782 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14783 | { | |
14784 | arg4 = wxString_in_helper(obj3); | |
14785 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 14786 | temp4 = true; |
d55e5bfc RD |
14787 | } |
14788 | if (obj4) { | |
c370783e | 14789 | arg5 = (int)SWIG_As_int(obj4); |
d55e5bfc RD |
14790 | if (PyErr_Occurred()) SWIG_fail; |
14791 | } | |
14792 | { | |
14793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14794 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5); | |
14795 | ||
14796 | wxPyEndAllowThreads(__tstate); | |
14797 | if (PyErr_Occurred()) SWIG_fail; | |
14798 | } | |
14799 | { | |
14800 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14801 | } | |
14802 | { | |
14803 | if (temp4) | |
14804 | delete arg4; | |
14805 | } | |
14806 | return resultobj; | |
14807 | fail: | |
14808 | { | |
14809 | if (temp4) | |
14810 | delete arg4; | |
14811 | } | |
14812 | return NULL; | |
14813 | } | |
14814 | ||
14815 | ||
c370783e | 14816 | static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14817 | PyObject *resultobj; |
14818 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
14819 | wxFindReplaceData *result; | |
14820 | PyObject * obj0 = 0 ; | |
14821 | char *kwnames[] = { | |
14822 | (char *) "self", NULL | |
14823 | }; | |
14824 | ||
14825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail; | |
14826 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog, | |
14827 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14828 | { | |
14829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14830 | result = (wxFindReplaceData *)(arg1)->GetData(); | |
14831 | ||
14832 | wxPyEndAllowThreads(__tstate); | |
14833 | if (PyErr_Occurred()) SWIG_fail; | |
14834 | } | |
14835 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0); | |
14836 | return resultobj; | |
14837 | fail: | |
14838 | return NULL; | |
14839 | } | |
14840 | ||
14841 | ||
c370783e | 14842 | static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14843 | PyObject *resultobj; |
14844 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
14845 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
14846 | PyObject * obj0 = 0 ; | |
14847 | PyObject * obj1 = 0 ; | |
14848 | char *kwnames[] = { | |
14849 | (char *) "self",(char *) "data", NULL | |
14850 | }; | |
14851 | ||
14852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail; | |
14853 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog, | |
14854 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14855 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData, | |
14856 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14857 | { | |
14858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14859 | (arg1)->SetData(arg2); | |
14860 | ||
14861 | wxPyEndAllowThreads(__tstate); | |
14862 | if (PyErr_Occurred()) SWIG_fail; | |
14863 | } | |
14864 | Py_INCREF(Py_None); resultobj = Py_None; | |
14865 | return resultobj; | |
14866 | fail: | |
14867 | return NULL; | |
14868 | } | |
14869 | ||
14870 | ||
c370783e | 14871 | static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
14872 | PyObject *obj; |
14873 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14874 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj); | |
14875 | Py_INCREF(obj); | |
14876 | return Py_BuildValue((char *)""); | |
14877 | } | |
c370783e | 14878 | static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14879 | PyObject *resultobj; |
14880 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 RD |
14881 | int arg2 = (int) (int)-1 ; |
14882 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
14883 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d55e5bfc RD |
14884 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
14885 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
14886 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
14887 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
14888 | long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
14889 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
14890 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
14891 | wxMDIParentFrame *result; | |
b411df4a | 14892 | bool temp3 = false ; |
d55e5bfc RD |
14893 | wxPoint temp4 ; |
14894 | wxSize temp5 ; | |
b411df4a | 14895 | bool temp7 = false ; |
d55e5bfc RD |
14896 | PyObject * obj0 = 0 ; |
14897 | PyObject * obj1 = 0 ; | |
14898 | PyObject * obj2 = 0 ; | |
14899 | PyObject * obj3 = 0 ; | |
14900 | PyObject * obj4 = 0 ; | |
14901 | PyObject * obj5 = 0 ; | |
14902 | PyObject * obj6 = 0 ; | |
14903 | char *kwnames[] = { | |
14904 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14905 | }; | |
14906 | ||
bfddbb17 | 14907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d55e5bfc RD |
14908 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
14909 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
bfddbb17 | 14910 | if (obj1) { |
c370783e | 14911 | arg2 = (int)SWIG_As_int(obj1); |
bfddbb17 RD |
14912 | if (PyErr_Occurred()) SWIG_fail; |
14913 | } | |
14914 | if (obj2) { | |
14915 | { | |
14916 | arg3 = wxString_in_helper(obj2); | |
14917 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 14918 | temp3 = true; |
bfddbb17 | 14919 | } |
d55e5bfc RD |
14920 | } |
14921 | if (obj3) { | |
14922 | { | |
14923 | arg4 = &temp4; | |
14924 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
14925 | } | |
14926 | } | |
14927 | if (obj4) { | |
14928 | { | |
14929 | arg5 = &temp5; | |
14930 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
14931 | } | |
14932 | } | |
14933 | if (obj5) { | |
c370783e | 14934 | arg6 = (long)SWIG_As_long(obj5); |
d55e5bfc RD |
14935 | if (PyErr_Occurred()) SWIG_fail; |
14936 | } | |
14937 | if (obj6) { | |
14938 | { | |
14939 | arg7 = wxString_in_helper(obj6); | |
14940 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 14941 | temp7 = true; |
d55e5bfc RD |
14942 | } |
14943 | } | |
14944 | { | |
0439c23b | 14945 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
14946 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14947 | result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
14948 | ||
14949 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14950 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
14951 | } |
14952 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); | |
14953 | { | |
14954 | if (temp3) | |
14955 | delete arg3; | |
14956 | } | |
14957 | { | |
14958 | if (temp7) | |
14959 | delete arg7; | |
14960 | } | |
14961 | return resultobj; | |
14962 | fail: | |
14963 | { | |
14964 | if (temp3) | |
14965 | delete arg3; | |
14966 | } | |
14967 | { | |
14968 | if (temp7) | |
14969 | delete arg7; | |
14970 | } | |
14971 | return NULL; | |
14972 | } | |
14973 | ||
14974 | ||
c370783e | 14975 | static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14976 | PyObject *resultobj; |
14977 | wxMDIParentFrame *result; | |
14978 | char *kwnames[] = { | |
14979 | NULL | |
14980 | }; | |
14981 | ||
14982 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail; | |
14983 | { | |
0439c23b | 14984 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
14985 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14986 | result = (wxMDIParentFrame *)new wxMDIParentFrame(); | |
14987 | ||
14988 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14989 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
14990 | } |
14991 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); | |
14992 | return resultobj; | |
14993 | fail: | |
14994 | return NULL; | |
14995 | } | |
14996 | ||
14997 | ||
c370783e | 14998 | static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14999 | PyObject *resultobj; |
15000 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15001 | wxWindow *arg2 = (wxWindow *) 0 ; | |
bfddbb17 RD |
15002 | int arg3 = (int) (int)-1 ; |
15003 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
15004 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d55e5bfc RD |
15005 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
15006 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
15007 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
15008 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
15009 | long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
15010 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
15011 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
15012 | bool result; | |
b411df4a | 15013 | bool temp4 = false ; |
d55e5bfc RD |
15014 | wxPoint temp5 ; |
15015 | wxSize temp6 ; | |
b411df4a | 15016 | bool temp8 = false ; |
d55e5bfc RD |
15017 | PyObject * obj0 = 0 ; |
15018 | PyObject * obj1 = 0 ; | |
15019 | PyObject * obj2 = 0 ; | |
15020 | PyObject * obj3 = 0 ; | |
15021 | PyObject * obj4 = 0 ; | |
15022 | PyObject * obj5 = 0 ; | |
15023 | PyObject * obj6 = 0 ; | |
15024 | PyObject * obj7 = 0 ; | |
15025 | char *kwnames[] = { | |
15026 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
15027 | }; | |
15028 | ||
bfddbb17 | 15029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
d55e5bfc RD |
15030 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
15031 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15032 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
15033 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
bfddbb17 | 15034 | if (obj2) { |
c370783e | 15035 | arg3 = (int)SWIG_As_int(obj2); |
bfddbb17 RD |
15036 | if (PyErr_Occurred()) SWIG_fail; |
15037 | } | |
15038 | if (obj3) { | |
15039 | { | |
15040 | arg4 = wxString_in_helper(obj3); | |
15041 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 15042 | temp4 = true; |
bfddbb17 | 15043 | } |
d55e5bfc RD |
15044 | } |
15045 | if (obj4) { | |
15046 | { | |
15047 | arg5 = &temp5; | |
15048 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
15049 | } | |
15050 | } | |
15051 | if (obj5) { | |
15052 | { | |
15053 | arg6 = &temp6; | |
15054 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
15055 | } | |
15056 | } | |
15057 | if (obj6) { | |
c370783e | 15058 | arg7 = (long)SWIG_As_long(obj6); |
d55e5bfc RD |
15059 | if (PyErr_Occurred()) SWIG_fail; |
15060 | } | |
15061 | if (obj7) { | |
15062 | { | |
15063 | arg8 = wxString_in_helper(obj7); | |
15064 | if (arg8 == NULL) SWIG_fail; | |
b411df4a | 15065 | temp8 = true; |
d55e5bfc RD |
15066 | } |
15067 | } | |
15068 | { | |
15069 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15070 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
15071 | ||
15072 | wxPyEndAllowThreads(__tstate); | |
15073 | if (PyErr_Occurred()) SWIG_fail; | |
15074 | } | |
15075 | { | |
15076 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15077 | } | |
15078 | { | |
15079 | if (temp4) | |
15080 | delete arg4; | |
15081 | } | |
15082 | { | |
15083 | if (temp8) | |
15084 | delete arg8; | |
15085 | } | |
15086 | return resultobj; | |
15087 | fail: | |
15088 | { | |
15089 | if (temp4) | |
15090 | delete arg4; | |
15091 | } | |
15092 | { | |
15093 | if (temp8) | |
15094 | delete arg8; | |
15095 | } | |
15096 | return NULL; | |
15097 | } | |
15098 | ||
15099 | ||
c370783e | 15100 | static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15101 | PyObject *resultobj; |
15102 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15103 | PyObject * obj0 = 0 ; | |
15104 | char *kwnames[] = { | |
15105 | (char *) "self", NULL | |
15106 | }; | |
15107 | ||
15108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail; | |
15109 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, | |
15110 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15111 | { | |
15112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15113 | (arg1)->ActivateNext(); | |
15114 | ||
15115 | wxPyEndAllowThreads(__tstate); | |
15116 | if (PyErr_Occurred()) SWIG_fail; | |
15117 | } | |
15118 | Py_INCREF(Py_None); resultobj = Py_None; | |
15119 | return resultobj; | |
15120 | fail: | |
15121 | return NULL; | |
15122 | } | |
15123 | ||
15124 | ||
c370783e | 15125 | static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15126 | PyObject *resultobj; |
15127 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15128 | PyObject * obj0 = 0 ; | |
15129 | char *kwnames[] = { | |
15130 | (char *) "self", NULL | |
15131 | }; | |
15132 | ||
15133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail; | |
15134 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, | |
15135 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15136 | { | |
15137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15138 | (arg1)->ActivatePrevious(); | |
15139 | ||
15140 | wxPyEndAllowThreads(__tstate); | |
15141 | if (PyErr_Occurred()) SWIG_fail; | |
15142 | } | |
15143 | Py_INCREF(Py_None); resultobj = Py_None; | |
15144 | return resultobj; | |
15145 | fail: | |
15146 | return NULL; | |
15147 | } | |
15148 | ||
15149 | ||
c370783e | 15150 | static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15151 | PyObject *resultobj; |
15152 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15153 | PyObject * obj0 = 0 ; | |
15154 | char *kwnames[] = { | |
15155 | (char *) "self", NULL | |
15156 | }; | |
15157 | ||
15158 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail; | |
15159 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, | |
15160 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15161 | { | |
15162 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15163 | (arg1)->ArrangeIcons(); | |
15164 | ||
15165 | wxPyEndAllowThreads(__tstate); | |
15166 | if (PyErr_Occurred()) SWIG_fail; | |
15167 | } | |
15168 | Py_INCREF(Py_None); resultobj = Py_None; | |
15169 | return resultobj; | |
15170 | fail: | |
15171 | return NULL; | |
15172 | } | |
15173 | ||
15174 | ||
c370783e | 15175 | static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15176 | PyObject *resultobj; |
15177 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15178 | PyObject * obj0 = 0 ; | |
15179 | char *kwnames[] = { | |
15180 | (char *) "self", NULL | |
15181 | }; | |
15182 | ||
15183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail; | |
15184 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, | |
15185 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15186 | { | |
15187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15188 | (arg1)->Cascade(); | |
15189 | ||
15190 | wxPyEndAllowThreads(__tstate); | |
15191 | if (PyErr_Occurred()) SWIG_fail; | |
15192 | } | |
15193 | Py_INCREF(Py_None); resultobj = Py_None; | |
15194 | return resultobj; | |
15195 | fail: | |
15196 | return NULL; | |
15197 | } | |
15198 | ||
15199 | ||
c370783e | 15200 | static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15201 | PyObject *resultobj; |
15202 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15203 | wxMDIChildFrame *result; | |
15204 | PyObject * obj0 = 0 ; | |
15205 | char *kwnames[] = { | |
15206 | (char *) "self", NULL | |
15207 | }; | |
15208 | ||
15209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail; | |
15210 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, | |
15211 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15212 | { | |
15213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15214 | result = (wxMDIChildFrame *)(arg1)->GetActiveChild(); | |
15215 | ||
15216 | wxPyEndAllowThreads(__tstate); | |
15217 | if (PyErr_Occurred()) SWIG_fail; | |
15218 | } | |
15219 | { | |
412d302d | 15220 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
15221 | } |
15222 | return resultobj; | |
15223 | fail: | |
15224 | return NULL; | |
15225 | } | |
15226 | ||
15227 | ||
c370783e | 15228 | static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15229 | PyObject *resultobj; |
15230 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15231 | wxMDIClientWindow *result; | |
15232 | PyObject * obj0 = 0 ; | |
15233 | char *kwnames[] = { | |
15234 | (char *) "self", NULL | |
15235 | }; | |
15236 | ||
15237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail; | |
15238 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, | |
15239 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15240 | { | |
15241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15242 | result = (wxMDIClientWindow *)(arg1)->GetClientWindow(); | |
15243 | ||
15244 | wxPyEndAllowThreads(__tstate); | |
15245 | if (PyErr_Occurred()) SWIG_fail; | |
15246 | } | |
15247 | { | |
412d302d | 15248 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
15249 | } |
15250 | return resultobj; | |
15251 | fail: | |
15252 | return NULL; | |
15253 | } | |
15254 | ||
15255 | ||
c370783e | 15256 | static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15257 | PyObject *resultobj; |
15258 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15259 | wxWindow *result; | |
15260 | PyObject * obj0 = 0 ; | |
15261 | char *kwnames[] = { | |
15262 | (char *) "self", NULL | |
15263 | }; | |
15264 | ||
15265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail; | |
15266 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, | |
15267 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15268 | { | |
15269 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15270 | result = (wxWindow *)(arg1)->GetToolBar(); | |
15271 | ||
15272 | wxPyEndAllowThreads(__tstate); | |
15273 | if (PyErr_Occurred()) SWIG_fail; | |
15274 | } | |
15275 | { | |
412d302d | 15276 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
15277 | } |
15278 | return resultobj; | |
15279 | fail: | |
15280 | return NULL; | |
15281 | } | |
15282 | ||
15283 | ||
c370783e | 15284 | static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15285 | PyObject *resultobj; |
15286 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15287 | PyObject * obj0 = 0 ; | |
15288 | char *kwnames[] = { | |
15289 | (char *) "self", NULL | |
15290 | }; | |
15291 | ||
15292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail; | |
15293 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, | |
15294 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15295 | { | |
15296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15297 | (arg1)->Tile(); | |
15298 | ||
15299 | wxPyEndAllowThreads(__tstate); | |
15300 | if (PyErr_Occurred()) SWIG_fail; | |
15301 | } | |
15302 | Py_INCREF(Py_None); resultobj = Py_None; | |
15303 | return resultobj; | |
15304 | fail: | |
15305 | return NULL; | |
15306 | } | |
15307 | ||
15308 | ||
c370783e | 15309 | static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
15310 | PyObject *obj; |
15311 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15312 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj); | |
15313 | Py_INCREF(obj); | |
15314 | return Py_BuildValue((char *)""); | |
15315 | } | |
c370783e | 15316 | static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15317 | PyObject *resultobj; |
15318 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
bfddbb17 RD |
15319 | int arg2 = (int) (int)-1 ; |
15320 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
15321 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d55e5bfc RD |
15322 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
15323 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
15324 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
15325 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
15326 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
15327 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
15328 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
15329 | wxMDIChildFrame *result; | |
b411df4a | 15330 | bool temp3 = false ; |
d55e5bfc RD |
15331 | wxPoint temp4 ; |
15332 | wxSize temp5 ; | |
b411df4a | 15333 | bool temp7 = false ; |
d55e5bfc RD |
15334 | PyObject * obj0 = 0 ; |
15335 | PyObject * obj1 = 0 ; | |
15336 | PyObject * obj2 = 0 ; | |
15337 | PyObject * obj3 = 0 ; | |
15338 | PyObject * obj4 = 0 ; | |
15339 | PyObject * obj5 = 0 ; | |
15340 | PyObject * obj6 = 0 ; | |
15341 | char *kwnames[] = { | |
15342 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
15343 | }; | |
15344 | ||
bfddbb17 | 15345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d55e5bfc RD |
15346 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
15347 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
bfddbb17 | 15348 | if (obj1) { |
c370783e | 15349 | arg2 = (int)SWIG_As_int(obj1); |
bfddbb17 RD |
15350 | if (PyErr_Occurred()) SWIG_fail; |
15351 | } | |
15352 | if (obj2) { | |
15353 | { | |
15354 | arg3 = wxString_in_helper(obj2); | |
15355 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 15356 | temp3 = true; |
bfddbb17 | 15357 | } |
d55e5bfc RD |
15358 | } |
15359 | if (obj3) { | |
15360 | { | |
15361 | arg4 = &temp4; | |
15362 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
15363 | } | |
15364 | } | |
15365 | if (obj4) { | |
15366 | { | |
15367 | arg5 = &temp5; | |
15368 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
15369 | } | |
15370 | } | |
15371 | if (obj5) { | |
c370783e | 15372 | arg6 = (long)SWIG_As_long(obj5); |
d55e5bfc RD |
15373 | if (PyErr_Occurred()) SWIG_fail; |
15374 | } | |
15375 | if (obj6) { | |
15376 | { | |
15377 | arg7 = wxString_in_helper(obj6); | |
15378 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 15379 | temp7 = true; |
d55e5bfc RD |
15380 | } |
15381 | } | |
15382 | { | |
0439c23b | 15383 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
15384 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15385 | result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
15386 | ||
15387 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15388 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 15389 | } |
b0f7404b | 15390 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1); |
d55e5bfc RD |
15391 | { |
15392 | if (temp3) | |
15393 | delete arg3; | |
15394 | } | |
15395 | { | |
15396 | if (temp7) | |
15397 | delete arg7; | |
15398 | } | |
15399 | return resultobj; | |
15400 | fail: | |
15401 | { | |
15402 | if (temp3) | |
15403 | delete arg3; | |
15404 | } | |
15405 | { | |
15406 | if (temp7) | |
15407 | delete arg7; | |
15408 | } | |
15409 | return NULL; | |
15410 | } | |
15411 | ||
15412 | ||
c370783e | 15413 | static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15414 | PyObject *resultobj; |
15415 | wxMDIChildFrame *result; | |
15416 | char *kwnames[] = { | |
15417 | NULL | |
15418 | }; | |
15419 | ||
15420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail; | |
15421 | { | |
0439c23b | 15422 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
15423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15424 | result = (wxMDIChildFrame *)new wxMDIChildFrame(); | |
15425 | ||
15426 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15427 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 15428 | } |
b0f7404b | 15429 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1); |
d55e5bfc RD |
15430 | return resultobj; |
15431 | fail: | |
15432 | return NULL; | |
15433 | } | |
15434 | ||
15435 | ||
c370783e | 15436 | static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15437 | PyObject *resultobj; |
15438 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
15439 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
bfddbb17 RD |
15440 | int arg3 = (int) (int)-1 ; |
15441 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
15442 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d55e5bfc RD |
15443 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
15444 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
15445 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
15446 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
15447 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
15448 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
15449 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
15450 | bool result; | |
b411df4a | 15451 | bool temp4 = false ; |
d55e5bfc RD |
15452 | wxPoint temp5 ; |
15453 | wxSize temp6 ; | |
b411df4a | 15454 | bool temp8 = false ; |
d55e5bfc RD |
15455 | PyObject * obj0 = 0 ; |
15456 | PyObject * obj1 = 0 ; | |
15457 | PyObject * obj2 = 0 ; | |
15458 | PyObject * obj3 = 0 ; | |
15459 | PyObject * obj4 = 0 ; | |
15460 | PyObject * obj5 = 0 ; | |
15461 | PyObject * obj6 = 0 ; | |
15462 | PyObject * obj7 = 0 ; | |
15463 | char *kwnames[] = { | |
15464 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
15465 | }; | |
15466 | ||
bfddbb17 | 15467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
d55e5bfc RD |
15468 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
15469 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15470 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame, | |
15471 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
bfddbb17 | 15472 | if (obj2) { |
c370783e | 15473 | arg3 = (int)SWIG_As_int(obj2); |
bfddbb17 RD |
15474 | if (PyErr_Occurred()) SWIG_fail; |
15475 | } | |
15476 | if (obj3) { | |
15477 | { | |
15478 | arg4 = wxString_in_helper(obj3); | |
15479 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 15480 | temp4 = true; |
bfddbb17 | 15481 | } |
d55e5bfc RD |
15482 | } |
15483 | if (obj4) { | |
15484 | { | |
15485 | arg5 = &temp5; | |
15486 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
15487 | } | |
15488 | } | |
15489 | if (obj5) { | |
15490 | { | |
15491 | arg6 = &temp6; | |
15492 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
15493 | } | |
15494 | } | |
15495 | if (obj6) { | |
c370783e | 15496 | arg7 = (long)SWIG_As_long(obj6); |
d55e5bfc RD |
15497 | if (PyErr_Occurred()) SWIG_fail; |
15498 | } | |
15499 | if (obj7) { | |
15500 | { | |
15501 | arg8 = wxString_in_helper(obj7); | |
15502 | if (arg8 == NULL) SWIG_fail; | |
b411df4a | 15503 | temp8 = true; |
d55e5bfc RD |
15504 | } |
15505 | } | |
15506 | { | |
15507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15508 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
15509 | ||
15510 | wxPyEndAllowThreads(__tstate); | |
15511 | if (PyErr_Occurred()) SWIG_fail; | |
15512 | } | |
15513 | { | |
15514 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15515 | } | |
15516 | { | |
15517 | if (temp4) | |
15518 | delete arg4; | |
15519 | } | |
15520 | { | |
15521 | if (temp8) | |
15522 | delete arg8; | |
15523 | } | |
15524 | return resultobj; | |
15525 | fail: | |
15526 | { | |
15527 | if (temp4) | |
15528 | delete arg4; | |
15529 | } | |
15530 | { | |
15531 | if (temp8) | |
15532 | delete arg8; | |
15533 | } | |
15534 | return NULL; | |
15535 | } | |
15536 | ||
15537 | ||
c370783e | 15538 | static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15539 | PyObject *resultobj; |
15540 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
15541 | PyObject * obj0 = 0 ; | |
15542 | char *kwnames[] = { | |
15543 | (char *) "self", NULL | |
15544 | }; | |
15545 | ||
15546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail; | |
15547 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, | |
15548 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15549 | { | |
15550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15551 | (arg1)->Activate(); | |
15552 | ||
15553 | wxPyEndAllowThreads(__tstate); | |
15554 | if (PyErr_Occurred()) SWIG_fail; | |
15555 | } | |
15556 | Py_INCREF(Py_None); resultobj = Py_None; | |
15557 | return resultobj; | |
15558 | fail: | |
15559 | return NULL; | |
15560 | } | |
15561 | ||
15562 | ||
c370783e | 15563 | static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15564 | PyObject *resultobj; |
15565 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
15566 | bool arg2 ; | |
15567 | PyObject * obj0 = 0 ; | |
15568 | PyObject * obj1 = 0 ; | |
15569 | char *kwnames[] = { | |
15570 | (char *) "self",(char *) "maximize", NULL | |
15571 | }; | |
15572 | ||
15573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
15574 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, | |
15575 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 15576 | arg2 = (bool)SWIG_As_bool(obj1); |
d55e5bfc RD |
15577 | if (PyErr_Occurred()) SWIG_fail; |
15578 | { | |
15579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15580 | (arg1)->Maximize(arg2); | |
15581 | ||
15582 | wxPyEndAllowThreads(__tstate); | |
15583 | if (PyErr_Occurred()) SWIG_fail; | |
15584 | } | |
15585 | Py_INCREF(Py_None); resultobj = Py_None; | |
15586 | return resultobj; | |
15587 | fail: | |
15588 | return NULL; | |
15589 | } | |
15590 | ||
15591 | ||
c370783e | 15592 | static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15593 | PyObject *resultobj; |
15594 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
15595 | PyObject * obj0 = 0 ; | |
15596 | char *kwnames[] = { | |
15597 | (char *) "self", NULL | |
15598 | }; | |
15599 | ||
15600 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail; | |
15601 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, | |
15602 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15603 | { | |
15604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15605 | (arg1)->Restore(); | |
15606 | ||
15607 | wxPyEndAllowThreads(__tstate); | |
15608 | if (PyErr_Occurred()) SWIG_fail; | |
15609 | } | |
15610 | Py_INCREF(Py_None); resultobj = Py_None; | |
15611 | return resultobj; | |
15612 | fail: | |
15613 | return NULL; | |
15614 | } | |
15615 | ||
15616 | ||
c370783e | 15617 | static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
15618 | PyObject *obj; |
15619 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15620 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj); | |
15621 | Py_INCREF(obj); | |
15622 | return Py_BuildValue((char *)""); | |
15623 | } | |
c370783e | 15624 | static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15625 | PyObject *resultobj; |
15626 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15627 | long arg2 = (long) 0 ; | |
15628 | wxMDIClientWindow *result; | |
15629 | PyObject * obj0 = 0 ; | |
15630 | PyObject * obj1 = 0 ; | |
15631 | char *kwnames[] = { | |
15632 | (char *) "parent",(char *) "style", NULL | |
15633 | }; | |
15634 | ||
15635 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail; | |
15636 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, | |
15637 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15638 | if (obj1) { | |
c370783e | 15639 | arg2 = (long)SWIG_As_long(obj1); |
d55e5bfc RD |
15640 | if (PyErr_Occurred()) SWIG_fail; |
15641 | } | |
15642 | { | |
0439c23b | 15643 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
15644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15645 | result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2); | |
15646 | ||
15647 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15648 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 15649 | } |
b0f7404b | 15650 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1); |
d55e5bfc RD |
15651 | return resultobj; |
15652 | fail: | |
15653 | return NULL; | |
15654 | } | |
15655 | ||
15656 | ||
c370783e | 15657 | static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15658 | PyObject *resultobj; |
15659 | wxMDIClientWindow *result; | |
15660 | char *kwnames[] = { | |
15661 | NULL | |
15662 | }; | |
15663 | ||
15664 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail; | |
15665 | { | |
0439c23b | 15666 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
15667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15668 | result = (wxMDIClientWindow *)new wxMDIClientWindow(); | |
15669 | ||
15670 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15671 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 15672 | } |
b0f7404b | 15673 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1); |
d55e5bfc RD |
15674 | return resultobj; |
15675 | fail: | |
15676 | return NULL; | |
15677 | } | |
15678 | ||
15679 | ||
c370783e | 15680 | static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15681 | PyObject *resultobj; |
15682 | wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ; | |
15683 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
15684 | long arg3 = (long) 0 ; | |
15685 | bool result; | |
15686 | PyObject * obj0 = 0 ; | |
15687 | PyObject * obj1 = 0 ; | |
15688 | PyObject * obj2 = 0 ; | |
15689 | char *kwnames[] = { | |
15690 | (char *) "self",(char *) "parent",(char *) "style", NULL | |
15691 | }; | |
15692 | ||
15693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15694 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow, | |
15695 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15696 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame, | |
15697 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15698 | if (obj2) { | |
c370783e | 15699 | arg3 = (long)SWIG_As_long(obj2); |
d55e5bfc RD |
15700 | if (PyErr_Occurred()) SWIG_fail; |
15701 | } | |
15702 | { | |
15703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15704 | result = (bool)(arg1)->Create(arg2,arg3); | |
15705 | ||
15706 | wxPyEndAllowThreads(__tstate); | |
15707 | if (PyErr_Occurred()) SWIG_fail; | |
15708 | } | |
15709 | { | |
15710 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15711 | } | |
15712 | return resultobj; | |
15713 | fail: | |
15714 | return NULL; | |
15715 | } | |
15716 | ||
15717 | ||
c370783e | 15718 | static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
15719 | PyObject *obj; |
15720 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15721 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj); | |
15722 | Py_INCREF(obj); | |
15723 | return Py_BuildValue((char *)""); | |
15724 | } | |
c370783e | 15725 | static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15726 | PyObject *resultobj; |
15727 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 | 15728 | int arg2 = (int) (int)-1 ; |
d55e5bfc RD |
15729 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
15730 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
15731 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
15732 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
15733 | long arg5 = (long) 0 ; | |
15734 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
15735 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
15736 | wxPyWindow *result; | |
15737 | wxPoint temp3 ; | |
15738 | wxSize temp4 ; | |
b411df4a | 15739 | bool temp6 = false ; |
d55e5bfc RD |
15740 | PyObject * obj0 = 0 ; |
15741 | PyObject * obj1 = 0 ; | |
15742 | PyObject * obj2 = 0 ; | |
15743 | PyObject * obj3 = 0 ; | |
15744 | PyObject * obj4 = 0 ; | |
15745 | PyObject * obj5 = 0 ; | |
15746 | char *kwnames[] = { | |
15747 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
15748 | }; | |
15749 | ||
bfddbb17 | 15750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d55e5bfc RD |
15751 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
15752 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
bfddbb17 | 15753 | if (obj1) { |
c370783e | 15754 | arg2 = (int)SWIG_As_int(obj1); |
bfddbb17 RD |
15755 | if (PyErr_Occurred()) SWIG_fail; |
15756 | } | |
d55e5bfc RD |
15757 | if (obj2) { |
15758 | { | |
15759 | arg3 = &temp3; | |
15760 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
15761 | } | |
15762 | } | |
15763 | if (obj3) { | |
15764 | { | |
15765 | arg4 = &temp4; | |
15766 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
15767 | } | |
15768 | } | |
15769 | if (obj4) { | |
c370783e | 15770 | arg5 = (long)SWIG_As_long(obj4); |
d55e5bfc RD |
15771 | if (PyErr_Occurred()) SWIG_fail; |
15772 | } | |
15773 | if (obj5) { | |
15774 | { | |
15775 | arg6 = wxString_in_helper(obj5); | |
15776 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 15777 | temp6 = true; |
d55e5bfc RD |
15778 | } |
15779 | } | |
15780 | { | |
0439c23b | 15781 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
15782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15783 | result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
15784 | ||
15785 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15786 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
15787 | } |
15788 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1); | |
15789 | { | |
15790 | if (temp6) | |
15791 | delete arg6; | |
15792 | } | |
15793 | return resultobj; | |
15794 | fail: | |
15795 | { | |
15796 | if (temp6) | |
15797 | delete arg6; | |
15798 | } | |
15799 | return NULL; | |
15800 | } | |
15801 | ||
15802 | ||
c370783e | 15803 | static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15804 | PyObject *resultobj; |
15805 | wxPyWindow *result; | |
15806 | char *kwnames[] = { | |
15807 | NULL | |
15808 | }; | |
15809 | ||
15810 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail; | |
15811 | { | |
0439c23b | 15812 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
15813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15814 | result = (wxPyWindow *)new wxPyWindow(); | |
15815 | ||
15816 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15817 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
15818 | } |
15819 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1); | |
15820 | return resultobj; | |
15821 | fail: | |
15822 | return NULL; | |
15823 | } | |
15824 | ||
15825 | ||
c370783e | 15826 | static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15827 | PyObject *resultobj; |
15828 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15829 | PyObject *arg2 = (PyObject *) 0 ; | |
15830 | PyObject *arg3 = (PyObject *) 0 ; | |
15831 | PyObject * obj0 = 0 ; | |
15832 | PyObject * obj1 = 0 ; | |
15833 | PyObject * obj2 = 0 ; | |
15834 | char *kwnames[] = { | |
15835 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
15836 | }; | |
15837 | ||
15838 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15839 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
15840 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15841 | arg2 = obj1; | |
15842 | arg3 = obj2; | |
15843 | { | |
15844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15845 | (arg1)->_setCallbackInfo(arg2,arg3); | |
15846 | ||
15847 | wxPyEndAllowThreads(__tstate); | |
15848 | if (PyErr_Occurred()) SWIG_fail; | |
15849 | } | |
15850 | Py_INCREF(Py_None); resultobj = Py_None; | |
15851 | return resultobj; | |
15852 | fail: | |
15853 | return NULL; | |
15854 | } | |
15855 | ||
15856 | ||
c370783e | 15857 | static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
a5ee0656 RD |
15858 | PyObject *resultobj; |
15859 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15860 | wxSize *arg2 = 0 ; | |
15861 | wxSize temp2 ; | |
15862 | PyObject * obj0 = 0 ; | |
15863 | PyObject * obj1 = 0 ; | |
15864 | char *kwnames[] = { | |
15865 | (char *) "self",(char *) "size", NULL | |
15866 | }; | |
15867 | ||
15868 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail; | |
15869 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
15870 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15871 | { | |
15872 | arg2 = &temp2; | |
15873 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
15874 | } | |
15875 | { | |
15876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15877 | (arg1)->SetBestSize((wxSize const &)*arg2); | |
15878 | ||
15879 | wxPyEndAllowThreads(__tstate); | |
15880 | if (PyErr_Occurred()) SWIG_fail; | |
15881 | } | |
15882 | Py_INCREF(Py_None); resultobj = Py_None; | |
15883 | return resultobj; | |
15884 | fail: | |
15885 | return NULL; | |
15886 | } | |
15887 | ||
15888 | ||
c370783e | 15889 | static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15890 | PyObject *resultobj; |
15891 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15892 | int arg2 ; | |
15893 | int arg3 ; | |
15894 | int arg4 ; | |
15895 | int arg5 ; | |
15896 | PyObject * obj0 = 0 ; | |
15897 | PyObject * obj1 = 0 ; | |
15898 | PyObject * obj2 = 0 ; | |
15899 | PyObject * obj3 = 0 ; | |
15900 | PyObject * obj4 = 0 ; | |
15901 | char *kwnames[] = { | |
15902 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
15903 | }; | |
15904 | ||
15905 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
15906 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
15907 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 15908 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc | 15909 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 15910 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc | 15911 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 15912 | arg4 = (int)SWIG_As_int(obj3); |
d55e5bfc | 15913 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 15914 | arg5 = (int)SWIG_As_int(obj4); |
d55e5bfc RD |
15915 | if (PyErr_Occurred()) SWIG_fail; |
15916 | { | |
15917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15918 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
15919 | ||
15920 | wxPyEndAllowThreads(__tstate); | |
15921 | if (PyErr_Occurred()) SWIG_fail; | |
15922 | } | |
15923 | Py_INCREF(Py_None); resultobj = Py_None; | |
15924 | return resultobj; | |
15925 | fail: | |
15926 | return NULL; | |
15927 | } | |
15928 | ||
15929 | ||
c370783e | 15930 | static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15931 | PyObject *resultobj; |
15932 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15933 | int arg2 ; | |
15934 | int arg3 ; | |
15935 | int arg4 ; | |
15936 | int arg5 ; | |
15937 | int arg6 = (int) wxSIZE_AUTO ; | |
15938 | PyObject * obj0 = 0 ; | |
15939 | PyObject * obj1 = 0 ; | |
15940 | PyObject * obj2 = 0 ; | |
15941 | PyObject * obj3 = 0 ; | |
15942 | PyObject * obj4 = 0 ; | |
15943 | PyObject * obj5 = 0 ; | |
15944 | char *kwnames[] = { | |
15945 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
15946 | }; | |
15947 | ||
15948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
15949 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
15950 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 15951 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc | 15952 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 15953 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc | 15954 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 15955 | arg4 = (int)SWIG_As_int(obj3); |
d55e5bfc | 15956 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 15957 | arg5 = (int)SWIG_As_int(obj4); |
d55e5bfc RD |
15958 | if (PyErr_Occurred()) SWIG_fail; |
15959 | if (obj5) { | |
c370783e | 15960 | arg6 = (int)SWIG_As_int(obj5); |
d55e5bfc RD |
15961 | if (PyErr_Occurred()) SWIG_fail; |
15962 | } | |
15963 | { | |
15964 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15965 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
15966 | ||
15967 | wxPyEndAllowThreads(__tstate); | |
15968 | if (PyErr_Occurred()) SWIG_fail; | |
15969 | } | |
15970 | Py_INCREF(Py_None); resultobj = Py_None; | |
15971 | return resultobj; | |
15972 | fail: | |
15973 | return NULL; | |
15974 | } | |
15975 | ||
15976 | ||
c370783e | 15977 | static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15978 | PyObject *resultobj; |
15979 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15980 | int arg2 ; | |
15981 | int arg3 ; | |
15982 | PyObject * obj0 = 0 ; | |
15983 | PyObject * obj1 = 0 ; | |
15984 | PyObject * obj2 = 0 ; | |
15985 | char *kwnames[] = { | |
15986 | (char *) "self",(char *) "width",(char *) "height", NULL | |
15987 | }; | |
15988 | ||
15989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15990 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
15991 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 15992 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc | 15993 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 15994 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
15995 | if (PyErr_Occurred()) SWIG_fail; |
15996 | { | |
15997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15998 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
15999 | ||
16000 | wxPyEndAllowThreads(__tstate); | |
16001 | if (PyErr_Occurred()) SWIG_fail; | |
16002 | } | |
16003 | Py_INCREF(Py_None); resultobj = Py_None; | |
16004 | return resultobj; | |
16005 | fail: | |
16006 | return NULL; | |
16007 | } | |
16008 | ||
16009 | ||
c370783e | 16010 | static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16011 | PyObject *resultobj; |
16012 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16013 | int arg2 ; | |
16014 | int arg3 ; | |
16015 | PyObject * obj0 = 0 ; | |
16016 | PyObject * obj1 = 0 ; | |
16017 | PyObject * obj2 = 0 ; | |
16018 | char *kwnames[] = { | |
16019 | (char *) "self",(char *) "x",(char *) "y", NULL | |
16020 | }; | |
16021 | ||
16022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
16023 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16024 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 16025 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc | 16026 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 16027 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
16028 | if (PyErr_Occurred()) SWIG_fail; |
16029 | { | |
16030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16031 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
16032 | ||
16033 | wxPyEndAllowThreads(__tstate); | |
16034 | if (PyErr_Occurred()) SWIG_fail; | |
16035 | } | |
16036 | Py_INCREF(Py_None); resultobj = Py_None; | |
16037 | return resultobj; | |
16038 | fail: | |
16039 | return NULL; | |
16040 | } | |
16041 | ||
16042 | ||
c370783e | 16043 | static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16044 | PyObject *resultobj; |
16045 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16046 | int *arg2 = (int *) 0 ; | |
16047 | int *arg3 = (int *) 0 ; | |
16048 | int temp2 ; | |
c370783e | 16049 | int res2 = 0 ; |
d55e5bfc | 16050 | int temp3 ; |
c370783e | 16051 | int res3 = 0 ; |
d55e5bfc RD |
16052 | PyObject * obj0 = 0 ; |
16053 | char *kwnames[] = { | |
16054 | (char *) "self", NULL | |
16055 | }; | |
16056 | ||
c370783e RD |
16057 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
16058 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc RD |
16059 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail; |
16060 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16061 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16062 | { | |
16063 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16064 | ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3); | |
16065 | ||
16066 | wxPyEndAllowThreads(__tstate); | |
16067 | if (PyErr_Occurred()) SWIG_fail; | |
16068 | } | |
16069 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
16070 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
16071 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
16072 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
16073 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
16074 | return resultobj; |
16075 | fail: | |
16076 | return NULL; | |
16077 | } | |
16078 | ||
16079 | ||
c370783e | 16080 | static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16081 | PyObject *resultobj; |
16082 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16083 | int *arg2 = (int *) 0 ; | |
16084 | int *arg3 = (int *) 0 ; | |
16085 | int temp2 ; | |
c370783e | 16086 | int res2 = 0 ; |
d55e5bfc | 16087 | int temp3 ; |
c370783e | 16088 | int res3 = 0 ; |
d55e5bfc RD |
16089 | PyObject * obj0 = 0 ; |
16090 | char *kwnames[] = { | |
16091 | (char *) "self", NULL | |
16092 | }; | |
16093 | ||
c370783e RD |
16094 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
16095 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc RD |
16096 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail; |
16097 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16098 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16099 | { | |
16100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16101 | ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
16102 | ||
16103 | wxPyEndAllowThreads(__tstate); | |
16104 | if (PyErr_Occurred()) SWIG_fail; | |
16105 | } | |
16106 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
16107 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
16108 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
16109 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
16110 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
16111 | return resultobj; |
16112 | fail: | |
16113 | return NULL; | |
16114 | } | |
16115 | ||
16116 | ||
c370783e | 16117 | static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16118 | PyObject *resultobj; |
16119 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16120 | int *arg2 = (int *) 0 ; | |
16121 | int *arg3 = (int *) 0 ; | |
16122 | int temp2 ; | |
c370783e | 16123 | int res2 = 0 ; |
d55e5bfc | 16124 | int temp3 ; |
c370783e | 16125 | int res3 = 0 ; |
d55e5bfc RD |
16126 | PyObject * obj0 = 0 ; |
16127 | char *kwnames[] = { | |
16128 | (char *) "self", NULL | |
16129 | }; | |
16130 | ||
c370783e RD |
16131 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
16132 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc RD |
16133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail; |
16134 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16135 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16136 | { | |
16137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16138 | ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3); | |
16139 | ||
16140 | wxPyEndAllowThreads(__tstate); | |
16141 | if (PyErr_Occurred()) SWIG_fail; | |
16142 | } | |
16143 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
16144 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
16145 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
16146 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
16147 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
16148 | return resultobj; |
16149 | fail: | |
16150 | return NULL; | |
16151 | } | |
16152 | ||
16153 | ||
c370783e | 16154 | static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16155 | PyObject *resultobj; |
16156 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16157 | wxSize result; | |
16158 | PyObject * obj0 = 0 ; | |
16159 | char *kwnames[] = { | |
16160 | (char *) "self", NULL | |
16161 | }; | |
16162 | ||
16163 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
16164 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16165 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16166 | { | |
16167 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16168 | result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize(); | |
16169 | ||
16170 | wxPyEndAllowThreads(__tstate); | |
16171 | if (PyErr_Occurred()) SWIG_fail; | |
16172 | } | |
16173 | { | |
16174 | wxSize * resultptr; | |
16175 | resultptr = new wxSize((wxSize &) result); | |
16176 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
16177 | } | |
16178 | return resultobj; | |
16179 | fail: | |
16180 | return NULL; | |
16181 | } | |
16182 | ||
16183 | ||
c370783e | 16184 | static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16185 | PyObject *resultobj; |
16186 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16187 | wxSize result; | |
16188 | PyObject * obj0 = 0 ; | |
16189 | char *kwnames[] = { | |
16190 | (char *) "self", NULL | |
16191 | }; | |
16192 | ||
16193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
16194 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16195 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16196 | { | |
16197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16198 | result = ((wxPyWindow const *)arg1)->base_DoGetBestSize(); | |
16199 | ||
16200 | wxPyEndAllowThreads(__tstate); | |
16201 | if (PyErr_Occurred()) SWIG_fail; | |
16202 | } | |
16203 | { | |
16204 | wxSize * resultptr; | |
16205 | resultptr = new wxSize((wxSize &) result); | |
16206 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
16207 | } | |
16208 | return resultobj; | |
16209 | fail: | |
16210 | return NULL; | |
16211 | } | |
16212 | ||
16213 | ||
c370783e | 16214 | static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16215 | PyObject *resultobj; |
16216 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16217 | PyObject * obj0 = 0 ; | |
16218 | char *kwnames[] = { | |
16219 | (char *) "self", NULL | |
16220 | }; | |
16221 | ||
16222 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail; | |
16223 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16224 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16225 | { | |
16226 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16227 | (arg1)->base_InitDialog(); | |
16228 | ||
16229 | wxPyEndAllowThreads(__tstate); | |
16230 | if (PyErr_Occurred()) SWIG_fail; | |
16231 | } | |
16232 | Py_INCREF(Py_None); resultobj = Py_None; | |
16233 | return resultobj; | |
16234 | fail: | |
16235 | return NULL; | |
16236 | } | |
16237 | ||
16238 | ||
c370783e | 16239 | static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16240 | PyObject *resultobj; |
16241 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16242 | bool result; | |
16243 | PyObject * obj0 = 0 ; | |
16244 | char *kwnames[] = { | |
16245 | (char *) "self", NULL | |
16246 | }; | |
16247 | ||
16248 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
16249 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16250 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16251 | { | |
16252 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16253 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
16254 | ||
16255 | wxPyEndAllowThreads(__tstate); | |
16256 | if (PyErr_Occurred()) SWIG_fail; | |
16257 | } | |
16258 | { | |
16259 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16260 | } | |
16261 | return resultobj; | |
16262 | fail: | |
16263 | return NULL; | |
16264 | } | |
16265 | ||
16266 | ||
c370783e | 16267 | static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16268 | PyObject *resultobj; |
16269 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16270 | bool result; | |
16271 | PyObject * obj0 = 0 ; | |
16272 | char *kwnames[] = { | |
16273 | (char *) "self", NULL | |
16274 | }; | |
16275 | ||
16276 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
16277 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16278 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16279 | { | |
16280 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16281 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
16282 | ||
16283 | wxPyEndAllowThreads(__tstate); | |
16284 | if (PyErr_Occurred()) SWIG_fail; | |
16285 | } | |
16286 | { | |
16287 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16288 | } | |
16289 | return resultobj; | |
16290 | fail: | |
16291 | return NULL; | |
16292 | } | |
16293 | ||
16294 | ||
c370783e | 16295 | static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16296 | PyObject *resultobj; |
16297 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16298 | bool result; | |
16299 | PyObject * obj0 = 0 ; | |
16300 | char *kwnames[] = { | |
16301 | (char *) "self", NULL | |
16302 | }; | |
16303 | ||
16304 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail; | |
16305 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16306 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16307 | { | |
16308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16309 | result = (bool)(arg1)->base_Validate(); | |
16310 | ||
16311 | wxPyEndAllowThreads(__tstate); | |
16312 | if (PyErr_Occurred()) SWIG_fail; | |
16313 | } | |
16314 | { | |
16315 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16316 | } | |
16317 | return resultobj; | |
16318 | fail: | |
16319 | return NULL; | |
16320 | } | |
16321 | ||
16322 | ||
c370783e | 16323 | static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16324 | PyObject *resultobj; |
16325 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16326 | bool result; | |
16327 | PyObject * obj0 = 0 ; | |
16328 | char *kwnames[] = { | |
16329 | (char *) "self", NULL | |
16330 | }; | |
16331 | ||
16332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
16333 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16334 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16335 | { | |
16336 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16337 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus(); | |
16338 | ||
16339 | wxPyEndAllowThreads(__tstate); | |
16340 | if (PyErr_Occurred()) SWIG_fail; | |
16341 | } | |
16342 | { | |
16343 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16344 | } | |
16345 | return resultobj; | |
16346 | fail: | |
16347 | return NULL; | |
16348 | } | |
16349 | ||
16350 | ||
c370783e | 16351 | static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16352 | PyObject *resultobj; |
16353 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16354 | bool result; | |
16355 | PyObject * obj0 = 0 ; | |
16356 | char *kwnames[] = { | |
16357 | (char *) "self", NULL | |
16358 | }; | |
16359 | ||
16360 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
16361 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16362 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16363 | { | |
16364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16365 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
16366 | ||
16367 | wxPyEndAllowThreads(__tstate); | |
16368 | if (PyErr_Occurred()) SWIG_fail; | |
16369 | } | |
16370 | { | |
16371 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16372 | } | |
16373 | return resultobj; | |
16374 | fail: | |
16375 | return NULL; | |
16376 | } | |
16377 | ||
16378 | ||
c370783e | 16379 | static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16380 | PyObject *resultobj; |
16381 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16382 | wxSize result; | |
16383 | PyObject * obj0 = 0 ; | |
16384 | char *kwnames[] = { | |
16385 | (char *) "self", NULL | |
16386 | }; | |
16387 | ||
16388 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
16389 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16390 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16391 | { | |
16392 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16393 | result = ((wxPyWindow const *)arg1)->base_GetMaxSize(); | |
16394 | ||
16395 | wxPyEndAllowThreads(__tstate); | |
16396 | if (PyErr_Occurred()) SWIG_fail; | |
16397 | } | |
16398 | { | |
16399 | wxSize * resultptr; | |
16400 | resultptr = new wxSize((wxSize &) result); | |
16401 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
16402 | } | |
16403 | return resultobj; | |
16404 | fail: | |
16405 | return NULL; | |
16406 | } | |
16407 | ||
16408 | ||
c370783e | 16409 | static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16410 | PyObject *resultobj; |
16411 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16412 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16413 | PyObject * obj0 = 0 ; | |
16414 | PyObject * obj1 = 0 ; | |
16415 | char *kwnames[] = { | |
16416 | (char *) "self",(char *) "child", NULL | |
16417 | }; | |
16418 | ||
16419 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
16420 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16421 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16422 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
16423 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16424 | { | |
16425 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16426 | (arg1)->base_AddChild(arg2); | |
16427 | ||
16428 | wxPyEndAllowThreads(__tstate); | |
16429 | if (PyErr_Occurred()) SWIG_fail; | |
16430 | } | |
16431 | Py_INCREF(Py_None); resultobj = Py_None; | |
16432 | return resultobj; | |
16433 | fail: | |
16434 | return NULL; | |
16435 | } | |
16436 | ||
16437 | ||
c370783e | 16438 | static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16439 | PyObject *resultobj; |
16440 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16441 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16442 | PyObject * obj0 = 0 ; | |
16443 | PyObject * obj1 = 0 ; | |
16444 | char *kwnames[] = { | |
16445 | (char *) "self",(char *) "child", NULL | |
16446 | }; | |
16447 | ||
16448 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
16449 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16450 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16451 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
16452 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16453 | { | |
16454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16455 | (arg1)->base_RemoveChild(arg2); | |
16456 | ||
16457 | wxPyEndAllowThreads(__tstate); | |
16458 | if (PyErr_Occurred()) SWIG_fail; | |
16459 | } | |
16460 | Py_INCREF(Py_None); resultobj = Py_None; | |
16461 | return resultobj; | |
16462 | fail: | |
16463 | return NULL; | |
16464 | } | |
16465 | ||
16466 | ||
c370783e | 16467 | static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16468 | PyObject *resultobj; |
16469 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16470 | bool result; | |
16471 | PyObject * obj0 = 0 ; | |
16472 | char *kwnames[] = { | |
16473 | (char *) "self", NULL | |
16474 | }; | |
16475 | ||
16476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail; | |
16477 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16478 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16479 | { | |
16480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a5ee0656 | 16481 | result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours(); |
d55e5bfc RD |
16482 | |
16483 | wxPyEndAllowThreads(__tstate); | |
16484 | if (PyErr_Occurred()) SWIG_fail; | |
16485 | } | |
16486 | { | |
16487 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16488 | } | |
16489 | return resultobj; | |
16490 | fail: | |
16491 | return NULL; | |
16492 | } | |
16493 | ||
16494 | ||
c370783e | 16495 | static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16496 | PyObject *resultobj; |
16497 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16498 | wxColour *arg2 = 0 ; | |
16499 | wxColour temp2 ; | |
16500 | PyObject * obj0 = 0 ; | |
16501 | PyObject * obj1 = 0 ; | |
16502 | char *kwnames[] = { | |
16503 | (char *) "self",(char *) "c", NULL | |
16504 | }; | |
16505 | ||
16506 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail; | |
16507 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16508 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16509 | { | |
16510 | arg2 = &temp2; | |
16511 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
16512 | } | |
16513 | { | |
16514 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16515 | (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2); | |
16516 | ||
16517 | wxPyEndAllowThreads(__tstate); | |
16518 | if (PyErr_Occurred()) SWIG_fail; | |
16519 | } | |
16520 | Py_INCREF(Py_None); resultobj = Py_None; | |
16521 | return resultobj; | |
16522 | fail: | |
16523 | return NULL; | |
16524 | } | |
16525 | ||
16526 | ||
c370783e | 16527 | static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
a5ee0656 RD |
16528 | PyObject *resultobj; |
16529 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16530 | wxVisualAttributes result; | |
16531 | PyObject * obj0 = 0 ; | |
16532 | char *kwnames[] = { | |
16533 | (char *) "self", NULL | |
16534 | }; | |
16535 | ||
16536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail; | |
16537 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16538 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16539 | { | |
16540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16541 | result = (arg1)->base_GetDefaultAttributes(); | |
16542 | ||
16543 | wxPyEndAllowThreads(__tstate); | |
16544 | if (PyErr_Occurred()) SWIG_fail; | |
16545 | } | |
16546 | { | |
16547 | wxVisualAttributes * resultptr; | |
16548 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
16549 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
16550 | } | |
16551 | return resultobj; | |
16552 | fail: | |
16553 | return NULL; | |
16554 | } | |
16555 | ||
16556 | ||
c370783e | 16557 | static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
16558 | PyObject *obj; |
16559 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16560 | SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj); | |
16561 | Py_INCREF(obj); | |
16562 | return Py_BuildValue((char *)""); | |
16563 | } | |
c370783e | 16564 | static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16565 | PyObject *resultobj; |
16566 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 | 16567 | int arg2 = (int) (int)-1 ; |
d55e5bfc RD |
16568 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
16569 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
16570 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
16571 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
16572 | long arg5 = (long) 0 ; | |
16573 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
16574 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
16575 | wxPyPanel *result; | |
16576 | wxPoint temp3 ; | |
16577 | wxSize temp4 ; | |
b411df4a | 16578 | bool temp6 = false ; |
d55e5bfc RD |
16579 | PyObject * obj0 = 0 ; |
16580 | PyObject * obj1 = 0 ; | |
16581 | PyObject * obj2 = 0 ; | |
16582 | PyObject * obj3 = 0 ; | |
16583 | PyObject * obj4 = 0 ; | |
16584 | PyObject * obj5 = 0 ; | |
16585 | char *kwnames[] = { | |
16586 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
16587 | }; | |
16588 | ||
bfddbb17 | 16589 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d55e5bfc RD |
16590 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
16591 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
bfddbb17 | 16592 | if (obj1) { |
c370783e | 16593 | arg2 = (int)SWIG_As_int(obj1); |
bfddbb17 RD |
16594 | if (PyErr_Occurred()) SWIG_fail; |
16595 | } | |
d55e5bfc RD |
16596 | if (obj2) { |
16597 | { | |
16598 | arg3 = &temp3; | |
16599 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
16600 | } | |
16601 | } | |
16602 | if (obj3) { | |
16603 | { | |
16604 | arg4 = &temp4; | |
16605 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
16606 | } | |
16607 | } | |
16608 | if (obj4) { | |
c370783e | 16609 | arg5 = (long)SWIG_As_long(obj4); |
d55e5bfc RD |
16610 | if (PyErr_Occurred()) SWIG_fail; |
16611 | } | |
16612 | if (obj5) { | |
16613 | { | |
16614 | arg6 = wxString_in_helper(obj5); | |
16615 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 16616 | temp6 = true; |
d55e5bfc RD |
16617 | } |
16618 | } | |
16619 | { | |
0439c23b | 16620 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
16621 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
16622 | result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
16623 | ||
16624 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 16625 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
16626 | } |
16627 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1); | |
16628 | { | |
16629 | if (temp6) | |
16630 | delete arg6; | |
16631 | } | |
16632 | return resultobj; | |
16633 | fail: | |
16634 | { | |
16635 | if (temp6) | |
16636 | delete arg6; | |
16637 | } | |
16638 | return NULL; | |
16639 | } | |
16640 | ||
16641 | ||
c370783e | 16642 | static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16643 | PyObject *resultobj; |
16644 | wxPyPanel *result; | |
16645 | char *kwnames[] = { | |
16646 | NULL | |
16647 | }; | |
16648 | ||
16649 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail; | |
16650 | { | |
0439c23b | 16651 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
16652 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
16653 | result = (wxPyPanel *)new wxPyPanel(); | |
16654 | ||
16655 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 16656 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
16657 | } |
16658 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1); | |
16659 | return resultobj; | |
16660 | fail: | |
16661 | return NULL; | |
16662 | } | |
16663 | ||
16664 | ||
c370783e | 16665 | static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16666 | PyObject *resultobj; |
16667 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16668 | PyObject *arg2 = (PyObject *) 0 ; | |
16669 | PyObject *arg3 = (PyObject *) 0 ; | |
16670 | PyObject * obj0 = 0 ; | |
16671 | PyObject * obj1 = 0 ; | |
16672 | PyObject * obj2 = 0 ; | |
16673 | char *kwnames[] = { | |
16674 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
16675 | }; | |
16676 | ||
16677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
16678 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
16679 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16680 | arg2 = obj1; | |
16681 | arg3 = obj2; | |
16682 | { | |
16683 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16684 | (arg1)->_setCallbackInfo(arg2,arg3); | |
16685 | ||
16686 | wxPyEndAllowThreads(__tstate); | |
16687 | if (PyErr_Occurred()) SWIG_fail; | |
16688 | } | |
16689 | Py_INCREF(Py_None); resultobj = Py_None; | |
16690 | return resultobj; | |
16691 | fail: | |
16692 | return NULL; | |
16693 | } | |
16694 | ||
16695 | ||
c370783e | 16696 | static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
a5ee0656 RD |
16697 | PyObject *resultobj; |
16698 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16699 | wxSize *arg2 = 0 ; | |
16700 | wxSize temp2 ; | |
16701 | PyObject * obj0 = 0 ; | |
16702 | PyObject * obj1 = 0 ; | |
16703 | char *kwnames[] = { | |
16704 | (char *) "self",(char *) "size", NULL | |
16705 | }; | |
16706 | ||
16707 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail; | |
16708 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
16709 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16710 | { | |
16711 | arg2 = &temp2; | |
16712 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
16713 | } | |
16714 | { | |
16715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16716 | (arg1)->SetBestSize((wxSize const &)*arg2); | |
16717 | ||
16718 | wxPyEndAllowThreads(__tstate); | |
16719 | if (PyErr_Occurred()) SWIG_fail; | |
16720 | } | |
16721 | Py_INCREF(Py_None); resultobj = Py_None; | |
16722 | return resultobj; | |
16723 | fail: | |
16724 | return NULL; | |
16725 | } | |
16726 | ||
16727 | ||
c370783e | 16728 | static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16729 | PyObject *resultobj; |
16730 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16731 | int arg2 ; | |
16732 | int arg3 ; | |
16733 | int arg4 ; | |
16734 | int arg5 ; | |
16735 | PyObject * obj0 = 0 ; | |
16736 | PyObject * obj1 = 0 ; | |
16737 | PyObject * obj2 = 0 ; | |
16738 | PyObject * obj3 = 0 ; | |
16739 | PyObject * obj4 = 0 ; | |
16740 | char *kwnames[] = { | |
16741 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
16742 | }; | |
16743 | ||
16744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
16745 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
16746 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 16747 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc | 16748 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 16749 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc | 16750 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 16751 | arg4 = (int)SWIG_As_int(obj3); |
d55e5bfc | 16752 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 16753 | arg5 = (int)SWIG_As_int(obj4); |
d55e5bfc RD |
16754 | if (PyErr_Occurred()) SWIG_fail; |
16755 | { | |
16756 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16757 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
16758 | ||
16759 | wxPyEndAllowThreads(__tstate); | |
16760 | if (PyErr_Occurred()) SWIG_fail; | |
16761 | } | |
16762 | Py_INCREF(Py_None); resultobj = Py_None; | |
16763 | return resultobj; | |
16764 | fail: | |
16765 | return NULL; | |
16766 | } | |
16767 | ||
16768 | ||
c370783e | 16769 | static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16770 | PyObject *resultobj; |
16771 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16772 | int arg2 ; | |
16773 | int arg3 ; | |
16774 | int arg4 ; | |
16775 | int arg5 ; | |
16776 | int arg6 = (int) wxSIZE_AUTO ; | |
16777 | PyObject * obj0 = 0 ; | |
16778 | PyObject * obj1 = 0 ; | |
16779 | PyObject * obj2 = 0 ; | |
16780 | PyObject * obj3 = 0 ; | |
16781 | PyObject * obj4 = 0 ; | |
16782 | PyObject * obj5 = 0 ; | |
16783 | char *kwnames[] = { | |
16784 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
16785 | }; | |
16786 | ||
16787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
16788 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
16789 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 16790 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc | 16791 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 16792 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc | 16793 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 16794 | arg4 = (int)SWIG_As_int(obj3); |
d55e5bfc | 16795 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 16796 | arg5 = (int)SWIG_As_int(obj4); |
d55e5bfc RD |
16797 | if (PyErr_Occurred()) SWIG_fail; |
16798 | if (obj5) { | |
c370783e | 16799 | arg6 = (int)SWIG_As_int(obj5); |
d55e5bfc RD |
16800 | if (PyErr_Occurred()) SWIG_fail; |
16801 | } | |
16802 | { | |
16803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16804 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
16805 | ||
16806 | wxPyEndAllowThreads(__tstate); | |
16807 | if (PyErr_Occurred()) SWIG_fail; | |
16808 | } | |
16809 | Py_INCREF(Py_None); resultobj = Py_None; | |
16810 | return resultobj; | |
16811 | fail: | |
16812 | return NULL; | |
16813 | } | |
16814 | ||
16815 | ||
c370783e | 16816 | static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16817 | PyObject *resultobj; |
16818 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16819 | int arg2 ; | |
16820 | int arg3 ; | |
16821 | PyObject * obj0 = 0 ; | |
16822 | PyObject * obj1 = 0 ; | |
16823 | PyObject * obj2 = 0 ; | |
16824 | char *kwnames[] = { | |
16825 | (char *) "self",(char *) "width",(char *) "height", NULL | |
16826 | }; | |
16827 | ||
16828 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
16829 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
16830 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 16831 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc | 16832 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 16833 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
16834 | if (PyErr_Occurred()) SWIG_fail; |
16835 | { | |
16836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16837 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
16838 | ||
16839 | wxPyEndAllowThreads(__tstate); | |
16840 | if (PyErr_Occurred()) SWIG_fail; | |
16841 | } | |
16842 | Py_INCREF(Py_None); resultobj = Py_None; | |
16843 | return resultobj; | |
16844 | fail: | |
16845 | return NULL; | |
16846 | } | |
16847 | ||
16848 | ||
c370783e | 16849 | static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16850 | PyObject *resultobj; |
16851 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16852 | int arg2 ; | |
16853 | int arg3 ; | |
16854 | PyObject * obj0 = 0 ; | |
16855 | PyObject * obj1 = 0 ; | |
16856 | PyObject * obj2 = 0 ; | |
16857 | char *kwnames[] = { | |
16858 | (char *) "self",(char *) "x",(char *) "y", NULL | |
16859 | }; | |
16860 | ||
16861 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
16862 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
16863 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 16864 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc | 16865 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 16866 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
16867 | if (PyErr_Occurred()) SWIG_fail; |
16868 | { | |
16869 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16870 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
16871 | ||
16872 | wxPyEndAllowThreads(__tstate); | |
16873 | if (PyErr_Occurred()) SWIG_fail; | |
16874 | } | |
16875 | Py_INCREF(Py_None); resultobj = Py_None; | |
16876 | return resultobj; | |
16877 | fail: | |
16878 | return NULL; | |
16879 | } | |
16880 | ||
16881 | ||
c370783e | 16882 | static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16883 | PyObject *resultobj; |
16884 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16885 | int *arg2 = (int *) 0 ; | |
16886 | int *arg3 = (int *) 0 ; | |
16887 | int temp2 ; | |
c370783e | 16888 | int res2 = 0 ; |
d55e5bfc | 16889 | int temp3 ; |
c370783e | 16890 | int res3 = 0 ; |
d55e5bfc RD |
16891 | PyObject * obj0 = 0 ; |
16892 | char *kwnames[] = { | |
16893 | (char *) "self", NULL | |
16894 | }; | |
16895 | ||
c370783e RD |
16896 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
16897 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc RD |
16898 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail; |
16899 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
16900 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16901 | { | |
16902 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16903 | ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3); | |
16904 | ||
16905 | wxPyEndAllowThreads(__tstate); | |
16906 | if (PyErr_Occurred()) SWIG_fail; | |
16907 | } | |
16908 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
16909 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
16910 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
16911 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
16912 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
16913 | return resultobj; |
16914 | fail: | |
16915 | return NULL; | |
16916 | } | |
16917 | ||
16918 | ||
c370783e | 16919 | static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16920 | PyObject *resultobj; |
16921 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16922 | int *arg2 = (int *) 0 ; | |
16923 | int *arg3 = (int *) 0 ; | |
16924 | int temp2 ; | |
c370783e | 16925 | int res2 = 0 ; |
d55e5bfc | 16926 | int temp3 ; |
c370783e | 16927 | int res3 = 0 ; |
d55e5bfc RD |
16928 | PyObject * obj0 = 0 ; |
16929 | char *kwnames[] = { | |
16930 | (char *) "self", NULL | |
16931 | }; | |
16932 | ||
c370783e RD |
16933 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
16934 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc RD |
16935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail; |
16936 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
16937 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16938 | { | |
16939 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16940 | ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
16941 | ||
16942 | wxPyEndAllowThreads(__tstate); | |
16943 | if (PyErr_Occurred()) SWIG_fail; | |
16944 | } | |
16945 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
16946 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
16947 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
16948 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
16949 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
16950 | return resultobj; |
16951 | fail: | |
16952 | return NULL; | |
16953 | } | |
16954 | ||
16955 | ||
c370783e | 16956 | static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16957 | PyObject *resultobj; |
16958 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16959 | int *arg2 = (int *) 0 ; | |
16960 | int *arg3 = (int *) 0 ; | |
16961 | int temp2 ; | |
c370783e | 16962 | int res2 = 0 ; |
d55e5bfc | 16963 | int temp3 ; |
c370783e | 16964 | int res3 = 0 ; |
d55e5bfc RD |
16965 | PyObject * obj0 = 0 ; |
16966 | char *kwnames[] = { | |
16967 | (char *) "self", NULL | |
16968 | }; | |
16969 | ||
c370783e RD |
16970 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
16971 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc RD |
16972 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail; |
16973 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
16974 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16975 | { | |
16976 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16977 | ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3); | |
16978 | ||
16979 | wxPyEndAllowThreads(__tstate); | |
16980 | if (PyErr_Occurred()) SWIG_fail; | |
16981 | } | |
16982 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
16983 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
16984 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
16985 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
16986 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
16987 | return resultobj; |
16988 | fail: | |
16989 | return NULL; | |
16990 | } | |
16991 | ||
16992 | ||
c370783e | 16993 | static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16994 | PyObject *resultobj; |
16995 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16996 | wxSize result; | |
16997 | PyObject * obj0 = 0 ; | |
16998 | char *kwnames[] = { | |
16999 | (char *) "self", NULL | |
17000 | }; | |
17001 | ||
17002 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
17003 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
17004 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17005 | { | |
17006 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17007 | result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize(); | |
17008 | ||
17009 | wxPyEndAllowThreads(__tstate); | |
17010 | if (PyErr_Occurred()) SWIG_fail; | |
17011 | } | |
17012 | { | |
17013 | wxSize * resultptr; | |
17014 | resultptr = new wxSize((wxSize &) result); | |
17015 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
17016 | } | |
17017 | return resultobj; | |
17018 | fail: | |
17019 | return NULL; | |
17020 | } | |
17021 | ||
17022 | ||
c370783e | 17023 | static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17024 | PyObject *resultobj; |
17025 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17026 | wxSize result; | |
17027 | PyObject * obj0 = 0 ; | |
17028 | char *kwnames[] = { | |
17029 | (char *) "self", NULL | |
17030 | }; | |
17031 | ||
17032 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
17033 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
17034 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17035 | { | |
17036 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17037 | result = ((wxPyPanel const *)arg1)->base_DoGetBestSize(); | |
17038 | ||
17039 | wxPyEndAllowThreads(__tstate); | |
17040 | if (PyErr_Occurred()) SWIG_fail; | |
17041 | } | |
17042 | { | |
17043 | wxSize * resultptr; | |
17044 | resultptr = new wxSize((wxSize &) result); | |
17045 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
17046 | } | |
17047 | return resultobj; | |
17048 | fail: | |
17049 | return NULL; | |
17050 | } | |
17051 | ||
17052 | ||
c370783e | 17053 | static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17054 | PyObject *resultobj; |
17055 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17056 | PyObject * obj0 = 0 ; | |
17057 | char *kwnames[] = { | |
17058 | (char *) "self", NULL | |
17059 | }; | |
17060 | ||
17061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail; | |
17062 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
17063 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17064 | { | |
17065 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17066 | (arg1)->base_InitDialog(); | |
17067 | ||
17068 | wxPyEndAllowThreads(__tstate); | |
17069 | if (PyErr_Occurred()) SWIG_fail; | |
17070 | } | |
17071 | Py_INCREF(Py_None); resultobj = Py_None; | |
17072 | return resultobj; | |
17073 | fail: | |
17074 | return NULL; | |
17075 | } | |
17076 | ||
17077 | ||
c370783e | 17078 | static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17079 | PyObject *resultobj; |
17080 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17081 | bool result; | |
17082 | PyObject * obj0 = 0 ; | |
17083 | char *kwnames[] = { | |
17084 | (char *) "self", NULL | |
17085 | }; | |
17086 | ||
17087 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
17088 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
17089 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17090 | { | |
17091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17092 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
17093 | ||
17094 | wxPyEndAllowThreads(__tstate); | |
17095 | if (PyErr_Occurred()) SWIG_fail; | |
17096 | } | |
17097 | { | |
17098 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17099 | } | |
17100 | return resultobj; | |
17101 | fail: | |
17102 | return NULL; | |
17103 | } | |
17104 | ||
17105 | ||
c370783e | 17106 | static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17107 | PyObject *resultobj; |
17108 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17109 | bool result; | |
17110 | PyObject * obj0 = 0 ; | |
17111 | char *kwnames[] = { | |
17112 | (char *) "self", NULL | |
17113 | }; | |
17114 | ||
17115 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
17116 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
17117 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17118 | { | |
17119 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17120 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
17121 | ||
17122 | wxPyEndAllowThreads(__tstate); | |
17123 | if (PyErr_Occurred()) SWIG_fail; | |
17124 | } | |
17125 | { | |
17126 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17127 | } | |
17128 | return resultobj; | |
17129 | fail: | |
17130 | return NULL; | |
17131 | } | |
17132 | ||
17133 | ||
c370783e | 17134 | static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17135 | PyObject *resultobj; |
17136 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17137 | bool result; | |
17138 | PyObject * obj0 = 0 ; | |
17139 | char *kwnames[] = { | |
17140 | (char *) "self", NULL | |
17141 | }; | |
17142 | ||
17143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail; | |
17144 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
17145 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17146 | { | |
17147 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17148 | result = (bool)(arg1)->base_Validate(); | |
17149 | ||
17150 | wxPyEndAllowThreads(__tstate); | |
17151 | if (PyErr_Occurred()) SWIG_fail; | |
17152 | } | |
17153 | { | |
17154 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17155 | } | |
17156 | return resultobj; | |
17157 | fail: | |
17158 | return NULL; | |
17159 | } | |
17160 | ||
17161 | ||
c370783e | 17162 | static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17163 | PyObject *resultobj; |
17164 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17165 | bool result; | |
17166 | PyObject * obj0 = 0 ; | |
17167 | char *kwnames[] = { | |
17168 | (char *) "self", NULL | |
17169 | }; | |
17170 | ||
17171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
17172 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
17173 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17174 | { | |
17175 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17176 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus(); | |
17177 | ||
17178 | wxPyEndAllowThreads(__tstate); | |
17179 | if (PyErr_Occurred()) SWIG_fail; | |
17180 | } | |
17181 | { | |
17182 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17183 | } | |
17184 | return resultobj; | |
17185 | fail: | |
17186 | return NULL; | |
17187 | } | |
17188 | ||
17189 | ||
c370783e | 17190 | static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17191 | PyObject *resultobj; |
17192 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17193 | bool result; | |
17194 | PyObject * obj0 = 0 ; | |
17195 | char *kwnames[] = { | |
17196 | (char *) "self", NULL | |
17197 | }; | |
17198 | ||
17199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
17200 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
17201 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17202 | { | |
17203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17204 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
17205 | ||
17206 | wxPyEndAllowThreads(__tstate); | |
17207 | if (PyErr_Occurred()) SWIG_fail; | |
17208 | } | |
17209 | { | |
17210 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17211 | } | |
17212 | return resultobj; | |
17213 | fail: | |
17214 | return NULL; | |
17215 | } | |
17216 | ||
17217 | ||
c370783e | 17218 | static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17219 | PyObject *resultobj; |
17220 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17221 | wxSize result; | |
17222 | PyObject * obj0 = 0 ; | |
17223 | char *kwnames[] = { | |
17224 | (char *) "self", NULL | |
17225 | }; | |
17226 | ||
17227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
17228 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
17229 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17230 | { | |
17231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17232 | result = ((wxPyPanel const *)arg1)->base_GetMaxSize(); | |
17233 | ||
17234 | wxPyEndAllowThreads(__tstate); | |
17235 | if (PyErr_Occurred()) SWIG_fail; | |
17236 | } | |
17237 | { | |
17238 | wxSize * resultptr; | |
17239 | resultptr = new wxSize((wxSize &) result); | |
17240 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
17241 | } | |
17242 | return resultobj; | |
17243 | fail: | |
17244 | return NULL; | |
17245 | } | |
17246 | ||
17247 | ||
c370783e | 17248 | static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17249 | PyObject *resultobj; |
17250 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17251 | wxWindow *arg2 = (wxWindow *) 0 ; | |
17252 | PyObject * obj0 = 0 ; | |
17253 | PyObject * obj1 = 0 ; | |
17254 | char *kwnames[] = { | |
17255 | (char *) "self",(char *) "child", NULL | |
17256 | }; | |
17257 | ||
17258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
17259 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
17260 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17261 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
17262 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17263 | { | |
17264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17265 | (arg1)->base_AddChild(arg2); | |
17266 | ||
17267 | wxPyEndAllowThreads(__tstate); | |
17268 | if (PyErr_Occurred()) SWIG_fail; | |
17269 | } | |
17270 | Py_INCREF(Py_None); resultobj = Py_None; | |
17271 | return resultobj; | |
17272 | fail: | |
17273 | return NULL; | |
17274 | } | |
17275 | ||
17276 | ||
c370783e | 17277 | static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17278 | PyObject *resultobj; |
17279 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17280 | wxWindow *arg2 = (wxWindow *) 0 ; | |
17281 | PyObject * obj0 = 0 ; | |
17282 | PyObject * obj1 = 0 ; | |
17283 | char *kwnames[] = { | |
17284 | (char *) "self",(char *) "child", NULL | |
17285 | }; | |
17286 | ||
17287 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
17288 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
17289 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17290 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
17291 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17292 | { | |
17293 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17294 | (arg1)->base_RemoveChild(arg2); | |
17295 | ||
17296 | wxPyEndAllowThreads(__tstate); | |
17297 | if (PyErr_Occurred()) SWIG_fail; | |
17298 | } | |
17299 | Py_INCREF(Py_None); resultobj = Py_None; | |
17300 | return resultobj; | |
17301 | fail: | |
17302 | return NULL; | |
17303 | } | |
17304 | ||
17305 | ||
c370783e | 17306 | static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17307 | PyObject *resultobj; |
17308 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17309 | bool result; | |
17310 | PyObject * obj0 = 0 ; | |
17311 | char *kwnames[] = { | |
17312 | (char *) "self", NULL | |
17313 | }; | |
17314 | ||
17315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail; | |
17316 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
17317 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17318 | { | |
17319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a5ee0656 | 17320 | result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours(); |
d55e5bfc RD |
17321 | |
17322 | wxPyEndAllowThreads(__tstate); | |
17323 | if (PyErr_Occurred()) SWIG_fail; | |
17324 | } | |
17325 | { | |
17326 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17327 | } | |
17328 | return resultobj; | |
17329 | fail: | |
17330 | return NULL; | |
17331 | } | |
17332 | ||
17333 | ||
c370783e | 17334 | static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17335 | PyObject *resultobj; |
17336 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17337 | wxColour *arg2 = 0 ; | |
17338 | wxColour temp2 ; | |
17339 | PyObject * obj0 = 0 ; | |
17340 | PyObject * obj1 = 0 ; | |
17341 | char *kwnames[] = { | |
17342 | (char *) "self",(char *) "c", NULL | |
17343 | }; | |
17344 | ||
17345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail; | |
17346 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
17347 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17348 | { | |
17349 | arg2 = &temp2; | |
17350 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
17351 | } | |
17352 | { | |
17353 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17354 | (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2); | |
17355 | ||
17356 | wxPyEndAllowThreads(__tstate); | |
17357 | if (PyErr_Occurred()) SWIG_fail; | |
17358 | } | |
17359 | Py_INCREF(Py_None); resultobj = Py_None; | |
17360 | return resultobj; | |
17361 | fail: | |
17362 | return NULL; | |
17363 | } | |
17364 | ||
17365 | ||
c370783e | 17366 | static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
a5ee0656 RD |
17367 | PyObject *resultobj; |
17368 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17369 | wxVisualAttributes result; | |
17370 | PyObject * obj0 = 0 ; | |
17371 | char *kwnames[] = { | |
17372 | (char *) "self", NULL | |
17373 | }; | |
17374 | ||
17375 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail; | |
17376 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
17377 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17378 | { | |
17379 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17380 | result = (arg1)->base_GetDefaultAttributes(); | |
17381 | ||
17382 | wxPyEndAllowThreads(__tstate); | |
17383 | if (PyErr_Occurred()) SWIG_fail; | |
17384 | } | |
17385 | { | |
17386 | wxVisualAttributes * resultptr; | |
17387 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
17388 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
17389 | } | |
17390 | return resultobj; | |
17391 | fail: | |
17392 | return NULL; | |
17393 | } | |
17394 | ||
17395 | ||
c370783e | 17396 | static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
17397 | PyObject *obj; |
17398 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17399 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj); | |
17400 | Py_INCREF(obj); | |
17401 | return Py_BuildValue((char *)""); | |
17402 | } | |
c370783e | 17403 | static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17404 | PyObject *resultobj; |
17405 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 | 17406 | int arg2 = (int) (int)-1 ; |
d55e5bfc RD |
17407 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
17408 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
17409 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
17410 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
17411 | long arg5 = (long) 0 ; | |
17412 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
17413 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
17414 | wxPyScrolledWindow *result; | |
17415 | wxPoint temp3 ; | |
17416 | wxSize temp4 ; | |
b411df4a | 17417 | bool temp6 = false ; |
d55e5bfc RD |
17418 | PyObject * obj0 = 0 ; |
17419 | PyObject * obj1 = 0 ; | |
17420 | PyObject * obj2 = 0 ; | |
17421 | PyObject * obj3 = 0 ; | |
17422 | PyObject * obj4 = 0 ; | |
17423 | PyObject * obj5 = 0 ; | |
17424 | char *kwnames[] = { | |
17425 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
17426 | }; | |
17427 | ||
bfddbb17 | 17428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d55e5bfc RD |
17429 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
17430 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
bfddbb17 | 17431 | if (obj1) { |
c370783e | 17432 | arg2 = (int)SWIG_As_int(obj1); |
bfddbb17 RD |
17433 | if (PyErr_Occurred()) SWIG_fail; |
17434 | } | |
d55e5bfc RD |
17435 | if (obj2) { |
17436 | { | |
17437 | arg3 = &temp3; | |
17438 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
17439 | } | |
17440 | } | |
17441 | if (obj3) { | |
17442 | { | |
17443 | arg4 = &temp4; | |
17444 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
17445 | } | |
17446 | } | |
17447 | if (obj4) { | |
c370783e | 17448 | arg5 = (long)SWIG_As_long(obj4); |
d55e5bfc RD |
17449 | if (PyErr_Occurred()) SWIG_fail; |
17450 | } | |
17451 | if (obj5) { | |
17452 | { | |
17453 | arg6 = wxString_in_helper(obj5); | |
17454 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 17455 | temp6 = true; |
d55e5bfc RD |
17456 | } |
17457 | } | |
17458 | { | |
0439c23b | 17459 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
17460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17461 | result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
17462 | ||
17463 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17464 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
17465 | } |
17466 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1); | |
17467 | { | |
17468 | if (temp6) | |
17469 | delete arg6; | |
17470 | } | |
17471 | return resultobj; | |
17472 | fail: | |
17473 | { | |
17474 | if (temp6) | |
17475 | delete arg6; | |
17476 | } | |
17477 | return NULL; | |
17478 | } | |
17479 | ||
17480 | ||
c370783e | 17481 | static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17482 | PyObject *resultobj; |
17483 | wxPyScrolledWindow *result; | |
17484 | char *kwnames[] = { | |
17485 | NULL | |
17486 | }; | |
17487 | ||
17488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail; | |
17489 | { | |
0439c23b | 17490 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
17491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17492 | result = (wxPyScrolledWindow *)new wxPyScrolledWindow(); | |
17493 | ||
17494 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17495 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
17496 | } |
17497 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1); | |
17498 | return resultobj; | |
17499 | fail: | |
17500 | return NULL; | |
17501 | } | |
17502 | ||
17503 | ||
c370783e | 17504 | static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17505 | PyObject *resultobj; |
17506 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17507 | PyObject *arg2 = (PyObject *) 0 ; | |
17508 | PyObject *arg3 = (PyObject *) 0 ; | |
17509 | PyObject * obj0 = 0 ; | |
17510 | PyObject * obj1 = 0 ; | |
17511 | PyObject * obj2 = 0 ; | |
17512 | char *kwnames[] = { | |
17513 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
17514 | }; | |
17515 | ||
17516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
17517 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17518 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17519 | arg2 = obj1; | |
17520 | arg3 = obj2; | |
17521 | { | |
17522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17523 | (arg1)->_setCallbackInfo(arg2,arg3); | |
17524 | ||
17525 | wxPyEndAllowThreads(__tstate); | |
17526 | if (PyErr_Occurred()) SWIG_fail; | |
17527 | } | |
17528 | Py_INCREF(Py_None); resultobj = Py_None; | |
17529 | return resultobj; | |
17530 | fail: | |
17531 | return NULL; | |
17532 | } | |
17533 | ||
17534 | ||
c370783e | 17535 | static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
a5ee0656 RD |
17536 | PyObject *resultobj; |
17537 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17538 | wxSize *arg2 = 0 ; | |
17539 | wxSize temp2 ; | |
17540 | PyObject * obj0 = 0 ; | |
17541 | PyObject * obj1 = 0 ; | |
17542 | char *kwnames[] = { | |
17543 | (char *) "self",(char *) "size", NULL | |
17544 | }; | |
17545 | ||
17546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail; | |
17547 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17548 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17549 | { | |
17550 | arg2 = &temp2; | |
17551 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
17552 | } | |
17553 | { | |
17554 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17555 | (arg1)->SetBestSize((wxSize const &)*arg2); | |
17556 | ||
17557 | wxPyEndAllowThreads(__tstate); | |
17558 | if (PyErr_Occurred()) SWIG_fail; | |
17559 | } | |
17560 | Py_INCREF(Py_None); resultobj = Py_None; | |
17561 | return resultobj; | |
17562 | fail: | |
17563 | return NULL; | |
17564 | } | |
17565 | ||
17566 | ||
c370783e | 17567 | static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17568 | PyObject *resultobj; |
17569 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17570 | int arg2 ; | |
17571 | int arg3 ; | |
17572 | int arg4 ; | |
17573 | int arg5 ; | |
17574 | PyObject * obj0 = 0 ; | |
17575 | PyObject * obj1 = 0 ; | |
17576 | PyObject * obj2 = 0 ; | |
17577 | PyObject * obj3 = 0 ; | |
17578 | PyObject * obj4 = 0 ; | |
17579 | char *kwnames[] = { | |
17580 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
17581 | }; | |
17582 | ||
17583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
17584 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17585 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 17586 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc | 17587 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 17588 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc | 17589 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 17590 | arg4 = (int)SWIG_As_int(obj3); |
d55e5bfc | 17591 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 17592 | arg5 = (int)SWIG_As_int(obj4); |
d55e5bfc RD |
17593 | if (PyErr_Occurred()) SWIG_fail; |
17594 | { | |
17595 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17596 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
17597 | ||
17598 | wxPyEndAllowThreads(__tstate); | |
17599 | if (PyErr_Occurred()) SWIG_fail; | |
17600 | } | |
17601 | Py_INCREF(Py_None); resultobj = Py_None; | |
17602 | return resultobj; | |
17603 | fail: | |
17604 | return NULL; | |
17605 | } | |
17606 | ||
17607 | ||
c370783e | 17608 | static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17609 | PyObject *resultobj; |
17610 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17611 | int arg2 ; | |
17612 | int arg3 ; | |
17613 | int arg4 ; | |
17614 | int arg5 ; | |
17615 | int arg6 = (int) wxSIZE_AUTO ; | |
17616 | PyObject * obj0 = 0 ; | |
17617 | PyObject * obj1 = 0 ; | |
17618 | PyObject * obj2 = 0 ; | |
17619 | PyObject * obj3 = 0 ; | |
17620 | PyObject * obj4 = 0 ; | |
17621 | PyObject * obj5 = 0 ; | |
17622 | char *kwnames[] = { | |
17623 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
17624 | }; | |
17625 | ||
17626 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
17627 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17628 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 17629 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc | 17630 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 17631 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc | 17632 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 17633 | arg4 = (int)SWIG_As_int(obj3); |
d55e5bfc | 17634 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 17635 | arg5 = (int)SWIG_As_int(obj4); |
d55e5bfc RD |
17636 | if (PyErr_Occurred()) SWIG_fail; |
17637 | if (obj5) { | |
c370783e | 17638 | arg6 = (int)SWIG_As_int(obj5); |
d55e5bfc RD |
17639 | if (PyErr_Occurred()) SWIG_fail; |
17640 | } | |
17641 | { | |
17642 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17643 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
17644 | ||
17645 | wxPyEndAllowThreads(__tstate); | |
17646 | if (PyErr_Occurred()) SWIG_fail; | |
17647 | } | |
17648 | Py_INCREF(Py_None); resultobj = Py_None; | |
17649 | return resultobj; | |
17650 | fail: | |
17651 | return NULL; | |
17652 | } | |
17653 | ||
17654 | ||
c370783e | 17655 | static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17656 | PyObject *resultobj; |
17657 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17658 | int arg2 ; | |
17659 | int arg3 ; | |
17660 | PyObject * obj0 = 0 ; | |
17661 | PyObject * obj1 = 0 ; | |
17662 | PyObject * obj2 = 0 ; | |
17663 | char *kwnames[] = { | |
17664 | (char *) "self",(char *) "width",(char *) "height", NULL | |
17665 | }; | |
17666 | ||
17667 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
17668 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17669 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 17670 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc | 17671 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 17672 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
17673 | if (PyErr_Occurred()) SWIG_fail; |
17674 | { | |
17675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17676 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
17677 | ||
17678 | wxPyEndAllowThreads(__tstate); | |
17679 | if (PyErr_Occurred()) SWIG_fail; | |
17680 | } | |
17681 | Py_INCREF(Py_None); resultobj = Py_None; | |
17682 | return resultobj; | |
17683 | fail: | |
17684 | return NULL; | |
17685 | } | |
17686 | ||
17687 | ||
c370783e | 17688 | static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17689 | PyObject *resultobj; |
17690 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17691 | int arg2 ; | |
17692 | int arg3 ; | |
17693 | PyObject * obj0 = 0 ; | |
17694 | PyObject * obj1 = 0 ; | |
17695 | PyObject * obj2 = 0 ; | |
17696 | char *kwnames[] = { | |
17697 | (char *) "self",(char *) "x",(char *) "y", NULL | |
17698 | }; | |
17699 | ||
17700 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
17701 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17702 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 17703 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc | 17704 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 17705 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
17706 | if (PyErr_Occurred()) SWIG_fail; |
17707 | { | |
17708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17709 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
17710 | ||
17711 | wxPyEndAllowThreads(__tstate); | |
17712 | if (PyErr_Occurred()) SWIG_fail; | |
17713 | } | |
17714 | Py_INCREF(Py_None); resultobj = Py_None; | |
17715 | return resultobj; | |
17716 | fail: | |
17717 | return NULL; | |
17718 | } | |
17719 | ||
17720 | ||
c370783e | 17721 | static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17722 | PyObject *resultobj; |
17723 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17724 | int *arg2 = (int *) 0 ; | |
17725 | int *arg3 = (int *) 0 ; | |
17726 | int temp2 ; | |
c370783e | 17727 | int res2 = 0 ; |
d55e5bfc | 17728 | int temp3 ; |
c370783e | 17729 | int res3 = 0 ; |
d55e5bfc RD |
17730 | PyObject * obj0 = 0 ; |
17731 | char *kwnames[] = { | |
17732 | (char *) "self", NULL | |
17733 | }; | |
17734 | ||
c370783e RD |
17735 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
17736 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc RD |
17737 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail; |
17738 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17739 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17740 | { | |
17741 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17742 | ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3); | |
17743 | ||
17744 | wxPyEndAllowThreads(__tstate); | |
17745 | if (PyErr_Occurred()) SWIG_fail; | |
17746 | } | |
17747 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
17748 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
17749 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
17750 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
17751 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
17752 | return resultobj; |
17753 | fail: | |
17754 | return NULL; | |
17755 | } | |
17756 | ||
17757 | ||
c370783e | 17758 | static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17759 | PyObject *resultobj; |
17760 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17761 | int *arg2 = (int *) 0 ; | |
17762 | int *arg3 = (int *) 0 ; | |
17763 | int temp2 ; | |
c370783e | 17764 | int res2 = 0 ; |
d55e5bfc | 17765 | int temp3 ; |
c370783e | 17766 | int res3 = 0 ; |
d55e5bfc RD |
17767 | PyObject * obj0 = 0 ; |
17768 | char *kwnames[] = { | |
17769 | (char *) "self", NULL | |
17770 | }; | |
17771 | ||
c370783e RD |
17772 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
17773 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc RD |
17774 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail; |
17775 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17776 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17777 | { | |
17778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17779 | ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
17780 | ||
17781 | wxPyEndAllowThreads(__tstate); | |
17782 | if (PyErr_Occurred()) SWIG_fail; | |
17783 | } | |
17784 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
17785 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
17786 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
17787 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
17788 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
17789 | return resultobj; |
17790 | fail: | |
17791 | return NULL; | |
17792 | } | |
17793 | ||
17794 | ||
c370783e | 17795 | static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17796 | PyObject *resultobj; |
17797 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17798 | int *arg2 = (int *) 0 ; | |
17799 | int *arg3 = (int *) 0 ; | |
17800 | int temp2 ; | |
c370783e | 17801 | int res2 = 0 ; |
d55e5bfc | 17802 | int temp3 ; |
c370783e | 17803 | int res3 = 0 ; |
d55e5bfc RD |
17804 | PyObject * obj0 = 0 ; |
17805 | char *kwnames[] = { | |
17806 | (char *) "self", NULL | |
17807 | }; | |
17808 | ||
c370783e RD |
17809 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
17810 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc RD |
17811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail; |
17812 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17813 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17814 | { | |
17815 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17816 | ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3); | |
17817 | ||
17818 | wxPyEndAllowThreads(__tstate); | |
17819 | if (PyErr_Occurred()) SWIG_fail; | |
17820 | } | |
17821 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
17822 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
17823 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
17824 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
17825 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
17826 | return resultobj; |
17827 | fail: | |
17828 | return NULL; | |
17829 | } | |
17830 | ||
17831 | ||
c370783e | 17832 | static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17833 | PyObject *resultobj; |
17834 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17835 | wxSize result; | |
17836 | PyObject * obj0 = 0 ; | |
17837 | char *kwnames[] = { | |
17838 | (char *) "self", NULL | |
17839 | }; | |
17840 | ||
17841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
17842 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17843 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17844 | { | |
17845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17846 | result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize(); | |
17847 | ||
17848 | wxPyEndAllowThreads(__tstate); | |
17849 | if (PyErr_Occurred()) SWIG_fail; | |
17850 | } | |
17851 | { | |
17852 | wxSize * resultptr; | |
17853 | resultptr = new wxSize((wxSize &) result); | |
17854 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
17855 | } | |
17856 | return resultobj; | |
17857 | fail: | |
17858 | return NULL; | |
17859 | } | |
17860 | ||
17861 | ||
c370783e | 17862 | static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17863 | PyObject *resultobj; |
17864 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17865 | wxSize result; | |
17866 | PyObject * obj0 = 0 ; | |
17867 | char *kwnames[] = { | |
17868 | (char *) "self", NULL | |
17869 | }; | |
17870 | ||
17871 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
17872 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17873 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17874 | { | |
17875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17876 | result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize(); | |
17877 | ||
17878 | wxPyEndAllowThreads(__tstate); | |
17879 | if (PyErr_Occurred()) SWIG_fail; | |
17880 | } | |
17881 | { | |
17882 | wxSize * resultptr; | |
17883 | resultptr = new wxSize((wxSize &) result); | |
17884 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
17885 | } | |
17886 | return resultobj; | |
17887 | fail: | |
17888 | return NULL; | |
17889 | } | |
17890 | ||
17891 | ||
c370783e | 17892 | static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17893 | PyObject *resultobj; |
17894 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17895 | PyObject * obj0 = 0 ; | |
17896 | char *kwnames[] = { | |
17897 | (char *) "self", NULL | |
17898 | }; | |
17899 | ||
17900 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail; | |
17901 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17902 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17903 | { | |
17904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17905 | (arg1)->base_InitDialog(); | |
17906 | ||
17907 | wxPyEndAllowThreads(__tstate); | |
17908 | if (PyErr_Occurred()) SWIG_fail; | |
17909 | } | |
17910 | Py_INCREF(Py_None); resultobj = Py_None; | |
17911 | return resultobj; | |
17912 | fail: | |
17913 | return NULL; | |
17914 | } | |
17915 | ||
17916 | ||
c370783e | 17917 | static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17918 | PyObject *resultobj; |
17919 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17920 | bool result; | |
17921 | PyObject * obj0 = 0 ; | |
17922 | char *kwnames[] = { | |
17923 | (char *) "self", NULL | |
17924 | }; | |
17925 | ||
17926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
17927 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17928 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17929 | { | |
17930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17931 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
17932 | ||
17933 | wxPyEndAllowThreads(__tstate); | |
17934 | if (PyErr_Occurred()) SWIG_fail; | |
17935 | } | |
17936 | { | |
17937 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17938 | } | |
17939 | return resultobj; | |
17940 | fail: | |
17941 | return NULL; | |
17942 | } | |
17943 | ||
17944 | ||
c370783e | 17945 | static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17946 | PyObject *resultobj; |
17947 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17948 | bool result; | |
17949 | PyObject * obj0 = 0 ; | |
17950 | char *kwnames[] = { | |
17951 | (char *) "self", NULL | |
17952 | }; | |
17953 | ||
17954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
17955 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17956 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17957 | { | |
17958 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17959 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
17960 | ||
17961 | wxPyEndAllowThreads(__tstate); | |
17962 | if (PyErr_Occurred()) SWIG_fail; | |
17963 | } | |
17964 | { | |
17965 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17966 | } | |
17967 | return resultobj; | |
17968 | fail: | |
17969 | return NULL; | |
17970 | } | |
17971 | ||
17972 | ||
c370783e | 17973 | static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17974 | PyObject *resultobj; |
17975 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17976 | bool result; | |
17977 | PyObject * obj0 = 0 ; | |
17978 | char *kwnames[] = { | |
17979 | (char *) "self", NULL | |
17980 | }; | |
17981 | ||
17982 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail; | |
17983 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17984 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17985 | { | |
17986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17987 | result = (bool)(arg1)->base_Validate(); | |
17988 | ||
17989 | wxPyEndAllowThreads(__tstate); | |
17990 | if (PyErr_Occurred()) SWIG_fail; | |
17991 | } | |
17992 | { | |
17993 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17994 | } | |
17995 | return resultobj; | |
17996 | fail: | |
17997 | return NULL; | |
17998 | } | |
17999 | ||
18000 | ||
c370783e | 18001 | static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18002 | PyObject *resultobj; |
18003 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
18004 | bool result; | |
18005 | PyObject * obj0 = 0 ; | |
18006 | char *kwnames[] = { | |
18007 | (char *) "self", NULL | |
18008 | }; | |
18009 | ||
18010 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
18011 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
18012 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18013 | { | |
18014 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18015 | result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus(); | |
18016 | ||
18017 | wxPyEndAllowThreads(__tstate); | |
18018 | if (PyErr_Occurred()) SWIG_fail; | |
18019 | } | |
18020 | { | |
18021 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18022 | } | |
18023 | return resultobj; | |
18024 | fail: | |
18025 | return NULL; | |
18026 | } | |
18027 | ||
18028 | ||
c370783e | 18029 | static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18030 | PyObject *resultobj; |
18031 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
18032 | bool result; | |
18033 | PyObject * obj0 = 0 ; | |
18034 | char *kwnames[] = { | |
18035 | (char *) "self", NULL | |
18036 | }; | |
18037 | ||
18038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
18039 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
18040 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18041 | { | |
18042 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18043 | result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
18044 | ||
18045 | wxPyEndAllowThreads(__tstate); | |
18046 | if (PyErr_Occurred()) SWIG_fail; | |
18047 | } | |
18048 | { | |
18049 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18050 | } | |
18051 | return resultobj; | |
18052 | fail: | |
18053 | return NULL; | |
18054 | } | |
18055 | ||
18056 | ||
c370783e | 18057 | static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18058 | PyObject *resultobj; |
18059 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
18060 | wxSize result; | |
18061 | PyObject * obj0 = 0 ; | |
18062 | char *kwnames[] = { | |
18063 | (char *) "self", NULL | |
18064 | }; | |
18065 | ||
18066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
18067 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
18068 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18069 | { | |
18070 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18071 | result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize(); | |
18072 | ||
18073 | wxPyEndAllowThreads(__tstate); | |
18074 | if (PyErr_Occurred()) SWIG_fail; | |
18075 | } | |
18076 | { | |
18077 | wxSize * resultptr; | |
18078 | resultptr = new wxSize((wxSize &) result); | |
18079 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
18080 | } | |
18081 | return resultobj; | |
18082 | fail: | |
18083 | return NULL; | |
18084 | } | |
18085 | ||
18086 | ||
c370783e | 18087 | static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18088 | PyObject *resultobj; |
18089 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
18090 | wxWindow *arg2 = (wxWindow *) 0 ; | |
18091 | PyObject * obj0 = 0 ; | |
18092 | PyObject * obj1 = 0 ; | |
18093 | char *kwnames[] = { | |
18094 | (char *) "self",(char *) "child", NULL | |
18095 | }; | |
18096 | ||
18097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
18098 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
18099 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18100 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
18101 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18102 | { | |
18103 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18104 | (arg1)->base_AddChild(arg2); | |
18105 | ||
18106 | wxPyEndAllowThreads(__tstate); | |
18107 | if (PyErr_Occurred()) SWIG_fail; | |
18108 | } | |
18109 | Py_INCREF(Py_None); resultobj = Py_None; | |
18110 | return resultobj; | |
18111 | fail: | |
18112 | return NULL; | |
18113 | } | |
18114 | ||
18115 | ||
c370783e | 18116 | static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18117 | PyObject *resultobj; |
18118 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
18119 | wxWindow *arg2 = (wxWindow *) 0 ; | |
18120 | PyObject * obj0 = 0 ; | |
18121 | PyObject * obj1 = 0 ; | |
18122 | char *kwnames[] = { | |
18123 | (char *) "self",(char *) "child", NULL | |
18124 | }; | |
18125 | ||
18126 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
18127 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
18128 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18129 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
18130 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18131 | { | |
18132 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18133 | (arg1)->base_RemoveChild(arg2); | |
18134 | ||
18135 | wxPyEndAllowThreads(__tstate); | |
18136 | if (PyErr_Occurred()) SWIG_fail; | |
18137 | } | |
18138 | Py_INCREF(Py_None); resultobj = Py_None; | |
18139 | return resultobj; | |
18140 | fail: | |
18141 | return NULL; | |
18142 | } | |
18143 | ||
18144 | ||
c370783e | 18145 | static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18146 | PyObject *resultobj; |
18147 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
18148 | bool result; | |
18149 | PyObject * obj0 = 0 ; | |
18150 | char *kwnames[] = { | |
18151 | (char *) "self", NULL | |
18152 | }; | |
18153 | ||
18154 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail; | |
18155 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
18156 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18157 | { | |
18158 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a5ee0656 | 18159 | result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours(); |
d55e5bfc RD |
18160 | |
18161 | wxPyEndAllowThreads(__tstate); | |
18162 | if (PyErr_Occurred()) SWIG_fail; | |
18163 | } | |
18164 | { | |
18165 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18166 | } | |
18167 | return resultobj; | |
18168 | fail: | |
18169 | return NULL; | |
18170 | } | |
18171 | ||
18172 | ||
c370783e | 18173 | static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18174 | PyObject *resultobj; |
18175 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
18176 | wxColour *arg2 = 0 ; | |
18177 | wxColour temp2 ; | |
18178 | PyObject * obj0 = 0 ; | |
18179 | PyObject * obj1 = 0 ; | |
18180 | char *kwnames[] = { | |
18181 | (char *) "self",(char *) "c", NULL | |
18182 | }; | |
18183 | ||
18184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail; | |
18185 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
18186 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18187 | { | |
18188 | arg2 = &temp2; | |
18189 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
18190 | } | |
18191 | { | |
18192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18193 | (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2); | |
18194 | ||
18195 | wxPyEndAllowThreads(__tstate); | |
18196 | if (PyErr_Occurred()) SWIG_fail; | |
18197 | } | |
18198 | Py_INCREF(Py_None); resultobj = Py_None; | |
18199 | return resultobj; | |
18200 | fail: | |
18201 | return NULL; | |
18202 | } | |
18203 | ||
18204 | ||
c370783e | 18205 | static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
a5ee0656 RD |
18206 | PyObject *resultobj; |
18207 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
18208 | wxVisualAttributes result; | |
18209 | PyObject * obj0 = 0 ; | |
18210 | char *kwnames[] = { | |
18211 | (char *) "self", NULL | |
18212 | }; | |
18213 | ||
18214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail; | |
18215 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
18216 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18217 | { | |
18218 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18219 | result = (arg1)->base_GetDefaultAttributes(); | |
18220 | ||
18221 | wxPyEndAllowThreads(__tstate); | |
18222 | if (PyErr_Occurred()) SWIG_fail; | |
18223 | } | |
18224 | { | |
18225 | wxVisualAttributes * resultptr; | |
18226 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
18227 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
18228 | } | |
18229 | return resultobj; | |
18230 | fail: | |
18231 | return NULL; | |
18232 | } | |
18233 | ||
18234 | ||
c370783e | 18235 | static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
18236 | PyObject *obj; |
18237 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
18238 | SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj); | |
18239 | Py_INCREF(obj); | |
18240 | return Py_BuildValue((char *)""); | |
18241 | } | |
c370783e | 18242 | static int _wrap_PrintoutTitleStr_set(PyObject *) { |
d55e5bfc RD |
18243 | PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only."); |
18244 | return 1; | |
18245 | } | |
18246 | ||
18247 | ||
18248 | static PyObject *_wrap_PrintoutTitleStr_get() { | |
18249 | PyObject *pyobj; | |
18250 | ||
18251 | { | |
18252 | #if wxUSE_UNICODE | |
18253 | pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
18254 | #else | |
18255 | pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
18256 | #endif | |
18257 | } | |
18258 | return pyobj; | |
18259 | } | |
18260 | ||
18261 | ||
c370783e | 18262 | static int _wrap_PreviewCanvasNameStr_set(PyObject *) { |
d55e5bfc RD |
18263 | PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only."); |
18264 | return 1; | |
18265 | } | |
18266 | ||
18267 | ||
18268 | static PyObject *_wrap_PreviewCanvasNameStr_get() { | |
18269 | PyObject *pyobj; | |
18270 | ||
18271 | { | |
18272 | #if wxUSE_UNICODE | |
18273 | pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
18274 | #else | |
18275 | pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
18276 | #endif | |
18277 | } | |
18278 | return pyobj; | |
18279 | } | |
18280 | ||
18281 | ||
c370783e | 18282 | static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
18283 | PyObject *resultobj; |
18284 | wxPrintData *result; | |
d55e5bfc | 18285 | |
09c21d3b | 18286 | if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail; |
d55e5bfc RD |
18287 | { |
18288 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18289 | result = (wxPrintData *)new wxPrintData(); | |
18290 | ||
18291 | wxPyEndAllowThreads(__tstate); | |
18292 | if (PyErr_Occurred()) SWIG_fail; | |
18293 | } | |
18294 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1); | |
18295 | return resultobj; | |
18296 | fail: | |
18297 | return NULL; | |
18298 | } | |
18299 | ||
18300 | ||
c370783e | 18301 | static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) { |
09c21d3b RD |
18302 | PyObject *resultobj; |
18303 | wxPrintData *arg1 = 0 ; | |
18304 | wxPrintData *result; | |
18305 | PyObject * obj0 = 0 ; | |
18306 | ||
18307 | if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail; | |
18308 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18309 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
18310 | SWIG_fail; | |
18311 | if (arg1 == NULL) { | |
18312 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
18313 | SWIG_fail; | |
18314 | } | |
18315 | { | |
18316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18317 | result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1); | |
18318 | ||
18319 | wxPyEndAllowThreads(__tstate); | |
18320 | if (PyErr_Occurred()) SWIG_fail; | |
18321 | } | |
18322 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1); | |
18323 | return resultobj; | |
18324 | fail: | |
18325 | return NULL; | |
18326 | } | |
18327 | ||
18328 | ||
18329 | static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) { | |
18330 | int argc; | |
18331 | PyObject *argv[2]; | |
18332 | int ii; | |
18333 | ||
18334 | argc = PyObject_Length(args); | |
18335 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
18336 | argv[ii] = PyTuple_GetItem(args,ii); | |
18337 | } | |
18338 | if (argc == 0) { | |
18339 | return _wrap_new_PrintData__SWIG_0(self,args); | |
18340 | } | |
18341 | if (argc == 1) { | |
18342 | int _v; | |
18343 | { | |
18344 | void *ptr; | |
18345 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
18346 | _v = 0; | |
18347 | PyErr_Clear(); | |
18348 | } else { | |
18349 | _v = 1; | |
18350 | } | |
18351 | } | |
18352 | if (_v) { | |
18353 | return _wrap_new_PrintData__SWIG_1(self,args); | |
18354 | } | |
18355 | } | |
18356 | ||
18357 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintData'"); | |
18358 | return NULL; | |
18359 | } | |
18360 | ||
18361 | ||
c370783e | 18362 | static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18363 | PyObject *resultobj; |
18364 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18365 | PyObject * obj0 = 0 ; | |
18366 | char *kwnames[] = { | |
18367 | (char *) "self", NULL | |
18368 | }; | |
18369 | ||
18370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail; | |
18371 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18372 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18373 | { | |
18374 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18375 | delete arg1; | |
18376 | ||
18377 | wxPyEndAllowThreads(__tstate); | |
18378 | if (PyErr_Occurred()) SWIG_fail; | |
18379 | } | |
18380 | Py_INCREF(Py_None); resultobj = Py_None; | |
18381 | return resultobj; | |
18382 | fail: | |
18383 | return NULL; | |
18384 | } | |
18385 | ||
18386 | ||
c370783e | 18387 | static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18388 | PyObject *resultobj; |
18389 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18390 | int result; | |
18391 | PyObject * obj0 = 0 ; | |
18392 | char *kwnames[] = { | |
18393 | (char *) "self", NULL | |
18394 | }; | |
18395 | ||
18396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail; | |
18397 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18398 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18399 | { | |
18400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18401 | result = (int)(arg1)->GetNoCopies(); | |
18402 | ||
18403 | wxPyEndAllowThreads(__tstate); | |
18404 | if (PyErr_Occurred()) SWIG_fail; | |
18405 | } | |
c370783e | 18406 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
18407 | return resultobj; |
18408 | fail: | |
18409 | return NULL; | |
18410 | } | |
18411 | ||
18412 | ||
c370783e | 18413 | static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18414 | PyObject *resultobj; |
18415 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18416 | bool result; | |
18417 | PyObject * obj0 = 0 ; | |
18418 | char *kwnames[] = { | |
18419 | (char *) "self", NULL | |
18420 | }; | |
18421 | ||
18422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail; | |
18423 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18424 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18425 | { | |
18426 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18427 | result = (bool)(arg1)->GetCollate(); | |
18428 | ||
18429 | wxPyEndAllowThreads(__tstate); | |
18430 | if (PyErr_Occurred()) SWIG_fail; | |
18431 | } | |
18432 | { | |
18433 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18434 | } | |
18435 | return resultobj; | |
18436 | fail: | |
18437 | return NULL; | |
18438 | } | |
18439 | ||
18440 | ||
c370783e | 18441 | static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18442 | PyObject *resultobj; |
18443 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18444 | int result; | |
18445 | PyObject * obj0 = 0 ; | |
18446 | char *kwnames[] = { | |
18447 | (char *) "self", NULL | |
18448 | }; | |
18449 | ||
18450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail; | |
18451 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18452 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18453 | { | |
18454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18455 | result = (int)(arg1)->GetOrientation(); | |
18456 | ||
18457 | wxPyEndAllowThreads(__tstate); | |
18458 | if (PyErr_Occurred()) SWIG_fail; | |
18459 | } | |
c370783e | 18460 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
18461 | return resultobj; |
18462 | fail: | |
18463 | return NULL; | |
18464 | } | |
18465 | ||
18466 | ||
c370783e | 18467 | static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18468 | PyObject *resultobj; |
18469 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18470 | bool result; | |
18471 | PyObject * obj0 = 0 ; | |
18472 | char *kwnames[] = { | |
18473 | (char *) "self", NULL | |
18474 | }; | |
18475 | ||
18476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail; | |
18477 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18478 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18479 | { | |
18480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18481 | result = (bool)(arg1)->Ok(); | |
18482 | ||
18483 | wxPyEndAllowThreads(__tstate); | |
18484 | if (PyErr_Occurred()) SWIG_fail; | |
18485 | } | |
18486 | { | |
18487 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18488 | } | |
18489 | return resultobj; | |
18490 | fail: | |
18491 | return NULL; | |
18492 | } | |
18493 | ||
18494 | ||
c370783e | 18495 | static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18496 | PyObject *resultobj; |
18497 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18498 | wxString *result; | |
18499 | PyObject * obj0 = 0 ; | |
18500 | char *kwnames[] = { | |
18501 | (char *) "self", NULL | |
18502 | }; | |
18503 | ||
18504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail; | |
18505 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18506 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18507 | { | |
18508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18509 | { | |
18510 | wxString const &_result_ref = (arg1)->GetPrinterName(); | |
18511 | result = (wxString *) &_result_ref; | |
18512 | } | |
18513 | ||
18514 | wxPyEndAllowThreads(__tstate); | |
18515 | if (PyErr_Occurred()) SWIG_fail; | |
18516 | } | |
18517 | { | |
18518 | #if wxUSE_UNICODE | |
18519 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
18520 | #else | |
18521 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
18522 | #endif | |
18523 | } | |
18524 | return resultobj; | |
18525 | fail: | |
18526 | return NULL; | |
18527 | } | |
18528 | ||
18529 | ||
c370783e | 18530 | static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18531 | PyObject *resultobj; |
18532 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18533 | bool result; | |
18534 | PyObject * obj0 = 0 ; | |
18535 | char *kwnames[] = { | |
18536 | (char *) "self", NULL | |
18537 | }; | |
18538 | ||
18539 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail; | |
18540 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18541 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18542 | { | |
18543 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18544 | result = (bool)(arg1)->GetColour(); | |
18545 | ||
18546 | wxPyEndAllowThreads(__tstate); | |
18547 | if (PyErr_Occurred()) SWIG_fail; | |
18548 | } | |
18549 | { | |
18550 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18551 | } | |
18552 | return resultobj; | |
18553 | fail: | |
18554 | return NULL; | |
18555 | } | |
18556 | ||
18557 | ||
c370783e | 18558 | static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18559 | PyObject *resultobj; |
18560 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18561 | int result; | |
18562 | PyObject * obj0 = 0 ; | |
18563 | char *kwnames[] = { | |
18564 | (char *) "self", NULL | |
18565 | }; | |
18566 | ||
18567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail; | |
18568 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18569 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18570 | { | |
18571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18572 | result = (int)(arg1)->GetDuplex(); | |
18573 | ||
18574 | wxPyEndAllowThreads(__tstate); | |
18575 | if (PyErr_Occurred()) SWIG_fail; | |
18576 | } | |
c370783e | 18577 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
18578 | return resultobj; |
18579 | fail: | |
18580 | return NULL; | |
18581 | } | |
18582 | ||
18583 | ||
c370783e | 18584 | static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18585 | PyObject *resultobj; |
18586 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18587 | int result; | |
18588 | PyObject * obj0 = 0 ; | |
18589 | char *kwnames[] = { | |
18590 | (char *) "self", NULL | |
18591 | }; | |
18592 | ||
18593 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail; | |
18594 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18595 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18596 | { | |
18597 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18598 | result = (int)(arg1)->GetPaperId(); | |
18599 | ||
18600 | wxPyEndAllowThreads(__tstate); | |
18601 | if (PyErr_Occurred()) SWIG_fail; | |
18602 | } | |
c370783e | 18603 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
18604 | return resultobj; |
18605 | fail: | |
18606 | return NULL; | |
18607 | } | |
18608 | ||
18609 | ||
c370783e | 18610 | static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18611 | PyObject *resultobj; |
18612 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18613 | wxSize *result; | |
18614 | PyObject * obj0 = 0 ; | |
18615 | char *kwnames[] = { | |
18616 | (char *) "self", NULL | |
18617 | }; | |
18618 | ||
18619 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail; | |
18620 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18621 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18622 | { | |
18623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18624 | { | |
18625 | wxSize const &_result_ref = (arg1)->GetPaperSize(); | |
18626 | result = (wxSize *) &_result_ref; | |
18627 | } | |
18628 | ||
18629 | wxPyEndAllowThreads(__tstate); | |
18630 | if (PyErr_Occurred()) SWIG_fail; | |
18631 | } | |
18632 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0); | |
18633 | return resultobj; | |
18634 | fail: | |
18635 | return NULL; | |
18636 | } | |
18637 | ||
18638 | ||
c370783e | 18639 | static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18640 | PyObject *resultobj; |
18641 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18642 | int result; | |
18643 | PyObject * obj0 = 0 ; | |
18644 | char *kwnames[] = { | |
18645 | (char *) "self", NULL | |
18646 | }; | |
18647 | ||
18648 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail; | |
18649 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18650 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18651 | { | |
18652 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18653 | result = (int)(arg1)->GetQuality(); | |
18654 | ||
18655 | wxPyEndAllowThreads(__tstate); | |
18656 | if (PyErr_Occurred()) SWIG_fail; | |
18657 | } | |
c370783e | 18658 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
18659 | return resultobj; |
18660 | fail: | |
18661 | return NULL; | |
18662 | } | |
18663 | ||
18664 | ||
b411df4a RD |
18665 | static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) { |
18666 | PyObject *resultobj; | |
18667 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18668 | int result; | |
18669 | PyObject * obj0 = 0 ; | |
18670 | char *kwnames[] = { | |
18671 | (char *) "self", NULL | |
18672 | }; | |
18673 | ||
18674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail; | |
18675 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18676 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18677 | { | |
18678 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18679 | result = (int)(arg1)->GetBin(); | |
18680 | ||
18681 | wxPyEndAllowThreads(__tstate); | |
18682 | if (PyErr_Occurred()) SWIG_fail; | |
18683 | } | |
18684 | resultobj = SWIG_From_int((int)result); | |
18685 | return resultobj; | |
18686 | fail: | |
18687 | return NULL; | |
18688 | } | |
18689 | ||
18690 | ||
070c48b4 RD |
18691 | static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) { |
18692 | PyObject *resultobj; | |
18693 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18694 | int result; | |
18695 | PyObject * obj0 = 0 ; | |
18696 | char *kwnames[] = { | |
18697 | (char *) "self", NULL | |
18698 | }; | |
18699 | ||
18700 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail; | |
18701 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18702 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18703 | { | |
18704 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18705 | result = (int)((wxPrintData const *)arg1)->GetPrintMode(); | |
18706 | ||
18707 | wxPyEndAllowThreads(__tstate); | |
18708 | if (PyErr_Occurred()) SWIG_fail; | |
18709 | } | |
18710 | resultobj = SWIG_From_int((int)result); | |
18711 | return resultobj; | |
18712 | fail: | |
18713 | return NULL; | |
18714 | } | |
18715 | ||
18716 | ||
c370783e | 18717 | static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18718 | PyObject *resultobj; |
18719 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18720 | int arg2 ; | |
18721 | PyObject * obj0 = 0 ; | |
18722 | PyObject * obj1 = 0 ; | |
18723 | char *kwnames[] = { | |
18724 | (char *) "self",(char *) "v", NULL | |
18725 | }; | |
18726 | ||
18727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; | |
18728 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18729 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 18730 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
18731 | if (PyErr_Occurred()) SWIG_fail; |
18732 | { | |
18733 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18734 | (arg1)->SetNoCopies(arg2); | |
18735 | ||
18736 | wxPyEndAllowThreads(__tstate); | |
18737 | if (PyErr_Occurred()) SWIG_fail; | |
18738 | } | |
18739 | Py_INCREF(Py_None); resultobj = Py_None; | |
18740 | return resultobj; | |
18741 | fail: | |
18742 | return NULL; | |
18743 | } | |
18744 | ||
18745 | ||
c370783e | 18746 | static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18747 | PyObject *resultobj; |
18748 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18749 | bool arg2 ; | |
18750 | PyObject * obj0 = 0 ; | |
18751 | PyObject * obj1 = 0 ; | |
18752 | char *kwnames[] = { | |
18753 | (char *) "self",(char *) "flag", NULL | |
18754 | }; | |
18755 | ||
18756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
18757 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18758 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 18759 | arg2 = (bool)SWIG_As_bool(obj1); |
d55e5bfc RD |
18760 | if (PyErr_Occurred()) SWIG_fail; |
18761 | { | |
18762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18763 | (arg1)->SetCollate(arg2); | |
18764 | ||
18765 | wxPyEndAllowThreads(__tstate); | |
18766 | if (PyErr_Occurred()) SWIG_fail; | |
18767 | } | |
18768 | Py_INCREF(Py_None); resultobj = Py_None; | |
18769 | return resultobj; | |
18770 | fail: | |
18771 | return NULL; | |
18772 | } | |
18773 | ||
18774 | ||
c370783e | 18775 | static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18776 | PyObject *resultobj; |
18777 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18778 | int arg2 ; | |
18779 | PyObject * obj0 = 0 ; | |
18780 | PyObject * obj1 = 0 ; | |
18781 | char *kwnames[] = { | |
18782 | (char *) "self",(char *) "orient", NULL | |
18783 | }; | |
18784 | ||
18785 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail; | |
18786 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18787 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 18788 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
18789 | if (PyErr_Occurred()) SWIG_fail; |
18790 | { | |
18791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18792 | (arg1)->SetOrientation(arg2); | |
18793 | ||
18794 | wxPyEndAllowThreads(__tstate); | |
18795 | if (PyErr_Occurred()) SWIG_fail; | |
18796 | } | |
18797 | Py_INCREF(Py_None); resultobj = Py_None; | |
18798 | return resultobj; | |
18799 | fail: | |
18800 | return NULL; | |
18801 | } | |
18802 | ||
18803 | ||
c370783e | 18804 | static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18805 | PyObject *resultobj; |
18806 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18807 | wxString *arg2 = 0 ; | |
b411df4a | 18808 | bool temp2 = false ; |
d55e5bfc RD |
18809 | PyObject * obj0 = 0 ; |
18810 | PyObject * obj1 = 0 ; | |
18811 | char *kwnames[] = { | |
18812 | (char *) "self",(char *) "name", NULL | |
18813 | }; | |
18814 | ||
18815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail; | |
18816 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18817 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18818 | { | |
18819 | arg2 = wxString_in_helper(obj1); | |
18820 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 18821 | temp2 = true; |
d55e5bfc RD |
18822 | } |
18823 | { | |
18824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18825 | (arg1)->SetPrinterName((wxString const &)*arg2); | |
18826 | ||
18827 | wxPyEndAllowThreads(__tstate); | |
18828 | if (PyErr_Occurred()) SWIG_fail; | |
18829 | } | |
18830 | Py_INCREF(Py_None); resultobj = Py_None; | |
18831 | { | |
18832 | if (temp2) | |
18833 | delete arg2; | |
18834 | } | |
18835 | return resultobj; | |
18836 | fail: | |
18837 | { | |
18838 | if (temp2) | |
18839 | delete arg2; | |
18840 | } | |
18841 | return NULL; | |
18842 | } | |
18843 | ||
18844 | ||
c370783e | 18845 | static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18846 | PyObject *resultobj; |
18847 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18848 | bool arg2 ; | |
18849 | PyObject * obj0 = 0 ; | |
18850 | PyObject * obj1 = 0 ; | |
18851 | char *kwnames[] = { | |
18852 | (char *) "self",(char *) "colour", NULL | |
18853 | }; | |
18854 | ||
18855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
18856 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18857 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 18858 | arg2 = (bool)SWIG_As_bool(obj1); |
d55e5bfc RD |
18859 | if (PyErr_Occurred()) SWIG_fail; |
18860 | { | |
18861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18862 | (arg1)->SetColour(arg2); | |
18863 | ||
18864 | wxPyEndAllowThreads(__tstate); | |
18865 | if (PyErr_Occurred()) SWIG_fail; | |
18866 | } | |
18867 | Py_INCREF(Py_None); resultobj = Py_None; | |
18868 | return resultobj; | |
18869 | fail: | |
18870 | return NULL; | |
18871 | } | |
18872 | ||
18873 | ||
c370783e | 18874 | static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18875 | PyObject *resultobj; |
18876 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18877 | int arg2 ; | |
18878 | PyObject * obj0 = 0 ; | |
18879 | PyObject * obj1 = 0 ; | |
18880 | char *kwnames[] = { | |
18881 | (char *) "self",(char *) "duplex", NULL | |
18882 | }; | |
18883 | ||
18884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail; | |
18885 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18886 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 18887 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
18888 | if (PyErr_Occurred()) SWIG_fail; |
18889 | { | |
18890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18891 | (arg1)->SetDuplex((wxDuplexMode )arg2); | |
18892 | ||
18893 | wxPyEndAllowThreads(__tstate); | |
18894 | if (PyErr_Occurred()) SWIG_fail; | |
18895 | } | |
18896 | Py_INCREF(Py_None); resultobj = Py_None; | |
18897 | return resultobj; | |
18898 | fail: | |
18899 | return NULL; | |
18900 | } | |
18901 | ||
18902 | ||
c370783e | 18903 | static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18904 | PyObject *resultobj; |
18905 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18906 | int arg2 ; | |
18907 | PyObject * obj0 = 0 ; | |
18908 | PyObject * obj1 = 0 ; | |
18909 | char *kwnames[] = { | |
18910 | (char *) "self",(char *) "sizeId", NULL | |
18911 | }; | |
18912 | ||
18913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; | |
18914 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18915 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 18916 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
18917 | if (PyErr_Occurred()) SWIG_fail; |
18918 | { | |
18919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18920 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
18921 | ||
18922 | wxPyEndAllowThreads(__tstate); | |
18923 | if (PyErr_Occurred()) SWIG_fail; | |
18924 | } | |
18925 | Py_INCREF(Py_None); resultobj = Py_None; | |
18926 | return resultobj; | |
18927 | fail: | |
18928 | return NULL; | |
18929 | } | |
18930 | ||
18931 | ||
c370783e | 18932 | static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18933 | PyObject *resultobj; |
18934 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18935 | wxSize *arg2 = 0 ; | |
18936 | wxSize temp2 ; | |
18937 | PyObject * obj0 = 0 ; | |
18938 | PyObject * obj1 = 0 ; | |
18939 | char *kwnames[] = { | |
18940 | (char *) "self",(char *) "sz", NULL | |
18941 | }; | |
18942 | ||
18943 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
18944 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18945 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18946 | { | |
18947 | arg2 = &temp2; | |
18948 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
18949 | } | |
18950 | { | |
18951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18952 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
18953 | ||
18954 | wxPyEndAllowThreads(__tstate); | |
18955 | if (PyErr_Occurred()) SWIG_fail; | |
18956 | } | |
18957 | Py_INCREF(Py_None); resultobj = Py_None; | |
18958 | return resultobj; | |
18959 | fail: | |
18960 | return NULL; | |
18961 | } | |
18962 | ||
18963 | ||
c370783e | 18964 | static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18965 | PyObject *resultobj; |
18966 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18967 | int arg2 ; | |
18968 | PyObject * obj0 = 0 ; | |
18969 | PyObject * obj1 = 0 ; | |
18970 | char *kwnames[] = { | |
18971 | (char *) "self",(char *) "quality", NULL | |
18972 | }; | |
18973 | ||
18974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail; | |
18975 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18976 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 18977 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
18978 | if (PyErr_Occurred()) SWIG_fail; |
18979 | { | |
18980 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18981 | (arg1)->SetQuality(arg2); | |
18982 | ||
18983 | wxPyEndAllowThreads(__tstate); | |
18984 | if (PyErr_Occurred()) SWIG_fail; | |
18985 | } | |
18986 | Py_INCREF(Py_None); resultobj = Py_None; | |
18987 | return resultobj; | |
18988 | fail: | |
18989 | return NULL; | |
18990 | } | |
18991 | ||
18992 | ||
b411df4a RD |
18993 | static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) { |
18994 | PyObject *resultobj; | |
18995 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18996 | int arg2 ; | |
18997 | PyObject * obj0 = 0 ; | |
18998 | PyObject * obj1 = 0 ; | |
18999 | char *kwnames[] = { | |
19000 | (char *) "self",(char *) "bin", NULL | |
19001 | }; | |
19002 | ||
19003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail; | |
19004 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19005 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19006 | arg2 = (int)SWIG_As_int(obj1); | |
19007 | if (PyErr_Occurred()) SWIG_fail; | |
19008 | { | |
19009 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19010 | (arg1)->SetBin((wxPrintBin )arg2); | |
19011 | ||
19012 | wxPyEndAllowThreads(__tstate); | |
19013 | if (PyErr_Occurred()) SWIG_fail; | |
19014 | } | |
19015 | Py_INCREF(Py_None); resultobj = Py_None; | |
19016 | return resultobj; | |
19017 | fail: | |
19018 | return NULL; | |
19019 | } | |
19020 | ||
19021 | ||
070c48b4 | 19022 | static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19023 | PyObject *resultobj; |
19024 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
070c48b4 RD |
19025 | int arg2 ; |
19026 | PyObject * obj0 = 0 ; | |
19027 | PyObject * obj1 = 0 ; | |
19028 | char *kwnames[] = { | |
19029 | (char *) "self",(char *) "printMode", NULL | |
19030 | }; | |
19031 | ||
19032 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail; | |
19033 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19034 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19035 | arg2 = (int)SWIG_As_int(obj1); | |
19036 | if (PyErr_Occurred()) SWIG_fail; | |
19037 | { | |
19038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19039 | (arg1)->SetPrintMode((wxPrintMode )arg2); | |
19040 | ||
19041 | wxPyEndAllowThreads(__tstate); | |
19042 | if (PyErr_Occurred()) SWIG_fail; | |
19043 | } | |
19044 | Py_INCREF(Py_None); resultobj = Py_None; | |
19045 | return resultobj; | |
19046 | fail: | |
19047 | return NULL; | |
19048 | } | |
19049 | ||
19050 | ||
19051 | static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) { | |
19052 | PyObject *resultobj; | |
19053 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19054 | wxString result; | |
d55e5bfc RD |
19055 | PyObject * obj0 = 0 ; |
19056 | char *kwnames[] = { | |
19057 | (char *) "self", NULL | |
19058 | }; | |
19059 | ||
070c48b4 | 19060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail; |
d55e5bfc RD |
19061 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19062 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19063 | { | |
19064 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 | 19065 | result = ((wxPrintData const *)arg1)->GetFilename(); |
d55e5bfc RD |
19066 | |
19067 | wxPyEndAllowThreads(__tstate); | |
19068 | if (PyErr_Occurred()) SWIG_fail; | |
19069 | } | |
19070 | { | |
19071 | #if wxUSE_UNICODE | |
070c48b4 | 19072 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d55e5bfc | 19073 | #else |
070c48b4 | 19074 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d55e5bfc RD |
19075 | #endif |
19076 | } | |
19077 | return resultobj; | |
19078 | fail: | |
19079 | return NULL; | |
19080 | } | |
19081 | ||
19082 | ||
070c48b4 RD |
19083 | static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
19084 | PyObject *resultobj; | |
19085 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19086 | wxString *arg2 = 0 ; | |
19087 | bool temp2 = false ; | |
19088 | PyObject * obj0 = 0 ; | |
19089 | PyObject * obj1 = 0 ; | |
19090 | char *kwnames[] = { | |
19091 | (char *) "self",(char *) "filename", NULL | |
19092 | }; | |
19093 | ||
19094 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
19095 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19096 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19097 | { | |
19098 | arg2 = wxString_in_helper(obj1); | |
19099 | if (arg2 == NULL) SWIG_fail; | |
19100 | temp2 = true; | |
19101 | } | |
19102 | { | |
19103 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19104 | (arg1)->SetFilename((wxString const &)*arg2); | |
19105 | ||
19106 | wxPyEndAllowThreads(__tstate); | |
19107 | if (PyErr_Occurred()) SWIG_fail; | |
19108 | } | |
19109 | Py_INCREF(Py_None); resultobj = Py_None; | |
19110 | { | |
19111 | if (temp2) | |
19112 | delete arg2; | |
19113 | } | |
19114 | return resultobj; | |
19115 | fail: | |
19116 | { | |
19117 | if (temp2) | |
19118 | delete arg2; | |
19119 | } | |
19120 | return NULL; | |
19121 | } | |
19122 | ||
19123 | ||
19124 | static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) { | |
d55e5bfc RD |
19125 | PyObject *resultobj; |
19126 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19127 | wxString *result; | |
19128 | PyObject * obj0 = 0 ; | |
19129 | char *kwnames[] = { | |
19130 | (char *) "self", NULL | |
19131 | }; | |
19132 | ||
070c48b4 | 19133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail; |
d55e5bfc RD |
19134 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19135 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19136 | { | |
19137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19138 | { | |
070c48b4 | 19139 | wxString const &_result_ref = (arg1)->GetPrinterCommand(); |
d55e5bfc RD |
19140 | result = (wxString *) &_result_ref; |
19141 | } | |
19142 | ||
19143 | wxPyEndAllowThreads(__tstate); | |
19144 | if (PyErr_Occurred()) SWIG_fail; | |
19145 | } | |
19146 | { | |
19147 | #if wxUSE_UNICODE | |
19148 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
19149 | #else | |
19150 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
19151 | #endif | |
19152 | } | |
19153 | return resultobj; | |
19154 | fail: | |
19155 | return NULL; | |
19156 | } | |
19157 | ||
19158 | ||
070c48b4 | 19159 | static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19160 | PyObject *resultobj; |
19161 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19162 | wxString *result; | |
19163 | PyObject * obj0 = 0 ; | |
19164 | char *kwnames[] = { | |
19165 | (char *) "self", NULL | |
19166 | }; | |
19167 | ||
070c48b4 | 19168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail; |
d55e5bfc RD |
19169 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19170 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19171 | { | |
19172 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19173 | { | |
070c48b4 | 19174 | wxString const &_result_ref = (arg1)->GetPrinterOptions(); |
d55e5bfc RD |
19175 | result = (wxString *) &_result_ref; |
19176 | } | |
19177 | ||
19178 | wxPyEndAllowThreads(__tstate); | |
19179 | if (PyErr_Occurred()) SWIG_fail; | |
19180 | } | |
19181 | { | |
19182 | #if wxUSE_UNICODE | |
19183 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
19184 | #else | |
19185 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
19186 | #endif | |
19187 | } | |
19188 | return resultobj; | |
19189 | fail: | |
19190 | return NULL; | |
19191 | } | |
19192 | ||
19193 | ||
070c48b4 | 19194 | static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19195 | PyObject *resultobj; |
19196 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19197 | wxString *result; | |
19198 | PyObject * obj0 = 0 ; | |
19199 | char *kwnames[] = { | |
19200 | (char *) "self", NULL | |
19201 | }; | |
19202 | ||
070c48b4 | 19203 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail; |
d55e5bfc RD |
19204 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19205 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19206 | { | |
19207 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19208 | { | |
070c48b4 | 19209 | wxString const &_result_ref = (arg1)->GetPreviewCommand(); |
d55e5bfc RD |
19210 | result = (wxString *) &_result_ref; |
19211 | } | |
19212 | ||
19213 | wxPyEndAllowThreads(__tstate); | |
19214 | if (PyErr_Occurred()) SWIG_fail; | |
19215 | } | |
19216 | { | |
19217 | #if wxUSE_UNICODE | |
19218 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
19219 | #else | |
19220 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
19221 | #endif | |
19222 | } | |
19223 | return resultobj; | |
19224 | fail: | |
19225 | return NULL; | |
19226 | } | |
19227 | ||
19228 | ||
c370783e | 19229 | static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19230 | PyObject *resultobj; |
19231 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19232 | wxString *result; | |
19233 | PyObject * obj0 = 0 ; | |
19234 | char *kwnames[] = { | |
19235 | (char *) "self", NULL | |
19236 | }; | |
19237 | ||
19238 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail; | |
19239 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19240 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19241 | { | |
19242 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19243 | { | |
19244 | wxString const &_result_ref = (arg1)->GetFontMetricPath(); | |
19245 | result = (wxString *) &_result_ref; | |
19246 | } | |
19247 | ||
19248 | wxPyEndAllowThreads(__tstate); | |
19249 | if (PyErr_Occurred()) SWIG_fail; | |
19250 | } | |
19251 | { | |
19252 | #if wxUSE_UNICODE | |
19253 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
19254 | #else | |
19255 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
19256 | #endif | |
19257 | } | |
19258 | return resultobj; | |
19259 | fail: | |
19260 | return NULL; | |
19261 | } | |
19262 | ||
19263 | ||
c370783e | 19264 | static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19265 | PyObject *resultobj; |
19266 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19267 | double result; | |
19268 | PyObject * obj0 = 0 ; | |
19269 | char *kwnames[] = { | |
19270 | (char *) "self", NULL | |
19271 | }; | |
19272 | ||
19273 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail; | |
19274 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19275 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19276 | { | |
19277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19278 | result = (double)(arg1)->GetPrinterScaleX(); | |
19279 | ||
19280 | wxPyEndAllowThreads(__tstate); | |
19281 | if (PyErr_Occurred()) SWIG_fail; | |
19282 | } | |
c370783e | 19283 | resultobj = SWIG_From_double((double)result); |
d55e5bfc RD |
19284 | return resultobj; |
19285 | fail: | |
19286 | return NULL; | |
19287 | } | |
19288 | ||
19289 | ||
c370783e | 19290 | static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19291 | PyObject *resultobj; |
19292 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19293 | double result; | |
19294 | PyObject * obj0 = 0 ; | |
19295 | char *kwnames[] = { | |
19296 | (char *) "self", NULL | |
19297 | }; | |
19298 | ||
19299 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail; | |
19300 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19301 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19302 | { | |
19303 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19304 | result = (double)(arg1)->GetPrinterScaleY(); | |
19305 | ||
19306 | wxPyEndAllowThreads(__tstate); | |
19307 | if (PyErr_Occurred()) SWIG_fail; | |
19308 | } | |
c370783e | 19309 | resultobj = SWIG_From_double((double)result); |
d55e5bfc RD |
19310 | return resultobj; |
19311 | fail: | |
19312 | return NULL; | |
19313 | } | |
19314 | ||
19315 | ||
c370783e | 19316 | static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19317 | PyObject *resultobj; |
19318 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19319 | long result; | |
19320 | PyObject * obj0 = 0 ; | |
19321 | char *kwnames[] = { | |
19322 | (char *) "self", NULL | |
19323 | }; | |
19324 | ||
19325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail; | |
19326 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19327 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19328 | { | |
19329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19330 | result = (long)(arg1)->GetPrinterTranslateX(); | |
19331 | ||
19332 | wxPyEndAllowThreads(__tstate); | |
19333 | if (PyErr_Occurred()) SWIG_fail; | |
19334 | } | |
c370783e | 19335 | resultobj = SWIG_From_long((long)result); |
d55e5bfc RD |
19336 | return resultobj; |
19337 | fail: | |
19338 | return NULL; | |
19339 | } | |
19340 | ||
19341 | ||
c370783e | 19342 | static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19343 | PyObject *resultobj; |
19344 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19345 | long result; | |
19346 | PyObject * obj0 = 0 ; | |
19347 | char *kwnames[] = { | |
19348 | (char *) "self", NULL | |
19349 | }; | |
19350 | ||
19351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail; | |
19352 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19353 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19354 | { | |
19355 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19356 | result = (long)(arg1)->GetPrinterTranslateY(); | |
19357 | ||
19358 | wxPyEndAllowThreads(__tstate); | |
19359 | if (PyErr_Occurred()) SWIG_fail; | |
19360 | } | |
c370783e | 19361 | resultobj = SWIG_From_long((long)result); |
d55e5bfc RD |
19362 | return resultobj; |
19363 | fail: | |
19364 | return NULL; | |
19365 | } | |
19366 | ||
19367 | ||
070c48b4 | 19368 | static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19369 | PyObject *resultobj; |
19370 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
070c48b4 RD |
19371 | wxString *arg2 = 0 ; |
19372 | bool temp2 = false ; | |
d55e5bfc | 19373 | PyObject * obj0 = 0 ; |
070c48b4 | 19374 | PyObject * obj1 = 0 ; |
d55e5bfc | 19375 | char *kwnames[] = { |
070c48b4 | 19376 | (char *) "self",(char *) "command", NULL |
d55e5bfc RD |
19377 | }; |
19378 | ||
070c48b4 | 19379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail; |
d55e5bfc RD |
19380 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19381 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
070c48b4 RD |
19382 | { |
19383 | arg2 = wxString_in_helper(obj1); | |
19384 | if (arg2 == NULL) SWIG_fail; | |
19385 | temp2 = true; | |
19386 | } | |
d55e5bfc RD |
19387 | { |
19388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 | 19389 | (arg1)->SetPrinterCommand((wxString const &)*arg2); |
d55e5bfc RD |
19390 | |
19391 | wxPyEndAllowThreads(__tstate); | |
19392 | if (PyErr_Occurred()) SWIG_fail; | |
19393 | } | |
070c48b4 RD |
19394 | Py_INCREF(Py_None); resultobj = Py_None; |
19395 | { | |
19396 | if (temp2) | |
19397 | delete arg2; | |
19398 | } | |
d55e5bfc RD |
19399 | return resultobj; |
19400 | fail: | |
19401 | { | |
19402 | if (temp2) | |
19403 | delete arg2; | |
19404 | } | |
19405 | return NULL; | |
19406 | } | |
19407 | ||
19408 | ||
c370783e | 19409 | static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19410 | PyObject *resultobj; |
19411 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19412 | wxString *arg2 = 0 ; | |
b411df4a | 19413 | bool temp2 = false ; |
d55e5bfc RD |
19414 | PyObject * obj0 = 0 ; |
19415 | PyObject * obj1 = 0 ; | |
19416 | char *kwnames[] = { | |
19417 | (char *) "self",(char *) "options", NULL | |
19418 | }; | |
19419 | ||
19420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail; | |
19421 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19422 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19423 | { | |
19424 | arg2 = wxString_in_helper(obj1); | |
19425 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 19426 | temp2 = true; |
d55e5bfc RD |
19427 | } |
19428 | { | |
19429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19430 | (arg1)->SetPrinterOptions((wxString const &)*arg2); | |
19431 | ||
19432 | wxPyEndAllowThreads(__tstate); | |
19433 | if (PyErr_Occurred()) SWIG_fail; | |
19434 | } | |
19435 | Py_INCREF(Py_None); resultobj = Py_None; | |
19436 | { | |
19437 | if (temp2) | |
19438 | delete arg2; | |
19439 | } | |
19440 | return resultobj; | |
19441 | fail: | |
19442 | { | |
19443 | if (temp2) | |
19444 | delete arg2; | |
19445 | } | |
19446 | return NULL; | |
19447 | } | |
19448 | ||
19449 | ||
c370783e | 19450 | static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19451 | PyObject *resultobj; |
19452 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19453 | wxString *arg2 = 0 ; | |
b411df4a | 19454 | bool temp2 = false ; |
d55e5bfc RD |
19455 | PyObject * obj0 = 0 ; |
19456 | PyObject * obj1 = 0 ; | |
19457 | char *kwnames[] = { | |
19458 | (char *) "self",(char *) "command", NULL | |
19459 | }; | |
19460 | ||
19461 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail; | |
19462 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19463 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19464 | { | |
19465 | arg2 = wxString_in_helper(obj1); | |
19466 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 19467 | temp2 = true; |
d55e5bfc RD |
19468 | } |
19469 | { | |
19470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19471 | (arg1)->SetPreviewCommand((wxString const &)*arg2); | |
19472 | ||
19473 | wxPyEndAllowThreads(__tstate); | |
19474 | if (PyErr_Occurred()) SWIG_fail; | |
19475 | } | |
19476 | Py_INCREF(Py_None); resultobj = Py_None; | |
19477 | { | |
19478 | if (temp2) | |
19479 | delete arg2; | |
19480 | } | |
19481 | return resultobj; | |
19482 | fail: | |
19483 | { | |
19484 | if (temp2) | |
19485 | delete arg2; | |
19486 | } | |
19487 | return NULL; | |
19488 | } | |
19489 | ||
19490 | ||
c370783e | 19491 | static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19492 | PyObject *resultobj; |
19493 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19494 | wxString *arg2 = 0 ; | |
b411df4a | 19495 | bool temp2 = false ; |
d55e5bfc RD |
19496 | PyObject * obj0 = 0 ; |
19497 | PyObject * obj1 = 0 ; | |
19498 | char *kwnames[] = { | |
19499 | (char *) "self",(char *) "path", NULL | |
19500 | }; | |
19501 | ||
19502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail; | |
19503 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19504 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19505 | { | |
19506 | arg2 = wxString_in_helper(obj1); | |
19507 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 19508 | temp2 = true; |
d55e5bfc RD |
19509 | } |
19510 | { | |
19511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19512 | (arg1)->SetFontMetricPath((wxString const &)*arg2); | |
19513 | ||
19514 | wxPyEndAllowThreads(__tstate); | |
19515 | if (PyErr_Occurred()) SWIG_fail; | |
19516 | } | |
19517 | Py_INCREF(Py_None); resultobj = Py_None; | |
19518 | { | |
19519 | if (temp2) | |
19520 | delete arg2; | |
19521 | } | |
19522 | return resultobj; | |
19523 | fail: | |
19524 | { | |
19525 | if (temp2) | |
19526 | delete arg2; | |
19527 | } | |
19528 | return NULL; | |
19529 | } | |
19530 | ||
19531 | ||
c370783e | 19532 | static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19533 | PyObject *resultobj; |
19534 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19535 | double arg2 ; | |
19536 | PyObject * obj0 = 0 ; | |
19537 | PyObject * obj1 = 0 ; | |
19538 | char *kwnames[] = { | |
19539 | (char *) "self",(char *) "x", NULL | |
19540 | }; | |
19541 | ||
19542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail; | |
19543 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19544 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 19545 | arg2 = (double)SWIG_As_double(obj1); |
d55e5bfc RD |
19546 | if (PyErr_Occurred()) SWIG_fail; |
19547 | { | |
19548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19549 | (arg1)->SetPrinterScaleX(arg2); | |
19550 | ||
19551 | wxPyEndAllowThreads(__tstate); | |
19552 | if (PyErr_Occurred()) SWIG_fail; | |
19553 | } | |
19554 | Py_INCREF(Py_None); resultobj = Py_None; | |
19555 | return resultobj; | |
19556 | fail: | |
19557 | return NULL; | |
19558 | } | |
19559 | ||
19560 | ||
c370783e | 19561 | static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19562 | PyObject *resultobj; |
19563 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19564 | double arg2 ; | |
19565 | PyObject * obj0 = 0 ; | |
19566 | PyObject * obj1 = 0 ; | |
19567 | char *kwnames[] = { | |
19568 | (char *) "self",(char *) "y", NULL | |
19569 | }; | |
19570 | ||
19571 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail; | |
19572 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19573 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 19574 | arg2 = (double)SWIG_As_double(obj1); |
d55e5bfc RD |
19575 | if (PyErr_Occurred()) SWIG_fail; |
19576 | { | |
19577 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19578 | (arg1)->SetPrinterScaleY(arg2); | |
19579 | ||
19580 | wxPyEndAllowThreads(__tstate); | |
19581 | if (PyErr_Occurred()) SWIG_fail; | |
19582 | } | |
19583 | Py_INCREF(Py_None); resultobj = Py_None; | |
19584 | return resultobj; | |
19585 | fail: | |
19586 | return NULL; | |
19587 | } | |
19588 | ||
19589 | ||
c370783e | 19590 | static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19591 | PyObject *resultobj; |
19592 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19593 | double arg2 ; | |
19594 | double arg3 ; | |
19595 | PyObject * obj0 = 0 ; | |
19596 | PyObject * obj1 = 0 ; | |
19597 | PyObject * obj2 = 0 ; | |
19598 | char *kwnames[] = { | |
19599 | (char *) "self",(char *) "x",(char *) "y", NULL | |
19600 | }; | |
19601 | ||
19602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
19603 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19604 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 19605 | arg2 = (double)SWIG_As_double(obj1); |
d55e5bfc | 19606 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 19607 | arg3 = (double)SWIG_As_double(obj2); |
d55e5bfc RD |
19608 | if (PyErr_Occurred()) SWIG_fail; |
19609 | { | |
19610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19611 | (arg1)->SetPrinterScaling(arg2,arg3); | |
19612 | ||
19613 | wxPyEndAllowThreads(__tstate); | |
19614 | if (PyErr_Occurred()) SWIG_fail; | |
19615 | } | |
19616 | Py_INCREF(Py_None); resultobj = Py_None; | |
19617 | return resultobj; | |
19618 | fail: | |
19619 | return NULL; | |
19620 | } | |
19621 | ||
19622 | ||
c370783e | 19623 | static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19624 | PyObject *resultobj; |
19625 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19626 | long arg2 ; | |
19627 | PyObject * obj0 = 0 ; | |
19628 | PyObject * obj1 = 0 ; | |
19629 | char *kwnames[] = { | |
19630 | (char *) "self",(char *) "x", NULL | |
19631 | }; | |
19632 | ||
19633 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail; | |
19634 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19635 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 19636 | arg2 = (long)SWIG_As_long(obj1); |
d55e5bfc RD |
19637 | if (PyErr_Occurred()) SWIG_fail; |
19638 | { | |
19639 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19640 | (arg1)->SetPrinterTranslateX(arg2); | |
19641 | ||
19642 | wxPyEndAllowThreads(__tstate); | |
19643 | if (PyErr_Occurred()) SWIG_fail; | |
19644 | } | |
19645 | Py_INCREF(Py_None); resultobj = Py_None; | |
19646 | return resultobj; | |
19647 | fail: | |
19648 | return NULL; | |
19649 | } | |
19650 | ||
19651 | ||
c370783e | 19652 | static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19653 | PyObject *resultobj; |
19654 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19655 | long arg2 ; | |
19656 | PyObject * obj0 = 0 ; | |
19657 | PyObject * obj1 = 0 ; | |
19658 | char *kwnames[] = { | |
19659 | (char *) "self",(char *) "y", NULL | |
19660 | }; | |
19661 | ||
19662 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail; | |
19663 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19664 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 19665 | arg2 = (long)SWIG_As_long(obj1); |
d55e5bfc RD |
19666 | if (PyErr_Occurred()) SWIG_fail; |
19667 | { | |
19668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19669 | (arg1)->SetPrinterTranslateY(arg2); | |
19670 | ||
19671 | wxPyEndAllowThreads(__tstate); | |
19672 | if (PyErr_Occurred()) SWIG_fail; | |
19673 | } | |
19674 | Py_INCREF(Py_None); resultobj = Py_None; | |
19675 | return resultobj; | |
19676 | fail: | |
19677 | return NULL; | |
19678 | } | |
19679 | ||
19680 | ||
c370783e | 19681 | static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19682 | PyObject *resultobj; |
19683 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19684 | long arg2 ; | |
19685 | long arg3 ; | |
19686 | PyObject * obj0 = 0 ; | |
19687 | PyObject * obj1 = 0 ; | |
19688 | PyObject * obj2 = 0 ; | |
19689 | char *kwnames[] = { | |
19690 | (char *) "self",(char *) "x",(char *) "y", NULL | |
19691 | }; | |
19692 | ||
19693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
19694 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19695 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 19696 | arg2 = (long)SWIG_As_long(obj1); |
d55e5bfc | 19697 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 19698 | arg3 = (long)SWIG_As_long(obj2); |
d55e5bfc RD |
19699 | if (PyErr_Occurred()) SWIG_fail; |
19700 | { | |
19701 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19702 | (arg1)->SetPrinterTranslation(arg2,arg3); | |
19703 | ||
19704 | wxPyEndAllowThreads(__tstate); | |
19705 | if (PyErr_Occurred()) SWIG_fail; | |
19706 | } | |
19707 | Py_INCREF(Py_None); resultobj = Py_None; | |
19708 | return resultobj; | |
19709 | fail: | |
19710 | return NULL; | |
19711 | } | |
19712 | ||
19713 | ||
c370783e | 19714 | static PyObject * PrintData_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
19715 | PyObject *obj; |
19716 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19717 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj); | |
19718 | Py_INCREF(obj); | |
19719 | return Py_BuildValue((char *)""); | |
19720 | } | |
c370783e | 19721 | static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
19722 | PyObject *resultobj; |
19723 | wxPageSetupDialogData *result; | |
d55e5bfc | 19724 | |
09c21d3b | 19725 | if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail; |
d55e5bfc RD |
19726 | { |
19727 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19728 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData(); | |
19729 | ||
19730 | wxPyEndAllowThreads(__tstate); | |
19731 | if (PyErr_Occurred()) SWIG_fail; | |
19732 | } | |
19733 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1); | |
19734 | return resultobj; | |
19735 | fail: | |
19736 | return NULL; | |
19737 | } | |
19738 | ||
19739 | ||
c370783e | 19740 | static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) { |
09c21d3b RD |
19741 | PyObject *resultobj; |
19742 | wxPageSetupDialogData *arg1 = 0 ; | |
19743 | wxPageSetupDialogData *result; | |
19744 | PyObject * obj0 = 0 ; | |
19745 | ||
19746 | if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail; | |
19747 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
19748 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
19749 | SWIG_fail; | |
19750 | if (arg1 == NULL) { | |
19751 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
19752 | SWIG_fail; | |
19753 | } | |
19754 | { | |
19755 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19756 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1); | |
19757 | ||
19758 | wxPyEndAllowThreads(__tstate); | |
19759 | if (PyErr_Occurred()) SWIG_fail; | |
19760 | } | |
19761 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1); | |
19762 | return resultobj; | |
19763 | fail: | |
19764 | return NULL; | |
19765 | } | |
19766 | ||
19767 | ||
19768 | static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) { | |
19769 | int argc; | |
19770 | PyObject *argv[2]; | |
19771 | int ii; | |
19772 | ||
19773 | argc = PyObject_Length(args); | |
19774 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
19775 | argv[ii] = PyTuple_GetItem(args,ii); | |
19776 | } | |
19777 | if (argc == 0) { | |
19778 | return _wrap_new_PageSetupDialogData__SWIG_0(self,args); | |
19779 | } | |
19780 | if (argc == 1) { | |
19781 | int _v; | |
19782 | { | |
19783 | void *ptr; | |
19784 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) { | |
19785 | _v = 0; | |
19786 | PyErr_Clear(); | |
19787 | } else { | |
19788 | _v = 1; | |
19789 | } | |
19790 | } | |
19791 | if (_v) { | |
19792 | return _wrap_new_PageSetupDialogData__SWIG_1(self,args); | |
19793 | } | |
19794 | } | |
19795 | ||
19796 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PageSetupDialogData'"); | |
19797 | return NULL; | |
19798 | } | |
19799 | ||
19800 | ||
c370783e | 19801 | static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19802 | PyObject *resultobj; |
19803 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19804 | PyObject * obj0 = 0 ; | |
19805 | char *kwnames[] = { | |
19806 | (char *) "self", NULL | |
19807 | }; | |
19808 | ||
19809 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail; | |
19810 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
19811 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19812 | { | |
19813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19814 | delete arg1; | |
19815 | ||
19816 | wxPyEndAllowThreads(__tstate); | |
19817 | if (PyErr_Occurred()) SWIG_fail; | |
19818 | } | |
19819 | Py_INCREF(Py_None); resultobj = Py_None; | |
19820 | return resultobj; | |
19821 | fail: | |
19822 | return NULL; | |
19823 | } | |
19824 | ||
19825 | ||
c370783e | 19826 | static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19827 | PyObject *resultobj; |
19828 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19829 | bool arg2 ; | |
19830 | PyObject * obj0 = 0 ; | |
19831 | PyObject * obj1 = 0 ; | |
19832 | char *kwnames[] = { | |
19833 | (char *) "self",(char *) "flag", NULL | |
19834 | }; | |
19835 | ||
19836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
19837 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
19838 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 19839 | arg2 = (bool)SWIG_As_bool(obj1); |
d55e5bfc RD |
19840 | if (PyErr_Occurred()) SWIG_fail; |
19841 | { | |
19842 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19843 | (arg1)->EnableHelp(arg2); | |
19844 | ||
19845 | wxPyEndAllowThreads(__tstate); | |
19846 | if (PyErr_Occurred()) SWIG_fail; | |
19847 | } | |
19848 | Py_INCREF(Py_None); resultobj = Py_None; | |
19849 | return resultobj; | |
19850 | fail: | |
19851 | return NULL; | |
19852 | } | |
19853 | ||
19854 | ||
c370783e | 19855 | static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19856 | PyObject *resultobj; |
19857 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19858 | bool arg2 ; | |
19859 | PyObject * obj0 = 0 ; | |
19860 | PyObject * obj1 = 0 ; | |
19861 | char *kwnames[] = { | |
19862 | (char *) "self",(char *) "flag", NULL | |
19863 | }; | |
19864 | ||
19865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail; | |
19866 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
19867 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 19868 | arg2 = (bool)SWIG_As_bool(obj1); |
d55e5bfc RD |
19869 | if (PyErr_Occurred()) SWIG_fail; |
19870 | { | |
19871 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19872 | (arg1)->EnableMargins(arg2); | |
19873 | ||
19874 | wxPyEndAllowThreads(__tstate); | |
19875 | if (PyErr_Occurred()) SWIG_fail; | |
19876 | } | |
19877 | Py_INCREF(Py_None); resultobj = Py_None; | |
19878 | return resultobj; | |
19879 | fail: | |
19880 | return NULL; | |
19881 | } | |
19882 | ||
19883 | ||
c370783e | 19884 | static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19885 | PyObject *resultobj; |
19886 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19887 | bool arg2 ; | |
19888 | PyObject * obj0 = 0 ; | |
19889 | PyObject * obj1 = 0 ; | |
19890 | char *kwnames[] = { | |
19891 | (char *) "self",(char *) "flag", NULL | |
19892 | }; | |
19893 | ||
19894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail; | |
19895 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
19896 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 19897 | arg2 = (bool)SWIG_As_bool(obj1); |
d55e5bfc RD |
19898 | if (PyErr_Occurred()) SWIG_fail; |
19899 | { | |
19900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19901 | (arg1)->EnableOrientation(arg2); | |
19902 | ||
19903 | wxPyEndAllowThreads(__tstate); | |
19904 | if (PyErr_Occurred()) SWIG_fail; | |
19905 | } | |
19906 | Py_INCREF(Py_None); resultobj = Py_None; | |
19907 | return resultobj; | |
19908 | fail: | |
19909 | return NULL; | |
19910 | } | |
19911 | ||
19912 | ||
c370783e | 19913 | static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19914 | PyObject *resultobj; |
19915 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19916 | bool arg2 ; | |
19917 | PyObject * obj0 = 0 ; | |
19918 | PyObject * obj1 = 0 ; | |
19919 | char *kwnames[] = { | |
19920 | (char *) "self",(char *) "flag", NULL | |
19921 | }; | |
19922 | ||
19923 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail; | |
19924 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
19925 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 19926 | arg2 = (bool)SWIG_As_bool(obj1); |
d55e5bfc RD |
19927 | if (PyErr_Occurred()) SWIG_fail; |
19928 | { | |
19929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19930 | (arg1)->EnablePaper(arg2); | |
19931 | ||
19932 | wxPyEndAllowThreads(__tstate); | |
19933 | if (PyErr_Occurred()) SWIG_fail; | |
19934 | } | |
19935 | Py_INCREF(Py_None); resultobj = Py_None; | |
19936 | return resultobj; | |
19937 | fail: | |
19938 | return NULL; | |
19939 | } | |
19940 | ||
19941 | ||
c370783e | 19942 | static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19943 | PyObject *resultobj; |
19944 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19945 | bool arg2 ; | |
19946 | PyObject * obj0 = 0 ; | |
19947 | PyObject * obj1 = 0 ; | |
19948 | char *kwnames[] = { | |
19949 | (char *) "self",(char *) "flag", NULL | |
19950 | }; | |
19951 | ||
19952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail; | |
19953 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
19954 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 19955 | arg2 = (bool)SWIG_As_bool(obj1); |
d55e5bfc RD |
19956 | if (PyErr_Occurred()) SWIG_fail; |
19957 | { | |
19958 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19959 | (arg1)->EnablePrinter(arg2); | |
19960 | ||
19961 | wxPyEndAllowThreads(__tstate); | |
19962 | if (PyErr_Occurred()) SWIG_fail; | |
19963 | } | |
19964 | Py_INCREF(Py_None); resultobj = Py_None; | |
19965 | return resultobj; | |
19966 | fail: | |
19967 | return NULL; | |
19968 | } | |
19969 | ||
19970 | ||
c370783e | 19971 | static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19972 | PyObject *resultobj; |
19973 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19974 | bool result; | |
19975 | PyObject * obj0 = 0 ; | |
19976 | char *kwnames[] = { | |
19977 | (char *) "self", NULL | |
19978 | }; | |
19979 | ||
19980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail; | |
19981 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
19982 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19983 | { | |
19984 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19985 | result = (bool)(arg1)->GetDefaultMinMargins(); | |
19986 | ||
19987 | wxPyEndAllowThreads(__tstate); | |
19988 | if (PyErr_Occurred()) SWIG_fail; | |
19989 | } | |
19990 | { | |
19991 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19992 | } | |
19993 | return resultobj; | |
19994 | fail: | |
19995 | return NULL; | |
19996 | } | |
19997 | ||
19998 | ||
c370783e | 19999 | static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20000 | PyObject *resultobj; |
20001 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20002 | bool result; | |
20003 | PyObject * obj0 = 0 ; | |
20004 | char *kwnames[] = { | |
20005 | (char *) "self", NULL | |
20006 | }; | |
20007 | ||
20008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail; | |
20009 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20010 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20011 | { | |
20012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20013 | result = (bool)(arg1)->GetEnableMargins(); | |
20014 | ||
20015 | wxPyEndAllowThreads(__tstate); | |
20016 | if (PyErr_Occurred()) SWIG_fail; | |
20017 | } | |
20018 | { | |
20019 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20020 | } | |
20021 | return resultobj; | |
20022 | fail: | |
20023 | return NULL; | |
20024 | } | |
20025 | ||
20026 | ||
c370783e | 20027 | static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20028 | PyObject *resultobj; |
20029 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20030 | bool result; | |
20031 | PyObject * obj0 = 0 ; | |
20032 | char *kwnames[] = { | |
20033 | (char *) "self", NULL | |
20034 | }; | |
20035 | ||
20036 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail; | |
20037 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20038 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20039 | { | |
20040 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20041 | result = (bool)(arg1)->GetEnableOrientation(); | |
20042 | ||
20043 | wxPyEndAllowThreads(__tstate); | |
20044 | if (PyErr_Occurred()) SWIG_fail; | |
20045 | } | |
20046 | { | |
20047 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20048 | } | |
20049 | return resultobj; | |
20050 | fail: | |
20051 | return NULL; | |
20052 | } | |
20053 | ||
20054 | ||
c370783e | 20055 | static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20056 | PyObject *resultobj; |
20057 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20058 | bool result; | |
20059 | PyObject * obj0 = 0 ; | |
20060 | char *kwnames[] = { | |
20061 | (char *) "self", NULL | |
20062 | }; | |
20063 | ||
20064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail; | |
20065 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20066 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20067 | { | |
20068 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20069 | result = (bool)(arg1)->GetEnablePaper(); | |
20070 | ||
20071 | wxPyEndAllowThreads(__tstate); | |
20072 | if (PyErr_Occurred()) SWIG_fail; | |
20073 | } | |
20074 | { | |
20075 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20076 | } | |
20077 | return resultobj; | |
20078 | fail: | |
20079 | return NULL; | |
20080 | } | |
20081 | ||
20082 | ||
c370783e | 20083 | static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20084 | PyObject *resultobj; |
20085 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20086 | bool result; | |
20087 | PyObject * obj0 = 0 ; | |
20088 | char *kwnames[] = { | |
20089 | (char *) "self", NULL | |
20090 | }; | |
20091 | ||
20092 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail; | |
20093 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20094 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20095 | { | |
20096 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20097 | result = (bool)(arg1)->GetEnablePrinter(); | |
20098 | ||
20099 | wxPyEndAllowThreads(__tstate); | |
20100 | if (PyErr_Occurred()) SWIG_fail; | |
20101 | } | |
20102 | { | |
20103 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20104 | } | |
20105 | return resultobj; | |
20106 | fail: | |
20107 | return NULL; | |
20108 | } | |
20109 | ||
20110 | ||
c370783e | 20111 | static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20112 | PyObject *resultobj; |
20113 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20114 | bool result; | |
20115 | PyObject * obj0 = 0 ; | |
20116 | char *kwnames[] = { | |
20117 | (char *) "self", NULL | |
20118 | }; | |
20119 | ||
20120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
20121 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20122 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20123 | { | |
20124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20125 | result = (bool)(arg1)->GetEnableHelp(); | |
20126 | ||
20127 | wxPyEndAllowThreads(__tstate); | |
20128 | if (PyErr_Occurred()) SWIG_fail; | |
20129 | } | |
20130 | { | |
20131 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20132 | } | |
20133 | return resultobj; | |
20134 | fail: | |
20135 | return NULL; | |
20136 | } | |
20137 | ||
20138 | ||
c370783e | 20139 | static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20140 | PyObject *resultobj; |
20141 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20142 | bool result; | |
20143 | PyObject * obj0 = 0 ; | |
20144 | char *kwnames[] = { | |
20145 | (char *) "self", NULL | |
20146 | }; | |
20147 | ||
20148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail; | |
20149 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20150 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20151 | { | |
20152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20153 | result = (bool)(arg1)->GetDefaultInfo(); | |
20154 | ||
20155 | wxPyEndAllowThreads(__tstate); | |
20156 | if (PyErr_Occurred()) SWIG_fail; | |
20157 | } | |
20158 | { | |
20159 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20160 | } | |
20161 | return resultobj; | |
20162 | fail: | |
20163 | return NULL; | |
20164 | } | |
20165 | ||
20166 | ||
c370783e | 20167 | static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20168 | PyObject *resultobj; |
20169 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20170 | wxPoint result; | |
20171 | PyObject * obj0 = 0 ; | |
20172 | char *kwnames[] = { | |
20173 | (char *) "self", NULL | |
20174 | }; | |
20175 | ||
20176 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail; | |
20177 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20178 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20179 | { | |
20180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20181 | result = (arg1)->GetMarginTopLeft(); | |
20182 | ||
20183 | wxPyEndAllowThreads(__tstate); | |
20184 | if (PyErr_Occurred()) SWIG_fail; | |
20185 | } | |
20186 | { | |
20187 | wxPoint * resultptr; | |
20188 | resultptr = new wxPoint((wxPoint &) result); | |
20189 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); | |
20190 | } | |
20191 | return resultobj; | |
20192 | fail: | |
20193 | return NULL; | |
20194 | } | |
20195 | ||
20196 | ||
c370783e | 20197 | static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20198 | PyObject *resultobj; |
20199 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20200 | wxPoint result; | |
20201 | PyObject * obj0 = 0 ; | |
20202 | char *kwnames[] = { | |
20203 | (char *) "self", NULL | |
20204 | }; | |
20205 | ||
20206 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail; | |
20207 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20208 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20209 | { | |
20210 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20211 | result = (arg1)->GetMarginBottomRight(); | |
20212 | ||
20213 | wxPyEndAllowThreads(__tstate); | |
20214 | if (PyErr_Occurred()) SWIG_fail; | |
20215 | } | |
20216 | { | |
20217 | wxPoint * resultptr; | |
20218 | resultptr = new wxPoint((wxPoint &) result); | |
20219 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); | |
20220 | } | |
20221 | return resultobj; | |
20222 | fail: | |
20223 | return NULL; | |
20224 | } | |
20225 | ||
20226 | ||
c370783e | 20227 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20228 | PyObject *resultobj; |
20229 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20230 | wxPoint result; | |
20231 | PyObject * obj0 = 0 ; | |
20232 | char *kwnames[] = { | |
20233 | (char *) "self", NULL | |
20234 | }; | |
20235 | ||
20236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail; | |
20237 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20238 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20239 | { | |
20240 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20241 | result = (arg1)->GetMinMarginTopLeft(); | |
20242 | ||
20243 | wxPyEndAllowThreads(__tstate); | |
20244 | if (PyErr_Occurred()) SWIG_fail; | |
20245 | } | |
20246 | { | |
20247 | wxPoint * resultptr; | |
20248 | resultptr = new wxPoint((wxPoint &) result); | |
20249 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); | |
20250 | } | |
20251 | return resultobj; | |
20252 | fail: | |
20253 | return NULL; | |
20254 | } | |
20255 | ||
20256 | ||
c370783e | 20257 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20258 | PyObject *resultobj; |
20259 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20260 | wxPoint result; | |
20261 | PyObject * obj0 = 0 ; | |
20262 | char *kwnames[] = { | |
20263 | (char *) "self", NULL | |
20264 | }; | |
20265 | ||
20266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail; | |
20267 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20268 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20269 | { | |
20270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20271 | result = (arg1)->GetMinMarginBottomRight(); | |
20272 | ||
20273 | wxPyEndAllowThreads(__tstate); | |
20274 | if (PyErr_Occurred()) SWIG_fail; | |
20275 | } | |
20276 | { | |
20277 | wxPoint * resultptr; | |
20278 | resultptr = new wxPoint((wxPoint &) result); | |
20279 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); | |
20280 | } | |
20281 | return resultobj; | |
20282 | fail: | |
20283 | return NULL; | |
20284 | } | |
20285 | ||
20286 | ||
c370783e | 20287 | static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20288 | PyObject *resultobj; |
20289 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20290 | int result; | |
20291 | PyObject * obj0 = 0 ; | |
20292 | char *kwnames[] = { | |
20293 | (char *) "self", NULL | |
20294 | }; | |
20295 | ||
20296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail; | |
20297 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20298 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20299 | { | |
20300 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20301 | result = (int)(arg1)->GetPaperId(); | |
20302 | ||
20303 | wxPyEndAllowThreads(__tstate); | |
20304 | if (PyErr_Occurred()) SWIG_fail; | |
20305 | } | |
c370783e | 20306 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
20307 | return resultobj; |
20308 | fail: | |
20309 | return NULL; | |
20310 | } | |
20311 | ||
20312 | ||
c370783e | 20313 | static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20314 | PyObject *resultobj; |
20315 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20316 | wxSize result; | |
20317 | PyObject * obj0 = 0 ; | |
20318 | char *kwnames[] = { | |
20319 | (char *) "self", NULL | |
20320 | }; | |
20321 | ||
20322 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail; | |
20323 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20324 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20325 | { | |
20326 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20327 | result = (arg1)->GetPaperSize(); | |
20328 | ||
20329 | wxPyEndAllowThreads(__tstate); | |
20330 | if (PyErr_Occurred()) SWIG_fail; | |
20331 | } | |
20332 | { | |
20333 | wxSize * resultptr; | |
20334 | resultptr = new wxSize((wxSize &) result); | |
20335 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
20336 | } | |
20337 | return resultobj; | |
20338 | fail: | |
20339 | return NULL; | |
20340 | } | |
20341 | ||
20342 | ||
c370783e | 20343 | static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20344 | PyObject *resultobj; |
20345 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20346 | wxPrintData *result; | |
20347 | PyObject * obj0 = 0 ; | |
20348 | char *kwnames[] = { | |
20349 | (char *) "self", NULL | |
20350 | }; | |
20351 | ||
20352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
20353 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20354 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20355 | { | |
20356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20357 | { | |
20358 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
20359 | result = (wxPrintData *) &_result_ref; | |
20360 | } | |
20361 | ||
20362 | wxPyEndAllowThreads(__tstate); | |
20363 | if (PyErr_Occurred()) SWIG_fail; | |
20364 | } | |
20365 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); | |
20366 | return resultobj; | |
20367 | fail: | |
20368 | return NULL; | |
20369 | } | |
20370 | ||
20371 | ||
c370783e | 20372 | static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20373 | PyObject *resultobj; |
20374 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20375 | bool result; | |
20376 | PyObject * obj0 = 0 ; | |
20377 | char *kwnames[] = { | |
20378 | (char *) "self", NULL | |
20379 | }; | |
20380 | ||
20381 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail; | |
20382 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20383 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20384 | { | |
20385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20386 | result = (bool)(arg1)->Ok(); | |
20387 | ||
20388 | wxPyEndAllowThreads(__tstate); | |
20389 | if (PyErr_Occurred()) SWIG_fail; | |
20390 | } | |
20391 | { | |
20392 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20393 | } | |
20394 | return resultobj; | |
20395 | fail: | |
20396 | return NULL; | |
20397 | } | |
20398 | ||
20399 | ||
c370783e | 20400 | static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20401 | PyObject *resultobj; |
20402 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20403 | bool arg2 ; | |
20404 | PyObject * obj0 = 0 ; | |
20405 | PyObject * obj1 = 0 ; | |
20406 | char *kwnames[] = { | |
20407 | (char *) "self",(char *) "flag", NULL | |
20408 | }; | |
20409 | ||
20410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail; | |
20411 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20412 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 20413 | arg2 = (bool)SWIG_As_bool(obj1); |
d55e5bfc RD |
20414 | if (PyErr_Occurred()) SWIG_fail; |
20415 | { | |
20416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20417 | (arg1)->SetDefaultInfo(arg2); | |
20418 | ||
20419 | wxPyEndAllowThreads(__tstate); | |
20420 | if (PyErr_Occurred()) SWIG_fail; | |
20421 | } | |
20422 | Py_INCREF(Py_None); resultobj = Py_None; | |
20423 | return resultobj; | |
20424 | fail: | |
20425 | return NULL; | |
20426 | } | |
20427 | ||
20428 | ||
c370783e | 20429 | static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20430 | PyObject *resultobj; |
20431 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20432 | bool arg2 ; | |
20433 | PyObject * obj0 = 0 ; | |
20434 | PyObject * obj1 = 0 ; | |
20435 | char *kwnames[] = { | |
20436 | (char *) "self",(char *) "flag", NULL | |
20437 | }; | |
20438 | ||
20439 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail; | |
20440 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20441 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 20442 | arg2 = (bool)SWIG_As_bool(obj1); |
d55e5bfc RD |
20443 | if (PyErr_Occurred()) SWIG_fail; |
20444 | { | |
20445 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20446 | (arg1)->SetDefaultMinMargins(arg2); | |
20447 | ||
20448 | wxPyEndAllowThreads(__tstate); | |
20449 | if (PyErr_Occurred()) SWIG_fail; | |
20450 | } | |
20451 | Py_INCREF(Py_None); resultobj = Py_None; | |
20452 | return resultobj; | |
20453 | fail: | |
20454 | return NULL; | |
20455 | } | |
20456 | ||
20457 | ||
c370783e | 20458 | static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20459 | PyObject *resultobj; |
20460 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20461 | wxPoint *arg2 = 0 ; | |
20462 | wxPoint temp2 ; | |
20463 | PyObject * obj0 = 0 ; | |
20464 | PyObject * obj1 = 0 ; | |
20465 | char *kwnames[] = { | |
20466 | (char *) "self",(char *) "pt", NULL | |
20467 | }; | |
20468 | ||
20469 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
20470 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20471 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20472 | { | |
20473 | arg2 = &temp2; | |
20474 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
20475 | } | |
20476 | { | |
20477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20478 | (arg1)->SetMarginTopLeft((wxPoint const &)*arg2); | |
20479 | ||
20480 | wxPyEndAllowThreads(__tstate); | |
20481 | if (PyErr_Occurred()) SWIG_fail; | |
20482 | } | |
20483 | Py_INCREF(Py_None); resultobj = Py_None; | |
20484 | return resultobj; | |
20485 | fail: | |
20486 | return NULL; | |
20487 | } | |
20488 | ||
20489 | ||
c370783e | 20490 | static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20491 | PyObject *resultobj; |
20492 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20493 | wxPoint *arg2 = 0 ; | |
20494 | wxPoint temp2 ; | |
20495 | PyObject * obj0 = 0 ; | |
20496 | PyObject * obj1 = 0 ; | |
20497 | char *kwnames[] = { | |
20498 | (char *) "self",(char *) "pt", NULL | |
20499 | }; | |
20500 | ||
20501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
20502 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20503 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20504 | { | |
20505 | arg2 = &temp2; | |
20506 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
20507 | } | |
20508 | { | |
20509 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20510 | (arg1)->SetMarginBottomRight((wxPoint const &)*arg2); | |
20511 | ||
20512 | wxPyEndAllowThreads(__tstate); | |
20513 | if (PyErr_Occurred()) SWIG_fail; | |
20514 | } | |
20515 | Py_INCREF(Py_None); resultobj = Py_None; | |
20516 | return resultobj; | |
20517 | fail: | |
20518 | return NULL; | |
20519 | } | |
20520 | ||
20521 | ||
c370783e | 20522 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20523 | PyObject *resultobj; |
20524 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20525 | wxPoint *arg2 = 0 ; | |
20526 | wxPoint temp2 ; | |
20527 | PyObject * obj0 = 0 ; | |
20528 | PyObject * obj1 = 0 ; | |
20529 | char *kwnames[] = { | |
20530 | (char *) "self",(char *) "pt", NULL | |
20531 | }; | |
20532 | ||
20533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
20534 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20535 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20536 | { | |
20537 | arg2 = &temp2; | |
20538 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
20539 | } | |
20540 | { | |
20541 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20542 | (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2); | |
20543 | ||
20544 | wxPyEndAllowThreads(__tstate); | |
20545 | if (PyErr_Occurred()) SWIG_fail; | |
20546 | } | |
20547 | Py_INCREF(Py_None); resultobj = Py_None; | |
20548 | return resultobj; | |
20549 | fail: | |
20550 | return NULL; | |
20551 | } | |
20552 | ||
20553 | ||
c370783e | 20554 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20555 | PyObject *resultobj; |
20556 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20557 | wxPoint *arg2 = 0 ; | |
20558 | wxPoint temp2 ; | |
20559 | PyObject * obj0 = 0 ; | |
20560 | PyObject * obj1 = 0 ; | |
20561 | char *kwnames[] = { | |
20562 | (char *) "self",(char *) "pt", NULL | |
20563 | }; | |
20564 | ||
20565 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
20566 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20567 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20568 | { | |
20569 | arg2 = &temp2; | |
20570 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
20571 | } | |
20572 | { | |
20573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20574 | (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2); | |
20575 | ||
20576 | wxPyEndAllowThreads(__tstate); | |
20577 | if (PyErr_Occurred()) SWIG_fail; | |
20578 | } | |
20579 | Py_INCREF(Py_None); resultobj = Py_None; | |
20580 | return resultobj; | |
20581 | fail: | |
20582 | return NULL; | |
20583 | } | |
20584 | ||
20585 | ||
c370783e | 20586 | static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20587 | PyObject *resultobj; |
20588 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20589 | int arg2 ; | |
20590 | PyObject * obj0 = 0 ; | |
20591 | PyObject * obj1 = 0 ; | |
20592 | char *kwnames[] = { | |
20593 | (char *) "self",(char *) "id", NULL | |
20594 | }; | |
20595 | ||
20596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; | |
20597 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20598 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 20599 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
20600 | if (PyErr_Occurred()) SWIG_fail; |
20601 | { | |
20602 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20603 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
20604 | ||
20605 | wxPyEndAllowThreads(__tstate); | |
20606 | if (PyErr_Occurred()) SWIG_fail; | |
20607 | } | |
20608 | Py_INCREF(Py_None); resultobj = Py_None; | |
20609 | return resultobj; | |
20610 | fail: | |
20611 | return NULL; | |
20612 | } | |
20613 | ||
20614 | ||
c370783e | 20615 | static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20616 | PyObject *resultobj; |
20617 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20618 | wxSize *arg2 = 0 ; | |
20619 | wxSize temp2 ; | |
20620 | PyObject * obj0 = 0 ; | |
20621 | PyObject * obj1 = 0 ; | |
20622 | char *kwnames[] = { | |
20623 | (char *) "self",(char *) "size", NULL | |
20624 | }; | |
20625 | ||
20626 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
20627 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20628 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20629 | { | |
20630 | arg2 = &temp2; | |
20631 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
20632 | } | |
20633 | { | |
20634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20635 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
20636 | ||
20637 | wxPyEndAllowThreads(__tstate); | |
20638 | if (PyErr_Occurred()) SWIG_fail; | |
20639 | } | |
20640 | Py_INCREF(Py_None); resultobj = Py_None; | |
20641 | return resultobj; | |
20642 | fail: | |
20643 | return NULL; | |
20644 | } | |
20645 | ||
20646 | ||
c370783e | 20647 | static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20648 | PyObject *resultobj; |
20649 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20650 | wxPrintData *arg2 = 0 ; | |
20651 | PyObject * obj0 = 0 ; | |
20652 | PyObject * obj1 = 0 ; | |
20653 | char *kwnames[] = { | |
20654 | (char *) "self",(char *) "printData", NULL | |
20655 | }; | |
20656 | ||
20657 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
20658 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
20659 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20660 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData, | |
20661 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
20662 | SWIG_fail; | |
20663 | if (arg2 == NULL) { | |
20664 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
20665 | SWIG_fail; | |
20666 | } | |
20667 | { | |
20668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20669 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
20670 | ||
20671 | wxPyEndAllowThreads(__tstate); | |
20672 | if (PyErr_Occurred()) SWIG_fail; | |
20673 | } | |
20674 | Py_INCREF(Py_None); resultobj = Py_None; | |
20675 | return resultobj; | |
20676 | fail: | |
20677 | return NULL; | |
20678 | } | |
20679 | ||
20680 | ||
c370783e | 20681 | static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
20682 | PyObject *obj; |
20683 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20684 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj); | |
20685 | Py_INCREF(obj); | |
20686 | return Py_BuildValue((char *)""); | |
20687 | } | |
c370783e | 20688 | static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20689 | PyObject *resultobj; |
20690 | wxWindow *arg1 = (wxWindow *) 0 ; | |
20691 | wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ; | |
20692 | wxPageSetupDialog *result; | |
20693 | PyObject * obj0 = 0 ; | |
20694 | PyObject * obj1 = 0 ; | |
20695 | char *kwnames[] = { | |
20696 | (char *) "parent",(char *) "data", NULL | |
20697 | }; | |
20698 | ||
20699 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
20700 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
20701 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20702 | if (obj1) { | |
20703 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData, | |
20704 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20705 | } | |
20706 | { | |
0439c23b | 20707 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
20708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
20709 | result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2); | |
20710 | ||
20711 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 20712 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
20713 | } |
20714 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1); | |
20715 | return resultobj; | |
20716 | fail: | |
20717 | return NULL; | |
20718 | } | |
20719 | ||
20720 | ||
c370783e | 20721 | static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20722 | PyObject *resultobj; |
20723 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
20724 | wxPageSetupDialogData *result; | |
20725 | PyObject * obj0 = 0 ; | |
20726 | char *kwnames[] = { | |
20727 | (char *) "self", NULL | |
20728 | }; | |
20729 | ||
20730 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail; | |
20731 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog, | |
20732 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20733 | { | |
20734 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20735 | { | |
20736 | wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData(); | |
20737 | result = (wxPageSetupDialogData *) &_result_ref; | |
20738 | } | |
20739 | ||
20740 | wxPyEndAllowThreads(__tstate); | |
20741 | if (PyErr_Occurred()) SWIG_fail; | |
20742 | } | |
20743 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0); | |
20744 | return resultobj; | |
20745 | fail: | |
20746 | return NULL; | |
20747 | } | |
20748 | ||
20749 | ||
6e0de3df RD |
20750 | static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
20751 | PyObject *resultobj; | |
20752 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
20753 | wxPageSetupDialogData *result; | |
20754 | PyObject * obj0 = 0 ; | |
20755 | char *kwnames[] = { | |
20756 | (char *) "self", NULL | |
20757 | }; | |
20758 | ||
20759 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail; | |
20760 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog, | |
20761 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20762 | { | |
20763 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20764 | { | |
20765 | wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData(); | |
20766 | result = (wxPageSetupDialogData *) &_result_ref; | |
20767 | } | |
20768 | ||
20769 | wxPyEndAllowThreads(__tstate); | |
20770 | if (PyErr_Occurred()) SWIG_fail; | |
20771 | } | |
20772 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0); | |
20773 | return resultobj; | |
20774 | fail: | |
20775 | return NULL; | |
20776 | } | |
20777 | ||
20778 | ||
c370783e | 20779 | static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20780 | PyObject *resultobj; |
20781 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
20782 | int result; | |
20783 | PyObject * obj0 = 0 ; | |
20784 | char *kwnames[] = { | |
20785 | (char *) "self", NULL | |
20786 | }; | |
20787 | ||
20788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail; | |
20789 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog, | |
20790 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20791 | { | |
20792 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20793 | result = (int)(arg1)->ShowModal(); | |
20794 | ||
20795 | wxPyEndAllowThreads(__tstate); | |
20796 | if (PyErr_Occurred()) SWIG_fail; | |
20797 | } | |
c370783e | 20798 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
20799 | return resultobj; |
20800 | fail: | |
20801 | return NULL; | |
20802 | } | |
20803 | ||
20804 | ||
c370783e | 20805 | static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
20806 | PyObject *obj; |
20807 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20808 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj); | |
20809 | Py_INCREF(obj); | |
20810 | return Py_BuildValue((char *)""); | |
20811 | } | |
c370783e | 20812 | static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
20813 | PyObject *resultobj; |
20814 | wxPrintDialogData *result; | |
20815 | ||
20816 | if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail; | |
20817 | { | |
20818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20819 | result = (wxPrintDialogData *)new wxPrintDialogData(); | |
20820 | ||
20821 | wxPyEndAllowThreads(__tstate); | |
20822 | if (PyErr_Occurred()) SWIG_fail; | |
20823 | } | |
20824 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); | |
20825 | return resultobj; | |
20826 | fail: | |
20827 | return NULL; | |
20828 | } | |
20829 | ||
20830 | ||
c370783e | 20831 | static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) { |
d55e5bfc RD |
20832 | PyObject *resultobj; |
20833 | wxPrintData *arg1 = 0 ; | |
20834 | wxPrintDialogData *result; | |
20835 | PyObject * obj0 = 0 ; | |
20836 | ||
20837 | if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail; | |
20838 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
20839 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
20840 | SWIG_fail; | |
20841 | if (arg1 == NULL) { | |
20842 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
20843 | SWIG_fail; | |
20844 | } | |
20845 | { | |
20846 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20847 | result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1); | |
20848 | ||
20849 | wxPyEndAllowThreads(__tstate); | |
20850 | if (PyErr_Occurred()) SWIG_fail; | |
20851 | } | |
20852 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); | |
20853 | return resultobj; | |
20854 | fail: | |
20855 | return NULL; | |
20856 | } | |
20857 | ||
20858 | ||
20859 | static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) { | |
20860 | int argc; | |
20861 | PyObject *argv[2]; | |
20862 | int ii; | |
20863 | ||
20864 | argc = PyObject_Length(args); | |
20865 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
20866 | argv[ii] = PyTuple_GetItem(args,ii); | |
20867 | } | |
20868 | if (argc == 0) { | |
20869 | return _wrap_new_PrintDialogData__SWIG_0(self,args); | |
20870 | } | |
20871 | if (argc == 1) { | |
20872 | int _v; | |
20873 | { | |
20874 | void *ptr; | |
20875 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
20876 | _v = 0; | |
20877 | PyErr_Clear(); | |
20878 | } else { | |
20879 | _v = 1; | |
20880 | } | |
20881 | } | |
20882 | if (_v) { | |
20883 | return _wrap_new_PrintDialogData__SWIG_1(self,args); | |
20884 | } | |
20885 | } | |
20886 | ||
20887 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'"); | |
20888 | return NULL; | |
20889 | } | |
20890 | ||
20891 | ||
c370783e | 20892 | static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20893 | PyObject *resultobj; |
20894 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20895 | PyObject * obj0 = 0 ; | |
20896 | char *kwnames[] = { | |
20897 | (char *) "self", NULL | |
20898 | }; | |
20899 | ||
20900 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail; | |
20901 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
20902 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20903 | { | |
20904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20905 | delete arg1; | |
20906 | ||
20907 | wxPyEndAllowThreads(__tstate); | |
20908 | if (PyErr_Occurred()) SWIG_fail; | |
20909 | } | |
20910 | Py_INCREF(Py_None); resultobj = Py_None; | |
20911 | return resultobj; | |
20912 | fail: | |
20913 | return NULL; | |
20914 | } | |
20915 | ||
20916 | ||
c370783e | 20917 | static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20918 | PyObject *resultobj; |
20919 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20920 | int result; | |
20921 | PyObject * obj0 = 0 ; | |
20922 | char *kwnames[] = { | |
20923 | (char *) "self", NULL | |
20924 | }; | |
20925 | ||
20926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail; | |
20927 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
20928 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20929 | { | |
20930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20931 | result = (int)((wxPrintDialogData const *)arg1)->GetFromPage(); | |
20932 | ||
20933 | wxPyEndAllowThreads(__tstate); | |
20934 | if (PyErr_Occurred()) SWIG_fail; | |
20935 | } | |
c370783e | 20936 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
20937 | return resultobj; |
20938 | fail: | |
20939 | return NULL; | |
20940 | } | |
20941 | ||
20942 | ||
c370783e | 20943 | static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20944 | PyObject *resultobj; |
20945 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20946 | int result; | |
20947 | PyObject * obj0 = 0 ; | |
20948 | char *kwnames[] = { | |
20949 | (char *) "self", NULL | |
20950 | }; | |
20951 | ||
20952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail; | |
20953 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
20954 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20955 | { | |
20956 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20957 | result = (int)((wxPrintDialogData const *)arg1)->GetToPage(); | |
20958 | ||
20959 | wxPyEndAllowThreads(__tstate); | |
20960 | if (PyErr_Occurred()) SWIG_fail; | |
20961 | } | |
c370783e | 20962 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
20963 | return resultobj; |
20964 | fail: | |
20965 | return NULL; | |
20966 | } | |
20967 | ||
20968 | ||
c370783e | 20969 | static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20970 | PyObject *resultobj; |
20971 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20972 | int result; | |
20973 | PyObject * obj0 = 0 ; | |
20974 | char *kwnames[] = { | |
20975 | (char *) "self", NULL | |
20976 | }; | |
20977 | ||
20978 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail; | |
20979 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
20980 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20981 | { | |
20982 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20983 | result = (int)((wxPrintDialogData const *)arg1)->GetMinPage(); | |
20984 | ||
20985 | wxPyEndAllowThreads(__tstate); | |
20986 | if (PyErr_Occurred()) SWIG_fail; | |
20987 | } | |
c370783e | 20988 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
20989 | return resultobj; |
20990 | fail: | |
20991 | return NULL; | |
20992 | } | |
20993 | ||
20994 | ||
c370783e | 20995 | static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20996 | PyObject *resultobj; |
20997 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20998 | int result; | |
20999 | PyObject * obj0 = 0 ; | |
21000 | char *kwnames[] = { | |
21001 | (char *) "self", NULL | |
21002 | }; | |
21003 | ||
21004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail; | |
21005 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21006 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21007 | { | |
21008 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21009 | result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage(); | |
21010 | ||
21011 | wxPyEndAllowThreads(__tstate); | |
21012 | if (PyErr_Occurred()) SWIG_fail; | |
21013 | } | |
c370783e | 21014 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
21015 | return resultobj; |
21016 | fail: | |
21017 | return NULL; | |
21018 | } | |
21019 | ||
21020 | ||
c370783e | 21021 | static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21022 | PyObject *resultobj; |
21023 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21024 | int result; | |
21025 | PyObject * obj0 = 0 ; | |
21026 | char *kwnames[] = { | |
21027 | (char *) "self", NULL | |
21028 | }; | |
21029 | ||
21030 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail; | |
21031 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21032 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21033 | { | |
21034 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21035 | result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies(); | |
21036 | ||
21037 | wxPyEndAllowThreads(__tstate); | |
21038 | if (PyErr_Occurred()) SWIG_fail; | |
21039 | } | |
c370783e | 21040 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
21041 | return resultobj; |
21042 | fail: | |
21043 | return NULL; | |
21044 | } | |
21045 | ||
21046 | ||
c370783e | 21047 | static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21048 | PyObject *resultobj; |
21049 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21050 | bool result; | |
21051 | PyObject * obj0 = 0 ; | |
21052 | char *kwnames[] = { | |
21053 | (char *) "self", NULL | |
21054 | }; | |
21055 | ||
21056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail; | |
21057 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21058 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21059 | { | |
21060 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21061 | result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages(); | |
21062 | ||
21063 | wxPyEndAllowThreads(__tstate); | |
21064 | if (PyErr_Occurred()) SWIG_fail; | |
21065 | } | |
21066 | { | |
21067 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21068 | } | |
21069 | return resultobj; | |
21070 | fail: | |
21071 | return NULL; | |
21072 | } | |
21073 | ||
21074 | ||
c370783e | 21075 | static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21076 | PyObject *resultobj; |
21077 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21078 | bool result; | |
21079 | PyObject * obj0 = 0 ; | |
21080 | char *kwnames[] = { | |
21081 | (char *) "self", NULL | |
21082 | }; | |
21083 | ||
21084 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail; | |
21085 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21086 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21087 | { | |
21088 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21089 | result = (bool)((wxPrintDialogData const *)arg1)->GetSelection(); | |
21090 | ||
21091 | wxPyEndAllowThreads(__tstate); | |
21092 | if (PyErr_Occurred()) SWIG_fail; | |
21093 | } | |
21094 | { | |
21095 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21096 | } | |
21097 | return resultobj; | |
21098 | fail: | |
21099 | return NULL; | |
21100 | } | |
21101 | ||
21102 | ||
c370783e | 21103 | static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21104 | PyObject *resultobj; |
21105 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21106 | bool result; | |
21107 | PyObject * obj0 = 0 ; | |
21108 | char *kwnames[] = { | |
21109 | (char *) "self", NULL | |
21110 | }; | |
21111 | ||
21112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail; | |
21113 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21114 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21115 | { | |
21116 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21117 | result = (bool)((wxPrintDialogData const *)arg1)->GetCollate(); | |
21118 | ||
21119 | wxPyEndAllowThreads(__tstate); | |
21120 | if (PyErr_Occurred()) SWIG_fail; | |
21121 | } | |
21122 | { | |
21123 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21124 | } | |
21125 | return resultobj; | |
21126 | fail: | |
21127 | return NULL; | |
21128 | } | |
21129 | ||
21130 | ||
c370783e | 21131 | static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21132 | PyObject *resultobj; |
21133 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21134 | bool result; | |
21135 | PyObject * obj0 = 0 ; | |
21136 | char *kwnames[] = { | |
21137 | (char *) "self", NULL | |
21138 | }; | |
21139 | ||
21140 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail; | |
21141 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21142 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21143 | { | |
21144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21145 | result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile(); | |
21146 | ||
21147 | wxPyEndAllowThreads(__tstate); | |
21148 | if (PyErr_Occurred()) SWIG_fail; | |
21149 | } | |
21150 | { | |
21151 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21152 | } | |
21153 | return resultobj; | |
21154 | fail: | |
21155 | return NULL; | |
21156 | } | |
21157 | ||
21158 | ||
c370783e | 21159 | static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21160 | PyObject *resultobj; |
21161 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21162 | bool result; | |
21163 | PyObject * obj0 = 0 ; | |
21164 | char *kwnames[] = { | |
21165 | (char *) "self", NULL | |
21166 | }; | |
21167 | ||
21168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail; | |
21169 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21170 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21171 | { | |
21172 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21173 | result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog(); | |
21174 | ||
21175 | wxPyEndAllowThreads(__tstate); | |
21176 | if (PyErr_Occurred()) SWIG_fail; | |
21177 | } | |
21178 | { | |
21179 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21180 | } | |
21181 | return resultobj; | |
21182 | fail: | |
21183 | return NULL; | |
21184 | } | |
21185 | ||
21186 | ||
070c48b4 RD |
21187 | static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
21188 | PyObject *resultobj; | |
21189 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21190 | bool arg2 ; | |
21191 | PyObject * obj0 = 0 ; | |
21192 | PyObject * obj1 = 0 ; | |
21193 | char *kwnames[] = { | |
21194 | (char *) "self",(char *) "flag", NULL | |
21195 | }; | |
21196 | ||
21197 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
21198 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21199 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21200 | arg2 = (bool)SWIG_As_bool(obj1); | |
21201 | if (PyErr_Occurred()) SWIG_fail; | |
21202 | { | |
21203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21204 | (arg1)->SetSetupDialog(arg2); | |
21205 | ||
21206 | wxPyEndAllowThreads(__tstate); | |
21207 | if (PyErr_Occurred()) SWIG_fail; | |
21208 | } | |
21209 | Py_INCREF(Py_None); resultobj = Py_None; | |
21210 | return resultobj; | |
21211 | fail: | |
21212 | return NULL; | |
21213 | } | |
21214 | ||
21215 | ||
c370783e | 21216 | static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21217 | PyObject *resultobj; |
21218 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21219 | int arg2 ; | |
21220 | PyObject * obj0 = 0 ; | |
21221 | PyObject * obj1 = 0 ; | |
21222 | char *kwnames[] = { | |
21223 | (char *) "self",(char *) "v", NULL | |
21224 | }; | |
21225 | ||
21226 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail; | |
21227 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21228 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 21229 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
21230 | if (PyErr_Occurred()) SWIG_fail; |
21231 | { | |
21232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21233 | (arg1)->SetFromPage(arg2); | |
21234 | ||
21235 | wxPyEndAllowThreads(__tstate); | |
21236 | if (PyErr_Occurred()) SWIG_fail; | |
21237 | } | |
21238 | Py_INCREF(Py_None); resultobj = Py_None; | |
21239 | return resultobj; | |
21240 | fail: | |
21241 | return NULL; | |
21242 | } | |
21243 | ||
21244 | ||
c370783e | 21245 | static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21246 | PyObject *resultobj; |
21247 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21248 | int arg2 ; | |
21249 | PyObject * obj0 = 0 ; | |
21250 | PyObject * obj1 = 0 ; | |
21251 | char *kwnames[] = { | |
21252 | (char *) "self",(char *) "v", NULL | |
21253 | }; | |
21254 | ||
21255 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail; | |
21256 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21257 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 21258 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
21259 | if (PyErr_Occurred()) SWIG_fail; |
21260 | { | |
21261 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21262 | (arg1)->SetToPage(arg2); | |
21263 | ||
21264 | wxPyEndAllowThreads(__tstate); | |
21265 | if (PyErr_Occurred()) SWIG_fail; | |
21266 | } | |
21267 | Py_INCREF(Py_None); resultobj = Py_None; | |
21268 | return resultobj; | |
21269 | fail: | |
21270 | return NULL; | |
21271 | } | |
21272 | ||
21273 | ||
c370783e | 21274 | static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21275 | PyObject *resultobj; |
21276 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21277 | int arg2 ; | |
21278 | PyObject * obj0 = 0 ; | |
21279 | PyObject * obj1 = 0 ; | |
21280 | char *kwnames[] = { | |
21281 | (char *) "self",(char *) "v", NULL | |
21282 | }; | |
21283 | ||
21284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail; | |
21285 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21286 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 21287 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
21288 | if (PyErr_Occurred()) SWIG_fail; |
21289 | { | |
21290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21291 | (arg1)->SetMinPage(arg2); | |
21292 | ||
21293 | wxPyEndAllowThreads(__tstate); | |
21294 | if (PyErr_Occurred()) SWIG_fail; | |
21295 | } | |
21296 | Py_INCREF(Py_None); resultobj = Py_None; | |
21297 | return resultobj; | |
21298 | fail: | |
21299 | return NULL; | |
21300 | } | |
21301 | ||
21302 | ||
c370783e | 21303 | static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21304 | PyObject *resultobj; |
21305 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21306 | int arg2 ; | |
21307 | PyObject * obj0 = 0 ; | |
21308 | PyObject * obj1 = 0 ; | |
21309 | char *kwnames[] = { | |
21310 | (char *) "self",(char *) "v", NULL | |
21311 | }; | |
21312 | ||
21313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail; | |
21314 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21315 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 21316 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
21317 | if (PyErr_Occurred()) SWIG_fail; |
21318 | { | |
21319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21320 | (arg1)->SetMaxPage(arg2); | |
21321 | ||
21322 | wxPyEndAllowThreads(__tstate); | |
21323 | if (PyErr_Occurred()) SWIG_fail; | |
21324 | } | |
21325 | Py_INCREF(Py_None); resultobj = Py_None; | |
21326 | return resultobj; | |
21327 | fail: | |
21328 | return NULL; | |
21329 | } | |
21330 | ||
21331 | ||
c370783e | 21332 | static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21333 | PyObject *resultobj; |
21334 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21335 | int arg2 ; | |
21336 | PyObject * obj0 = 0 ; | |
21337 | PyObject * obj1 = 0 ; | |
21338 | char *kwnames[] = { | |
21339 | (char *) "self",(char *) "v", NULL | |
21340 | }; | |
21341 | ||
21342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; | |
21343 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21344 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 21345 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
21346 | if (PyErr_Occurred()) SWIG_fail; |
21347 | { | |
21348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21349 | (arg1)->SetNoCopies(arg2); | |
21350 | ||
21351 | wxPyEndAllowThreads(__tstate); | |
21352 | if (PyErr_Occurred()) SWIG_fail; | |
21353 | } | |
21354 | Py_INCREF(Py_None); resultobj = Py_None; | |
21355 | return resultobj; | |
21356 | fail: | |
21357 | return NULL; | |
21358 | } | |
21359 | ||
21360 | ||
c370783e | 21361 | static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21362 | PyObject *resultobj; |
21363 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21364 | bool arg2 ; | |
21365 | PyObject * obj0 = 0 ; | |
21366 | PyObject * obj1 = 0 ; | |
21367 | char *kwnames[] = { | |
21368 | (char *) "self",(char *) "flag", NULL | |
21369 | }; | |
21370 | ||
21371 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail; | |
21372 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21373 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 21374 | arg2 = (bool)SWIG_As_bool(obj1); |
d55e5bfc RD |
21375 | if (PyErr_Occurred()) SWIG_fail; |
21376 | { | |
21377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21378 | (arg1)->SetAllPages(arg2); | |
21379 | ||
21380 | wxPyEndAllowThreads(__tstate); | |
21381 | if (PyErr_Occurred()) SWIG_fail; | |
21382 | } | |
21383 | Py_INCREF(Py_None); resultobj = Py_None; | |
21384 | return resultobj; | |
21385 | fail: | |
21386 | return NULL; | |
21387 | } | |
21388 | ||
21389 | ||
c370783e | 21390 | static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21391 | PyObject *resultobj; |
21392 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21393 | bool arg2 ; | |
21394 | PyObject * obj0 = 0 ; | |
21395 | PyObject * obj1 = 0 ; | |
21396 | char *kwnames[] = { | |
21397 | (char *) "self",(char *) "flag", NULL | |
21398 | }; | |
21399 | ||
21400 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
21401 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21402 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 21403 | arg2 = (bool)SWIG_As_bool(obj1); |
d55e5bfc RD |
21404 | if (PyErr_Occurred()) SWIG_fail; |
21405 | { | |
21406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21407 | (arg1)->SetSelection(arg2); | |
21408 | ||
21409 | wxPyEndAllowThreads(__tstate); | |
21410 | if (PyErr_Occurred()) SWIG_fail; | |
21411 | } | |
21412 | Py_INCREF(Py_None); resultobj = Py_None; | |
21413 | return resultobj; | |
21414 | fail: | |
21415 | return NULL; | |
21416 | } | |
21417 | ||
21418 | ||
c370783e | 21419 | static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21420 | PyObject *resultobj; |
21421 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21422 | bool arg2 ; | |
21423 | PyObject * obj0 = 0 ; | |
21424 | PyObject * obj1 = 0 ; | |
21425 | char *kwnames[] = { | |
21426 | (char *) "self",(char *) "flag", NULL | |
21427 | }; | |
21428 | ||
21429 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
21430 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21431 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 21432 | arg2 = (bool)SWIG_As_bool(obj1); |
d55e5bfc RD |
21433 | if (PyErr_Occurred()) SWIG_fail; |
21434 | { | |
21435 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21436 | (arg1)->SetCollate(arg2); | |
21437 | ||
21438 | wxPyEndAllowThreads(__tstate); | |
21439 | if (PyErr_Occurred()) SWIG_fail; | |
21440 | } | |
21441 | Py_INCREF(Py_None); resultobj = Py_None; | |
21442 | return resultobj; | |
21443 | fail: | |
21444 | return NULL; | |
21445 | } | |
21446 | ||
21447 | ||
c370783e | 21448 | static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21449 | PyObject *resultobj; |
21450 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21451 | bool arg2 ; | |
21452 | PyObject * obj0 = 0 ; | |
21453 | PyObject * obj1 = 0 ; | |
21454 | char *kwnames[] = { | |
21455 | (char *) "self",(char *) "flag", NULL | |
21456 | }; | |
21457 | ||
21458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
21459 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21460 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 21461 | arg2 = (bool)SWIG_As_bool(obj1); |
d55e5bfc RD |
21462 | if (PyErr_Occurred()) SWIG_fail; |
21463 | { | |
21464 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21465 | (arg1)->SetPrintToFile(arg2); | |
21466 | ||
21467 | wxPyEndAllowThreads(__tstate); | |
21468 | if (PyErr_Occurred()) SWIG_fail; | |
21469 | } | |
21470 | Py_INCREF(Py_None); resultobj = Py_None; | |
21471 | return resultobj; | |
21472 | fail: | |
21473 | return NULL; | |
21474 | } | |
21475 | ||
21476 | ||
c370783e | 21477 | static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21478 | PyObject *resultobj; |
21479 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21480 | bool arg2 ; | |
21481 | PyObject * obj0 = 0 ; | |
21482 | PyObject * obj1 = 0 ; | |
21483 | char *kwnames[] = { | |
21484 | (char *) "self",(char *) "flag", NULL | |
21485 | }; | |
21486 | ||
21487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
21488 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21489 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 21490 | arg2 = (bool)SWIG_As_bool(obj1); |
d55e5bfc RD |
21491 | if (PyErr_Occurred()) SWIG_fail; |
21492 | { | |
21493 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21494 | (arg1)->EnablePrintToFile(arg2); | |
21495 | ||
21496 | wxPyEndAllowThreads(__tstate); | |
21497 | if (PyErr_Occurred()) SWIG_fail; | |
21498 | } | |
21499 | Py_INCREF(Py_None); resultobj = Py_None; | |
21500 | return resultobj; | |
21501 | fail: | |
21502 | return NULL; | |
21503 | } | |
21504 | ||
21505 | ||
c370783e | 21506 | static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21507 | PyObject *resultobj; |
21508 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21509 | bool arg2 ; | |
21510 | PyObject * obj0 = 0 ; | |
21511 | PyObject * obj1 = 0 ; | |
21512 | char *kwnames[] = { | |
21513 | (char *) "self",(char *) "flag", NULL | |
21514 | }; | |
21515 | ||
21516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail; | |
21517 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21518 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 21519 | arg2 = (bool)SWIG_As_bool(obj1); |
d55e5bfc RD |
21520 | if (PyErr_Occurred()) SWIG_fail; |
21521 | { | |
21522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21523 | (arg1)->EnableSelection(arg2); | |
21524 | ||
21525 | wxPyEndAllowThreads(__tstate); | |
21526 | if (PyErr_Occurred()) SWIG_fail; | |
21527 | } | |
21528 | Py_INCREF(Py_None); resultobj = Py_None; | |
21529 | return resultobj; | |
21530 | fail: | |
21531 | return NULL; | |
21532 | } | |
21533 | ||
21534 | ||
c370783e | 21535 | static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21536 | PyObject *resultobj; |
21537 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21538 | bool arg2 ; | |
21539 | PyObject * obj0 = 0 ; | |
21540 | PyObject * obj1 = 0 ; | |
21541 | char *kwnames[] = { | |
21542 | (char *) "self",(char *) "flag", NULL | |
21543 | }; | |
21544 | ||
21545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail; | |
21546 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21547 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 21548 | arg2 = (bool)SWIG_As_bool(obj1); |
d55e5bfc RD |
21549 | if (PyErr_Occurred()) SWIG_fail; |
21550 | { | |
21551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21552 | (arg1)->EnablePageNumbers(arg2); | |
21553 | ||
21554 | wxPyEndAllowThreads(__tstate); | |
21555 | if (PyErr_Occurred()) SWIG_fail; | |
21556 | } | |
21557 | Py_INCREF(Py_None); resultobj = Py_None; | |
21558 | return resultobj; | |
21559 | fail: | |
21560 | return NULL; | |
21561 | } | |
21562 | ||
21563 | ||
c370783e | 21564 | static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21565 | PyObject *resultobj; |
21566 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21567 | bool arg2 ; | |
21568 | PyObject * obj0 = 0 ; | |
21569 | PyObject * obj1 = 0 ; | |
21570 | char *kwnames[] = { | |
21571 | (char *) "self",(char *) "flag", NULL | |
21572 | }; | |
21573 | ||
21574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
21575 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21576 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 21577 | arg2 = (bool)SWIG_As_bool(obj1); |
d55e5bfc RD |
21578 | if (PyErr_Occurred()) SWIG_fail; |
21579 | { | |
21580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21581 | (arg1)->EnableHelp(arg2); | |
21582 | ||
21583 | wxPyEndAllowThreads(__tstate); | |
21584 | if (PyErr_Occurred()) SWIG_fail; | |
21585 | } | |
21586 | Py_INCREF(Py_None); resultobj = Py_None; | |
21587 | return resultobj; | |
21588 | fail: | |
21589 | return NULL; | |
21590 | } | |
21591 | ||
21592 | ||
c370783e | 21593 | static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21594 | PyObject *resultobj; |
21595 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21596 | bool result; | |
21597 | PyObject * obj0 = 0 ; | |
21598 | char *kwnames[] = { | |
21599 | (char *) "self", NULL | |
21600 | }; | |
21601 | ||
21602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail; | |
21603 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21604 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21605 | { | |
21606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21607 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile(); | |
21608 | ||
21609 | wxPyEndAllowThreads(__tstate); | |
21610 | if (PyErr_Occurred()) SWIG_fail; | |
21611 | } | |
21612 | { | |
21613 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21614 | } | |
21615 | return resultobj; | |
21616 | fail: | |
21617 | return NULL; | |
21618 | } | |
21619 | ||
21620 | ||
c370783e | 21621 | static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21622 | PyObject *resultobj; |
21623 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21624 | bool result; | |
21625 | PyObject * obj0 = 0 ; | |
21626 | char *kwnames[] = { | |
21627 | (char *) "self", NULL | |
21628 | }; | |
21629 | ||
21630 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail; | |
21631 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21632 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21633 | { | |
21634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21635 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection(); | |
21636 | ||
21637 | wxPyEndAllowThreads(__tstate); | |
21638 | if (PyErr_Occurred()) SWIG_fail; | |
21639 | } | |
21640 | { | |
21641 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21642 | } | |
21643 | return resultobj; | |
21644 | fail: | |
21645 | return NULL; | |
21646 | } | |
21647 | ||
21648 | ||
c370783e | 21649 | static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21650 | PyObject *resultobj; |
21651 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21652 | bool result; | |
21653 | PyObject * obj0 = 0 ; | |
21654 | char *kwnames[] = { | |
21655 | (char *) "self", NULL | |
21656 | }; | |
21657 | ||
21658 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail; | |
21659 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21660 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21661 | { | |
21662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21663 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers(); | |
21664 | ||
21665 | wxPyEndAllowThreads(__tstate); | |
21666 | if (PyErr_Occurred()) SWIG_fail; | |
21667 | } | |
21668 | { | |
21669 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21670 | } | |
21671 | return resultobj; | |
21672 | fail: | |
21673 | return NULL; | |
21674 | } | |
21675 | ||
21676 | ||
c370783e | 21677 | static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21678 | PyObject *resultobj; |
21679 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21680 | bool result; | |
21681 | PyObject * obj0 = 0 ; | |
21682 | char *kwnames[] = { | |
21683 | (char *) "self", NULL | |
21684 | }; | |
21685 | ||
21686 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
21687 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21688 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21689 | { | |
21690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21691 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp(); | |
21692 | ||
21693 | wxPyEndAllowThreads(__tstate); | |
21694 | if (PyErr_Occurred()) SWIG_fail; | |
21695 | } | |
21696 | { | |
21697 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21698 | } | |
21699 | return resultobj; | |
21700 | fail: | |
21701 | return NULL; | |
21702 | } | |
21703 | ||
21704 | ||
c370783e | 21705 | static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21706 | PyObject *resultobj; |
21707 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21708 | bool result; | |
21709 | PyObject * obj0 = 0 ; | |
21710 | char *kwnames[] = { | |
21711 | (char *) "self", NULL | |
21712 | }; | |
21713 | ||
21714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail; | |
21715 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21716 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21717 | { | |
21718 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21719 | result = (bool)((wxPrintDialogData const *)arg1)->Ok(); | |
21720 | ||
21721 | wxPyEndAllowThreads(__tstate); | |
21722 | if (PyErr_Occurred()) SWIG_fail; | |
21723 | } | |
21724 | { | |
21725 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21726 | } | |
21727 | return resultobj; | |
21728 | fail: | |
21729 | return NULL; | |
21730 | } | |
21731 | ||
21732 | ||
c370783e | 21733 | static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21734 | PyObject *resultobj; |
21735 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21736 | wxPrintData *result; | |
21737 | PyObject * obj0 = 0 ; | |
21738 | char *kwnames[] = { | |
21739 | (char *) "self", NULL | |
21740 | }; | |
21741 | ||
21742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
21743 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21744 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21745 | { | |
21746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21747 | { | |
21748 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
21749 | result = (wxPrintData *) &_result_ref; | |
21750 | } | |
21751 | ||
21752 | wxPyEndAllowThreads(__tstate); | |
21753 | if (PyErr_Occurred()) SWIG_fail; | |
21754 | } | |
21755 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); | |
21756 | return resultobj; | |
21757 | fail: | |
21758 | return NULL; | |
21759 | } | |
21760 | ||
21761 | ||
c370783e | 21762 | static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21763 | PyObject *resultobj; |
21764 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21765 | wxPrintData *arg2 = 0 ; | |
21766 | PyObject * obj0 = 0 ; | |
21767 | PyObject * obj1 = 0 ; | |
21768 | char *kwnames[] = { | |
21769 | (char *) "self",(char *) "printData", NULL | |
21770 | }; | |
21771 | ||
21772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
21773 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21774 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21775 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData, | |
21776 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
21777 | SWIG_fail; | |
21778 | if (arg2 == NULL) { | |
21779 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
21780 | SWIG_fail; | |
21781 | } | |
21782 | { | |
21783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21784 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
21785 | ||
21786 | wxPyEndAllowThreads(__tstate); | |
21787 | if (PyErr_Occurred()) SWIG_fail; | |
21788 | } | |
21789 | Py_INCREF(Py_None); resultobj = Py_None; | |
21790 | return resultobj; | |
21791 | fail: | |
21792 | return NULL; | |
21793 | } | |
21794 | ||
21795 | ||
c370783e | 21796 | static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
21797 | PyObject *obj; |
21798 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21799 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj); | |
21800 | Py_INCREF(obj); | |
21801 | return Py_BuildValue((char *)""); | |
21802 | } | |
c370783e | 21803 | static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21804 | PyObject *resultobj; |
21805 | wxWindow *arg1 = (wxWindow *) 0 ; | |
21806 | wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ; | |
21807 | wxPrintDialog *result; | |
21808 | PyObject * obj0 = 0 ; | |
21809 | PyObject * obj1 = 0 ; | |
21810 | char *kwnames[] = { | |
21811 | (char *) "parent",(char *) "data", NULL | |
21812 | }; | |
21813 | ||
21814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
21815 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
21816 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21817 | if (obj1) { | |
21818 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData, | |
21819 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21820 | } | |
21821 | { | |
0439c23b | 21822 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
21823 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
21824 | result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2); | |
21825 | ||
21826 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 21827 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
21828 | } |
21829 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1); | |
21830 | return resultobj; | |
21831 | fail: | |
21832 | return NULL; | |
21833 | } | |
21834 | ||
21835 | ||
070c48b4 RD |
21836 | static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { |
21837 | PyObject *resultobj; | |
21838 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
21839 | int result; | |
21840 | PyObject * obj0 = 0 ; | |
21841 | char *kwnames[] = { | |
21842 | (char *) "self", NULL | |
21843 | }; | |
21844 | ||
21845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail; | |
21846 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, | |
21847 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21848 | { | |
21849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21850 | result = (int)(arg1)->ShowModal(); | |
21851 | ||
21852 | wxPyEndAllowThreads(__tstate); | |
21853 | if (PyErr_Occurred()) SWIG_fail; | |
21854 | } | |
21855 | resultobj = SWIG_From_int((int)result); | |
21856 | return resultobj; | |
21857 | fail: | |
21858 | return NULL; | |
21859 | } | |
21860 | ||
21861 | ||
c370783e | 21862 | static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21863 | PyObject *resultobj; |
21864 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
21865 | wxPrintDialogData *result; | |
21866 | PyObject * obj0 = 0 ; | |
21867 | char *kwnames[] = { | |
21868 | (char *) "self", NULL | |
21869 | }; | |
21870 | ||
21871 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
21872 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, | |
21873 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21874 | { | |
21875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21876 | { | |
21877 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
21878 | result = (wxPrintDialogData *) &_result_ref; | |
21879 | } | |
21880 | ||
21881 | wxPyEndAllowThreads(__tstate); | |
21882 | if (PyErr_Occurred()) SWIG_fail; | |
21883 | } | |
21884 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); | |
21885 | return resultobj; | |
21886 | fail: | |
21887 | return NULL; | |
21888 | } | |
21889 | ||
21890 | ||
070c48b4 | 21891 | static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21892 | PyObject *resultobj; |
21893 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
070c48b4 | 21894 | wxPrintData *result; |
d55e5bfc RD |
21895 | PyObject * obj0 = 0 ; |
21896 | char *kwnames[] = { | |
21897 | (char *) "self", NULL | |
21898 | }; | |
21899 | ||
070c48b4 | 21900 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail; |
d55e5bfc RD |
21901 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, |
21902 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21903 | { | |
21904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 RD |
21905 | { |
21906 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
21907 | result = (wxPrintData *) &_result_ref; | |
21908 | } | |
d55e5bfc RD |
21909 | |
21910 | wxPyEndAllowThreads(__tstate); | |
21911 | if (PyErr_Occurred()) SWIG_fail; | |
21912 | } | |
070c48b4 | 21913 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
d55e5bfc RD |
21914 | return resultobj; |
21915 | fail: | |
21916 | return NULL; | |
21917 | } | |
21918 | ||
21919 | ||
070c48b4 | 21920 | static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21921 | PyObject *resultobj; |
21922 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
070c48b4 | 21923 | wxDC *result; |
d55e5bfc RD |
21924 | PyObject * obj0 = 0 ; |
21925 | char *kwnames[] = { | |
21926 | (char *) "self", NULL | |
21927 | }; | |
21928 | ||
070c48b4 | 21929 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail; |
d55e5bfc RD |
21930 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, |
21931 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21932 | { | |
21933 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 | 21934 | result = (wxDC *)(arg1)->GetPrintDC(); |
d55e5bfc RD |
21935 | |
21936 | wxPyEndAllowThreads(__tstate); | |
21937 | if (PyErr_Occurred()) SWIG_fail; | |
21938 | } | |
070c48b4 RD |
21939 | { |
21940 | resultobj = wxPyMake_wxObject(result, 1); | |
21941 | } | |
d55e5bfc RD |
21942 | return resultobj; |
21943 | fail: | |
21944 | return NULL; | |
21945 | } | |
21946 | ||
21947 | ||
c370783e | 21948 | static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
21949 | PyObject *obj; |
21950 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21951 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj); | |
21952 | Py_INCREF(obj); | |
21953 | return Py_BuildValue((char *)""); | |
21954 | } | |
c370783e | 21955 | static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21956 | PyObject *resultobj; |
21957 | wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ; | |
21958 | wxPrinter *result; | |
21959 | PyObject * obj0 = 0 ; | |
21960 | char *kwnames[] = { | |
21961 | (char *) "data", NULL | |
21962 | }; | |
21963 | ||
21964 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail; | |
21965 | if (obj0) { | |
21966 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21967 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21968 | } | |
21969 | { | |
0439c23b | 21970 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
21971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
21972 | result = (wxPrinter *)new wxPrinter(arg1); | |
21973 | ||
21974 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 21975 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
21976 | } |
21977 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1); | |
21978 | return resultobj; | |
21979 | fail: | |
21980 | return NULL; | |
21981 | } | |
21982 | ||
21983 | ||
c370783e | 21984 | static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21985 | PyObject *resultobj; |
21986 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
21987 | PyObject * obj0 = 0 ; | |
21988 | char *kwnames[] = { | |
21989 | (char *) "self", NULL | |
21990 | }; | |
21991 | ||
21992 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail; | |
21993 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, | |
21994 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21995 | { | |
21996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21997 | delete arg1; | |
21998 | ||
21999 | wxPyEndAllowThreads(__tstate); | |
22000 | if (PyErr_Occurred()) SWIG_fail; | |
22001 | } | |
22002 | Py_INCREF(Py_None); resultobj = Py_None; | |
22003 | return resultobj; | |
22004 | fail: | |
22005 | return NULL; | |
22006 | } | |
22007 | ||
22008 | ||
c370783e | 22009 | static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22010 | PyObject *resultobj; |
22011 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
22012 | wxWindow *arg2 = (wxWindow *) 0 ; | |
22013 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
070c48b4 | 22014 | wxWindow *result; |
d55e5bfc RD |
22015 | PyObject * obj0 = 0 ; |
22016 | PyObject * obj1 = 0 ; | |
22017 | PyObject * obj2 = 0 ; | |
22018 | char *kwnames[] = { | |
22019 | (char *) "self",(char *) "parent",(char *) "printout", NULL | |
22020 | }; | |
22021 | ||
22022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
22023 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, | |
22024 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22025 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
22026 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22027 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, | |
22028 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22029 | { | |
22030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 | 22031 | result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3); |
d55e5bfc RD |
22032 | |
22033 | wxPyEndAllowThreads(__tstate); | |
22034 | if (PyErr_Occurred()) SWIG_fail; | |
22035 | } | |
d55e5bfc | 22036 | { |
070c48b4 | 22037 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc | 22038 | } |
d55e5bfc RD |
22039 | return resultobj; |
22040 | fail: | |
22041 | return NULL; | |
22042 | } | |
22043 | ||
22044 | ||
070c48b4 | 22045 | static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22046 | PyObject *resultobj; |
22047 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
22048 | wxWindow *arg2 = (wxWindow *) 0 ; | |
22049 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
070c48b4 RD |
22050 | wxString *arg4 = 0 ; |
22051 | bool temp4 = false ; | |
d55e5bfc RD |
22052 | PyObject * obj0 = 0 ; |
22053 | PyObject * obj1 = 0 ; | |
22054 | PyObject * obj2 = 0 ; | |
22055 | PyObject * obj3 = 0 ; | |
22056 | char *kwnames[] = { | |
070c48b4 | 22057 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL |
d55e5bfc RD |
22058 | }; |
22059 | ||
070c48b4 | 22060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
d55e5bfc RD |
22061 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
22062 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22063 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
22064 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22065 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, | |
22066 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
070c48b4 RD |
22067 | { |
22068 | arg4 = wxString_in_helper(obj3); | |
22069 | if (arg4 == NULL) SWIG_fail; | |
22070 | temp4 = true; | |
d55e5bfc RD |
22071 | } |
22072 | { | |
22073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 | 22074 | (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4); |
d55e5bfc RD |
22075 | |
22076 | wxPyEndAllowThreads(__tstate); | |
22077 | if (PyErr_Occurred()) SWIG_fail; | |
22078 | } | |
070c48b4 | 22079 | Py_INCREF(Py_None); resultobj = Py_None; |
d55e5bfc | 22080 | { |
070c48b4 RD |
22081 | if (temp4) |
22082 | delete arg4; | |
d55e5bfc RD |
22083 | } |
22084 | return resultobj; | |
22085 | fail: | |
070c48b4 RD |
22086 | { |
22087 | if (temp4) | |
22088 | delete arg4; | |
22089 | } | |
d55e5bfc RD |
22090 | return NULL; |
22091 | } | |
22092 | ||
22093 | ||
070c48b4 | 22094 | static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22095 | PyObject *resultobj; |
22096 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
22097 | wxWindow *arg2 = (wxWindow *) 0 ; | |
070c48b4 | 22098 | bool result; |
d55e5bfc RD |
22099 | PyObject * obj0 = 0 ; |
22100 | PyObject * obj1 = 0 ; | |
22101 | char *kwnames[] = { | |
22102 | (char *) "self",(char *) "parent", NULL | |
22103 | }; | |
22104 | ||
070c48b4 | 22105 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail; |
d55e5bfc RD |
22106 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
22107 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22108 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
22109 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22110 | { | |
22111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 | 22112 | result = (bool)(arg1)->Setup(arg2); |
d55e5bfc RD |
22113 | |
22114 | wxPyEndAllowThreads(__tstate); | |
22115 | if (PyErr_Occurred()) SWIG_fail; | |
22116 | } | |
22117 | { | |
070c48b4 | 22118 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d55e5bfc RD |
22119 | } |
22120 | return resultobj; | |
22121 | fail: | |
22122 | return NULL; | |
22123 | } | |
22124 | ||
22125 | ||
070c48b4 | 22126 | static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22127 | PyObject *resultobj; |
22128 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
22129 | wxWindow *arg2 = (wxWindow *) 0 ; | |
22130 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
070c48b4 RD |
22131 | bool arg4 = (bool) true ; |
22132 | bool result; | |
d55e5bfc RD |
22133 | PyObject * obj0 = 0 ; |
22134 | PyObject * obj1 = 0 ; | |
22135 | PyObject * obj2 = 0 ; | |
22136 | PyObject * obj3 = 0 ; | |
22137 | char *kwnames[] = { | |
070c48b4 | 22138 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL |
d55e5bfc RD |
22139 | }; |
22140 | ||
070c48b4 | 22141 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
d55e5bfc RD |
22142 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
22143 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22144 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
22145 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22146 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, | |
22147 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
070c48b4 RD |
22148 | if (obj3) { |
22149 | arg4 = (bool)SWIG_As_bool(obj3); | |
22150 | if (PyErr_Occurred()) SWIG_fail; | |
d55e5bfc RD |
22151 | } |
22152 | { | |
22153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 | 22154 | result = (bool)(arg1)->Print(arg2,arg3,arg4); |
d55e5bfc RD |
22155 | |
22156 | wxPyEndAllowThreads(__tstate); | |
22157 | if (PyErr_Occurred()) SWIG_fail; | |
22158 | } | |
d55e5bfc | 22159 | { |
070c48b4 | 22160 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d55e5bfc RD |
22161 | } |
22162 | return resultobj; | |
22163 | fail: | |
d55e5bfc RD |
22164 | return NULL; |
22165 | } | |
22166 | ||
22167 | ||
070c48b4 | 22168 | static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22169 | PyObject *resultobj; |
22170 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
22171 | wxWindow *arg2 = (wxWindow *) 0 ; | |
070c48b4 | 22172 | wxDC *result; |
d55e5bfc RD |
22173 | PyObject * obj0 = 0 ; |
22174 | PyObject * obj1 = 0 ; | |
22175 | char *kwnames[] = { | |
22176 | (char *) "self",(char *) "parent", NULL | |
22177 | }; | |
22178 | ||
070c48b4 | 22179 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail; |
d55e5bfc RD |
22180 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
22181 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22182 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
22183 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22184 | { | |
22185 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 | 22186 | result = (wxDC *)(arg1)->PrintDialog(arg2); |
d55e5bfc RD |
22187 | |
22188 | wxPyEndAllowThreads(__tstate); | |
22189 | if (PyErr_Occurred()) SWIG_fail; | |
22190 | } | |
22191 | { | |
070c48b4 | 22192 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
22193 | } |
22194 | return resultobj; | |
22195 | fail: | |
22196 | return NULL; | |
22197 | } | |
22198 | ||
22199 | ||
070c48b4 RD |
22200 | static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
22201 | PyObject *resultobj; | |
22202 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
22203 | wxPrintDialogData *result; | |
22204 | PyObject * obj0 = 0 ; | |
22205 | char *kwnames[] = { | |
22206 | (char *) "self", NULL | |
22207 | }; | |
22208 | ||
22209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
22210 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, | |
22211 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22212 | { | |
22213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22214 | { | |
22215 | wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData(); | |
22216 | result = (wxPrintDialogData *) &_result_ref; | |
22217 | } | |
22218 | ||
22219 | wxPyEndAllowThreads(__tstate); | |
22220 | if (PyErr_Occurred()) SWIG_fail; | |
22221 | } | |
22222 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); | |
22223 | return resultobj; | |
22224 | fail: | |
22225 | return NULL; | |
22226 | } | |
22227 | ||
22228 | ||
c370783e | 22229 | static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22230 | PyObject *resultobj; |
22231 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
22232 | bool result; | |
22233 | PyObject * obj0 = 0 ; | |
22234 | char *kwnames[] = { | |
22235 | (char *) "self", NULL | |
22236 | }; | |
22237 | ||
22238 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail; | |
22239 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, | |
22240 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22241 | { | |
22242 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22243 | result = (bool)(arg1)->GetAbort(); | |
22244 | ||
22245 | wxPyEndAllowThreads(__tstate); | |
22246 | if (PyErr_Occurred()) SWIG_fail; | |
22247 | } | |
22248 | { | |
22249 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22250 | } | |
22251 | return resultobj; | |
22252 | fail: | |
22253 | return NULL; | |
22254 | } | |
22255 | ||
22256 | ||
c370783e | 22257 | static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22258 | PyObject *resultobj; |
22259 | int result; | |
22260 | char *kwnames[] = { | |
22261 | NULL | |
22262 | }; | |
22263 | ||
22264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail; | |
22265 | { | |
22266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22267 | result = (int)wxPrinter::GetLastError(); | |
22268 | ||
22269 | wxPyEndAllowThreads(__tstate); | |
22270 | if (PyErr_Occurred()) SWIG_fail; | |
22271 | } | |
c370783e | 22272 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
22273 | return resultobj; |
22274 | fail: | |
22275 | return NULL; | |
22276 | } | |
22277 | ||
22278 | ||
c370783e | 22279 | static PyObject * Printer_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
22280 | PyObject *obj; |
22281 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22282 | SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj); | |
22283 | Py_INCREF(obj); | |
22284 | return Py_BuildValue((char *)""); | |
22285 | } | |
c370783e | 22286 | static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22287 | PyObject *resultobj; |
22288 | wxString const &arg1_defvalue = wxPyPrintoutTitleStr ; | |
22289 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
22290 | wxPyPrintout *result; | |
b411df4a | 22291 | bool temp1 = false ; |
d55e5bfc RD |
22292 | PyObject * obj0 = 0 ; |
22293 | char *kwnames[] = { | |
22294 | (char *) "title", NULL | |
22295 | }; | |
22296 | ||
22297 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail; | |
22298 | if (obj0) { | |
22299 | { | |
22300 | arg1 = wxString_in_helper(obj0); | |
22301 | if (arg1 == NULL) SWIG_fail; | |
b411df4a | 22302 | temp1 = true; |
d55e5bfc RD |
22303 | } |
22304 | } | |
22305 | { | |
0439c23b | 22306 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
22307 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
22308 | result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1); | |
22309 | ||
22310 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 22311 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
22312 | } |
22313 | { | |
412d302d | 22314 | resultobj = wxPyMake_wxObject(result, 1); |
d55e5bfc RD |
22315 | } |
22316 | { | |
22317 | if (temp1) | |
22318 | delete arg1; | |
22319 | } | |
22320 | return resultobj; | |
22321 | fail: | |
22322 | { | |
22323 | if (temp1) | |
22324 | delete arg1; | |
22325 | } | |
22326 | return NULL; | |
22327 | } | |
22328 | ||
22329 | ||
c370783e | 22330 | static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22331 | PyObject *resultobj; |
22332 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22333 | PyObject *arg2 = (PyObject *) 0 ; | |
22334 | PyObject *arg3 = (PyObject *) 0 ; | |
22335 | PyObject * obj0 = 0 ; | |
22336 | PyObject * obj1 = 0 ; | |
22337 | PyObject * obj2 = 0 ; | |
22338 | char *kwnames[] = { | |
22339 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
22340 | }; | |
22341 | ||
22342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
22343 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22344 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22345 | arg2 = obj1; | |
22346 | arg3 = obj2; | |
22347 | { | |
22348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22349 | (arg1)->_setCallbackInfo(arg2,arg3); | |
22350 | ||
22351 | wxPyEndAllowThreads(__tstate); | |
22352 | if (PyErr_Occurred()) SWIG_fail; | |
22353 | } | |
22354 | Py_INCREF(Py_None); resultobj = Py_None; | |
22355 | return resultobj; | |
22356 | fail: | |
22357 | return NULL; | |
22358 | } | |
22359 | ||
22360 | ||
c370783e | 22361 | static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22362 | PyObject *resultobj; |
22363 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22364 | wxString result; | |
22365 | PyObject * obj0 = 0 ; | |
22366 | char *kwnames[] = { | |
22367 | (char *) "self", NULL | |
22368 | }; | |
22369 | ||
22370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail; | |
22371 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22372 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22373 | { | |
22374 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22375 | result = ((wxPyPrintout const *)arg1)->GetTitle(); | |
22376 | ||
22377 | wxPyEndAllowThreads(__tstate); | |
22378 | if (PyErr_Occurred()) SWIG_fail; | |
22379 | } | |
22380 | { | |
22381 | #if wxUSE_UNICODE | |
22382 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
22383 | #else | |
22384 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
22385 | #endif | |
22386 | } | |
22387 | return resultobj; | |
22388 | fail: | |
22389 | return NULL; | |
22390 | } | |
22391 | ||
22392 | ||
c370783e | 22393 | static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22394 | PyObject *resultobj; |
22395 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22396 | wxDC *result; | |
22397 | PyObject * obj0 = 0 ; | |
22398 | char *kwnames[] = { | |
22399 | (char *) "self", NULL | |
22400 | }; | |
22401 | ||
22402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail; | |
22403 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22404 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22405 | { | |
22406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22407 | result = (wxDC *)(arg1)->GetDC(); | |
22408 | ||
22409 | wxPyEndAllowThreads(__tstate); | |
22410 | if (PyErr_Occurred()) SWIG_fail; | |
22411 | } | |
22412 | { | |
412d302d | 22413 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
22414 | } |
22415 | return resultobj; | |
22416 | fail: | |
22417 | return NULL; | |
22418 | } | |
22419 | ||
22420 | ||
c370783e | 22421 | static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22422 | PyObject *resultobj; |
22423 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22424 | wxDC *arg2 = (wxDC *) 0 ; | |
22425 | PyObject * obj0 = 0 ; | |
22426 | PyObject * obj1 = 0 ; | |
22427 | char *kwnames[] = { | |
22428 | (char *) "self",(char *) "dc", NULL | |
22429 | }; | |
22430 | ||
22431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail; | |
22432 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22433 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22434 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
22435 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22436 | { | |
22437 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22438 | (arg1)->SetDC(arg2); | |
22439 | ||
22440 | wxPyEndAllowThreads(__tstate); | |
22441 | if (PyErr_Occurred()) SWIG_fail; | |
22442 | } | |
22443 | Py_INCREF(Py_None); resultobj = Py_None; | |
22444 | return resultobj; | |
22445 | fail: | |
22446 | return NULL; | |
22447 | } | |
22448 | ||
22449 | ||
c370783e | 22450 | static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22451 | PyObject *resultobj; |
22452 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22453 | int arg2 ; | |
22454 | int arg3 ; | |
22455 | PyObject * obj0 = 0 ; | |
22456 | PyObject * obj1 = 0 ; | |
22457 | PyObject * obj2 = 0 ; | |
22458 | char *kwnames[] = { | |
22459 | (char *) "self",(char *) "w",(char *) "h", NULL | |
22460 | }; | |
22461 | ||
22462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
22463 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22464 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 22465 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc | 22466 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 22467 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
22468 | if (PyErr_Occurred()) SWIG_fail; |
22469 | { | |
22470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22471 | (arg1)->SetPageSizePixels(arg2,arg3); | |
22472 | ||
22473 | wxPyEndAllowThreads(__tstate); | |
22474 | if (PyErr_Occurred()) SWIG_fail; | |
22475 | } | |
22476 | Py_INCREF(Py_None); resultobj = Py_None; | |
22477 | return resultobj; | |
22478 | fail: | |
22479 | return NULL; | |
22480 | } | |
22481 | ||
22482 | ||
c370783e | 22483 | static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22484 | PyObject *resultobj; |
22485 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22486 | int *arg2 = (int *) 0 ; | |
22487 | int *arg3 = (int *) 0 ; | |
22488 | int temp2 ; | |
c370783e | 22489 | int res2 = 0 ; |
d55e5bfc | 22490 | int temp3 ; |
c370783e | 22491 | int res3 = 0 ; |
d55e5bfc RD |
22492 | PyObject * obj0 = 0 ; |
22493 | char *kwnames[] = { | |
22494 | (char *) "self", NULL | |
22495 | }; | |
22496 | ||
c370783e RD |
22497 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
22498 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc RD |
22499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail; |
22500 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22501 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22502 | { | |
22503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22504 | (arg1)->GetPageSizePixels(arg2,arg3); | |
22505 | ||
22506 | wxPyEndAllowThreads(__tstate); | |
22507 | if (PyErr_Occurred()) SWIG_fail; | |
22508 | } | |
22509 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
22510 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
22511 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
22512 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
22513 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
22514 | return resultobj; |
22515 | fail: | |
22516 | return NULL; | |
22517 | } | |
22518 | ||
22519 | ||
c370783e | 22520 | static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22521 | PyObject *resultobj; |
22522 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22523 | int arg2 ; | |
22524 | int arg3 ; | |
22525 | PyObject * obj0 = 0 ; | |
22526 | PyObject * obj1 = 0 ; | |
22527 | PyObject * obj2 = 0 ; | |
22528 | char *kwnames[] = { | |
22529 | (char *) "self",(char *) "w",(char *) "h", NULL | |
22530 | }; | |
22531 | ||
22532 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
22533 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22534 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 22535 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc | 22536 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 22537 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
22538 | if (PyErr_Occurred()) SWIG_fail; |
22539 | { | |
22540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22541 | (arg1)->SetPageSizeMM(arg2,arg3); | |
22542 | ||
22543 | wxPyEndAllowThreads(__tstate); | |
22544 | if (PyErr_Occurred()) SWIG_fail; | |
22545 | } | |
22546 | Py_INCREF(Py_None); resultobj = Py_None; | |
22547 | return resultobj; | |
22548 | fail: | |
22549 | return NULL; | |
22550 | } | |
22551 | ||
22552 | ||
c370783e | 22553 | static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22554 | PyObject *resultobj; |
22555 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22556 | int *arg2 = (int *) 0 ; | |
22557 | int *arg3 = (int *) 0 ; | |
22558 | int temp2 ; | |
c370783e | 22559 | int res2 = 0 ; |
d55e5bfc | 22560 | int temp3 ; |
c370783e | 22561 | int res3 = 0 ; |
d55e5bfc RD |
22562 | PyObject * obj0 = 0 ; |
22563 | char *kwnames[] = { | |
22564 | (char *) "self", NULL | |
22565 | }; | |
22566 | ||
c370783e RD |
22567 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
22568 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc RD |
22569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail; |
22570 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22571 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22572 | { | |
22573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22574 | (arg1)->GetPageSizeMM(arg2,arg3); | |
22575 | ||
22576 | wxPyEndAllowThreads(__tstate); | |
22577 | if (PyErr_Occurred()) SWIG_fail; | |
22578 | } | |
22579 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
22580 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
22581 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
22582 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
22583 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
22584 | return resultobj; |
22585 | fail: | |
22586 | return NULL; | |
22587 | } | |
22588 | ||
22589 | ||
c370783e | 22590 | static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22591 | PyObject *resultobj; |
22592 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22593 | int arg2 ; | |
22594 | int arg3 ; | |
22595 | PyObject * obj0 = 0 ; | |
22596 | PyObject * obj1 = 0 ; | |
22597 | PyObject * obj2 = 0 ; | |
22598 | char *kwnames[] = { | |
22599 | (char *) "self",(char *) "x",(char *) "y", NULL | |
22600 | }; | |
22601 | ||
22602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
22603 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22604 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 22605 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc | 22606 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 22607 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
22608 | if (PyErr_Occurred()) SWIG_fail; |
22609 | { | |
22610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22611 | (arg1)->SetPPIScreen(arg2,arg3); | |
22612 | ||
22613 | wxPyEndAllowThreads(__tstate); | |
22614 | if (PyErr_Occurred()) SWIG_fail; | |
22615 | } | |
22616 | Py_INCREF(Py_None); resultobj = Py_None; | |
22617 | return resultobj; | |
22618 | fail: | |
22619 | return NULL; | |
22620 | } | |
22621 | ||
22622 | ||
c370783e | 22623 | static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22624 | PyObject *resultobj; |
22625 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22626 | int *arg2 = (int *) 0 ; | |
22627 | int *arg3 = (int *) 0 ; | |
22628 | int temp2 ; | |
c370783e | 22629 | int res2 = 0 ; |
d55e5bfc | 22630 | int temp3 ; |
c370783e | 22631 | int res3 = 0 ; |
d55e5bfc RD |
22632 | PyObject * obj0 = 0 ; |
22633 | char *kwnames[] = { | |
22634 | (char *) "self", NULL | |
22635 | }; | |
22636 | ||
c370783e RD |
22637 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
22638 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc RD |
22639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail; |
22640 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22641 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22642 | { | |
22643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22644 | (arg1)->GetPPIScreen(arg2,arg3); | |
22645 | ||
22646 | wxPyEndAllowThreads(__tstate); | |
22647 | if (PyErr_Occurred()) SWIG_fail; | |
22648 | } | |
22649 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
22650 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
22651 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
22652 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
22653 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
22654 | return resultobj; |
22655 | fail: | |
22656 | return NULL; | |
22657 | } | |
22658 | ||
22659 | ||
c370783e | 22660 | static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22661 | PyObject *resultobj; |
22662 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22663 | int arg2 ; | |
22664 | int arg3 ; | |
22665 | PyObject * obj0 = 0 ; | |
22666 | PyObject * obj1 = 0 ; | |
22667 | PyObject * obj2 = 0 ; | |
22668 | char *kwnames[] = { | |
22669 | (char *) "self",(char *) "x",(char *) "y", NULL | |
22670 | }; | |
22671 | ||
22672 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
22673 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22674 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 22675 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc | 22676 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 22677 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
22678 | if (PyErr_Occurred()) SWIG_fail; |
22679 | { | |
22680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22681 | (arg1)->SetPPIPrinter(arg2,arg3); | |
22682 | ||
22683 | wxPyEndAllowThreads(__tstate); | |
22684 | if (PyErr_Occurred()) SWIG_fail; | |
22685 | } | |
22686 | Py_INCREF(Py_None); resultobj = Py_None; | |
22687 | return resultobj; | |
22688 | fail: | |
22689 | return NULL; | |
22690 | } | |
22691 | ||
22692 | ||
c370783e | 22693 | static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22694 | PyObject *resultobj; |
22695 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22696 | int *arg2 = (int *) 0 ; | |
22697 | int *arg3 = (int *) 0 ; | |
22698 | int temp2 ; | |
c370783e | 22699 | int res2 = 0 ; |
d55e5bfc | 22700 | int temp3 ; |
c370783e | 22701 | int res3 = 0 ; |
d55e5bfc RD |
22702 | PyObject * obj0 = 0 ; |
22703 | char *kwnames[] = { | |
22704 | (char *) "self", NULL | |
22705 | }; | |
22706 | ||
c370783e RD |
22707 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
22708 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc RD |
22709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail; |
22710 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22711 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22712 | { | |
22713 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22714 | (arg1)->GetPPIPrinter(arg2,arg3); | |
22715 | ||
22716 | wxPyEndAllowThreads(__tstate); | |
22717 | if (PyErr_Occurred()) SWIG_fail; | |
22718 | } | |
22719 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
22720 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
22721 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
22722 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
22723 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
22724 | return resultobj; |
22725 | fail: | |
22726 | return NULL; | |
22727 | } | |
22728 | ||
22729 | ||
c370783e | 22730 | static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22731 | PyObject *resultobj; |
22732 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22733 | bool result; | |
22734 | PyObject * obj0 = 0 ; | |
22735 | char *kwnames[] = { | |
22736 | (char *) "self", NULL | |
22737 | }; | |
22738 | ||
22739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail; | |
22740 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22741 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22742 | { | |
22743 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22744 | result = (bool)(arg1)->IsPreview(); | |
22745 | ||
22746 | wxPyEndAllowThreads(__tstate); | |
22747 | if (PyErr_Occurred()) SWIG_fail; | |
22748 | } | |
22749 | { | |
22750 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22751 | } | |
22752 | return resultobj; | |
22753 | fail: | |
22754 | return NULL; | |
22755 | } | |
22756 | ||
22757 | ||
c370783e | 22758 | static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22759 | PyObject *resultobj; |
22760 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22761 | bool arg2 ; | |
22762 | PyObject * obj0 = 0 ; | |
22763 | PyObject * obj1 = 0 ; | |
22764 | char *kwnames[] = { | |
22765 | (char *) "self",(char *) "p", NULL | |
22766 | }; | |
22767 | ||
22768 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail; | |
22769 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22770 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 22771 | arg2 = (bool)SWIG_As_bool(obj1); |
d55e5bfc RD |
22772 | if (PyErr_Occurred()) SWIG_fail; |
22773 | { | |
22774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22775 | (arg1)->SetIsPreview(arg2); | |
22776 | ||
22777 | wxPyEndAllowThreads(__tstate); | |
22778 | if (PyErr_Occurred()) SWIG_fail; | |
22779 | } | |
22780 | Py_INCREF(Py_None); resultobj = Py_None; | |
22781 | return resultobj; | |
22782 | fail: | |
22783 | return NULL; | |
22784 | } | |
22785 | ||
22786 | ||
c370783e | 22787 | static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22788 | PyObject *resultobj; |
22789 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22790 | int arg2 ; | |
22791 | int arg3 ; | |
22792 | bool result; | |
22793 | PyObject * obj0 = 0 ; | |
22794 | PyObject * obj1 = 0 ; | |
22795 | PyObject * obj2 = 0 ; | |
22796 | char *kwnames[] = { | |
22797 | (char *) "self",(char *) "startPage",(char *) "endPage", NULL | |
22798 | }; | |
22799 | ||
22800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
22801 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22802 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 22803 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc | 22804 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 22805 | arg3 = (int)SWIG_As_int(obj2); |
d55e5bfc RD |
22806 | if (PyErr_Occurred()) SWIG_fail; |
22807 | { | |
22808 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22809 | result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3); | |
22810 | ||
22811 | wxPyEndAllowThreads(__tstate); | |
22812 | if (PyErr_Occurred()) SWIG_fail; | |
22813 | } | |
22814 | { | |
22815 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22816 | } | |
22817 | return resultobj; | |
22818 | fail: | |
22819 | return NULL; | |
22820 | } | |
22821 | ||
22822 | ||
c370783e | 22823 | static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22824 | PyObject *resultobj; |
22825 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22826 | PyObject * obj0 = 0 ; | |
22827 | char *kwnames[] = { | |
22828 | (char *) "self", NULL | |
22829 | }; | |
22830 | ||
22831 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail; | |
22832 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22833 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22834 | { | |
22835 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22836 | (arg1)->base_OnEndDocument(); | |
22837 | ||
22838 | wxPyEndAllowThreads(__tstate); | |
22839 | if (PyErr_Occurred()) SWIG_fail; | |
22840 | } | |
22841 | Py_INCREF(Py_None); resultobj = Py_None; | |
22842 | return resultobj; | |
22843 | fail: | |
22844 | return NULL; | |
22845 | } | |
22846 | ||
22847 | ||
c370783e | 22848 | static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22849 | PyObject *resultobj; |
22850 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22851 | PyObject * obj0 = 0 ; | |
22852 | char *kwnames[] = { | |
22853 | (char *) "self", NULL | |
22854 | }; | |
22855 | ||
22856 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail; | |
22857 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22858 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22859 | { | |
22860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22861 | (arg1)->base_OnBeginPrinting(); | |
22862 | ||
22863 | wxPyEndAllowThreads(__tstate); | |
22864 | if (PyErr_Occurred()) SWIG_fail; | |
22865 | } | |
22866 | Py_INCREF(Py_None); resultobj = Py_None; | |
22867 | return resultobj; | |
22868 | fail: | |
22869 | return NULL; | |
22870 | } | |
22871 | ||
22872 | ||
c370783e | 22873 | static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22874 | PyObject *resultobj; |
22875 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22876 | PyObject * obj0 = 0 ; | |
22877 | char *kwnames[] = { | |
22878 | (char *) "self", NULL | |
22879 | }; | |
22880 | ||
22881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail; | |
22882 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22883 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22884 | { | |
22885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22886 | (arg1)->base_OnEndPrinting(); | |
22887 | ||
22888 | wxPyEndAllowThreads(__tstate); | |
22889 | if (PyErr_Occurred()) SWIG_fail; | |
22890 | } | |
22891 | Py_INCREF(Py_None); resultobj = Py_None; | |
22892 | return resultobj; | |
22893 | fail: | |
22894 | return NULL; | |
22895 | } | |
22896 | ||
22897 | ||
c370783e | 22898 | static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22899 | PyObject *resultobj; |
22900 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22901 | PyObject * obj0 = 0 ; | |
22902 | char *kwnames[] = { | |
22903 | (char *) "self", NULL | |
22904 | }; | |
22905 | ||
22906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail; | |
22907 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22908 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22909 | { | |
22910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22911 | (arg1)->base_OnPreparePrinting(); | |
22912 | ||
22913 | wxPyEndAllowThreads(__tstate); | |
22914 | if (PyErr_Occurred()) SWIG_fail; | |
22915 | } | |
22916 | Py_INCREF(Py_None); resultobj = Py_None; | |
22917 | return resultobj; | |
22918 | fail: | |
22919 | return NULL; | |
22920 | } | |
22921 | ||
22922 | ||
c370783e | 22923 | static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22924 | PyObject *resultobj; |
22925 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22926 | int arg2 ; | |
22927 | bool result; | |
22928 | PyObject * obj0 = 0 ; | |
22929 | PyObject * obj1 = 0 ; | |
22930 | char *kwnames[] = { | |
22931 | (char *) "self",(char *) "page", NULL | |
22932 | }; | |
22933 | ||
22934 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail; | |
22935 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22936 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 22937 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
22938 | if (PyErr_Occurred()) SWIG_fail; |
22939 | { | |
22940 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22941 | result = (bool)(arg1)->base_HasPage(arg2); | |
22942 | ||
22943 | wxPyEndAllowThreads(__tstate); | |
22944 | if (PyErr_Occurred()) SWIG_fail; | |
22945 | } | |
22946 | { | |
22947 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22948 | } | |
22949 | return resultobj; | |
22950 | fail: | |
22951 | return NULL; | |
22952 | } | |
22953 | ||
22954 | ||
c370783e | 22955 | static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22956 | PyObject *resultobj; |
22957 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22958 | int *arg2 = (int *) 0 ; | |
22959 | int *arg3 = (int *) 0 ; | |
22960 | int *arg4 = (int *) 0 ; | |
22961 | int *arg5 = (int *) 0 ; | |
22962 | int temp2 ; | |
c370783e | 22963 | int res2 = 0 ; |
d55e5bfc | 22964 | int temp3 ; |
c370783e | 22965 | int res3 = 0 ; |
d55e5bfc | 22966 | int temp4 ; |
c370783e | 22967 | int res4 = 0 ; |
d55e5bfc | 22968 | int temp5 ; |
c370783e | 22969 | int res5 = 0 ; |
d55e5bfc RD |
22970 | PyObject * obj0 = 0 ; |
22971 | char *kwnames[] = { | |
22972 | (char *) "self", NULL | |
22973 | }; | |
22974 | ||
c370783e RD |
22975 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
22976 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
22977 | arg4 = &temp4; res4 = SWIG_NEWOBJ; | |
22978 | arg5 = &temp5; res5 = SWIG_NEWOBJ; | |
d55e5bfc RD |
22979 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail; |
22980 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22981 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22982 | { | |
22983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22984 | (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5); | |
22985 | ||
22986 | wxPyEndAllowThreads(__tstate); | |
22987 | if (PyErr_Occurred()) SWIG_fail; | |
22988 | } | |
22989 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
22990 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
22991 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
22992 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
22993 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
22994 | resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ? | |
22995 | SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0))); | |
22996 | resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ? | |
22997 | SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
22998 | return resultobj; |
22999 | fail: | |
23000 | return NULL; | |
23001 | } | |
23002 | ||
23003 | ||
c370783e | 23004 | static PyObject * Printout_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
23005 | PyObject *obj; |
23006 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
23007 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj); | |
23008 | Py_INCREF(obj); | |
23009 | return Py_BuildValue((char *)""); | |
23010 | } | |
c370783e | 23011 | static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23012 | PyObject *resultobj; |
23013 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23014 | wxWindow *arg2 = (wxWindow *) 0 ; | |
23015 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
23016 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
23017 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
23018 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
23019 | long arg5 = (long) 0 ; | |
23020 | wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ; | |
23021 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
23022 | wxPreviewCanvas *result; | |
23023 | wxPoint temp3 ; | |
23024 | wxSize temp4 ; | |
b411df4a | 23025 | bool temp6 = false ; |
d55e5bfc RD |
23026 | PyObject * obj0 = 0 ; |
23027 | PyObject * obj1 = 0 ; | |
23028 | PyObject * obj2 = 0 ; | |
23029 | PyObject * obj3 = 0 ; | |
23030 | PyObject * obj4 = 0 ; | |
23031 | PyObject * obj5 = 0 ; | |
23032 | char *kwnames[] = { | |
23033 | (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
23034 | }; | |
23035 | ||
23036 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
23037 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
23038 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23039 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
23040 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23041 | if (obj2) { | |
23042 | { | |
23043 | arg3 = &temp3; | |
23044 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
23045 | } | |
23046 | } | |
23047 | if (obj3) { | |
23048 | { | |
23049 | arg4 = &temp4; | |
23050 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
23051 | } | |
23052 | } | |
23053 | if (obj4) { | |
c370783e | 23054 | arg5 = (long)SWIG_As_long(obj4); |
d55e5bfc RD |
23055 | if (PyErr_Occurred()) SWIG_fail; |
23056 | } | |
23057 | if (obj5) { | |
23058 | { | |
23059 | arg6 = wxString_in_helper(obj5); | |
23060 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 23061 | temp6 = true; |
d55e5bfc RD |
23062 | } |
23063 | } | |
23064 | { | |
0439c23b | 23065 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
23066 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
23067 | result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
23068 | ||
23069 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 23070 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
23071 | } |
23072 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1); | |
23073 | { | |
23074 | if (temp6) | |
23075 | delete arg6; | |
23076 | } | |
23077 | return resultobj; | |
23078 | fail: | |
23079 | { | |
23080 | if (temp6) | |
23081 | delete arg6; | |
23082 | } | |
23083 | return NULL; | |
23084 | } | |
23085 | ||
23086 | ||
c370783e | 23087 | static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
23088 | PyObject *obj; |
23089 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
23090 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj); | |
23091 | Py_INCREF(obj); | |
23092 | return Py_BuildValue((char *)""); | |
23093 | } | |
c370783e | 23094 | static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23095 | PyObject *resultobj; |
23096 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23097 | wxFrame *arg2 = (wxFrame *) 0 ; | |
23098 | wxString *arg3 = 0 ; | |
23099 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
23100 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
23101 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
23102 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
23103 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
23104 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
23105 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
23106 | wxPreviewFrame *result; | |
b411df4a | 23107 | bool temp3 = false ; |
d55e5bfc RD |
23108 | wxPoint temp4 ; |
23109 | wxSize temp5 ; | |
b411df4a | 23110 | bool temp7 = false ; |
d55e5bfc RD |
23111 | PyObject * obj0 = 0 ; |
23112 | PyObject * obj1 = 0 ; | |
23113 | PyObject * obj2 = 0 ; | |
23114 | PyObject * obj3 = 0 ; | |
23115 | PyObject * obj4 = 0 ; | |
23116 | PyObject * obj5 = 0 ; | |
23117 | PyObject * obj6 = 0 ; | |
23118 | char *kwnames[] = { | |
23119 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
23120 | }; | |
23121 | ||
23122 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
23123 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
23124 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23125 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
23126 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23127 | { | |
23128 | arg3 = wxString_in_helper(obj2); | |
23129 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 23130 | temp3 = true; |
d55e5bfc RD |
23131 | } |
23132 | if (obj3) { | |
23133 | { | |
23134 | arg4 = &temp4; | |
23135 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
23136 | } | |
23137 | } | |
23138 | if (obj4) { | |
23139 | { | |
23140 | arg5 = &temp5; | |
23141 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
23142 | } | |
23143 | } | |
23144 | if (obj5) { | |
c370783e | 23145 | arg6 = (long)SWIG_As_long(obj5); |
d55e5bfc RD |
23146 | if (PyErr_Occurred()) SWIG_fail; |
23147 | } | |
23148 | if (obj6) { | |
23149 | { | |
23150 | arg7 = wxString_in_helper(obj6); | |
23151 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 23152 | temp7 = true; |
d55e5bfc RD |
23153 | } |
23154 | } | |
23155 | { | |
0439c23b | 23156 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
23157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
23158 | result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
23159 | ||
23160 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 23161 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
23162 | } |
23163 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1); | |
23164 | { | |
23165 | if (temp3) | |
23166 | delete arg3; | |
23167 | } | |
23168 | { | |
23169 | if (temp7) | |
23170 | delete arg7; | |
23171 | } | |
23172 | return resultobj; | |
23173 | fail: | |
23174 | { | |
23175 | if (temp3) | |
23176 | delete arg3; | |
23177 | } | |
23178 | { | |
23179 | if (temp7) | |
23180 | delete arg7; | |
23181 | } | |
23182 | return NULL; | |
23183 | } | |
23184 | ||
23185 | ||
c370783e | 23186 | static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23187 | PyObject *resultobj; |
23188 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
23189 | PyObject * obj0 = 0 ; | |
23190 | char *kwnames[] = { | |
23191 | (char *) "self", NULL | |
23192 | }; | |
23193 | ||
23194 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail; | |
23195 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, | |
23196 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23197 | { | |
23198 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23199 | (arg1)->Initialize(); | |
23200 | ||
23201 | wxPyEndAllowThreads(__tstate); | |
23202 | if (PyErr_Occurred()) SWIG_fail; | |
23203 | } | |
23204 | Py_INCREF(Py_None); resultobj = Py_None; | |
23205 | return resultobj; | |
23206 | fail: | |
23207 | return NULL; | |
23208 | } | |
23209 | ||
23210 | ||
c370783e | 23211 | static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23212 | PyObject *resultobj; |
23213 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
23214 | PyObject * obj0 = 0 ; | |
23215 | char *kwnames[] = { | |
23216 | (char *) "self", NULL | |
23217 | }; | |
23218 | ||
23219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail; | |
23220 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, | |
23221 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23222 | { | |
23223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23224 | (arg1)->CreateControlBar(); | |
23225 | ||
23226 | wxPyEndAllowThreads(__tstate); | |
23227 | if (PyErr_Occurred()) SWIG_fail; | |
23228 | } | |
23229 | Py_INCREF(Py_None); resultobj = Py_None; | |
23230 | return resultobj; | |
23231 | fail: | |
23232 | return NULL; | |
23233 | } | |
23234 | ||
23235 | ||
c370783e | 23236 | static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23237 | PyObject *resultobj; |
23238 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
23239 | PyObject * obj0 = 0 ; | |
23240 | char *kwnames[] = { | |
23241 | (char *) "self", NULL | |
23242 | }; | |
23243 | ||
23244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail; | |
23245 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, | |
23246 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23247 | { | |
23248 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23249 | (arg1)->CreateCanvas(); | |
23250 | ||
23251 | wxPyEndAllowThreads(__tstate); | |
23252 | if (PyErr_Occurred()) SWIG_fail; | |
23253 | } | |
23254 | Py_INCREF(Py_None); resultobj = Py_None; | |
23255 | return resultobj; | |
23256 | fail: | |
23257 | return NULL; | |
23258 | } | |
23259 | ||
23260 | ||
c370783e | 23261 | static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23262 | PyObject *resultobj; |
23263 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
23264 | wxPreviewControlBar *result; | |
23265 | PyObject * obj0 = 0 ; | |
23266 | char *kwnames[] = { | |
23267 | (char *) "self", NULL | |
23268 | }; | |
23269 | ||
23270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail; | |
23271 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, | |
23272 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23273 | { | |
23274 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23275 | result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar(); | |
23276 | ||
23277 | wxPyEndAllowThreads(__tstate); | |
23278 | if (PyErr_Occurred()) SWIG_fail; | |
23279 | } | |
23280 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0); | |
23281 | return resultobj; | |
23282 | fail: | |
23283 | return NULL; | |
23284 | } | |
23285 | ||
23286 | ||
c370783e | 23287 | static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
23288 | PyObject *obj; |
23289 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
23290 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj); | |
23291 | Py_INCREF(obj); | |
23292 | return Py_BuildValue((char *)""); | |
23293 | } | |
c370783e | 23294 | static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23295 | PyObject *resultobj; |
23296 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23297 | long arg2 ; | |
23298 | wxWindow *arg3 = (wxWindow *) 0 ; | |
23299 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
23300 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
23301 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
23302 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
23303 | long arg6 = (long) wxTAB_TRAVERSAL ; | |
23304 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
23305 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
23306 | wxPreviewControlBar *result; | |
23307 | wxPoint temp4 ; | |
23308 | wxSize temp5 ; | |
b411df4a | 23309 | bool temp7 = false ; |
d55e5bfc RD |
23310 | PyObject * obj0 = 0 ; |
23311 | PyObject * obj1 = 0 ; | |
23312 | PyObject * obj2 = 0 ; | |
23313 | PyObject * obj3 = 0 ; | |
23314 | PyObject * obj4 = 0 ; | |
23315 | PyObject * obj5 = 0 ; | |
23316 | PyObject * obj6 = 0 ; | |
23317 | char *kwnames[] = { | |
23318 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
23319 | }; | |
23320 | ||
23321 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
23322 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
23323 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 23324 | arg2 = (long)SWIG_As_long(obj1); |
d55e5bfc RD |
23325 | if (PyErr_Occurred()) SWIG_fail; |
23326 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
23327 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23328 | if (obj3) { | |
23329 | { | |
23330 | arg4 = &temp4; | |
23331 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
23332 | } | |
23333 | } | |
23334 | if (obj4) { | |
23335 | { | |
23336 | arg5 = &temp5; | |
23337 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
23338 | } | |
23339 | } | |
23340 | if (obj5) { | |
c370783e | 23341 | arg6 = (long)SWIG_As_long(obj5); |
d55e5bfc RD |
23342 | if (PyErr_Occurred()) SWIG_fail; |
23343 | } | |
23344 | if (obj6) { | |
23345 | { | |
23346 | arg7 = wxString_in_helper(obj6); | |
23347 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 23348 | temp7 = true; |
d55e5bfc RD |
23349 | } |
23350 | } | |
23351 | { | |
0439c23b | 23352 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
23353 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
23354 | result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
23355 | ||
23356 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 23357 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
23358 | } |
23359 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1); | |
23360 | { | |
23361 | if (temp7) | |
23362 | delete arg7; | |
23363 | } | |
23364 | return resultobj; | |
23365 | fail: | |
23366 | { | |
23367 | if (temp7) | |
23368 | delete arg7; | |
23369 | } | |
23370 | return NULL; | |
23371 | } | |
23372 | ||
23373 | ||
c370783e | 23374 | static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23375 | PyObject *resultobj; |
23376 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23377 | int result; | |
23378 | PyObject * obj0 = 0 ; | |
23379 | char *kwnames[] = { | |
23380 | (char *) "self", NULL | |
23381 | }; | |
23382 | ||
23383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail; | |
23384 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, | |
23385 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23386 | { | |
23387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23388 | result = (int)(arg1)->GetZoomControl(); | |
23389 | ||
23390 | wxPyEndAllowThreads(__tstate); | |
23391 | if (PyErr_Occurred()) SWIG_fail; | |
23392 | } | |
c370783e | 23393 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
23394 | return resultobj; |
23395 | fail: | |
23396 | return NULL; | |
23397 | } | |
23398 | ||
23399 | ||
c370783e | 23400 | static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23401 | PyObject *resultobj; |
23402 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23403 | int arg2 ; | |
23404 | PyObject * obj0 = 0 ; | |
23405 | PyObject * obj1 = 0 ; | |
23406 | char *kwnames[] = { | |
23407 | (char *) "self",(char *) "zoom", NULL | |
23408 | }; | |
23409 | ||
23410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; | |
23411 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, | |
23412 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 23413 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
23414 | if (PyErr_Occurred()) SWIG_fail; |
23415 | { | |
23416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23417 | (arg1)->SetZoomControl(arg2); | |
23418 | ||
23419 | wxPyEndAllowThreads(__tstate); | |
23420 | if (PyErr_Occurred()) SWIG_fail; | |
23421 | } | |
23422 | Py_INCREF(Py_None); resultobj = Py_None; | |
23423 | return resultobj; | |
23424 | fail: | |
23425 | return NULL; | |
23426 | } | |
23427 | ||
23428 | ||
c370783e | 23429 | static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23430 | PyObject *resultobj; |
23431 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23432 | wxPrintPreview *result; | |
23433 | PyObject * obj0 = 0 ; | |
23434 | char *kwnames[] = { | |
23435 | (char *) "self", NULL | |
23436 | }; | |
23437 | ||
23438 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail; | |
23439 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, | |
23440 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23441 | { | |
23442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23443 | result = (wxPrintPreview *)(arg1)->GetPrintPreview(); | |
23444 | ||
23445 | wxPyEndAllowThreads(__tstate); | |
23446 | if (PyErr_Occurred()) SWIG_fail; | |
23447 | } | |
23448 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0); | |
23449 | return resultobj; | |
23450 | fail: | |
23451 | return NULL; | |
23452 | } | |
23453 | ||
23454 | ||
c370783e | 23455 | static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23456 | PyObject *resultobj; |
23457 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23458 | PyObject * obj0 = 0 ; | |
23459 | char *kwnames[] = { | |
23460 | (char *) "self", NULL | |
23461 | }; | |
23462 | ||
23463 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail; | |
23464 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, | |
23465 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23466 | { | |
23467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23468 | (arg1)->OnNext(); | |
23469 | ||
23470 | wxPyEndAllowThreads(__tstate); | |
23471 | if (PyErr_Occurred()) SWIG_fail; | |
23472 | } | |
23473 | Py_INCREF(Py_None); resultobj = Py_None; | |
23474 | return resultobj; | |
23475 | fail: | |
23476 | return NULL; | |
23477 | } | |
23478 | ||
23479 | ||
c370783e | 23480 | static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23481 | PyObject *resultobj; |
23482 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23483 | PyObject * obj0 = 0 ; | |
23484 | char *kwnames[] = { | |
23485 | (char *) "self", NULL | |
23486 | }; | |
23487 | ||
23488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail; | |
23489 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, | |
23490 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23491 | { | |
23492 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23493 | (arg1)->OnPrevious(); | |
23494 | ||
23495 | wxPyEndAllowThreads(__tstate); | |
23496 | if (PyErr_Occurred()) SWIG_fail; | |
23497 | } | |
23498 | Py_INCREF(Py_None); resultobj = Py_None; | |
23499 | return resultobj; | |
23500 | fail: | |
23501 | return NULL; | |
23502 | } | |
23503 | ||
23504 | ||
c370783e | 23505 | static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23506 | PyObject *resultobj; |
23507 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23508 | PyObject * obj0 = 0 ; | |
23509 | char *kwnames[] = { | |
23510 | (char *) "self", NULL | |
23511 | }; | |
23512 | ||
23513 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail; | |
23514 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, | |
23515 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23516 | { | |
23517 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23518 | (arg1)->OnFirst(); | |
23519 | ||
23520 | wxPyEndAllowThreads(__tstate); | |
23521 | if (PyErr_Occurred()) SWIG_fail; | |
23522 | } | |
23523 | Py_INCREF(Py_None); resultobj = Py_None; | |
23524 | return resultobj; | |
23525 | fail: | |
23526 | return NULL; | |
23527 | } | |
23528 | ||
23529 | ||
c370783e | 23530 | static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23531 | PyObject *resultobj; |
23532 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23533 | PyObject * obj0 = 0 ; | |
23534 | char *kwnames[] = { | |
23535 | (char *) "self", NULL | |
23536 | }; | |
23537 | ||
23538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail; | |
23539 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, | |
23540 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23541 | { | |
23542 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23543 | (arg1)->OnLast(); | |
23544 | ||
23545 | wxPyEndAllowThreads(__tstate); | |
23546 | if (PyErr_Occurred()) SWIG_fail; | |
23547 | } | |
23548 | Py_INCREF(Py_None); resultobj = Py_None; | |
23549 | return resultobj; | |
23550 | fail: | |
23551 | return NULL; | |
23552 | } | |
23553 | ||
23554 | ||
c370783e | 23555 | static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23556 | PyObject *resultobj; |
23557 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23558 | PyObject * obj0 = 0 ; | |
23559 | char *kwnames[] = { | |
23560 | (char *) "self", NULL | |
23561 | }; | |
23562 | ||
23563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail; | |
23564 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, | |
23565 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23566 | { | |
23567 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23568 | (arg1)->OnGoto(); | |
23569 | ||
23570 | wxPyEndAllowThreads(__tstate); | |
23571 | if (PyErr_Occurred()) SWIG_fail; | |
23572 | } | |
23573 | Py_INCREF(Py_None); resultobj = Py_None; | |
23574 | return resultobj; | |
23575 | fail: | |
23576 | return NULL; | |
23577 | } | |
23578 | ||
23579 | ||
c370783e | 23580 | static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
23581 | PyObject *obj; |
23582 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
23583 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj); | |
23584 | Py_INCREF(obj); | |
23585 | return Py_BuildValue((char *)""); | |
23586 | } | |
c370783e | 23587 | static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
23588 | PyObject *resultobj; |
23589 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
23590 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
23591 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; | |
23592 | wxPrintPreview *result; | |
23593 | PyObject * obj0 = 0 ; | |
23594 | PyObject * obj1 = 0 ; | |
23595 | PyObject * obj2 = 0 ; | |
23596 | ||
23597 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
23598 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
23599 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23600 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
23601 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23602 | if (obj2) { | |
23603 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData, | |
23604 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23605 | } | |
23606 | { | |
0439c23b | 23607 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
23608 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
23609 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
23610 | ||
23611 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 23612 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
23613 | } |
23614 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); | |
23615 | return resultobj; | |
23616 | fail: | |
23617 | return NULL; | |
23618 | } | |
23619 | ||
23620 | ||
c370783e | 23621 | static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) { |
d55e5bfc RD |
23622 | PyObject *resultobj; |
23623 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
23624 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
23625 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
23626 | wxPrintPreview *result; | |
23627 | PyObject * obj0 = 0 ; | |
23628 | PyObject * obj1 = 0 ; | |
23629 | PyObject * obj2 = 0 ; | |
23630 | ||
23631 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
23632 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
23633 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23634 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
23635 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23636 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData, | |
23637 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23638 | { | |
0439c23b | 23639 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
23640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
23641 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
23642 | ||
23643 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 23644 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
23645 | } |
23646 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); | |
23647 | return resultobj; | |
23648 | fail: | |
23649 | return NULL; | |
23650 | } | |
23651 | ||
23652 | ||
23653 | static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) { | |
23654 | int argc; | |
23655 | PyObject *argv[4]; | |
23656 | int ii; | |
23657 | ||
23658 | argc = PyObject_Length(args); | |
23659 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
23660 | argv[ii] = PyTuple_GetItem(args,ii); | |
23661 | } | |
23662 | if ((argc >= 2) && (argc <= 3)) { | |
23663 | int _v; | |
23664 | { | |
23665 | void *ptr; | |
23666 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
23667 | _v = 0; | |
23668 | PyErr_Clear(); | |
23669 | } else { | |
23670 | _v = 1; | |
23671 | } | |
23672 | } | |
23673 | if (_v) { | |
23674 | { | |
23675 | void *ptr; | |
23676 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
23677 | _v = 0; | |
23678 | PyErr_Clear(); | |
23679 | } else { | |
23680 | _v = 1; | |
23681 | } | |
23682 | } | |
23683 | if (_v) { | |
23684 | if (argc <= 2) { | |
23685 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
23686 | } | |
23687 | { | |
23688 | void *ptr; | |
23689 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
23690 | _v = 0; | |
23691 | PyErr_Clear(); | |
23692 | } else { | |
23693 | _v = 1; | |
23694 | } | |
23695 | } | |
23696 | if (_v) { | |
23697 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
23698 | } | |
23699 | } | |
23700 | } | |
23701 | } | |
23702 | if (argc == 3) { | |
23703 | int _v; | |
23704 | { | |
23705 | void *ptr; | |
23706 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
23707 | _v = 0; | |
23708 | PyErr_Clear(); | |
23709 | } else { | |
23710 | _v = 1; | |
23711 | } | |
23712 | } | |
23713 | if (_v) { | |
23714 | { | |
23715 | void *ptr; | |
23716 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
23717 | _v = 0; | |
23718 | PyErr_Clear(); | |
23719 | } else { | |
23720 | _v = 1; | |
23721 | } | |
23722 | } | |
23723 | if (_v) { | |
23724 | { | |
23725 | void *ptr; | |
23726 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
23727 | _v = 0; | |
23728 | PyErr_Clear(); | |
23729 | } else { | |
23730 | _v = 1; | |
23731 | } | |
23732 | } | |
23733 | if (_v) { | |
23734 | return _wrap_new_PrintPreview__SWIG_1(self,args); | |
23735 | } | |
23736 | } | |
23737 | } | |
23738 | } | |
23739 | ||
23740 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'"); | |
23741 | return NULL; | |
23742 | } | |
23743 | ||
23744 | ||
c370783e | 23745 | static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23746 | PyObject *resultobj; |
23747 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23748 | int arg2 ; | |
23749 | bool result; | |
23750 | PyObject * obj0 = 0 ; | |
23751 | PyObject * obj1 = 0 ; | |
23752 | char *kwnames[] = { | |
23753 | (char *) "self",(char *) "pageNum", NULL | |
23754 | }; | |
23755 | ||
23756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; | |
23757 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
23758 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 23759 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
23760 | if (PyErr_Occurred()) SWIG_fail; |
23761 | { | |
23762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23763 | result = (bool)(arg1)->SetCurrentPage(arg2); | |
23764 | ||
23765 | wxPyEndAllowThreads(__tstate); | |
23766 | if (PyErr_Occurred()) SWIG_fail; | |
23767 | } | |
23768 | { | |
23769 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23770 | } | |
23771 | return resultobj; | |
23772 | fail: | |
23773 | return NULL; | |
23774 | } | |
23775 | ||
23776 | ||
c370783e | 23777 | static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23778 | PyObject *resultobj; |
23779 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23780 | int result; | |
23781 | PyObject * obj0 = 0 ; | |
23782 | char *kwnames[] = { | |
23783 | (char *) "self", NULL | |
23784 | }; | |
23785 | ||
23786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail; | |
23787 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
23788 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23789 | { | |
23790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23791 | result = (int)(arg1)->GetCurrentPage(); | |
23792 | ||
23793 | wxPyEndAllowThreads(__tstate); | |
23794 | if (PyErr_Occurred()) SWIG_fail; | |
23795 | } | |
c370783e | 23796 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
23797 | return resultobj; |
23798 | fail: | |
23799 | return NULL; | |
23800 | } | |
23801 | ||
23802 | ||
c370783e | 23803 | static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23804 | PyObject *resultobj; |
23805 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23806 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
23807 | PyObject * obj0 = 0 ; | |
23808 | PyObject * obj1 = 0 ; | |
23809 | char *kwnames[] = { | |
23810 | (char *) "self",(char *) "printout", NULL | |
23811 | }; | |
23812 | ||
23813 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail; | |
23814 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
23815 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23816 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
23817 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23818 | { | |
23819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23820 | (arg1)->SetPrintout(arg2); | |
23821 | ||
23822 | wxPyEndAllowThreads(__tstate); | |
23823 | if (PyErr_Occurred()) SWIG_fail; | |
23824 | } | |
23825 | Py_INCREF(Py_None); resultobj = Py_None; | |
23826 | return resultobj; | |
23827 | fail: | |
23828 | return NULL; | |
23829 | } | |
23830 | ||
23831 | ||
c370783e | 23832 | static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23833 | PyObject *resultobj; |
23834 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23835 | wxPyPrintout *result; | |
23836 | PyObject * obj0 = 0 ; | |
23837 | char *kwnames[] = { | |
23838 | (char *) "self", NULL | |
23839 | }; | |
23840 | ||
23841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail; | |
23842 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
23843 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23844 | { | |
23845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23846 | result = (wxPyPrintout *)(arg1)->GetPrintout(); | |
23847 | ||
23848 | wxPyEndAllowThreads(__tstate); | |
23849 | if (PyErr_Occurred()) SWIG_fail; | |
23850 | } | |
23851 | { | |
412d302d | 23852 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
23853 | } |
23854 | return resultobj; | |
23855 | fail: | |
23856 | return NULL; | |
23857 | } | |
23858 | ||
23859 | ||
c370783e | 23860 | static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23861 | PyObject *resultobj; |
23862 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23863 | wxPyPrintout *result; | |
23864 | PyObject * obj0 = 0 ; | |
23865 | char *kwnames[] = { | |
23866 | (char *) "self", NULL | |
23867 | }; | |
23868 | ||
23869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail; | |
23870 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
23871 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23872 | { | |
23873 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23874 | result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting(); | |
23875 | ||
23876 | wxPyEndAllowThreads(__tstate); | |
23877 | if (PyErr_Occurred()) SWIG_fail; | |
23878 | } | |
23879 | { | |
412d302d | 23880 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
23881 | } |
23882 | return resultobj; | |
23883 | fail: | |
23884 | return NULL; | |
23885 | } | |
23886 | ||
23887 | ||
c370783e | 23888 | static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23889 | PyObject *resultobj; |
23890 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23891 | wxFrame *arg2 = (wxFrame *) 0 ; | |
23892 | PyObject * obj0 = 0 ; | |
23893 | PyObject * obj1 = 0 ; | |
23894 | char *kwnames[] = { | |
23895 | (char *) "self",(char *) "frame", NULL | |
23896 | }; | |
23897 | ||
23898 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail; | |
23899 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
23900 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23901 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
23902 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23903 | { | |
23904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23905 | (arg1)->SetFrame(arg2); | |
23906 | ||
23907 | wxPyEndAllowThreads(__tstate); | |
23908 | if (PyErr_Occurred()) SWIG_fail; | |
23909 | } | |
23910 | Py_INCREF(Py_None); resultobj = Py_None; | |
23911 | return resultobj; | |
23912 | fail: | |
23913 | return NULL; | |
23914 | } | |
23915 | ||
23916 | ||
c370783e | 23917 | static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23918 | PyObject *resultobj; |
23919 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23920 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
23921 | PyObject * obj0 = 0 ; | |
23922 | PyObject * obj1 = 0 ; | |
23923 | char *kwnames[] = { | |
23924 | (char *) "self",(char *) "canvas", NULL | |
23925 | }; | |
23926 | ||
23927 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail; | |
23928 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
23929 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23930 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
23931 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23932 | { | |
23933 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23934 | (arg1)->SetCanvas(arg2); | |
23935 | ||
23936 | wxPyEndAllowThreads(__tstate); | |
23937 | if (PyErr_Occurred()) SWIG_fail; | |
23938 | } | |
23939 | Py_INCREF(Py_None); resultobj = Py_None; | |
23940 | return resultobj; | |
23941 | fail: | |
23942 | return NULL; | |
23943 | } | |
23944 | ||
23945 | ||
c370783e | 23946 | static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23947 | PyObject *resultobj; |
23948 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23949 | wxFrame *result; | |
23950 | PyObject * obj0 = 0 ; | |
23951 | char *kwnames[] = { | |
23952 | (char *) "self", NULL | |
23953 | }; | |
23954 | ||
23955 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail; | |
23956 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
23957 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23958 | { | |
23959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23960 | result = (wxFrame *)(arg1)->GetFrame(); | |
23961 | ||
23962 | wxPyEndAllowThreads(__tstate); | |
23963 | if (PyErr_Occurred()) SWIG_fail; | |
23964 | } | |
23965 | { | |
412d302d | 23966 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
23967 | } |
23968 | return resultobj; | |
23969 | fail: | |
23970 | return NULL; | |
23971 | } | |
23972 | ||
23973 | ||
c370783e | 23974 | static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23975 | PyObject *resultobj; |
23976 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23977 | wxPreviewCanvas *result; | |
23978 | PyObject * obj0 = 0 ; | |
23979 | char *kwnames[] = { | |
23980 | (char *) "self", NULL | |
23981 | }; | |
23982 | ||
23983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail; | |
23984 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
23985 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23986 | { | |
23987 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23988 | result = (wxPreviewCanvas *)(arg1)->GetCanvas(); | |
23989 | ||
23990 | wxPyEndAllowThreads(__tstate); | |
23991 | if (PyErr_Occurred()) SWIG_fail; | |
23992 | } | |
23993 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0); | |
23994 | return resultobj; | |
23995 | fail: | |
23996 | return NULL; | |
23997 | } | |
23998 | ||
23999 | ||
c370783e | 24000 | static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24001 | PyObject *resultobj; |
24002 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24003 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
24004 | wxDC *arg3 = 0 ; | |
24005 | bool result; | |
24006 | PyObject * obj0 = 0 ; | |
24007 | PyObject * obj1 = 0 ; | |
24008 | PyObject * obj2 = 0 ; | |
24009 | char *kwnames[] = { | |
24010 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
24011 | }; | |
24012 | ||
24013 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
24014 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
24015 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24016 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
24017 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24018 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
24019 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
24020 | SWIG_fail; | |
24021 | if (arg3 == NULL) { | |
24022 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
24023 | SWIG_fail; | |
24024 | } | |
24025 | { | |
24026 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24027 | result = (bool)(arg1)->PaintPage(arg2,*arg3); | |
24028 | ||
24029 | wxPyEndAllowThreads(__tstate); | |
24030 | if (PyErr_Occurred()) SWIG_fail; | |
24031 | } | |
24032 | { | |
24033 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24034 | } | |
24035 | return resultobj; | |
24036 | fail: | |
24037 | return NULL; | |
24038 | } | |
24039 | ||
24040 | ||
c370783e | 24041 | static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24042 | PyObject *resultobj; |
24043 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24044 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
24045 | wxDC *arg3 = 0 ; | |
24046 | bool result; | |
24047 | PyObject * obj0 = 0 ; | |
24048 | PyObject * obj1 = 0 ; | |
24049 | PyObject * obj2 = 0 ; | |
24050 | char *kwnames[] = { | |
24051 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
24052 | }; | |
24053 | ||
24054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
24055 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
24056 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24057 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
24058 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24059 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
24060 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
24061 | SWIG_fail; | |
24062 | if (arg3 == NULL) { | |
24063 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
24064 | SWIG_fail; | |
24065 | } | |
24066 | { | |
24067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24068 | result = (bool)(arg1)->DrawBlankPage(arg2,*arg3); | |
24069 | ||
24070 | wxPyEndAllowThreads(__tstate); | |
24071 | if (PyErr_Occurred()) SWIG_fail; | |
24072 | } | |
24073 | { | |
24074 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24075 | } | |
24076 | return resultobj; | |
24077 | fail: | |
24078 | return NULL; | |
24079 | } | |
24080 | ||
24081 | ||
c370783e | 24082 | static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24083 | PyObject *resultobj; |
24084 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24085 | int arg2 ; | |
24086 | bool result; | |
24087 | PyObject * obj0 = 0 ; | |
24088 | PyObject * obj1 = 0 ; | |
24089 | char *kwnames[] = { | |
24090 | (char *) "self",(char *) "pageNum", NULL | |
24091 | }; | |
24092 | ||
24093 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail; | |
24094 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
24095 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 24096 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
24097 | if (PyErr_Occurred()) SWIG_fail; |
24098 | { | |
24099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24100 | result = (bool)(arg1)->RenderPage(arg2); | |
24101 | ||
24102 | wxPyEndAllowThreads(__tstate); | |
24103 | if (PyErr_Occurred()) SWIG_fail; | |
24104 | } | |
24105 | { | |
24106 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24107 | } | |
24108 | return resultobj; | |
24109 | fail: | |
24110 | return NULL; | |
24111 | } | |
24112 | ||
24113 | ||
c370783e | 24114 | static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24115 | PyObject *resultobj; |
24116 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24117 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
24118 | PyObject * obj0 = 0 ; | |
24119 | PyObject * obj1 = 0 ; | |
24120 | char *kwnames[] = { | |
24121 | (char *) "self",(char *) "canvas", NULL | |
24122 | }; | |
24123 | ||
24124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail; | |
24125 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
24126 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24127 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
24128 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24129 | { | |
24130 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24131 | (arg1)->AdjustScrollbars(arg2); | |
24132 | ||
24133 | wxPyEndAllowThreads(__tstate); | |
24134 | if (PyErr_Occurred()) SWIG_fail; | |
24135 | } | |
24136 | Py_INCREF(Py_None); resultobj = Py_None; | |
24137 | return resultobj; | |
24138 | fail: | |
24139 | return NULL; | |
24140 | } | |
24141 | ||
24142 | ||
c370783e | 24143 | static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24144 | PyObject *resultobj; |
24145 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24146 | wxPrintDialogData *result; | |
24147 | PyObject * obj0 = 0 ; | |
24148 | char *kwnames[] = { | |
24149 | (char *) "self", NULL | |
24150 | }; | |
24151 | ||
24152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
24153 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
24154 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24155 | { | |
24156 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24157 | { | |
24158 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
24159 | result = (wxPrintDialogData *) &_result_ref; | |
24160 | } | |
24161 | ||
24162 | wxPyEndAllowThreads(__tstate); | |
24163 | if (PyErr_Occurred()) SWIG_fail; | |
24164 | } | |
24165 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); | |
24166 | return resultobj; | |
24167 | fail: | |
24168 | return NULL; | |
24169 | } | |
24170 | ||
24171 | ||
c370783e | 24172 | static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24173 | PyObject *resultobj; |
24174 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24175 | int arg2 ; | |
24176 | PyObject * obj0 = 0 ; | |
24177 | PyObject * obj1 = 0 ; | |
24178 | char *kwnames[] = { | |
24179 | (char *) "self",(char *) "percent", NULL | |
24180 | }; | |
24181 | ||
24182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail; | |
24183 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
24184 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 24185 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
24186 | if (PyErr_Occurred()) SWIG_fail; |
24187 | { | |
24188 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24189 | (arg1)->SetZoom(arg2); | |
24190 | ||
24191 | wxPyEndAllowThreads(__tstate); | |
24192 | if (PyErr_Occurred()) SWIG_fail; | |
24193 | } | |
24194 | Py_INCREF(Py_None); resultobj = Py_None; | |
24195 | return resultobj; | |
24196 | fail: | |
24197 | return NULL; | |
24198 | } | |
24199 | ||
24200 | ||
c370783e | 24201 | static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24202 | PyObject *resultobj; |
24203 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24204 | int result; | |
24205 | PyObject * obj0 = 0 ; | |
24206 | char *kwnames[] = { | |
24207 | (char *) "self", NULL | |
24208 | }; | |
24209 | ||
24210 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail; | |
24211 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
24212 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24213 | { | |
24214 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24215 | result = (int)(arg1)->GetZoom(); | |
24216 | ||
24217 | wxPyEndAllowThreads(__tstate); | |
24218 | if (PyErr_Occurred()) SWIG_fail; | |
24219 | } | |
c370783e | 24220 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
24221 | return resultobj; |
24222 | fail: | |
24223 | return NULL; | |
24224 | } | |
24225 | ||
24226 | ||
c370783e | 24227 | static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24228 | PyObject *resultobj; |
24229 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24230 | int result; | |
24231 | PyObject * obj0 = 0 ; | |
24232 | char *kwnames[] = { | |
24233 | (char *) "self", NULL | |
24234 | }; | |
24235 | ||
24236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail; | |
24237 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
24238 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24239 | { | |
24240 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24241 | result = (int)(arg1)->GetMaxPage(); | |
24242 | ||
24243 | wxPyEndAllowThreads(__tstate); | |
24244 | if (PyErr_Occurred()) SWIG_fail; | |
24245 | } | |
c370783e | 24246 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
24247 | return resultobj; |
24248 | fail: | |
24249 | return NULL; | |
24250 | } | |
24251 | ||
24252 | ||
c370783e | 24253 | static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24254 | PyObject *resultobj; |
24255 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24256 | int result; | |
24257 | PyObject * obj0 = 0 ; | |
24258 | char *kwnames[] = { | |
24259 | (char *) "self", NULL | |
24260 | }; | |
24261 | ||
24262 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail; | |
24263 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
24264 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24265 | { | |
24266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24267 | result = (int)(arg1)->GetMinPage(); | |
24268 | ||
24269 | wxPyEndAllowThreads(__tstate); | |
24270 | if (PyErr_Occurred()) SWIG_fail; | |
24271 | } | |
c370783e | 24272 | resultobj = SWIG_From_int((int)result); |
d55e5bfc RD |
24273 | return resultobj; |
24274 | fail: | |
24275 | return NULL; | |
24276 | } | |
24277 | ||
24278 | ||
c370783e | 24279 | static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24280 | PyObject *resultobj; |
24281 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24282 | bool result; | |
24283 | PyObject * obj0 = 0 ; | |
24284 | char *kwnames[] = { | |
24285 | (char *) "self", NULL | |
24286 | }; | |
24287 | ||
24288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail; | |
24289 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
24290 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24291 | { | |
24292 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24293 | result = (bool)(arg1)->Ok(); | |
24294 | ||
24295 | wxPyEndAllowThreads(__tstate); | |
24296 | if (PyErr_Occurred()) SWIG_fail; | |
24297 | } | |
24298 | { | |
24299 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24300 | } | |
24301 | return resultobj; | |
24302 | fail: | |
24303 | return NULL; | |
24304 | } | |
24305 | ||
24306 | ||
c370783e | 24307 | static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24308 | PyObject *resultobj; |
24309 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24310 | bool arg2 ; | |
24311 | PyObject * obj0 = 0 ; | |
24312 | PyObject * obj1 = 0 ; | |
24313 | char *kwnames[] = { | |
24314 | (char *) "self",(char *) "ok", NULL | |
24315 | }; | |
24316 | ||
24317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail; | |
24318 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
24319 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 24320 | arg2 = (bool)SWIG_As_bool(obj1); |
d55e5bfc RD |
24321 | if (PyErr_Occurred()) SWIG_fail; |
24322 | { | |
24323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24324 | (arg1)->SetOk(arg2); | |
24325 | ||
24326 | wxPyEndAllowThreads(__tstate); | |
24327 | if (PyErr_Occurred()) SWIG_fail; | |
24328 | } | |
24329 | Py_INCREF(Py_None); resultobj = Py_None; | |
24330 | return resultobj; | |
24331 | fail: | |
24332 | return NULL; | |
24333 | } | |
24334 | ||
24335 | ||
c370783e | 24336 | static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24337 | PyObject *resultobj; |
24338 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24339 | bool arg2 ; | |
24340 | bool result; | |
24341 | PyObject * obj0 = 0 ; | |
24342 | PyObject * obj1 = 0 ; | |
24343 | char *kwnames[] = { | |
24344 | (char *) "self",(char *) "interactive", NULL | |
24345 | }; | |
24346 | ||
24347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail; | |
24348 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
24349 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 24350 | arg2 = (bool)SWIG_As_bool(obj1); |
d55e5bfc RD |
24351 | if (PyErr_Occurred()) SWIG_fail; |
24352 | { | |
24353 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24354 | result = (bool)(arg1)->Print(arg2); | |
24355 | ||
24356 | wxPyEndAllowThreads(__tstate); | |
24357 | if (PyErr_Occurred()) SWIG_fail; | |
24358 | } | |
24359 | { | |
24360 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24361 | } | |
24362 | return resultobj; | |
24363 | fail: | |
24364 | return NULL; | |
24365 | } | |
24366 | ||
24367 | ||
c370783e | 24368 | static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24369 | PyObject *resultobj; |
24370 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24371 | PyObject * obj0 = 0 ; | |
24372 | char *kwnames[] = { | |
24373 | (char *) "self", NULL | |
24374 | }; | |
24375 | ||
24376 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail; | |
24377 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
24378 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24379 | { | |
24380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24381 | (arg1)->DetermineScaling(); | |
24382 | ||
24383 | wxPyEndAllowThreads(__tstate); | |
24384 | if (PyErr_Occurred()) SWIG_fail; | |
24385 | } | |
24386 | Py_INCREF(Py_None); resultobj = Py_None; | |
24387 | return resultobj; | |
24388 | fail: | |
24389 | return NULL; | |
24390 | } | |
24391 | ||
24392 | ||
c370783e | 24393 | static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
24394 | PyObject *obj; |
24395 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
24396 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj); | |
24397 | Py_INCREF(obj); | |
24398 | return Py_BuildValue((char *)""); | |
24399 | } | |
c370783e | 24400 | static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
24401 | PyObject *resultobj; |
24402 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24403 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
24404 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; | |
24405 | wxPyPrintPreview *result; | |
24406 | PyObject * obj0 = 0 ; | |
24407 | PyObject * obj1 = 0 ; | |
24408 | PyObject * obj2 = 0 ; | |
24409 | ||
24410 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
24411 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
24412 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24413 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
24414 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24415 | if (obj2) { | |
24416 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData, | |
24417 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24418 | } | |
24419 | { | |
0439c23b | 24420 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
24421 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
24422 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
24423 | ||
24424 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 24425 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
24426 | } |
24427 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); | |
24428 | return resultobj; | |
24429 | fail: | |
24430 | return NULL; | |
24431 | } | |
24432 | ||
24433 | ||
c370783e | 24434 | static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) { |
d55e5bfc RD |
24435 | PyObject *resultobj; |
24436 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24437 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
24438 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
24439 | wxPyPrintPreview *result; | |
24440 | PyObject * obj0 = 0 ; | |
24441 | PyObject * obj1 = 0 ; | |
24442 | PyObject * obj2 = 0 ; | |
24443 | ||
24444 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
24445 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
24446 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24447 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
24448 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24449 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData, | |
24450 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24451 | { | |
0439c23b | 24452 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
24453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
24454 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
24455 | ||
24456 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 24457 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
24458 | } |
24459 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); | |
24460 | return resultobj; | |
24461 | fail: | |
24462 | return NULL; | |
24463 | } | |
24464 | ||
24465 | ||
24466 | static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) { | |
24467 | int argc; | |
24468 | PyObject *argv[4]; | |
24469 | int ii; | |
24470 | ||
24471 | argc = PyObject_Length(args); | |
24472 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
24473 | argv[ii] = PyTuple_GetItem(args,ii); | |
24474 | } | |
24475 | if ((argc >= 2) && (argc <= 3)) { | |
24476 | int _v; | |
24477 | { | |
24478 | void *ptr; | |
24479 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
24480 | _v = 0; | |
24481 | PyErr_Clear(); | |
24482 | } else { | |
24483 | _v = 1; | |
24484 | } | |
24485 | } | |
24486 | if (_v) { | |
24487 | { | |
24488 | void *ptr; | |
24489 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
24490 | _v = 0; | |
24491 | PyErr_Clear(); | |
24492 | } else { | |
24493 | _v = 1; | |
24494 | } | |
24495 | } | |
24496 | if (_v) { | |
24497 | if (argc <= 2) { | |
24498 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
24499 | } | |
24500 | { | |
24501 | void *ptr; | |
24502 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
24503 | _v = 0; | |
24504 | PyErr_Clear(); | |
24505 | } else { | |
24506 | _v = 1; | |
24507 | } | |
24508 | } | |
24509 | if (_v) { | |
24510 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
24511 | } | |
24512 | } | |
24513 | } | |
24514 | } | |
24515 | if (argc == 3) { | |
24516 | int _v; | |
24517 | { | |
24518 | void *ptr; | |
24519 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
24520 | _v = 0; | |
24521 | PyErr_Clear(); | |
24522 | } else { | |
24523 | _v = 1; | |
24524 | } | |
24525 | } | |
24526 | if (_v) { | |
24527 | { | |
24528 | void *ptr; | |
24529 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
24530 | _v = 0; | |
24531 | PyErr_Clear(); | |
24532 | } else { | |
24533 | _v = 1; | |
24534 | } | |
24535 | } | |
24536 | if (_v) { | |
24537 | { | |
24538 | void *ptr; | |
24539 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
24540 | _v = 0; | |
24541 | PyErr_Clear(); | |
24542 | } else { | |
24543 | _v = 1; | |
24544 | } | |
24545 | } | |
24546 | if (_v) { | |
24547 | return _wrap_new_PyPrintPreview__SWIG_1(self,args); | |
24548 | } | |
24549 | } | |
24550 | } | |
24551 | } | |
24552 | ||
24553 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'"); | |
24554 | return NULL; | |
24555 | } | |
24556 | ||
24557 | ||
c370783e | 24558 | static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24559 | PyObject *resultobj; |
24560 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24561 | PyObject *arg2 = (PyObject *) 0 ; | |
24562 | PyObject *arg3 = (PyObject *) 0 ; | |
24563 | PyObject * obj0 = 0 ; | |
24564 | PyObject * obj1 = 0 ; | |
24565 | PyObject * obj2 = 0 ; | |
24566 | char *kwnames[] = { | |
24567 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
24568 | }; | |
24569 | ||
24570 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
24571 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, | |
24572 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24573 | arg2 = obj1; | |
24574 | arg3 = obj2; | |
24575 | { | |
24576 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24577 | (arg1)->_setCallbackInfo(arg2,arg3); | |
24578 | ||
24579 | wxPyEndAllowThreads(__tstate); | |
24580 | if (PyErr_Occurred()) SWIG_fail; | |
24581 | } | |
24582 | Py_INCREF(Py_None); resultobj = Py_None; | |
24583 | return resultobj; | |
24584 | fail: | |
24585 | return NULL; | |
24586 | } | |
24587 | ||
24588 | ||
c370783e | 24589 | static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24590 | PyObject *resultobj; |
24591 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24592 | int arg2 ; | |
24593 | bool result; | |
24594 | PyObject * obj0 = 0 ; | |
24595 | PyObject * obj1 = 0 ; | |
24596 | char *kwnames[] = { | |
24597 | (char *) "self",(char *) "pageNum", NULL | |
24598 | }; | |
24599 | ||
24600 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; | |
24601 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, | |
24602 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 24603 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
24604 | if (PyErr_Occurred()) SWIG_fail; |
24605 | { | |
24606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24607 | result = (bool)(arg1)->base_SetCurrentPage(arg2); | |
24608 | ||
24609 | wxPyEndAllowThreads(__tstate); | |
24610 | if (PyErr_Occurred()) SWIG_fail; | |
24611 | } | |
24612 | { | |
24613 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24614 | } | |
24615 | return resultobj; | |
24616 | fail: | |
24617 | return NULL; | |
24618 | } | |
24619 | ||
24620 | ||
c370783e | 24621 | static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24622 | PyObject *resultobj; |
24623 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24624 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
24625 | wxDC *arg3 = 0 ; | |
24626 | bool result; | |
24627 | PyObject * obj0 = 0 ; | |
24628 | PyObject * obj1 = 0 ; | |
24629 | PyObject * obj2 = 0 ; | |
24630 | char *kwnames[] = { | |
24631 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
24632 | }; | |
24633 | ||
24634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
24635 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, | |
24636 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24637 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
24638 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24639 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
24640 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
24641 | SWIG_fail; | |
24642 | if (arg3 == NULL) { | |
24643 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
24644 | SWIG_fail; | |
24645 | } | |
24646 | { | |
24647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24648 | result = (bool)(arg1)->base_PaintPage(arg2,*arg3); | |
24649 | ||
24650 | wxPyEndAllowThreads(__tstate); | |
24651 | if (PyErr_Occurred()) SWIG_fail; | |
24652 | } | |
24653 | { | |
24654 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24655 | } | |
24656 | return resultobj; | |
24657 | fail: | |
24658 | return NULL; | |
24659 | } | |
24660 | ||
24661 | ||
c370783e | 24662 | static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24663 | PyObject *resultobj; |
24664 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24665 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
24666 | wxDC *arg3 = 0 ; | |
24667 | bool result; | |
24668 | PyObject * obj0 = 0 ; | |
24669 | PyObject * obj1 = 0 ; | |
24670 | PyObject * obj2 = 0 ; | |
24671 | char *kwnames[] = { | |
24672 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
24673 | }; | |
24674 | ||
24675 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
24676 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, | |
24677 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24678 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
24679 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24680 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
24681 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
24682 | SWIG_fail; | |
24683 | if (arg3 == NULL) { | |
24684 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
24685 | SWIG_fail; | |
24686 | } | |
24687 | { | |
24688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24689 | result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3); | |
24690 | ||
24691 | wxPyEndAllowThreads(__tstate); | |
24692 | if (PyErr_Occurred()) SWIG_fail; | |
24693 | } | |
24694 | { | |
24695 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24696 | } | |
24697 | return resultobj; | |
24698 | fail: | |
24699 | return NULL; | |
24700 | } | |
24701 | ||
24702 | ||
c370783e | 24703 | static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24704 | PyObject *resultobj; |
24705 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24706 | int arg2 ; | |
24707 | bool result; | |
24708 | PyObject * obj0 = 0 ; | |
24709 | PyObject * obj1 = 0 ; | |
24710 | char *kwnames[] = { | |
24711 | (char *) "self",(char *) "pageNum", NULL | |
24712 | }; | |
24713 | ||
24714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail; | |
24715 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, | |
24716 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 24717 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
24718 | if (PyErr_Occurred()) SWIG_fail; |
24719 | { | |
24720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24721 | result = (bool)(arg1)->base_RenderPage(arg2); | |
24722 | ||
24723 | wxPyEndAllowThreads(__tstate); | |
24724 | if (PyErr_Occurred()) SWIG_fail; | |
24725 | } | |
24726 | { | |
24727 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24728 | } | |
24729 | return resultobj; | |
24730 | fail: | |
24731 | return NULL; | |
24732 | } | |
24733 | ||
24734 | ||
c370783e | 24735 | static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24736 | PyObject *resultobj; |
24737 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24738 | int arg2 ; | |
24739 | PyObject * obj0 = 0 ; | |
24740 | PyObject * obj1 = 0 ; | |
24741 | char *kwnames[] = { | |
24742 | (char *) "self",(char *) "percent", NULL | |
24743 | }; | |
24744 | ||
24745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail; | |
24746 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, | |
24747 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 24748 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
24749 | if (PyErr_Occurred()) SWIG_fail; |
24750 | { | |
24751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24752 | (arg1)->base_SetZoom(arg2); | |
24753 | ||
24754 | wxPyEndAllowThreads(__tstate); | |
24755 | if (PyErr_Occurred()) SWIG_fail; | |
24756 | } | |
24757 | Py_INCREF(Py_None); resultobj = Py_None; | |
24758 | return resultobj; | |
24759 | fail: | |
24760 | return NULL; | |
24761 | } | |
24762 | ||
24763 | ||
c370783e | 24764 | static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24765 | PyObject *resultobj; |
24766 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24767 | bool arg2 ; | |
24768 | bool result; | |
24769 | PyObject * obj0 = 0 ; | |
24770 | PyObject * obj1 = 0 ; | |
24771 | char *kwnames[] = { | |
24772 | (char *) "self",(char *) "interactive", NULL | |
24773 | }; | |
24774 | ||
24775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail; | |
24776 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, | |
24777 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 24778 | arg2 = (bool)SWIG_As_bool(obj1); |
d55e5bfc RD |
24779 | if (PyErr_Occurred()) SWIG_fail; |
24780 | { | |
24781 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24782 | result = (bool)(arg1)->base_Print(arg2); | |
24783 | ||
24784 | wxPyEndAllowThreads(__tstate); | |
24785 | if (PyErr_Occurred()) SWIG_fail; | |
24786 | } | |
24787 | { | |
24788 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24789 | } | |
24790 | return resultobj; | |
24791 | fail: | |
24792 | return NULL; | |
24793 | } | |
24794 | ||
24795 | ||
c370783e | 24796 | static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24797 | PyObject *resultobj; |
24798 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24799 | PyObject * obj0 = 0 ; | |
24800 | char *kwnames[] = { | |
24801 | (char *) "self", NULL | |
24802 | }; | |
24803 | ||
24804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail; | |
24805 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, | |
24806 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24807 | { | |
24808 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24809 | (arg1)->base_DetermineScaling(); | |
24810 | ||
24811 | wxPyEndAllowThreads(__tstate); | |
24812 | if (PyErr_Occurred()) SWIG_fail; | |
24813 | } | |
24814 | Py_INCREF(Py_None); resultobj = Py_None; | |
24815 | return resultobj; | |
24816 | fail: | |
24817 | return NULL; | |
24818 | } | |
24819 | ||
24820 | ||
c370783e | 24821 | static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
24822 | PyObject *obj; |
24823 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
24824 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj); | |
24825 | Py_INCREF(obj); | |
24826 | return Py_BuildValue((char *)""); | |
24827 | } | |
c370783e | 24828 | static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24829 | PyObject *resultobj; |
24830 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24831 | wxFrame *arg2 = (wxFrame *) 0 ; | |
24832 | wxString *arg3 = 0 ; | |
24833 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
24834 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
24835 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
24836 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
24837 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
24838 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
24839 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
24840 | wxPyPreviewFrame *result; | |
b411df4a | 24841 | bool temp3 = false ; |
d55e5bfc RD |
24842 | wxPoint temp4 ; |
24843 | wxSize temp5 ; | |
b411df4a | 24844 | bool temp7 = false ; |
d55e5bfc RD |
24845 | PyObject * obj0 = 0 ; |
24846 | PyObject * obj1 = 0 ; | |
24847 | PyObject * obj2 = 0 ; | |
24848 | PyObject * obj3 = 0 ; | |
24849 | PyObject * obj4 = 0 ; | |
24850 | PyObject * obj5 = 0 ; | |
24851 | PyObject * obj6 = 0 ; | |
24852 | char *kwnames[] = { | |
24853 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
24854 | }; | |
24855 | ||
24856 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
24857 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
24858 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24859 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
24860 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24861 | { | |
24862 | arg3 = wxString_in_helper(obj2); | |
24863 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 24864 | temp3 = true; |
d55e5bfc RD |
24865 | } |
24866 | if (obj3) { | |
24867 | { | |
24868 | arg4 = &temp4; | |
24869 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
24870 | } | |
24871 | } | |
24872 | if (obj4) { | |
24873 | { | |
24874 | arg5 = &temp5; | |
24875 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
24876 | } | |
24877 | } | |
24878 | if (obj5) { | |
c370783e | 24879 | arg6 = (long)SWIG_As_long(obj5); |
d55e5bfc RD |
24880 | if (PyErr_Occurred()) SWIG_fail; |
24881 | } | |
24882 | if (obj6) { | |
24883 | { | |
24884 | arg7 = wxString_in_helper(obj6); | |
24885 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 24886 | temp7 = true; |
d55e5bfc RD |
24887 | } |
24888 | } | |
24889 | { | |
0439c23b | 24890 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
24891 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
24892 | result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
24893 | ||
24894 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 24895 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
24896 | } |
24897 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1); | |
24898 | { | |
24899 | if (temp3) | |
24900 | delete arg3; | |
24901 | } | |
24902 | { | |
24903 | if (temp7) | |
24904 | delete arg7; | |
24905 | } | |
24906 | return resultobj; | |
24907 | fail: | |
24908 | { | |
24909 | if (temp3) | |
24910 | delete arg3; | |
24911 | } | |
24912 | { | |
24913 | if (temp7) | |
24914 | delete arg7; | |
24915 | } | |
24916 | return NULL; | |
24917 | } | |
24918 | ||
24919 | ||
c370783e | 24920 | static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24921 | PyObject *resultobj; |
24922 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
24923 | PyObject *arg2 = (PyObject *) 0 ; | |
24924 | PyObject *arg3 = (PyObject *) 0 ; | |
24925 | PyObject * obj0 = 0 ; | |
24926 | PyObject * obj1 = 0 ; | |
24927 | PyObject * obj2 = 0 ; | |
24928 | char *kwnames[] = { | |
24929 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
24930 | }; | |
24931 | ||
24932 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
24933 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, | |
24934 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24935 | arg2 = obj1; | |
24936 | arg3 = obj2; | |
24937 | { | |
24938 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24939 | (arg1)->_setCallbackInfo(arg2,arg3); | |
24940 | ||
24941 | wxPyEndAllowThreads(__tstate); | |
24942 | if (PyErr_Occurred()) SWIG_fail; | |
24943 | } | |
24944 | Py_INCREF(Py_None); resultobj = Py_None; | |
24945 | return resultobj; | |
24946 | fail: | |
24947 | return NULL; | |
24948 | } | |
24949 | ||
24950 | ||
c370783e | 24951 | static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24952 | PyObject *resultobj; |
24953 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
24954 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
24955 | PyObject * obj0 = 0 ; | |
24956 | PyObject * obj1 = 0 ; | |
24957 | char *kwnames[] = { | |
24958 | (char *) "self",(char *) "canvas", NULL | |
24959 | }; | |
24960 | ||
24961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail; | |
24962 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, | |
24963 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24964 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
24965 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24966 | { | |
24967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24968 | (arg1)->SetPreviewCanvas(arg2); | |
24969 | ||
24970 | wxPyEndAllowThreads(__tstate); | |
24971 | if (PyErr_Occurred()) SWIG_fail; | |
24972 | } | |
24973 | Py_INCREF(Py_None); resultobj = Py_None; | |
24974 | return resultobj; | |
24975 | fail: | |
24976 | return NULL; | |
24977 | } | |
24978 | ||
24979 | ||
c370783e | 24980 | static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24981 | PyObject *resultobj; |
24982 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
24983 | wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ; | |
24984 | PyObject * obj0 = 0 ; | |
24985 | PyObject * obj1 = 0 ; | |
24986 | char *kwnames[] = { | |
24987 | (char *) "self",(char *) "bar", NULL | |
24988 | }; | |
24989 | ||
24990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail; | |
24991 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, | |
24992 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24993 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar, | |
24994 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24995 | { | |
24996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24997 | (arg1)->SetControlBar(arg2); | |
24998 | ||
24999 | wxPyEndAllowThreads(__tstate); | |
25000 | if (PyErr_Occurred()) SWIG_fail; | |
25001 | } | |
25002 | Py_INCREF(Py_None); resultobj = Py_None; | |
25003 | return resultobj; | |
25004 | fail: | |
25005 | return NULL; | |
25006 | } | |
25007 | ||
25008 | ||
c370783e | 25009 | static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25010 | PyObject *resultobj; |
25011 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
25012 | PyObject * obj0 = 0 ; | |
25013 | char *kwnames[] = { | |
25014 | (char *) "self", NULL | |
25015 | }; | |
25016 | ||
25017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail; | |
25018 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, | |
25019 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
25020 | { | |
25021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25022 | (arg1)->base_Initialize(); | |
25023 | ||
25024 | wxPyEndAllowThreads(__tstate); | |
25025 | if (PyErr_Occurred()) SWIG_fail; | |
25026 | } | |
25027 | Py_INCREF(Py_None); resultobj = Py_None; | |
25028 | return resultobj; | |
25029 | fail: | |
25030 | return NULL; | |
25031 | } | |
25032 | ||
25033 | ||
c370783e | 25034 | static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25035 | PyObject *resultobj; |
25036 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
25037 | PyObject * obj0 = 0 ; | |
25038 | char *kwnames[] = { | |
25039 | (char *) "self", NULL | |
25040 | }; | |
25041 | ||
25042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail; | |
25043 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, | |
25044 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
25045 | { | |
25046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25047 | (arg1)->base_CreateCanvas(); | |
25048 | ||
25049 | wxPyEndAllowThreads(__tstate); | |
25050 | if (PyErr_Occurred()) SWIG_fail; | |
25051 | } | |
25052 | Py_INCREF(Py_None); resultobj = Py_None; | |
25053 | return resultobj; | |
25054 | fail: | |
25055 | return NULL; | |
25056 | } | |
25057 | ||
25058 | ||
c370783e | 25059 | static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25060 | PyObject *resultobj; |
25061 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
25062 | PyObject * obj0 = 0 ; | |
25063 | char *kwnames[] = { | |
25064 | (char *) "self", NULL | |
25065 | }; | |
25066 | ||
25067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail; | |
25068 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, | |
25069 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
25070 | { | |
25071 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25072 | (arg1)->base_CreateControlBar(); | |
25073 | ||
25074 | wxPyEndAllowThreads(__tstate); | |
25075 | if (PyErr_Occurred()) SWIG_fail; | |
25076 | } | |
25077 | Py_INCREF(Py_None); resultobj = Py_None; | |
25078 | return resultobj; | |
25079 | fail: | |
25080 | return NULL; | |
25081 | } | |
25082 | ||
25083 | ||
c370783e | 25084 | static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
25085 | PyObject *obj; |
25086 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
25087 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj); | |
25088 | Py_INCREF(obj); | |
25089 | return Py_BuildValue((char *)""); | |
25090 | } | |
c370783e | 25091 | static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25092 | PyObject *resultobj; |
25093 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
25094 | long arg2 ; | |
25095 | wxWindow *arg3 = (wxWindow *) 0 ; | |
25096 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
25097 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
25098 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
25099 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
25100 | long arg6 = (long) 0 ; | |
25101 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
25102 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
25103 | wxPyPreviewControlBar *result; | |
25104 | wxPoint temp4 ; | |
25105 | wxSize temp5 ; | |
b411df4a | 25106 | bool temp7 = false ; |
d55e5bfc RD |
25107 | PyObject * obj0 = 0 ; |
25108 | PyObject * obj1 = 0 ; | |
25109 | PyObject * obj2 = 0 ; | |
25110 | PyObject * obj3 = 0 ; | |
25111 | PyObject * obj4 = 0 ; | |
25112 | PyObject * obj5 = 0 ; | |
25113 | PyObject * obj6 = 0 ; | |
25114 | char *kwnames[] = { | |
25115 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
25116 | }; | |
25117 | ||
25118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
25119 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, | |
25120 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 25121 | arg2 = (long)SWIG_As_long(obj1); |
d55e5bfc RD |
25122 | if (PyErr_Occurred()) SWIG_fail; |
25123 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
25124 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
25125 | if (obj3) { | |
25126 | { | |
25127 | arg4 = &temp4; | |
25128 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
25129 | } | |
25130 | } | |
25131 | if (obj4) { | |
25132 | { | |
25133 | arg5 = &temp5; | |
25134 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
25135 | } | |
25136 | } | |
25137 | if (obj5) { | |
c370783e | 25138 | arg6 = (long)SWIG_As_long(obj5); |
d55e5bfc RD |
25139 | if (PyErr_Occurred()) SWIG_fail; |
25140 | } | |
25141 | if (obj6) { | |
25142 | { | |
25143 | arg7 = wxString_in_helper(obj6); | |
25144 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 25145 | temp7 = true; |
d55e5bfc RD |
25146 | } |
25147 | } | |
25148 | { | |
0439c23b | 25149 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
25150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
25151 | result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
25152 | ||
25153 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 25154 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
25155 | } |
25156 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1); | |
25157 | { | |
25158 | if (temp7) | |
25159 | delete arg7; | |
25160 | } | |
25161 | return resultobj; | |
25162 | fail: | |
25163 | { | |
25164 | if (temp7) | |
25165 | delete arg7; | |
25166 | } | |
25167 | return NULL; | |
25168 | } | |
25169 | ||
25170 | ||
c370783e | 25171 | static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25172 | PyObject *resultobj; |
25173 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
25174 | PyObject *arg2 = (PyObject *) 0 ; | |
25175 | PyObject *arg3 = (PyObject *) 0 ; | |
25176 | PyObject * obj0 = 0 ; | |
25177 | PyObject * obj1 = 0 ; | |
25178 | PyObject * obj2 = 0 ; | |
25179 | char *kwnames[] = { | |
25180 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
25181 | }; | |
25182 | ||
25183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
25184 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, | |
25185 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
25186 | arg2 = obj1; | |
25187 | arg3 = obj2; | |
25188 | { | |
25189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25190 | (arg1)->_setCallbackInfo(arg2,arg3); | |
25191 | ||
25192 | wxPyEndAllowThreads(__tstate); | |
25193 | if (PyErr_Occurred()) SWIG_fail; | |
25194 | } | |
25195 | Py_INCREF(Py_None); resultobj = Py_None; | |
25196 | return resultobj; | |
25197 | fail: | |
25198 | return NULL; | |
25199 | } | |
25200 | ||
25201 | ||
c370783e | 25202 | static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25203 | PyObject *resultobj; |
25204 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
25205 | wxPrintPreview *arg2 = (wxPrintPreview *) 0 ; | |
25206 | PyObject * obj0 = 0 ; | |
25207 | PyObject * obj1 = 0 ; | |
25208 | char *kwnames[] = { | |
25209 | (char *) "self",(char *) "preview", NULL | |
25210 | }; | |
25211 | ||
25212 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail; | |
25213 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, | |
25214 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
25215 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview, | |
25216 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
25217 | { | |
25218 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25219 | (arg1)->SetPrintPreview(arg2); | |
25220 | ||
25221 | wxPyEndAllowThreads(__tstate); | |
25222 | if (PyErr_Occurred()) SWIG_fail; | |
25223 | } | |
25224 | Py_INCREF(Py_None); resultobj = Py_None; | |
25225 | return resultobj; | |
25226 | fail: | |
25227 | return NULL; | |
25228 | } | |
25229 | ||
25230 | ||
c370783e | 25231 | static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25232 | PyObject *resultobj; |
25233 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
25234 | PyObject * obj0 = 0 ; | |
25235 | char *kwnames[] = { | |
25236 | (char *) "self", NULL | |
25237 | }; | |
25238 | ||
25239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail; | |
25240 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, | |
25241 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
25242 | { | |
25243 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25244 | (arg1)->base_CreateButtons(); | |
25245 | ||
25246 | wxPyEndAllowThreads(__tstate); | |
25247 | if (PyErr_Occurred()) SWIG_fail; | |
25248 | } | |
25249 | Py_INCREF(Py_None); resultobj = Py_None; | |
25250 | return resultobj; | |
25251 | fail: | |
25252 | return NULL; | |
25253 | } | |
25254 | ||
25255 | ||
c370783e | 25256 | static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25257 | PyObject *resultobj; |
25258 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
25259 | int arg2 ; | |
25260 | PyObject * obj0 = 0 ; | |
25261 | PyObject * obj1 = 0 ; | |
25262 | char *kwnames[] = { | |
25263 | (char *) "self",(char *) "zoom", NULL | |
25264 | }; | |
25265 | ||
25266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; | |
25267 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, | |
25268 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 25269 | arg2 = (int)SWIG_As_int(obj1); |
d55e5bfc RD |
25270 | if (PyErr_Occurred()) SWIG_fail; |
25271 | { | |
25272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25273 | (arg1)->base_SetZoomControl(arg2); | |
25274 | ||
25275 | wxPyEndAllowThreads(__tstate); | |
25276 | if (PyErr_Occurred()) SWIG_fail; | |
25277 | } | |
25278 | Py_INCREF(Py_None); resultobj = Py_None; | |
25279 | return resultobj; | |
25280 | fail: | |
25281 | return NULL; | |
25282 | } | |
25283 | ||
25284 | ||
c370783e | 25285 | static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
25286 | PyObject *obj; |
25287 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
25288 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj); | |
25289 | Py_INCREF(obj); | |
25290 | return Py_BuildValue((char *)""); | |
25291 | } | |
25292 | static PyMethodDef SwigMethods[] = { | |
c370783e RD |
25293 | { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL }, |
25294 | { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25295 | { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25296 | { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25297 | { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25298 | { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL }, | |
25299 | { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25300 | { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25301 | { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25302 | { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25303 | { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25304 | { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25305 | { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25306 | { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25307 | { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25308 | { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25309 | { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25310 | { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25311 | { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25312 | { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25313 | { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL }, | |
25314 | { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL }, | |
25315 | { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25316 | { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25317 | { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25318 | { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25319 | { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25320 | { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25321 | { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25322 | { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25323 | { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL }, | |
25324 | { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25325 | { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25326 | { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25327 | { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25328 | { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25329 | { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25330 | { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25331 | { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25332 | { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25333 | { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25334 | { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25335 | { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25336 | { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25337 | { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL }, | |
5e483524 | 25338 | { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL }, |
c370783e RD |
25339 | { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL }, |
25340 | { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25341 | { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL }, | |
25342 | { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25343 | { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25344 | { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25345 | { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25346 | { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25347 | { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25348 | { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25349 | { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25350 | { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25351 | { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25352 | { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25353 | { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25354 | { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25355 | { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25356 | { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25357 | { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25358 | { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25359 | { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25360 | { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25361 | { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25362 | { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25363 | { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25364 | { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25365 | { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL }, | |
25366 | { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25367 | { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25368 | { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25369 | { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25370 | { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25371 | { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25372 | { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25373 | { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25374 | { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25375 | { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25376 | { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25377 | { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL }, | |
25378 | { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25379 | { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25380 | { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25381 | { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL }, | |
25382 | { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25383 | { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25384 | { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25385 | { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL }, | |
25386 | { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25387 | { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25388 | { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25389 | { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25390 | { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL }, | |
25391 | { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25392 | { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25393 | { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25394 | { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25395 | { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25396 | { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25397 | { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25398 | { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25399 | { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25400 | { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25401 | { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25402 | { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25403 | { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25404 | { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25405 | { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25406 | { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25407 | { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL }, | |
25408 | { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25409 | { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25410 | { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25411 | { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25412 | { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25413 | { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25414 | { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25415 | { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25416 | { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25417 | { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25418 | { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25419 | { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25420 | { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25421 | { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25422 | { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25423 | { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25424 | { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25425 | { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25426 | { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25427 | { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25428 | { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25429 | { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25430 | { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25431 | { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25432 | { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25433 | { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25434 | { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25435 | { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL }, | |
25436 | { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25437 | { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25438 | { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25439 | { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25440 | { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25441 | { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25442 | { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL }, | |
25443 | { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25444 | { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25445 | { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25446 | { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25447 | { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25448 | { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25449 | { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25450 | { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25451 | { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25452 | { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25453 | { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25454 | { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25455 | { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25456 | { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25457 | { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25458 | { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25459 | { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25460 | { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25461 | { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25462 | { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25463 | { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25464 | { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25465 | { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL }, | |
25466 | { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25467 | { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25468 | { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25469 | { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25470 | { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25471 | { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25472 | { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25473 | { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL }, | |
25474 | { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25475 | { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25476 | { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25477 | { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25478 | { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25479 | { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25480 | { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25481 | { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25482 | { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25483 | { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25484 | { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25485 | { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL }, | |
25486 | { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25487 | { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25488 | { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25489 | { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25490 | { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25491 | { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL }, | |
25492 | { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25493 | { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25494 | { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25495 | { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25496 | { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25497 | { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25498 | { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25499 | { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25500 | { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL }, | |
25501 | { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25502 | { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25503 | { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25504 | { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25505 | { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25506 | { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL }, | |
25507 | { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25508 | { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25509 | { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL }, | |
25510 | { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25511 | { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25512 | { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL }, | |
25513 | { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25514 | { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25515 | { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25516 | { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL }, | |
25517 | { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25518 | { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25519 | { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25520 | { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25521 | { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25522 | { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25523 | { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25524 | { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25525 | { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25526 | { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25527 | { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25528 | { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25529 | { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25530 | { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25531 | { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25532 | { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25533 | { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25534 | { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL }, | |
25535 | { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25536 | { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25537 | { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25538 | { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25539 | { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25540 | { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25541 | { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25542 | { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25543 | { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25544 | { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25545 | { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25546 | { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25547 | { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25548 | { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25549 | { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25550 | { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25551 | { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25552 | { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25553 | { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25554 | { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25555 | { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25556 | { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25557 | { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25558 | { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25559 | { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25560 | { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL }, | |
25561 | { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25562 | { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25563 | { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25564 | { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25565 | { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25566 | { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25567 | { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25568 | { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL }, | |
25569 | { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL }, | |
5e483524 | 25570 | { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, |
c370783e | 25571 | { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL }, |
b411df4a RD |
25572 | { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL }, |
25573 | { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25574 | { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25575 | { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25576 | { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL }, | |
c370783e RD |
25577 | { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL }, |
25578 | { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25579 | { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL }, | |
25580 | { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25581 | { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25582 | { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25583 | { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25584 | { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25585 | { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25586 | { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25587 | { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25588 | { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL }, | |
25589 | { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25590 | { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25591 | { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL }, | |
25592 | { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25593 | { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25594 | { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25595 | { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25596 | { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25597 | { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25598 | { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL }, | |
25599 | { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25600 | { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25601 | { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25602 | { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25603 | { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25604 | { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25605 | { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25606 | { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25607 | { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25608 | { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25609 | { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25610 | { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25611 | { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25612 | { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25613 | { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25614 | { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25615 | { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25616 | { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL }, | |
25617 | { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25618 | { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25619 | { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25620 | { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL }, | |
25621 | { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25622 | { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25623 | { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25624 | { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25625 | { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL }, | |
25626 | { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25627 | { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25628 | { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25629 | { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL }, | |
070c48b4 RD |
25630 | { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL }, |
25631 | { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL }, | |
c370783e RD |
25632 | { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL }, |
25633 | { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25634 | { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25635 | { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25636 | { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25637 | { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25638 | { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25639 | { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25640 | { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25641 | { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25642 | { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25643 | { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25644 | { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25645 | { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25646 | { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25647 | { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL }, | |
25648 | { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25649 | { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25650 | { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL }, | |
25651 | { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25652 | { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL }, | |
25653 | { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25654 | { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25655 | { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25656 | { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL }, | |
25657 | { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25658 | { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25659 | { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25660 | { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25661 | { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25662 | { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25663 | { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25664 | { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25665 | { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL }, | |
25666 | { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25667 | { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25668 | { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25669 | { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25670 | { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25671 | { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25672 | { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25673 | { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25674 | { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL }, | |
25675 | { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25676 | { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25677 | { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25678 | { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25679 | { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25680 | { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL }, | |
25681 | { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25682 | { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25683 | { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25684 | { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25685 | { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25686 | { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25687 | { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25688 | { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25689 | { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25690 | { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25691 | { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25692 | { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL }, | |
25693 | { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25694 | { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25695 | { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25696 | { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25697 | { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25698 | { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25699 | { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL }, | |
25700 | { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25701 | { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25702 | { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25703 | { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL }, | |
25704 | { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25705 | { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25706 | { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25707 | { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25708 | { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25709 | { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25710 | { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25711 | { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25712 | { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25713 | { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25714 | { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25715 | { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25716 | { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25717 | { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25718 | { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25719 | { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25720 | { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25721 | { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25722 | { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25723 | { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25724 | { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25725 | { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25726 | { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25727 | { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25728 | { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25729 | { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL }, | |
25730 | { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25731 | { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25732 | { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25733 | { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25734 | { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25735 | { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25736 | { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25737 | { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25738 | { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25739 | { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25740 | { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25741 | { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25742 | { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25743 | { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25744 | { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25745 | { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25746 | { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25747 | { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25748 | { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25749 | { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25750 | { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25751 | { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25752 | { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25753 | { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25754 | { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25755 | { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL }, | |
25756 | { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25757 | { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25758 | { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25759 | { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25760 | { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25761 | { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25762 | { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25763 | { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25764 | { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25765 | { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25766 | { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25767 | { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25768 | { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25769 | { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25770 | { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25771 | { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25772 | { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25773 | { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25774 | { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25775 | { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25776 | { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25777 | { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25778 | { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25779 | { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25780 | { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25781 | { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL }, | |
25782 | { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL }, | |
25783 | { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25784 | { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25785 | { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25786 | { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25787 | { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25788 | { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25789 | { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25790 | { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25791 | { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25792 | { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25793 | { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL }, | |
b411df4a | 25794 | { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL }, |
070c48b4 | 25795 | { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL }, |
c370783e RD |
25796 | { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL }, |
25797 | { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25798 | { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25799 | { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25800 | { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25801 | { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25802 | { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25803 | { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25804 | { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL }, | |
b411df4a | 25805 | { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL }, |
070c48b4 RD |
25806 | { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL }, |
25807 | { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25808 | { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL }, | |
c370783e RD |
25809 | { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL }, |
25810 | { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25811 | { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL }, | |
c370783e RD |
25812 | { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL }, |
25813 | { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25814 | { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25815 | { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25816 | { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
c370783e RD |
25817 | { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL }, |
25818 | { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25819 | { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL }, | |
c370783e RD |
25820 | { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL }, |
25821 | { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25822 | { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25823 | { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25824 | { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25825 | { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25826 | { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
c370783e RD |
25827 | { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL }, |
25828 | { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL }, | |
25829 | { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25830 | { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25831 | { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25832 | { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25833 | { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25834 | { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25835 | { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25836 | { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25837 | { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25838 | { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25839 | { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25840 | { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25841 | { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25842 | { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25843 | { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25844 | { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25845 | { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25846 | { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25847 | { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25848 | { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25849 | { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25850 | { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25851 | { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25852 | { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25853 | { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25854 | { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25855 | { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25856 | { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25857 | { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25858 | { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25859 | { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL }, | |
25860 | { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25861 | { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
6e0de3df | 25862 | { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL }, |
c370783e RD |
25863 | { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL }, |
25864 | { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL }, | |
25865 | { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL }, | |
25866 | { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25867 | { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25868 | { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25869 | { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25870 | { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25871 | { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25872 | { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25873 | { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25874 | { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25875 | { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25876 | { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
070c48b4 | 25877 | { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL }, |
c370783e RD |
25878 | { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL }, |
25879 | { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25880 | { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25881 | { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25882 | { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25883 | { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25884 | { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25885 | { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25886 | { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL }, | |
c370783e RD |
25887 | { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL }, |
25888 | { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25889 | { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25890 | { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25891 | { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25892 | { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25893 | { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25894 | { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25895 | { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25896 | { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25897 | { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25898 | { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL }, | |
25899 | { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
070c48b4 | 25900 | { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL }, |
c370783e | 25901 | { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL }, |
070c48b4 | 25902 | { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL }, |
c370783e | 25903 | { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL }, |
c370783e RD |
25904 | { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL }, |
25905 | { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25906 | { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25907 | { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
c370783e RD |
25908 | { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL }, |
25909 | { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL }, | |
070c48b4 RD |
25910 | { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL }, |
25911 | { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25912 | { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
c370783e RD |
25913 | { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL }, |
25914 | { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25915 | { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL }, | |
25916 | { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25917 | { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25918 | { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25919 | { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25920 | { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25921 | { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25922 | { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25923 | { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25924 | { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25925 | { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25926 | { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25927 | { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25928 | { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25929 | { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25930 | { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25931 | { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25932 | { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25933 | { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25934 | { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25935 | { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25936 | { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25937 | { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25938 | { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL }, | |
25939 | { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25940 | { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL }, | |
25941 | { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25942 | { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25943 | { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25944 | { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25945 | { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25946 | { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL }, | |
25947 | { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25948 | { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25949 | { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25950 | { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25951 | { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25952 | { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25953 | { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25954 | { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25955 | { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25956 | { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL }, | |
25957 | { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL }, | |
25958 | { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25959 | { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25960 | { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25961 | { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25962 | { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25963 | { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25964 | { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25965 | { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25966 | { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25967 | { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25968 | { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25969 | { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25970 | { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25971 | { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25972 | { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25973 | { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25974 | { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25975 | { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25976 | { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25977 | { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25978 | { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25979 | { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25980 | { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL }, | |
25981 | { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL }, | |
25982 | { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25983 | { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25984 | { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25985 | { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25986 | { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25987 | { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25988 | { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25989 | { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25990 | { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL }, | |
25991 | { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25992 | { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25993 | { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25994 | { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25995 | { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25996 | { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25997 | { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25998 | { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL }, | |
25999 | { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26000 | { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26001 | { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26002 | { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26003 | { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26004 | { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL }, | |
26005 | { NULL, NULL, 0, NULL } | |
d55e5bfc RD |
26006 | }; |
26007 | ||
26008 | ||
26009 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
26010 | ||
26011 | static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) { | |
26012 | return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
26013 | } | |
26014 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
26015 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
26016 | } | |
26017 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
26018 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
26019 | } | |
26020 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
26021 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
26022 | } | |
26023 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
26024 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
26025 | } | |
26026 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
26027 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
26028 | } | |
26029 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
26030 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
26031 | } | |
26032 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
26033 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
26034 | } | |
26035 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
26036 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
26037 | } | |
26038 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
26039 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
26040 | } | |
26041 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
26042 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
26043 | } | |
26044 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
26045 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
26046 | } | |
26047 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
26048 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
26049 | } | |
26050 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
26051 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
26052 | } | |
26053 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
26054 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
26055 | } | |
26056 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
26057 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
26058 | } | |
26059 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
26060 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
26061 | } | |
26062 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
26063 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
26064 | } | |
26065 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
26066 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
26067 | } | |
26068 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
26069 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
26070 | } | |
26071 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
26072 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
26073 | } | |
26074 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
26075 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
26076 | } | |
26077 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { | |
26078 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
26079 | } | |
26080 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
26081 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
26082 | } | |
26083 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
26084 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
26085 | } | |
26086 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
26087 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
26088 | } | |
26089 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
26090 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
26091 | } | |
26092 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
26093 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
26094 | } | |
26095 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
26096 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
26097 | } | |
26098 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
26099 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
26100 | } | |
26101 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
26102 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
26103 | } | |
26104 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
26105 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
26106 | } | |
26107 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
26108 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
26109 | } | |
26110 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
26111 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
26112 | } | |
26113 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
26114 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
26115 | } | |
26116 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
26117 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
26118 | } | |
26119 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
26120 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
26121 | } | |
26122 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
26123 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
26124 | } | |
26125 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
26126 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
26127 | } | |
26128 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
26129 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
26130 | } | |
26131 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
26132 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
26133 | } | |
26134 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
26135 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
26136 | } | |
26137 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { | |
26138 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
26139 | } | |
070c48b4 RD |
26140 | static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) { |
26141 | return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
26142 | } | |
d55e5bfc RD |
26143 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { |
26144 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
26145 | } | |
26146 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
26147 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
26148 | } | |
26149 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
26150 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
26151 | } | |
26152 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
26153 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
26154 | } | |
26155 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
26156 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
26157 | } | |
26158 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
26159 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
26160 | } | |
26161 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
26162 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
26163 | } | |
070c48b4 RD |
26164 | static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { |
26165 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
26166 | } | |
d55e5bfc RD |
26167 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { |
26168 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
26169 | } | |
26170 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
26171 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
26172 | } | |
26173 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
26174 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
26175 | } | |
26176 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
26177 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
26178 | } | |
26179 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
26180 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
26181 | } | |
26182 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
26183 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
26184 | } | |
26185 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
26186 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
26187 | } | |
26188 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
26189 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
26190 | } | |
26191 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
26192 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
26193 | } | |
26194 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
26195 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
26196 | } | |
26197 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
26198 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
26199 | } | |
26200 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
26201 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
26202 | } | |
26203 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
26204 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
26205 | } | |
26206 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
26207 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
26208 | } | |
26209 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
26210 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
26211 | } | |
26212 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
26213 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
26214 | } | |
26215 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
26216 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
26217 | } | |
26218 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
26219 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
26220 | } | |
26221 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
26222 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
26223 | } | |
26224 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
26225 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
26226 | } | |
26227 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
26228 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
26229 | } | |
26230 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { | |
26231 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
26232 | } | |
26233 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
26234 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
26235 | } | |
26236 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
26237 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
26238 | } | |
26239 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
26240 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
26241 | } | |
26242 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
26243 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
26244 | } | |
26245 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
26246 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
26247 | } | |
26248 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
26249 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
26250 | } | |
26251 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
26252 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
26253 | } | |
26254 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
26255 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
26256 | } | |
26257 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
26258 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
26259 | } | |
26260 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
26261 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
26262 | } | |
26263 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
26264 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
26265 | } | |
26266 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
26267 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
26268 | } | |
5e483524 RD |
26269 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { |
26270 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
d55e5bfc RD |
26271 | } |
26272 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
26273 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
26274 | } | |
d55e5bfc RD |
26275 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { |
26276 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
26277 | } | |
26278 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
26279 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
26280 | } | |
26281 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
26282 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
26283 | } | |
070c48b4 RD |
26284 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { |
26285 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
26286 | } | |
d55e5bfc RD |
26287 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { |
26288 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
26289 | } | |
26290 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) { | |
26291 | return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
26292 | } | |
26293 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
26294 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
26295 | } | |
26296 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
26297 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
26298 | } | |
26299 | static void *_p_wxTipWindowTo_p_wxFrame(void *x) { | |
26300 | return (void *)((wxFrame *) ((wxTipWindow *) x)); | |
26301 | } | |
26302 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
26303 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
26304 | } | |
26305 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
26306 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
26307 | } | |
26308 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
26309 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
26310 | } | |
26311 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
26312 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
26313 | } | |
26314 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
26315 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
26316 | } | |
26317 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
26318 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
26319 | } | |
26320 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
26321 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
26322 | } | |
26323 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
26324 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
26325 | } | |
26326 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
26327 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
26328 | } | |
26329 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
26330 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
26331 | } | |
26332 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
26333 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
26334 | } | |
26335 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
26336 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
26337 | } | |
26338 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
26339 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
26340 | } | |
26341 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
26342 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
26343 | } | |
26344 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
26345 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
26346 | } | |
26347 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
26348 | return (void *)((wxObject *) ((wxSizer *) x)); | |
26349 | } | |
26350 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
26351 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
26352 | } | |
26353 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
26354 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
26355 | } | |
26356 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
26357 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
26358 | } | |
26359 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
26360 | return (void *)((wxObject *) ((wxEvent *) x)); | |
26361 | } | |
26362 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
26363 | return (void *)((wxObject *) ((wxFontData *) x)); | |
26364 | } | |
26365 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
26366 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
26367 | } | |
26368 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
26369 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
26370 | } | |
26371 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
26372 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
26373 | } | |
26374 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
26375 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
26376 | } | |
26377 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
26378 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
26379 | } | |
5e483524 RD |
26380 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { |
26381 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
d55e5bfc RD |
26382 | } |
26383 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
26384 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
26385 | } | |
26386 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
26387 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
26388 | } | |
26389 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
26390 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
26391 | } | |
26392 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
26393 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
26394 | } | |
26395 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
26396 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
26397 | } | |
26398 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
26399 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
26400 | } | |
26401 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
26402 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
26403 | } | |
26404 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
26405 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
26406 | } | |
26407 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
26408 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
26409 | } | |
26410 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
26411 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
26412 | } | |
26413 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
26414 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
26415 | } | |
26416 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
26417 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
26418 | } | |
26419 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
26420 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
26421 | } | |
26422 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
26423 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
26424 | } | |
26425 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
26426 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
26427 | } | |
26428 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
26429 | return (void *)((wxObject *) ((wxColourData *) x)); | |
26430 | } | |
26431 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
26432 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
26433 | } | |
26434 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
26435 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
26436 | } | |
26437 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
26438 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
26439 | } | |
26440 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
26441 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
26442 | } | |
26443 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
26444 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
26445 | } | |
26446 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
26447 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
26448 | } | |
26449 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
26450 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
26451 | } | |
26452 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
26453 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
26454 | } | |
070c48b4 RD |
26455 | static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { |
26456 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
26457 | } | |
d55e5bfc RD |
26458 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { |
26459 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
26460 | } | |
26461 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
26462 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
26463 | } | |
26464 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
26465 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
26466 | } | |
26467 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
26468 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
26469 | } | |
26470 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
26471 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
26472 | } | |
26473 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
26474 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
26475 | } | |
26476 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
26477 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
26478 | } | |
26479 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
26480 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
26481 | } | |
26482 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
26483 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
26484 | } | |
26485 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
26486 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
26487 | } | |
26488 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
26489 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
26490 | } | |
26491 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
26492 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
26493 | } | |
26494 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
26495 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
26496 | } | |
26497 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
26498 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
26499 | } | |
26500 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
26501 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
26502 | } | |
26503 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
26504 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
26505 | } | |
26506 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
26507 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
26508 | } | |
26509 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
26510 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
26511 | } | |
26512 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
26513 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
26514 | } | |
26515 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
26516 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
26517 | } | |
26518 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
26519 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
26520 | } | |
26521 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
26522 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
26523 | } | |
26524 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
26525 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
26526 | } | |
26527 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
26528 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
26529 | } | |
26530 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
26531 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
26532 | } | |
26533 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
26534 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
26535 | } | |
26536 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
26537 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
26538 | } | |
26539 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
26540 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
26541 | } | |
26542 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
26543 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
26544 | } | |
26545 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
26546 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
26547 | } | |
26548 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
26549 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
26550 | } | |
26551 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
26552 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
26553 | } | |
26554 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
26555 | return (void *)((wxObject *) ((wxImage *) x)); | |
26556 | } | |
26557 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
26558 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
26559 | } | |
26560 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
26561 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
26562 | } | |
26563 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
26564 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
26565 | } | |
26566 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
26567 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
26568 | } | |
26569 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
26570 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
26571 | } | |
26572 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
26573 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
26574 | } | |
26575 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
26576 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
26577 | } | |
26578 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
26579 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
26580 | } | |
26581 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
26582 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
26583 | } | |
26584 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
26585 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
26586 | } | |
26587 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
26588 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
26589 | } | |
26590 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
26591 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
26592 | } | |
26593 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { | |
26594 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
26595 | } | |
26596 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { | |
26597 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
26598 | } | |
26599 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
26600 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
26601 | } | |
26602 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
26603 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
26604 | } | |
26605 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
26606 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
26607 | } | |
26608 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
26609 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
26610 | } | |
26611 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
26612 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
26613 | } | |
26614 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
26615 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
26616 | } | |
26617 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
26618 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
26619 | } | |
26620 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
26621 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
26622 | } | |
26623 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
26624 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
26625 | } | |
26626 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { | |
26627 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
26628 | } | |
26629 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
26630 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
26631 | } | |
26632 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
26633 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
26634 | } | |
26635 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
26636 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
26637 | } | |
26638 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
26639 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
26640 | } | |
26641 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
26642 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
26643 | } | |
26644 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
26645 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
26646 | } | |
26647 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
26648 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
26649 | } | |
26650 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
26651 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
26652 | } | |
26653 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
6e0de3df | 26654 | return (void *)((wxObject *) ((wxPageSetupDialog *) x)); |
d55e5bfc RD |
26655 | } |
26656 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
070c48b4 | 26657 | return (void *)((wxObject *) ((wxPrintDialog *) x)); |
d55e5bfc RD |
26658 | } |
26659 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
26660 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
26661 | } | |
26662 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
26663 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
26664 | } | |
26665 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
26666 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
26667 | } | |
26668 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
26669 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
26670 | } | |
26671 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
26672 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
26673 | } | |
26674 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
26675 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
26676 | } | |
26677 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
26678 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
26679 | } | |
26680 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
26681 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
26682 | } | |
26683 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
26684 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
26685 | } | |
26686 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
26687 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
26688 | } | |
26689 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
26690 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
26691 | } | |
26692 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
26693 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
26694 | } | |
26695 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
26696 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
26697 | } | |
26698 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
26699 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
26700 | } | |
26701 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
26702 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
26703 | } | |
26704 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
26705 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
26706 | } | |
26707 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
26708 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
26709 | } | |
26710 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
26711 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
26712 | } | |
26713 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
26714 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
26715 | } | |
26716 | static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
26717 | return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
26718 | } | |
26719 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
26720 | return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
26721 | } | |
26722 | static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) { | |
26723 | return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
26724 | } | |
26725 | static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) { | |
26726 | return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
26727 | } | |
26728 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { | |
26729 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
26730 | } | |
26731 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
26732 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
26733 | } | |
26734 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
26735 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
26736 | } | |
26737 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
26738 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
26739 | } | |
26740 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
26741 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
26742 | } | |
26743 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
26744 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
26745 | } | |
d55e5bfc RD |
26746 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { |
26747 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
26748 | } | |
26749 | static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) { | |
26750 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x)); | |
26751 | } | |
26752 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
26753 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
26754 | } | |
26755 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
26756 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
26757 | } | |
d55e5bfc RD |
26758 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { |
26759 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
26760 | } | |
070c48b4 RD |
26761 | static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) { |
26762 | return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
26763 | } | |
d55e5bfc RD |
26764 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { |
26765 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
26766 | } | |
26767 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
26768 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
26769 | } | |
26770 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
26771 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
26772 | } | |
26773 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
26774 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
26775 | } | |
070c48b4 RD |
26776 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { |
26777 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
26778 | } | |
d55e5bfc RD |
26779 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { |
26780 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
26781 | } | |
26782 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
26783 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
26784 | } | |
26785 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
26786 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
26787 | } | |
26788 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
26789 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
26790 | } | |
26791 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
26792 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
26793 | } | |
26794 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
26795 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
26796 | } | |
26797 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
26798 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
26799 | } | |
26800 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
26801 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
26802 | } | |
26803 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
26804 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
26805 | } | |
26806 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
26807 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
26808 | } | |
070c48b4 RD |
26809 | static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { |
26810 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
26811 | } | |
d55e5bfc RD |
26812 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { |
26813 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
26814 | } | |
26815 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
26816 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
26817 | } | |
26818 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
26819 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
26820 | } | |
26821 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
26822 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
26823 | } | |
26824 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
26825 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
26826 | } | |
26827 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
26828 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
26829 | } | |
d55e5bfc RD |
26830 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { |
26831 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
26832 | } | |
26833 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
26834 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
26835 | } | |
26836 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
26837 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
26838 | } | |
26839 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
26840 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
26841 | } | |
26842 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
26843 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
26844 | } | |
26845 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
26846 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
26847 | } | |
26848 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
26849 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
26850 | } | |
26851 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
26852 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
26853 | } | |
26854 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
26855 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
26856 | } | |
26857 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
26858 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
26859 | } | |
070c48b4 RD |
26860 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { |
26861 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
26862 | } | |
d55e5bfc RD |
26863 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { |
26864 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
26865 | } | |
26866 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
26867 | return (void *)((wxWindow *) ((wxControl *) x)); | |
26868 | } | |
26869 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
26870 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
26871 | } | |
26872 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
26873 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
26874 | } | |
26875 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
26876 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
26877 | } | |
26878 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
26879 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
26880 | } | |
26881 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
26882 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
26883 | } | |
26884 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
26885 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
26886 | } | |
26887 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
26888 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
26889 | } | |
26890 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
26891 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
26892 | } | |
26893 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
26894 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
26895 | } | |
26896 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
26897 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
26898 | } | |
26899 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
26900 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
26901 | } | |
26902 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
26903 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
26904 | } | |
26905 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
26906 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
26907 | } | |
26908 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
26909 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
26910 | } | |
26911 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
26912 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
26913 | } | |
d55e5bfc RD |
26914 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { |
26915 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
26916 | } | |
26917 | static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { | |
26918 | return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
26919 | } | |
26920 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { | |
26921 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
26922 | } | |
26923 | static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) { | |
26924 | return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
26925 | } | |
26926 | static void *_p_wxColourDialogTo_p_wxDialog(void *x) { | |
26927 | return (void *)((wxDialog *) ((wxColourDialog *) x)); | |
26928 | } | |
26929 | static void *_p_wxDirDialogTo_p_wxDialog(void *x) { | |
26930 | return (void *)((wxDialog *) ((wxDirDialog *) x)); | |
26931 | } | |
26932 | static void *_p_wxFontDialogTo_p_wxDialog(void *x) { | |
26933 | return (void *)((wxDialog *) ((wxFontDialog *) x)); | |
26934 | } | |
d55e5bfc RD |
26935 | static void *_p_wxFileDialogTo_p_wxDialog(void *x) { |
26936 | return (void *)((wxDialog *) ((wxFileDialog *) x)); | |
26937 | } | |
26938 | static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) { | |
26939 | return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x)); | |
26940 | } | |
26941 | static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) { | |
26942 | return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x)); | |
26943 | } | |
26944 | static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) { | |
26945 | return (void *)((wxDialog *) ((wxTextEntryDialog *) x)); | |
26946 | } | |
070c48b4 RD |
26947 | static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) { |
26948 | return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
26949 | } | |
d55e5bfc RD |
26950 | static void *_p_wxMessageDialogTo_p_wxDialog(void *x) { |
26951 | return (void *)((wxDialog *) ((wxMessageDialog *) x)); | |
26952 | } | |
26953 | static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) { | |
26954 | return (void *)((wxDialog *) ((wxFindReplaceDialog *) x)); | |
26955 | } | |
26956 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
26957 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
26958 | } | |
26959 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
26960 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
26961 | } | |
26962 | static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { | |
26963 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
26964 | } | |
26965 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { | |
26966 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
26967 | } | |
26968 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
26969 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
26970 | } | |
26971 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
26972 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
26973 | } | |
26974 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
26975 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
26976 | } | |
26977 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
26978 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
26979 | } | |
26980 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
26981 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
26982 | } | |
26983 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
26984 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
26985 | } | |
26986 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
26987 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
26988 | } | |
26989 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
26990 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
26991 | } | |
26992 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
26993 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
26994 | } | |
26995 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
26996 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
26997 | } | |
26998 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
26999 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
27000 | } | |
27001 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
27002 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
27003 | } | |
27004 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
27005 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
27006 | } | |
27007 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
27008 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
27009 | } | |
27010 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
27011 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
27012 | } | |
27013 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { | |
27014 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
27015 | } | |
27016 | static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) { | |
27017 | return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
27018 | } | |
27019 | 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}}; | |
27020 | 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}}; | |
27021 | 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}}; | |
27022 | 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}}; | |
27023 | 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}}; | |
d55e5bfc RD |
27024 | 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}}; |
27025 | 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 | 27026 | 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}}; |
d55e5bfc | 27027 | 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 | 27028 | 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}}; |
d55e5bfc RD |
27029 | 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}}; |
27030 | 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}}; | |
27031 | 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}}; | |
27032 | 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}}; | |
27033 | 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}}; | |
27034 | 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}}; | |
27035 | 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}}; | |
27036 | 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}}; | |
27037 | 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}}; | |
27038 | 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}}; | |
27039 | 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}}; | |
27040 | 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}}; | |
f20a2e1f | 27041 | 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}}; |
d55e5bfc RD |
27042 | 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}}; |
27043 | 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}}; | |
27044 | 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}}; | |
27045 | 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}}; | |
27046 | 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}}; | |
27047 | 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}}; | |
27048 | 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}}; | |
27049 | 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}}; | |
070c48b4 | 27050 | static swig_type_info _swigt__p_wxPasswordEntryDialog[] = {{"_p_wxPasswordEntryDialog", 0, "wxPasswordEntryDialog *", 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
d55e5bfc RD |
27051 | 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}}; |
27052 | 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}}; | |
27053 | 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}}; | |
070c48b4 | 27054 | static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0, 0, 0, 0},{"_p_wxTextEntryDialog", 0, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTextEntryDialog, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
d55e5bfc RD |
27055 | 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}}; |
27056 | 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}}; | |
6e0de3df | 27057 | static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_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_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_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}}; |
d55e5bfc RD |
27058 | 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}}; |
27059 | 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}}; | |
27060 | 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}}; | |
27061 | 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}}; | |
27062 | 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}}; | |
27063 | 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}}; | |
27064 | static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
27065 | 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}}; | |
27066 | 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}}; | |
27067 | 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}}; | |
27068 | 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}}; | |
27069 | 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}}; | |
27070 | 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}}; | |
6e0de3df | 27071 | static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
d55e5bfc RD |
27072 | 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}}; |
27073 | 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}}; | |
27074 | static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
27075 | 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}}; | |
27076 | 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 | 27077 | 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}}; |
d55e5bfc RD |
27078 | 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}}; |
27079 | static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
27080 | 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}}; | |
6e0de3df RD |
27081 | static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
27082 | static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
d55e5bfc | 27083 | 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}}; |
d55e5bfc | 27084 | 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 | 27085 | 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}}; |
d55e5bfc RD |
27086 | 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}}; |
27087 | 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}}; | |
27088 | 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}}; | |
27089 | 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}}; | |
27090 | 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}}; | |
27091 | 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}}; | |
27092 | 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}}; | |
6e0de3df | 27093 | static swig_type_info _swigt__p_wxDialog[] = {{"_p_wxDialog", 0, "wxDialog *", 0, 0, 0, 0},{"_p_wxDialog", 0, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
d55e5bfc RD |
27094 | 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}}; |
27095 | 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}}; | |
27096 | 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}}; | |
d6c14a4c | 27097 | 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}}; |
d55e5bfc RD |
27098 | 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}}; |
27099 | 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}}; | |
27100 | 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}}; | |
27101 | 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}}; | |
27102 | 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}}; | |
27103 | 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}}; | |
27104 | 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}}; | |
27105 | 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}}; | |
27106 | ||
27107 | static swig_type_info *swig_types_initial[] = { | |
27108 | _swigt__p_wxQueryLayoutInfoEvent, | |
27109 | _swigt__p_wxPreviewFrame, | |
27110 | _swigt__p_wxPyPreviewFrame, | |
27111 | _swigt__p_wxPyPanel, | |
27112 | _swigt__p_wxMenu, | |
d55e5bfc RD |
27113 | _swigt__p_wxFontData, |
27114 | _swigt__p_wxEvent, | |
f5b96ee1 | 27115 | _swigt__p_wxPrintData, |
d55e5bfc | 27116 | _swigt__p_wxTaskBarIcon, |
5e483524 | 27117 | _swigt__p_wxPyTaskBarIcon, |
d55e5bfc RD |
27118 | _swigt__p_wxIconBundle, |
27119 | _swigt__p_wxLayoutAlgorithm, | |
27120 | _swigt__p_wxFindDialogEvent, | |
27121 | _swigt__p_wxPreviewCanvas, | |
27122 | _swigt__p_wxFont, | |
27123 | _swigt__p_wxSplitterEvent, | |
27124 | _swigt__p_wxRegion, | |
27125 | _swigt__p_wxFindReplaceData, | |
27126 | _swigt__p_int, | |
27127 | _swigt__p_wxSize, | |
27128 | _swigt__p_wxDC, | |
27129 | _swigt__p_wxIcon, | |
f20a2e1f | 27130 | _swigt__p_wxVisualAttributes, |
d55e5bfc RD |
27131 | _swigt__p_wxMDIChildFrame, |
27132 | _swigt__p_wxColourData, | |
27133 | _swigt__p_wxNotifyEvent, | |
27134 | _swigt__p_wxPyWindow, | |
27135 | _swigt__p_wxSplashScreen, | |
27136 | _swigt__p_wxFindReplaceDialog, | |
27137 | _swigt__p_wxProgressDialog, | |
27138 | _swigt__p_wxMessageDialog, | |
070c48b4 | 27139 | _swigt__p_wxPasswordEntryDialog, |
d55e5bfc RD |
27140 | _swigt__p_wxSingleChoiceDialog, |
27141 | _swigt__p_wxMultiChoiceDialog, | |
27142 | _swigt__p_wxFileDialog, | |
070c48b4 | 27143 | _swigt__p_wxTextEntryDialog, |
d55e5bfc RD |
27144 | _swigt__p_wxPrinter, |
27145 | _swigt__p_wxArrayInt, | |
27146 | _swigt__p_wxEvtHandler, | |
27147 | _swigt__p_wxCalculateLayoutEvent, | |
27148 | _swigt__p_wxPyHtmlListBox, | |
27149 | _swigt__p_wxPyVListBox, | |
27150 | _swigt__p_wxRect, | |
27151 | _swigt__p_char, | |
27152 | _swigt__p_wxMiniFrame, | |
27153 | _swigt__p_wxFrame, | |
27154 | _swigt__p_wxPyPrintout, | |
27155 | _swigt__p_wxTaskBarIconEvent, | |
27156 | _swigt__p_wxScrollWinEvent, | |
27157 | _swigt__p_wxStatusBar, | |
27158 | _swigt__p_wxMDIParentFrame, | |
27159 | _swigt__p_wxPoint, | |
27160 | _swigt__p_wxObject, | |
d55e5bfc RD |
27161 | _swigt__p_wxMDIClientWindow, |
27162 | _swigt__p_wxTipWindow, | |
27163 | _swigt__p_wxPyPopupTransientWindow, | |
27164 | _swigt__p_wxSashLayoutWindow, | |
27165 | _swigt__p_wxSplitterWindow, | |
f5b96ee1 | 27166 | _swigt__p_wxSplashScreenWindow, |
d55e5bfc RD |
27167 | _swigt__p_wxPyVScrolledWindow, |
27168 | _swigt__p_wxPopupWindow, | |
27169 | _swigt__p_wxSashWindow, | |
27170 | _swigt__p_wxTopLevelWindow, | |
27171 | _swigt__p_wxWindow, | |
27172 | _swigt__p_wxScrolledWindow, | |
d55e5bfc | 27173 | _swigt__p_wxMenuBar, |
5e483524 | 27174 | _swigt__p_wxPyScrolledWindow, |
d55e5bfc RD |
27175 | _swigt__p_wxPrintPreview, |
27176 | _swigt__p_wxSashEvent, | |
27177 | _swigt__p_wxString, | |
27178 | _swigt__p_wxPyPrintPreview, | |
27179 | _swigt__p_wxFontDialog, | |
27180 | _swigt__p_wxDirDialog, | |
27181 | _swigt__p_wxColourDialog, | |
27182 | _swigt__p_wxDialog, | |
27183 | _swigt__p_wxPanel, | |
27184 | _swigt__p_wxPageSetupDialog, | |
27185 | _swigt__p_wxPrintDialog, | |
d6c14a4c | 27186 | _swigt__p_wxFileSystem, |
d55e5bfc RD |
27187 | _swigt__p_wxBitmap, |
27188 | _swigt__p_wxCommandEvent, | |
27189 | _swigt__p_wxPreviewControlBar, | |
27190 | _swigt__p_wxPyPreviewControlBar, | |
27191 | _swigt__p_wxColour, | |
27192 | _swigt__p_wxToolBar, | |
27193 | _swigt__p_wxPageSetupDialogData, | |
27194 | _swigt__p_wxPrintDialogData, | |
27195 | 0 | |
27196 | }; | |
27197 | ||
27198 | ||
27199 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
27200 | ||
27201 | static swig_const_info swig_const_table[] = { | |
c370783e | 27202 | {0, 0, 0, 0.0, 0, 0}}; |
d55e5bfc RD |
27203 | |
27204 | #ifdef __cplusplus | |
27205 | } | |
27206 | #endif | |
27207 | ||
27208 | #ifdef __cplusplus | |
27209 | extern "C" | |
27210 | #endif | |
27211 | SWIGEXPORT(void) SWIG_init(void) { | |
27212 | static PyObject *SWIG_globals = 0; | |
27213 | static int typeinit = 0; | |
27214 | PyObject *m, *d; | |
27215 | int i; | |
27216 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
27217 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
27218 | d = PyModule_GetDict(m); | |
27219 | ||
27220 | if (!typeinit) { | |
27221 | for (i = 0; swig_types_initial[i]; i++) { | |
27222 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
27223 | } | |
27224 | typeinit = 1; | |
27225 | } | |
27226 | SWIG_InstallConstants(d,swig_const_table); | |
27227 | ||
27228 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); | |
27229 | SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set); | |
27230 | SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set); | |
27231 | SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set); | |
27232 | SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set); | |
c370783e RD |
27233 | PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP)); |
27234 | PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)wxICONIZE)); | |
27235 | PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE)); | |
27236 | PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE)); | |
27237 | PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX)); | |
27238 | PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME)); | |
27239 | PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU)); | |
27240 | PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX)); | |
27241 | PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX)); | |
27242 | PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ)); | |
27243 | PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT)); | |
27244 | PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX)); | |
27245 | PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER)); | |
27246 | PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT)); | |
27247 | PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE)); | |
27248 | PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE)); | |
27249 | PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW)); | |
27250 | PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT)); | |
27251 | PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU)); | |
27252 | PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR)); | |
27253 | PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED)); | |
b411df4a | 27254 | PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)wxFRAME_DRAWER)); |
c370783e RD |
27255 | PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL)); |
27256 | PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS)); | |
27257 | PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS)); | |
27258 | PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)wxNO_3D)); | |
27259 | PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR)); | |
27260 | PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR)); | |
27261 | PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR)); | |
27262 | PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER)); | |
27263 | PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION)); | |
27264 | PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL)); | |
27265 | PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG)); | |
27266 | PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO)); | |
27267 | PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR)); | |
27268 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT)); | |
27269 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN)); | |
27270 | PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE)); | |
27271 | PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT)); | |
27272 | PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT)); | |
27273 | PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL)); | |
27274 | PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT)); | |
27275 | PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED)); | |
d55e5bfc | 27276 | SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set); |
c370783e RD |
27277 | PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER)); |
27278 | PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH)); | |
27279 | PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT)); | |
27280 | PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE)); | |
27281 | PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH)); | |
27282 | PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER)); | |
27283 | PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME)); | |
27284 | PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER)); | |
27285 | PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)wxSP_3D)); | |
27286 | PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL)); | |
27287 | PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL)); | |
27288 | PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE)); | |
27289 | PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING)); | |
27290 | PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN)); | |
d55e5bfc RD |
27291 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED)); |
27292 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING)); | |
27293 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED)); | |
27294 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT)); | |
27295 | SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set); | |
27296 | SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set); | |
c370783e RD |
27297 | PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE)); |
27298 | PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING)); | |
27299 | PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN)); | |
27300 | PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER)); | |
27301 | PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER)); | |
27302 | PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH)); | |
27303 | PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER)); | |
27304 | PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)wxSW_3D)); | |
27305 | PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP)); | |
27306 | PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT)); | |
27307 | PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM)); | |
27308 | PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT)); | |
27309 | PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE)); | |
27310 | PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK)); | |
27311 | PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE)); | |
d55e5bfc | 27312 | PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED)); |
c370783e RD |
27313 | PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL)); |
27314 | PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL)); | |
27315 | PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE)); | |
27316 | PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP)); | |
27317 | PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT)); | |
27318 | PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT)); | |
27319 | PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM)); | |
27320 | PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y)); | |
27321 | PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X)); | |
27322 | PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH)); | |
27323 | PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY)); | |
d55e5bfc RD |
27324 | PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO)); |
27325 | PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT)); | |
27326 | SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set); | |
27327 | ||
27328 | // Map renamed classes back to their common name for OOR | |
27329 | wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox"); | |
27330 | wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox"); | |
27331 | wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow"); | |
27332 | ||
27333 | PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE)); | |
27334 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN)); | |
27335 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP)); | |
27336 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN)); | |
27337 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP)); | |
27338 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK)); | |
27339 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK)); | |
27340 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set); | |
27341 | SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set); | |
27342 | SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set); | |
27343 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set); | |
27344 | SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set); | |
27345 | SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set); | |
c370783e | 27346 | PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE)); |
070c48b4 | 27347 | SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set); |
c370783e RD |
27348 | PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN)); |
27349 | PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD)); | |
27350 | PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE)); | |
27351 | PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG)); | |
27352 | PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN)); | |
27353 | PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE)); | |
27354 | PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD)); | |
d55e5bfc RD |
27355 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND)); |
27356 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT)); | |
27357 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE)); | |
27358 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL)); | |
27359 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE)); | |
c370783e RD |
27360 | PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)4001)); |
27361 | PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001)); | |
27362 | PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002)); | |
27363 | PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)4003)); | |
27364 | PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)4004)); | |
27365 | PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005)); | |
27366 | PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)4100)); | |
27367 | PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)4600)); | |
d55e5bfc RD |
27368 | SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set); |
27369 | SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set); | |
c370783e RD |
27370 | PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE)); |
27371 | PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW)); | |
27372 | PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE)); | |
27373 | PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER)); | |
27374 | PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM)); | |
b411df4a RD |
27375 | PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)wxPRINTBIN_DEFAULT)); |
27376 | PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)wxPRINTBIN_ONLYONE)); | |
27377 | PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)wxPRINTBIN_LOWER)); | |
27378 | PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)wxPRINTBIN_MIDDLE)); | |
27379 | PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)wxPRINTBIN_MANUAL)); | |
27380 | PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)wxPRINTBIN_ENVELOPE)); | |
27381 | PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)wxPRINTBIN_ENVMANUAL)); | |
27382 | PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)wxPRINTBIN_AUTO)); | |
27383 | PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)wxPRINTBIN_TRACTOR)); | |
27384 | PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)wxPRINTBIN_SMALLFMT)); | |
27385 | PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)wxPRINTBIN_LARGEFMT)); | |
27386 | PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)wxPRINTBIN_LARGECAPACITY)); | |
27387 | PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)wxPRINTBIN_CASSETTE)); | |
27388 | PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)wxPRINTBIN_FORMSOURCE)); | |
27389 | PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)wxPRINTBIN_USER)); | |
c370783e RD |
27390 | PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR)); |
27391 | PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED)); | |
27392 | PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR)); | |
27393 | PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT)); | |
27394 | PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS)); | |
27395 | PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT)); | |
27396 | PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM)); | |
27397 | PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST)); | |
27398 | PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST)); | |
27399 | PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO)); | |
27400 | PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT)); | |
27401 | PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE)); | |
27402 | PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT)); | |
27403 | PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS)); | |
27404 | PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT)); | |
27405 | PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM)); | |
27406 | PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST)); | |
27407 | PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST)); | |
27408 | PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO)); | |
d55e5bfc RD |
27409 | |
27410 | wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout"); | |
27411 | ||
27412 | } | |
27413 |