| 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 |
| 46 | #define SWIG_TypePrettyName SWIG_Python_TypePrettyName |
| 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 *); |
| 117 | SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *); |
| 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 | |
| 128 | |
| 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 | |
| 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 | |
| 208 | |
| 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] |
| 216 | #define SWIGTYPE_p_wxFontData swig_types[5] |
| 217 | #define SWIGTYPE_p_wxEvent swig_types[6] |
| 218 | #define SWIGTYPE_p_wxPrintData swig_types[7] |
| 219 | #define SWIGTYPE_p_wxTaskBarIcon swig_types[8] |
| 220 | #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9] |
| 221 | #define SWIGTYPE_p_wxIconBundle swig_types[10] |
| 222 | #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11] |
| 223 | #define SWIGTYPE_p_wxFindDialogEvent swig_types[12] |
| 224 | #define SWIGTYPE_p_wxPreviewCanvas swig_types[13] |
| 225 | #define SWIGTYPE_p_wxFont swig_types[14] |
| 226 | #define SWIGTYPE_p_wxSplitterEvent swig_types[15] |
| 227 | #define SWIGTYPE_p_wxRegion swig_types[16] |
| 228 | #define SWIGTYPE_p_wxFindReplaceData swig_types[17] |
| 229 | #define SWIGTYPE_p_int swig_types[18] |
| 230 | #define SWIGTYPE_p_wxSize swig_types[19] |
| 231 | #define SWIGTYPE_p_wxDC swig_types[20] |
| 232 | #define SWIGTYPE_p_wxIcon swig_types[21] |
| 233 | #define SWIGTYPE_p_wxVisualAttributes swig_types[22] |
| 234 | #define SWIGTYPE_p_wxMDIChildFrame swig_types[23] |
| 235 | #define SWIGTYPE_p_wxColourData swig_types[24] |
| 236 | #define SWIGTYPE_p_wxNotifyEvent swig_types[25] |
| 237 | #define SWIGTYPE_p_wxPyWindow swig_types[26] |
| 238 | #define SWIGTYPE_p_wxSplashScreen swig_types[27] |
| 239 | #define SWIGTYPE_p_wxFindReplaceDialog swig_types[28] |
| 240 | #define SWIGTYPE_p_wxProgressDialog swig_types[29] |
| 241 | #define SWIGTYPE_p_wxMessageDialog swig_types[30] |
| 242 | #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31] |
| 243 | #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32] |
| 244 | #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33] |
| 245 | #define SWIGTYPE_p_wxFileDialog swig_types[34] |
| 246 | #define SWIGTYPE_p_wxTextEntryDialog swig_types[35] |
| 247 | #define SWIGTYPE_p_wxPrinter swig_types[36] |
| 248 | #define SWIGTYPE_p_wxArrayInt swig_types[37] |
| 249 | #define SWIGTYPE_p_wxEvtHandler swig_types[38] |
| 250 | #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[39] |
| 251 | #define SWIGTYPE_p_wxPyHtmlListBox swig_types[40] |
| 252 | #define SWIGTYPE_p_wxPyVListBox swig_types[41] |
| 253 | #define SWIGTYPE_p_wxRect swig_types[42] |
| 254 | #define SWIGTYPE_p_char swig_types[43] |
| 255 | #define SWIGTYPE_p_wxMiniFrame swig_types[44] |
| 256 | #define SWIGTYPE_p_wxFrame swig_types[45] |
| 257 | #define SWIGTYPE_p_wxPyPrintout swig_types[46] |
| 258 | #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[47] |
| 259 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[48] |
| 260 | #define SWIGTYPE_p_wxStatusBar swig_types[49] |
| 261 | #define SWIGTYPE_p_wxMDIParentFrame swig_types[50] |
| 262 | #define SWIGTYPE_p_wxPoint swig_types[51] |
| 263 | #define SWIGTYPE_p_wxObject swig_types[52] |
| 264 | #define SWIGTYPE_p_wxMDIClientWindow swig_types[53] |
| 265 | #define SWIGTYPE_p_wxTipWindow swig_types[54] |
| 266 | #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[55] |
| 267 | #define SWIGTYPE_p_wxSashLayoutWindow swig_types[56] |
| 268 | #define SWIGTYPE_p_wxSplitterWindow swig_types[57] |
| 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] |
| 276 | #define SWIGTYPE_p_wxMenuBar swig_types[65] |
| 277 | #define SWIGTYPE_p_wxPyScrolledWindow swig_types[66] |
| 278 | #define SWIGTYPE_p_wxPrintPreview swig_types[67] |
| 279 | #define SWIGTYPE_p_wxSashEvent swig_types[68] |
| 280 | #define SWIGTYPE_p_wxString swig_types[69] |
| 281 | #define SWIGTYPE_p_wxPyPrintPreview swig_types[70] |
| 282 | #define SWIGTYPE_p_wxFontDialog swig_types[71] |
| 283 | #define SWIGTYPE_p_wxDirDialog swig_types[72] |
| 284 | #define SWIGTYPE_p_wxColourDialog swig_types[73] |
| 285 | #define SWIGTYPE_p_wxDialog swig_types[74] |
| 286 | #define SWIGTYPE_p_wxPanel swig_types[75] |
| 287 | #define SWIGTYPE_p_wxPageSetupDialog swig_types[76] |
| 288 | #define SWIGTYPE_p_wxPrintDialog swig_types[77] |
| 289 | #define SWIGTYPE_p_wxFileSystem swig_types[78] |
| 290 | #define SWIGTYPE_p_wxBitmap swig_types[79] |
| 291 | #define SWIGTYPE_p_wxCommandEvent swig_types[80] |
| 292 | #define SWIGTYPE_p_wxPreviewControlBar swig_types[81] |
| 293 | #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[82] |
| 294 | #define SWIGTYPE_p_wxColour swig_types[83] |
| 295 | #define SWIGTYPE_p_wxToolBar swig_types[84] |
| 296 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85] |
| 297 | #define SWIGTYPE_p_wxPrintDialogData swig_types[86] |
| 298 | static swig_type_info *swig_types[88]; |
| 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 | |
| 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 |
| 315 | |
| 316 | #ifdef __cplusplus |
| 317 | #define SWIGSTATICINLINE(a) static inline a |
| 318 | #define SWIGSTATIC(a) static a |
| 319 | #define swig_new_array(size,Type) (new Type[(size)]) |
| 320 | #define swig_delete(cptr) delete cptr |
| 321 | #define swig_delete_array(cptr) delete[] cptr |
| 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) |
| 327 | |
| 328 | #else /* C case */ |
| 329 | |
| 330 | #define SWIGSTATICINLINE(a) static a |
| 331 | #define SWIGSTATIC(a) static a |
| 332 | #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type))) |
| 333 | #define swig_delete(cptr) free((char*)cptr) |
| 334 | #define swig_delete_array(cptr) free((char*)cptr) |
| 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))) |
| 340 | |
| 341 | #endif /* __cplusplus */ |
| 342 | |
| 343 | |
| 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 | /*@@*/ |
| 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 | |
| 382 | SWIGSTATICINLINE(int) |
| 383 | SWIG_CheckLongInRange(long value, long min_value, long max_value, |
| 384 | const char *errmsg) |
| 385 | { |
| 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); |
| 398 | } |
| 399 | return 0; |
| 400 | } |
| 401 | return 1; |
| 402 | } |
| 403 | |
| 404 | |
| 405 | // See my_fragments.i |
| 406 | SWIGSTATICINLINE(int) |
| 407 | SWIG_AsVal_long(PyObject* obj, long* val) |
| 408 | { |
| 409 | if (PyNumber_Check(obj)) { |
| 410 | if (val) *val = PyInt_AsLong(obj); |
| 411 | return 1; |
| 412 | } |
| 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); |
| 418 | } |
| 419 | return 0; |
| 420 | } |
| 421 | |
| 422 | |
| 423 | #if INT_MAX != LONG_MAX |
| 424 | SWIGSTATICINLINE(int) |
| 425 | SWIG_AsVal_int(PyObject *obj, int *val) |
| 426 | { |
| 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; |
| 443 | } |
| 444 | #else |
| 445 | SWIGSTATICINLINE(int) |
| 446 | SWIG_AsVal_int(PyObject *obj, int *val) |
| 447 | { |
| 448 | return SWIG_AsVal_long(obj,(long*)val); |
| 449 | } |
| 450 | #endif |
| 451 | |
| 452 | |
| 453 | SWIGSTATICINLINE(int) |
| 454 | SWIG_As_int(PyObject* obj) |
| 455 | { |
| 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)); |
| 464 | } |
| 465 | return v; |
| 466 | } |
| 467 | |
| 468 | |
| 469 | SWIGSTATICINLINE(long) |
| 470 | SWIG_As_long(PyObject* obj) |
| 471 | { |
| 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)); |
| 480 | } |
| 481 | return v; |
| 482 | } |
| 483 | |
| 484 | |
| 485 | SWIGSTATICINLINE(int) |
| 486 | SWIG_Check_int(PyObject* obj) |
| 487 | { |
| 488 | return SWIG_AsVal_int(obj, (int*)0); |
| 489 | } |
| 490 | |
| 491 | |
| 492 | SWIGSTATICINLINE(int) |
| 493 | SWIG_Check_long(PyObject* obj) |
| 494 | { |
| 495 | return SWIG_AsVal_long(obj, (long*)0); |
| 496 | } |
| 497 | |
| 498 | |
| 499 | SWIGSTATICINLINE(int) |
| 500 | SWIG_AsVal_bool(PyObject *obj, bool *val) |
| 501 | { |
| 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; |
| 514 | return 1; |
| 515 | } |
| 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; |
| 536 | } |
| 537 | |
| 538 | |
| 539 | SWIGSTATICINLINE(int) |
| 540 | SWIG_Check_bool(PyObject* obj) |
| 541 | { |
| 542 | return SWIG_AsVal_bool(obj, (bool*)0); |
| 543 | } |
| 544 | |
| 545 | |
| 546 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { |
| 547 | PyObject* o2; |
| 548 | PyObject* o3; |
| 549 | |
| 550 | if (!target) { |
| 551 | target = o; |
| 552 | } else if (target == Py_None) { |
| 553 | Py_DECREF(Py_None); |
| 554 | target = o; |
| 555 | } else { |
| 556 | if (!PyTuple_Check(target)) { |
| 557 | o2 = target; |
| 558 | target = PyTuple_New(1); |
| 559 | PyTuple_SetItem(target, 0, o2); |
| 560 | } |
| 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; |
| 570 | } |
| 571 | |
| 572 | |
| 573 | |
| 574 | // See my_fragments.i |
| 575 | SWIGSTATICINLINE(int) |
| 576 | SWIG_AsVal_double(PyObject *obj, double* val) |
| 577 | { |
| 578 | if (PyNumber_Check(obj)) { |
| 579 | if (val) *val = PyFloat_AsDouble(obj); |
| 580 | return 1; |
| 581 | } |
| 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); |
| 587 | } |
| 588 | return 0; |
| 589 | } |
| 590 | |
| 591 | |
| 592 | SWIGSTATICINLINE(double) |
| 593 | SWIG_As_double(PyObject* obj) |
| 594 | { |
| 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)); |
| 603 | } |
| 604 | return v; |
| 605 | } |
| 606 | |
| 607 | |
| 608 | SWIGSTATICINLINE(int) |
| 609 | SWIG_Check_double(PyObject* obj) |
| 610 | { |
| 611 | return SWIG_AsVal_double(obj, (double*)0); |
| 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 |
| 712 | size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false) |
| 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 | |
| 731 | // See my_fragments.i |
| 732 | SWIGSTATICINLINE(int) |
| 733 | SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val) |
| 734 | { |
| 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; |
| 739 | } |
| 740 | else if (val) |
| 741 | *val = (unsigned long)v; |
| 742 | return 1; |
| 743 | } |
| 744 | |
| 745 | |
| 746 | SWIGSTATICINLINE(unsigned long) |
| 747 | SWIG_As_unsigned_SS_long(PyObject* obj) |
| 748 | { |
| 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)); |
| 757 | } |
| 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); |
| 766 | } |
| 767 | |
| 768 | |
| 769 | SWIGSTATICINLINE(PyObject* ) |
| 770 | SWIG_From_unsigned_SS_long(unsigned long value) |
| 771 | { |
| 772 | return (value > LONG_MAX) ? |
| 773 | PyLong_FromUnsignedLong(value) |
| 774 | : PyInt_FromLong(swig_numeric_cast(value,long)); |
| 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 | |
| 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 | } |
| 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 | |
| 917 | #ifndef wxHAS_TASK_BAR_ICON |
| 918 | // implement dummy classes for platforms that don't have it |
| 919 | |
| 920 | class wxTaskBarIcon : public wxEvtHandler |
| 921 | { |
| 922 | public: |
| 923 | wxTaskBarIcon() { wxPyRaiseNotImplemented(); } |
| 924 | }; |
| 925 | |
| 926 | |
| 927 | class wxTaskBarIconEvent : public wxEvent |
| 928 | { |
| 929 | public: |
| 930 | wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *) |
| 931 | { wxPyRaiseNotImplemented(); } |
| 932 | virtual wxEvent* Clone() const { return NULL; } |
| 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; } |
| 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 | }; |
| 949 | |
| 950 | |
| 951 | #else |
| 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 | {} |
| 959 | |
| 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 | } |
| 979 | |
| 980 | PYPRIVATE; |
| 981 | }; |
| 982 | |
| 983 | IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon); |
| 984 | |
| 985 | #endif |
| 986 | |
| 987 | void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){ |
| 988 | self->RemoveIcon(); |
| 989 | delete self; |
| 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 | } |
| 1014 | static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr); |
| 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 | |
| 1031 | void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); } |
| 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 | |
| 1057 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
| 1058 | DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground); |
| 1059 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
| 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 | |
| 1090 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours); |
| 1091 | IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground); |
| 1092 | IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes); |
| 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 | |
| 1108 | void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); } |
| 1109 | |
| 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 | |
| 1135 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
| 1136 | DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground); |
| 1137 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
| 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 | |
| 1168 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours); |
| 1169 | IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground); |
| 1170 | IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes); |
| 1171 | |
| 1172 | |
| 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 | |
| 1186 | void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); } |
| 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 | |
| 1212 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
| 1213 | DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground); |
| 1214 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
| 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 | |
| 1245 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours); |
| 1246 | IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground); |
| 1247 | IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes); |
| 1248 | |
| 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 | |
| 1258 | IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout); |
| 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) { |
| 1262 | bool hadErr = false; |
| 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); |
| 1273 | else hadErr = true; |
| 1274 | |
| 1275 | val = PyTuple_GetItem(result, 1); |
| 1276 | if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val); |
| 1277 | else hadErr = true; |
| 1278 | |
| 1279 | val = PyTuple_GetItem(result, 2); |
| 1280 | if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val); |
| 1281 | else hadErr = true; |
| 1282 | |
| 1283 | val = PyTuple_GetItem(result, 3); |
| 1284 | if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val); |
| 1285 | else hadErr = true; |
| 1286 | } |
| 1287 | else |
| 1288 | hadErr = true; |
| 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 | |
| 1318 | #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \ |
| 1319 | bool CBNAME(wxPreviewCanvas* a, wxDC& b); \ |
| 1320 | bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b) |
| 1321 | |
| 1322 | |
| 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); \ |
| 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 |
| 1450 | static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 ; |
| 1464 | bool temp6 = false ; |
| 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) { |
| 1479 | arg2 = (int)SWIG_As_int(obj1); |
| 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) { |
| 1495 | arg5 = (long)SWIG_As_long(obj4); |
| 1496 | if (PyErr_Occurred()) SWIG_fail; |
| 1497 | } |
| 1498 | if (obj5) { |
| 1499 | { |
| 1500 | arg6 = wxString_in_helper(obj5); |
| 1501 | if (arg6 == NULL) SWIG_fail; |
| 1502 | temp6 = true; |
| 1503 | } |
| 1504 | } |
| 1505 | { |
| 1506 | if (!wxPyCheckForApp()) SWIG_fail; |
| 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); |
| 1511 | if (PyErr_Occurred()) SWIG_fail; |
| 1512 | } |
| 1513 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1); |
| 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 | |
| 1528 | static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | { |
| 1537 | if (!wxPyCheckForApp()) SWIG_fail; |
| 1538 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 1539 | result = (wxPanel *)new wxPanel(); |
| 1540 | |
| 1541 | wxPyEndAllowThreads(__tstate); |
| 1542 | if (PyErr_Occurred()) SWIG_fail; |
| 1543 | } |
| 1544 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1); |
| 1545 | return resultobj; |
| 1546 | fail: |
| 1547 | return NULL; |
| 1548 | } |
| 1549 | |
| 1550 | |
| 1551 | static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 ; |
| 1566 | bool temp7 = false ; |
| 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) { |
| 1584 | arg3 = (int)SWIG_As_int(obj2); |
| 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) { |
| 1600 | arg6 = (long)SWIG_As_long(obj5); |
| 1601 | if (PyErr_Occurred()) SWIG_fail; |
| 1602 | } |
| 1603 | if (obj6) { |
| 1604 | { |
| 1605 | arg7 = wxString_in_helper(obj6); |
| 1606 | if (arg7 == NULL) SWIG_fail; |
| 1607 | temp7 = true; |
| 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 | |
| 1634 | static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 1659 | static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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) { |
| 1670 | arg1 = (int)SWIG_As_int(obj0); |
| 1671 | if (PyErr_Occurred()) SWIG_fail; |
| 1672 | } |
| 1673 | { |
| 1674 | if (!wxPyCheckForApp()) SWIG_fail; |
| 1675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 1676 | result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1); |
| 1677 | |
| 1678 | wxPyEndAllowThreads(__tstate); |
| 1679 | if (PyErr_Occurred()) SWIG_fail; |
| 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 | |
| 1692 | static PyObject * Panel_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 1699 | static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 ; |
| 1713 | bool temp6 = false ; |
| 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) { |
| 1728 | arg2 = (int)SWIG_As_int(obj1); |
| 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) { |
| 1744 | arg5 = (long)SWIG_As_long(obj4); |
| 1745 | if (PyErr_Occurred()) SWIG_fail; |
| 1746 | } |
| 1747 | if (obj5) { |
| 1748 | { |
| 1749 | arg6 = wxString_in_helper(obj5); |
| 1750 | if (arg6 == NULL) SWIG_fail; |
| 1751 | temp6 = true; |
| 1752 | } |
| 1753 | } |
| 1754 | { |
| 1755 | if (!wxPyCheckForApp()) SWIG_fail; |
| 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); |
| 1760 | if (PyErr_Occurred()) SWIG_fail; |
| 1761 | } |
| 1762 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1); |
| 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 | |
| 1777 | static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | { |
| 1786 | if (!wxPyCheckForApp()) SWIG_fail; |
| 1787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 1788 | result = (wxScrolledWindow *)new wxScrolledWindow(); |
| 1789 | |
| 1790 | wxPyEndAllowThreads(__tstate); |
| 1791 | if (PyErr_Occurred()) SWIG_fail; |
| 1792 | } |
| 1793 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1); |
| 1794 | return resultobj; |
| 1795 | fail: |
| 1796 | return NULL; |
| 1797 | } |
| 1798 | |
| 1799 | |
| 1800 | static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 ; |
| 1815 | bool temp7 = false ; |
| 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) { |
| 1833 | arg3 = (int)SWIG_As_int(obj2); |
| 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) { |
| 1849 | arg6 = (long)SWIG_As_long(obj5); |
| 1850 | if (PyErr_Occurred()) SWIG_fail; |
| 1851 | } |
| 1852 | if (obj6) { |
| 1853 | { |
| 1854 | arg7 = wxString_in_helper(obj6); |
| 1855 | if (arg7 == NULL) SWIG_fail; |
| 1856 | temp7 = true; |
| 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 | |
| 1883 | static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 ; |
| 1892 | bool arg8 = (bool) false ; |
| 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; |
| 1908 | arg2 = (int)SWIG_As_int(obj1); |
| 1909 | if (PyErr_Occurred()) SWIG_fail; |
| 1910 | arg3 = (int)SWIG_As_int(obj2); |
| 1911 | if (PyErr_Occurred()) SWIG_fail; |
| 1912 | arg4 = (int)SWIG_As_int(obj3); |
| 1913 | if (PyErr_Occurred()) SWIG_fail; |
| 1914 | arg5 = (int)SWIG_As_int(obj4); |
| 1915 | if (PyErr_Occurred()) SWIG_fail; |
| 1916 | if (obj5) { |
| 1917 | arg6 = (int)SWIG_As_int(obj5); |
| 1918 | if (PyErr_Occurred()) SWIG_fail; |
| 1919 | } |
| 1920 | if (obj6) { |
| 1921 | arg7 = (int)SWIG_As_int(obj6); |
| 1922 | if (PyErr_Occurred()) SWIG_fail; |
| 1923 | } |
| 1924 | if (obj7) { |
| 1925 | arg8 = (bool)SWIG_As_bool(obj7); |
| 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 | |
| 1942 | static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 1957 | arg2 = (int)SWIG_As_int(obj1); |
| 1958 | if (PyErr_Occurred()) SWIG_fail; |
| 1959 | arg3 = (int)SWIG_As_int(obj2); |
| 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 | |
| 1975 | static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 1989 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | } |
| 1998 | resultobj = SWIG_From_int((int)result); |
| 1999 | return resultobj; |
| 2000 | fail: |
| 2001 | return NULL; |
| 2002 | } |
| 2003 | |
| 2004 | |
| 2005 | static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 2020 | arg2 = (int)SWIG_As_int(obj1); |
| 2021 | if (PyErr_Occurred()) SWIG_fail; |
| 2022 | arg3 = (int)SWIG_As_int(obj2); |
| 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 | |
| 2038 | static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 2053 | arg2 = (int)SWIG_As_int(obj1); |
| 2054 | if (PyErr_Occurred()) SWIG_fail; |
| 2055 | arg3 = (int)SWIG_As_int(obj2); |
| 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 | |
| 2071 | static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) { |
| 2072 | PyObject *resultobj; |
| 2073 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
| 2074 | int *arg2 = (int *) 0 ; |
| 2075 | int *arg3 = (int *) 0 ; |
| 2076 | int temp2 ; |
| 2077 | int res2 = 0 ; |
| 2078 | int temp3 ; |
| 2079 | int res3 = 0 ; |
| 2080 | PyObject * obj0 = 0 ; |
| 2081 | char *kwnames[] = { |
| 2082 | (char *) "self", NULL |
| 2083 | }; |
| 2084 | |
| 2085 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
| 2086 | arg3 = &temp3; res3 = SWIG_NEWOBJ; |
| 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; |
| 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))); |
| 2102 | return resultobj; |
| 2103 | fail: |
| 2104 | return NULL; |
| 2105 | } |
| 2106 | |
| 2107 | |
| 2108 | static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 2123 | arg2 = (bool)SWIG_As_bool(obj1); |
| 2124 | if (PyErr_Occurred()) SWIG_fail; |
| 2125 | arg3 = (bool)SWIG_As_bool(obj2); |
| 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 | |
| 2141 | static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) { |
| 2142 | PyObject *resultobj; |
| 2143 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
| 2144 | int *arg2 = (int *) 0 ; |
| 2145 | int *arg3 = (int *) 0 ; |
| 2146 | int temp2 ; |
| 2147 | int res2 = 0 ; |
| 2148 | int temp3 ; |
| 2149 | int res3 = 0 ; |
| 2150 | PyObject * obj0 = 0 ; |
| 2151 | char *kwnames[] = { |
| 2152 | (char *) "self", NULL |
| 2153 | }; |
| 2154 | |
| 2155 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
| 2156 | arg3 = &temp3; res3 = SWIG_NEWOBJ; |
| 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; |
| 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))); |
| 2172 | return resultobj; |
| 2173 | fail: |
| 2174 | return NULL; |
| 2175 | } |
| 2176 | |
| 2177 | |
| 2178 | static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 2193 | arg2 = (double)SWIG_As_double(obj1); |
| 2194 | if (PyErr_Occurred()) SWIG_fail; |
| 2195 | arg3 = (double)SWIG_As_double(obj2); |
| 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 | |
| 2211 | static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 2230 | resultobj = SWIG_From_double((double)result); |
| 2231 | return resultobj; |
| 2232 | fail: |
| 2233 | return NULL; |
| 2234 | } |
| 2235 | |
| 2236 | |
| 2237 | static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 2256 | resultobj = SWIG_From_double((double)result); |
| 2257 | return resultobj; |
| 2258 | fail: |
| 2259 | return NULL; |
| 2260 | } |
| 2261 | |
| 2262 | |
| 2263 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) { |
| 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 | |
| 2297 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) { |
| 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 ; |
| 2305 | int res4 = 0 ; |
| 2306 | int temp5 ; |
| 2307 | int res5 = 0 ; |
| 2308 | PyObject * obj0 = 0 ; |
| 2309 | PyObject * obj1 = 0 ; |
| 2310 | PyObject * obj2 = 0 ; |
| 2311 | |
| 2312 | arg4 = &temp4; res4 = SWIG_NEWOBJ; |
| 2313 | arg5 = &temp5; res5 = SWIG_NEWOBJ; |
| 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; |
| 2317 | arg2 = (int)SWIG_As_int(obj1); |
| 2318 | if (PyErr_Occurred()) SWIG_fail; |
| 2319 | arg3 = (int)SWIG_As_int(obj2); |
| 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; |
| 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))); |
| 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) { |
| 2380 | _v = SWIG_Check_int(argv[1]); |
| 2381 | if (_v) { |
| 2382 | _v = SWIG_Check_int(argv[2]); |
| 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 | |
| 2395 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) { |
| 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 | |
| 2429 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) { |
| 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 ; |
| 2437 | int res4 = 0 ; |
| 2438 | int temp5 ; |
| 2439 | int res5 = 0 ; |
| 2440 | PyObject * obj0 = 0 ; |
| 2441 | PyObject * obj1 = 0 ; |
| 2442 | PyObject * obj2 = 0 ; |
| 2443 | |
| 2444 | arg4 = &temp4; res4 = SWIG_NEWOBJ; |
| 2445 | arg5 = &temp5; res5 = SWIG_NEWOBJ; |
| 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; |
| 2449 | arg2 = (int)SWIG_As_int(obj1); |
| 2450 | if (PyErr_Occurred()) SWIG_fail; |
| 2451 | arg3 = (int)SWIG_As_int(obj2); |
| 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; |
| 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))); |
| 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) { |
| 2512 | _v = SWIG_Check_int(argv[1]); |
| 2513 | if (_v) { |
| 2514 | _v = SWIG_Check_int(argv[2]); |
| 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 | |
| 2527 | static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 2552 | static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 2580 | resultobj = SWIG_From_int((int)result); |
| 2581 | return resultobj; |
| 2582 | fail: |
| 2583 | return NULL; |
| 2584 | } |
| 2585 | |
| 2586 | |
| 2587 | static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 2616 | static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | { |
| 2636 | resultobj = wxPyMake_wxObject(result, 0); |
| 2637 | } |
| 2638 | return resultobj; |
| 2639 | fail: |
| 2640 | return NULL; |
| 2641 | } |
| 2642 | |
| 2643 | |
| 2644 | static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 2676 | static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 2706 | static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 2740 | static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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) { |
| 2751 | arg1 = (int)SWIG_As_int(obj0); |
| 2752 | if (PyErr_Occurred()) SWIG_fail; |
| 2753 | } |
| 2754 | { |
| 2755 | if (!wxPyCheckForApp()) SWIG_fail; |
| 2756 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 2757 | result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1); |
| 2758 | |
| 2759 | wxPyEndAllowThreads(__tstate); |
| 2760 | if (PyErr_Occurred()) SWIG_fail; |
| 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 | |
| 2773 | static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 2780 | static int _wrap_FrameNameStr_set(PyObject *) { |
| 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 | |
| 2800 | static int _wrap_DialogNameStr_set(PyObject *) { |
| 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 | |
| 2820 | static int _wrap_StatusLineNameStr_set(PyObject *) { |
| 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 | |
| 2840 | static int _wrap_ToolBarNameStr_set(PyObject *) { |
| 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 | |
| 2860 | static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 2861 | PyObject *resultobj; |
| 2862 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
| 2863 | bool arg2 = (bool) true ; |
| 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) { |
| 2874 | arg2 = (bool)SWIG_As_bool(obj1); |
| 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 | |
| 2891 | static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 2916 | static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 2917 | PyObject *resultobj; |
| 2918 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
| 2919 | bool arg2 = (bool) true ; |
| 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) { |
| 2930 | arg2 = (bool)SWIG_As_bool(obj1); |
| 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 | |
| 2947 | static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 2975 | static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 3003 | static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 3033 | static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 3067 | static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 3101 | static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 3117 | arg2 = (bool)SWIG_As_bool(obj1); |
| 3118 | if (PyErr_Occurred()) SWIG_fail; |
| 3119 | if (obj2) { |
| 3120 | arg3 = (long)SWIG_As_long(obj2); |
| 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 | |
| 3139 | static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 3167 | static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
| 3168 | PyObject *resultobj; |
| 3169 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
| 3170 | wxString *arg2 = 0 ; |
| 3171 | bool temp2 = false ; |
| 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; |
| 3184 | temp2 = true; |
| 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 | |
| 3208 | static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 3240 | static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 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 | |
| 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 | |
| 3336 | static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 3349 | arg2 = (bool)SWIG_As_bool(obj1); |
| 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 | |
| 3365 | static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 3393 | static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 3400 | static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) { |
| 3401 | PyObject *resultobj; |
| 3402 | wxWindow *arg1 = (wxWindow *) 0 ; |
| 3403 | int arg2 = (int) (int)-1 ; |
| 3404 | wxString const &arg3_defvalue = wxPyEmptyString ; |
| 3405 | wxString *arg3 = (wxString *) &arg3_defvalue ; |
| 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; |
| 3414 | bool temp3 = false ; |
| 3415 | wxPoint temp4 ; |
| 3416 | wxSize temp5 ; |
| 3417 | bool temp7 = false ; |
| 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 | |
| 3429 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
| 3430 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
| 3431 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 3432 | if (obj1) { |
| 3433 | arg2 = (int)SWIG_As_int(obj1); |
| 3434 | if (PyErr_Occurred()) SWIG_fail; |
| 3435 | } |
| 3436 | if (obj2) { |
| 3437 | { |
| 3438 | arg3 = wxString_in_helper(obj2); |
| 3439 | if (arg3 == NULL) SWIG_fail; |
| 3440 | temp3 = true; |
| 3441 | } |
| 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) { |
| 3456 | arg6 = (long)SWIG_As_long(obj5); |
| 3457 | if (PyErr_Occurred()) SWIG_fail; |
| 3458 | } |
| 3459 | if (obj6) { |
| 3460 | { |
| 3461 | arg7 = wxString_in_helper(obj6); |
| 3462 | if (arg7 == NULL) SWIG_fail; |
| 3463 | temp7 = true; |
| 3464 | } |
| 3465 | } |
| 3466 | { |
| 3467 | if (!wxPyCheckForApp()) SWIG_fail; |
| 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); |
| 3472 | if (PyErr_Occurred()) SWIG_fail; |
| 3473 | } |
| 3474 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1); |
| 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 | |
| 3497 | static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | { |
| 3506 | if (!wxPyCheckForApp()) SWIG_fail; |
| 3507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 3508 | result = (wxFrame *)new wxFrame(); |
| 3509 | |
| 3510 | wxPyEndAllowThreads(__tstate); |
| 3511 | if (PyErr_Occurred()) SWIG_fail; |
| 3512 | } |
| 3513 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1); |
| 3514 | return resultobj; |
| 3515 | fail: |
| 3516 | return NULL; |
| 3517 | } |
| 3518 | |
| 3519 | |
| 3520 | static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
| 3521 | PyObject *resultobj; |
| 3522 | wxFrame *arg1 = (wxFrame *) 0 ; |
| 3523 | wxWindow *arg2 = (wxWindow *) 0 ; |
| 3524 | int arg3 = (int) (int)-1 ; |
| 3525 | wxString const &arg4_defvalue = wxPyEmptyString ; |
| 3526 | wxString *arg4 = (wxString *) &arg4_defvalue ; |
| 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; |
| 3535 | bool temp4 = false ; |
| 3536 | wxPoint temp5 ; |
| 3537 | wxSize temp6 ; |
| 3538 | bool temp8 = false ; |
| 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 | |
| 3551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
| 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; |
| 3556 | if (obj2) { |
| 3557 | arg3 = (int)SWIG_As_int(obj2); |
| 3558 | if (PyErr_Occurred()) SWIG_fail; |
| 3559 | } |
| 3560 | if (obj3) { |
| 3561 | { |
| 3562 | arg4 = wxString_in_helper(obj3); |
| 3563 | if (arg4 == NULL) SWIG_fail; |
| 3564 | temp4 = true; |
| 3565 | } |
| 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) { |
| 3580 | arg7 = (long)SWIG_As_long(obj6); |
| 3581 | if (PyErr_Occurred()) SWIG_fail; |
| 3582 | } |
| 3583 | if (obj7) { |
| 3584 | { |
| 3585 | arg8 = wxString_in_helper(obj7); |
| 3586 | if (arg8 == NULL) SWIG_fail; |
| 3587 | temp8 = true; |
| 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 | |
| 3622 | static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 3652 | static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 3677 | static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 3706 | static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | { |
| 3726 | resultobj = wxPyMake_wxObject(result, 0); |
| 3727 | } |
| 3728 | return resultobj; |
| 3729 | fail: |
| 3730 | return NULL; |
| 3731 | } |
| 3732 | |
| 3733 | |
| 3734 | static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 3748 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 3766 | static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 3775 | bool temp5 = false ; |
| 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) { |
| 3789 | arg2 = (int)SWIG_As_int(obj1); |
| 3790 | if (PyErr_Occurred()) SWIG_fail; |
| 3791 | } |
| 3792 | if (obj2) { |
| 3793 | arg3 = (long)SWIG_As_long(obj2); |
| 3794 | if (PyErr_Occurred()) SWIG_fail; |
| 3795 | } |
| 3796 | if (obj3) { |
| 3797 | arg4 = (int)SWIG_As_int(obj3); |
| 3798 | if (PyErr_Occurred()) SWIG_fail; |
| 3799 | } |
| 3800 | if (obj4) { |
| 3801 | { |
| 3802 | arg5 = wxString_in_helper(obj4); |
| 3803 | if (arg5 == NULL) SWIG_fail; |
| 3804 | temp5 = true; |
| 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 | { |
| 3815 | resultobj = wxPyMake_wxObject(result, 0); |
| 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 | |
| 3831 | static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | { |
| 3851 | resultobj = wxPyMake_wxObject(result, 0); |
| 3852 | } |
| 3853 | return resultobj; |
| 3854 | fail: |
| 3855 | return NULL; |
| 3856 | } |
| 3857 | |
| 3858 | |
| 3859 | static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 3888 | static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
| 3889 | PyObject *resultobj; |
| 3890 | wxFrame *arg1 = (wxFrame *) 0 ; |
| 3891 | wxString *arg2 = 0 ; |
| 3892 | int arg3 = (int) 0 ; |
| 3893 | bool temp2 = false ; |
| 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; |
| 3907 | temp2 = true; |
| 3908 | } |
| 3909 | if (obj2) { |
| 3910 | arg3 = (int)SWIG_As_int(obj2); |
| 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 | |
| 3935 | static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 3974 | static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
| 3975 | PyObject *resultobj; |
| 3976 | wxFrame *arg1 = (wxFrame *) 0 ; |
| 3977 | wxString *arg2 = 0 ; |
| 3978 | int arg3 = (int) 0 ; |
| 3979 | bool temp2 = false ; |
| 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; |
| 3993 | temp2 = true; |
| 3994 | } |
| 3995 | if (obj2) { |
| 3996 | arg3 = (int)SWIG_As_int(obj2); |
| 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 | |
| 4021 | static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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) { |
| 4035 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 4052 | static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 4065 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 4081 | static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 4100 | resultobj = SWIG_From_int((int)result); |
| 4101 | return resultobj; |
| 4102 | fail: |
| 4103 | return NULL; |
| 4104 | } |
| 4105 | |
| 4106 | |
| 4107 | static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 4115 | bool temp4 = false ; |
| 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) { |
| 4128 | arg2 = (long)SWIG_As_long(obj1); |
| 4129 | if (PyErr_Occurred()) SWIG_fail; |
| 4130 | } |
| 4131 | if (obj2) { |
| 4132 | arg3 = (int)SWIG_As_int(obj2); |
| 4133 | if (PyErr_Occurred()) SWIG_fail; |
| 4134 | } |
| 4135 | if (obj3) { |
| 4136 | { |
| 4137 | arg4 = wxString_in_helper(obj3); |
| 4138 | if (arg4 == NULL) SWIG_fail; |
| 4139 | temp4 = true; |
| 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 | { |
| 4150 | resultobj = wxPyMake_wxObject(result, 0); |
| 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 | |
| 4166 | static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | { |
| 4186 | resultobj = wxPyMake_wxObject(result, 0); |
| 4187 | } |
| 4188 | return resultobj; |
| 4189 | fail: |
| 4190 | return NULL; |
| 4191 | } |
| 4192 | |
| 4193 | |
| 4194 | static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 4223 | static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
| 4224 | PyObject *resultobj; |
| 4225 | wxFrame *arg1 = (wxFrame *) 0 ; |
| 4226 | wxString *arg2 = 0 ; |
| 4227 | bool arg3 ; |
| 4228 | bool temp2 = false ; |
| 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; |
| 4242 | temp2 = true; |
| 4243 | } |
| 4244 | arg3 = (bool)SWIG_As_bool(obj2); |
| 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 | |
| 4268 | static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 4299 | static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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) { |
| 4310 | arg1 = (int)SWIG_As_int(obj0); |
| 4311 | if (PyErr_Occurred()) SWIG_fail; |
| 4312 | } |
| 4313 | { |
| 4314 | if (!wxPyCheckForApp()) SWIG_fail; |
| 4315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4316 | result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1); |
| 4317 | |
| 4318 | wxPyEndAllowThreads(__tstate); |
| 4319 | if (PyErr_Occurred()) SWIG_fail; |
| 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 | |
| 4332 | static PyObject * Frame_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 4339 | static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) { |
| 4340 | PyObject *resultobj; |
| 4341 | wxWindow *arg1 = (wxWindow *) 0 ; |
| 4342 | int arg2 = (int) (int)-1 ; |
| 4343 | wxString const &arg3_defvalue = wxPyEmptyString ; |
| 4344 | wxString *arg3 = (wxString *) &arg3_defvalue ; |
| 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; |
| 4353 | bool temp3 = false ; |
| 4354 | wxPoint temp4 ; |
| 4355 | wxSize temp5 ; |
| 4356 | bool temp7 = false ; |
| 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 | |
| 4368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
| 4369 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
| 4370 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 4371 | if (obj1) { |
| 4372 | arg2 = (int)SWIG_As_int(obj1); |
| 4373 | if (PyErr_Occurred()) SWIG_fail; |
| 4374 | } |
| 4375 | if (obj2) { |
| 4376 | { |
| 4377 | arg3 = wxString_in_helper(obj2); |
| 4378 | if (arg3 == NULL) SWIG_fail; |
| 4379 | temp3 = true; |
| 4380 | } |
| 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) { |
| 4395 | arg6 = (long)SWIG_As_long(obj5); |
| 4396 | if (PyErr_Occurred()) SWIG_fail; |
| 4397 | } |
| 4398 | if (obj6) { |
| 4399 | { |
| 4400 | arg7 = wxString_in_helper(obj6); |
| 4401 | if (arg7 == NULL) SWIG_fail; |
| 4402 | temp7 = true; |
| 4403 | } |
| 4404 | } |
| 4405 | { |
| 4406 | if (!wxPyCheckForApp()) SWIG_fail; |
| 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); |
| 4411 | if (PyErr_Occurred()) SWIG_fail; |
| 4412 | } |
| 4413 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1); |
| 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 | |
| 4436 | static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | { |
| 4445 | if (!wxPyCheckForApp()) SWIG_fail; |
| 4446 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4447 | result = (wxDialog *)new wxDialog(); |
| 4448 | |
| 4449 | wxPyEndAllowThreads(__tstate); |
| 4450 | if (PyErr_Occurred()) SWIG_fail; |
| 4451 | } |
| 4452 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1); |
| 4453 | return resultobj; |
| 4454 | fail: |
| 4455 | return NULL; |
| 4456 | } |
| 4457 | |
| 4458 | |
| 4459 | static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
| 4460 | PyObject *resultobj; |
| 4461 | wxDialog *arg1 = (wxDialog *) 0 ; |
| 4462 | wxWindow *arg2 = (wxWindow *) 0 ; |
| 4463 | int arg3 = (int) (int)-1 ; |
| 4464 | wxString const &arg4_defvalue = wxPyEmptyString ; |
| 4465 | wxString *arg4 = (wxString *) &arg4_defvalue ; |
| 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; |
| 4474 | bool temp4 = false ; |
| 4475 | wxPoint temp5 ; |
| 4476 | wxSize temp6 ; |
| 4477 | bool temp8 = false ; |
| 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 | |
| 4490 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
| 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; |
| 4495 | if (obj2) { |
| 4496 | arg3 = (int)SWIG_As_int(obj2); |
| 4497 | if (PyErr_Occurred()) SWIG_fail; |
| 4498 | } |
| 4499 | if (obj3) { |
| 4500 | { |
| 4501 | arg4 = wxString_in_helper(obj3); |
| 4502 | if (arg4 == NULL) SWIG_fail; |
| 4503 | temp4 = true; |
| 4504 | } |
| 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) { |
| 4519 | arg7 = (long)SWIG_As_long(obj6); |
| 4520 | if (PyErr_Occurred()) SWIG_fail; |
| 4521 | } |
| 4522 | if (obj7) { |
| 4523 | { |
| 4524 | arg8 = wxString_in_helper(obj7); |
| 4525 | if (arg8 == NULL) SWIG_fail; |
| 4526 | temp8 = true; |
| 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 | |
| 4561 | static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 4574 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 4590 | static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 4609 | resultobj = SWIG_From_int((int)result); |
| 4610 | return resultobj; |
| 4611 | fail: |
| 4612 | return NULL; |
| 4613 | } |
| 4614 | |
| 4615 | |
| 4616 | static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) { |
| 4617 | PyObject *resultobj; |
| 4618 | wxDialog *arg1 = (wxDialog *) 0 ; |
| 4619 | wxString *arg2 = 0 ; |
| 4620 | wxSizer *result; |
| 4621 | bool temp2 = false ; |
| 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; |
| 4634 | temp2 = true; |
| 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 | { |
| 4644 | resultobj = wxPyMake_wxSizer(result, 0); |
| 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 | |
| 4660 | static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 4674 | arg2 = (long)SWIG_As_long(obj1); |
| 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 | { |
| 4684 | resultobj = wxPyMake_wxSizer(result, 0); |
| 4685 | } |
| 4686 | return resultobj; |
| 4687 | fail: |
| 4688 | return NULL; |
| 4689 | } |
| 4690 | |
| 4691 | |
| 4692 | static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 4720 | static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 4739 | resultobj = SWIG_From_int((int)result); |
| 4740 | return resultobj; |
| 4741 | fail: |
| 4742 | return NULL; |
| 4743 | } |
| 4744 | |
| 4745 | |
| 4746 | static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 4759 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 4775 | static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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) { |
| 4786 | arg1 = (int)SWIG_As_int(obj0); |
| 4787 | if (PyErr_Occurred()) SWIG_fail; |
| 4788 | } |
| 4789 | { |
| 4790 | if (!wxPyCheckForApp()) SWIG_fail; |
| 4791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4792 | result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1); |
| 4793 | |
| 4794 | wxPyEndAllowThreads(__tstate); |
| 4795 | if (PyErr_Occurred()) SWIG_fail; |
| 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 | |
| 4808 | static PyObject * Dialog_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 4815 | static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
| 4816 | PyObject *resultobj; |
| 4817 | wxWindow *arg1 = (wxWindow *) 0 ; |
| 4818 | int arg2 = (int) (int)-1 ; |
| 4819 | wxString const &arg3_defvalue = wxPyEmptyString ; |
| 4820 | wxString *arg3 = (wxString *) &arg3_defvalue ; |
| 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; |
| 4829 | bool temp3 = false ; |
| 4830 | wxPoint temp4 ; |
| 4831 | wxSize temp5 ; |
| 4832 | bool temp7 = false ; |
| 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 | |
| 4844 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
| 4845 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
| 4846 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 4847 | if (obj1) { |
| 4848 | arg2 = (int)SWIG_As_int(obj1); |
| 4849 | if (PyErr_Occurred()) SWIG_fail; |
| 4850 | } |
| 4851 | if (obj2) { |
| 4852 | { |
| 4853 | arg3 = wxString_in_helper(obj2); |
| 4854 | if (arg3 == NULL) SWIG_fail; |
| 4855 | temp3 = true; |
| 4856 | } |
| 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) { |
| 4871 | arg6 = (long)SWIG_As_long(obj5); |
| 4872 | if (PyErr_Occurred()) SWIG_fail; |
| 4873 | } |
| 4874 | if (obj6) { |
| 4875 | { |
| 4876 | arg7 = wxString_in_helper(obj6); |
| 4877 | if (arg7 == NULL) SWIG_fail; |
| 4878 | temp7 = true; |
| 4879 | } |
| 4880 | } |
| 4881 | { |
| 4882 | if (!wxPyCheckForApp()) SWIG_fail; |
| 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); |
| 4887 | if (PyErr_Occurred()) SWIG_fail; |
| 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 | |
| 4912 | static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | { |
| 4921 | if (!wxPyCheckForApp()) SWIG_fail; |
| 4922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 4923 | result = (wxMiniFrame *)new wxMiniFrame(); |
| 4924 | |
| 4925 | wxPyEndAllowThreads(__tstate); |
| 4926 | if (PyErr_Occurred()) SWIG_fail; |
| 4927 | } |
| 4928 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); |
| 4929 | return resultobj; |
| 4930 | fail: |
| 4931 | return NULL; |
| 4932 | } |
| 4933 | |
| 4934 | |
| 4935 | static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
| 4936 | PyObject *resultobj; |
| 4937 | wxMiniFrame *arg1 = (wxMiniFrame *) 0 ; |
| 4938 | wxWindow *arg2 = (wxWindow *) 0 ; |
| 4939 | int arg3 = (int) (int)-1 ; |
| 4940 | wxString const &arg4_defvalue = wxPyEmptyString ; |
| 4941 | wxString *arg4 = (wxString *) &arg4_defvalue ; |
| 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; |
| 4950 | bool temp4 = false ; |
| 4951 | wxPoint temp5 ; |
| 4952 | wxSize temp6 ; |
| 4953 | bool temp8 = false ; |
| 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 | |
| 4966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
| 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; |
| 4971 | if (obj2) { |
| 4972 | arg3 = (int)SWIG_As_int(obj2); |
| 4973 | if (PyErr_Occurred()) SWIG_fail; |
| 4974 | } |
| 4975 | if (obj3) { |
| 4976 | { |
| 4977 | arg4 = wxString_in_helper(obj3); |
| 4978 | if (arg4 == NULL) SWIG_fail; |
| 4979 | temp4 = true; |
| 4980 | } |
| 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) { |
| 4995 | arg7 = (long)SWIG_As_long(obj6); |
| 4996 | if (PyErr_Occurred()) SWIG_fail; |
| 4997 | } |
| 4998 | if (obj7) { |
| 4999 | { |
| 5000 | arg8 = wxString_in_helper(obj7); |
| 5001 | if (arg8 == NULL) SWIG_fail; |
| 5002 | temp8 = true; |
| 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 | |
| 5037 | static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 5044 | static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 5077 | arg3 = (int)SWIG_As_int(obj2); |
| 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) { |
| 5092 | arg6 = (long)SWIG_As_long(obj5); |
| 5093 | if (PyErr_Occurred()) SWIG_fail; |
| 5094 | } |
| 5095 | { |
| 5096 | if (!wxPyCheckForApp()) SWIG_fail; |
| 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); |
| 5101 | if (PyErr_Occurred()) SWIG_fail; |
| 5102 | } |
| 5103 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1); |
| 5104 | return resultobj; |
| 5105 | fail: |
| 5106 | return NULL; |
| 5107 | } |
| 5108 | |
| 5109 | |
| 5110 | static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 5144 | static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 5176 | static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 5183 | static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
| 5184 | PyObject *resultobj; |
| 5185 | wxBitmap *arg1 = 0 ; |
| 5186 | long arg2 ; |
| 5187 | int arg3 ; |
| 5188 | wxWindow *arg4 = (wxWindow *) 0 ; |
| 5189 | int arg5 = (int) -1 ; |
| 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 | |
| 5210 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
| 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 | } |
| 5218 | arg2 = (long)SWIG_As_long(obj1); |
| 5219 | if (PyErr_Occurred()) SWIG_fail; |
| 5220 | arg3 = (int)SWIG_As_int(obj2); |
| 5221 | if (PyErr_Occurred()) SWIG_fail; |
| 5222 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow, |
| 5223 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 5224 | if (obj4) { |
| 5225 | arg5 = (int)SWIG_As_int(obj4); |
| 5226 | if (PyErr_Occurred()) SWIG_fail; |
| 5227 | } |
| 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) { |
| 5241 | arg8 = (long)SWIG_As_long(obj7); |
| 5242 | if (PyErr_Occurred()) SWIG_fail; |
| 5243 | } |
| 5244 | { |
| 5245 | if (!wxPyCheckForApp()) SWIG_fail; |
| 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); |
| 5250 | if (PyErr_Occurred()) SWIG_fail; |
| 5251 | } |
| 5252 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1); |
| 5253 | return resultobj; |
| 5254 | fail: |
| 5255 | return NULL; |
| 5256 | } |
| 5257 | |
| 5258 | |
| 5259 | static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 5278 | resultobj = SWIG_From_long((long)result); |
| 5279 | return resultobj; |
| 5280 | fail: |
| 5281 | return NULL; |
| 5282 | } |
| 5283 | |
| 5284 | |
| 5285 | static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 5311 | static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 5330 | resultobj = SWIG_From_int((int)result); |
| 5331 | return resultobj; |
| 5332 | fail: |
| 5333 | return NULL; |
| 5334 | } |
| 5335 | |
| 5336 | |
| 5337 | static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 5344 | static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 5352 | bool temp4 = false ; |
| 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) { |
| 5365 | arg2 = (int)SWIG_As_int(obj1); |
| 5366 | if (PyErr_Occurred()) SWIG_fail; |
| 5367 | } |
| 5368 | if (obj2) { |
| 5369 | arg3 = (long)SWIG_As_long(obj2); |
| 5370 | if (PyErr_Occurred()) SWIG_fail; |
| 5371 | } |
| 5372 | if (obj3) { |
| 5373 | { |
| 5374 | arg4 = wxString_in_helper(obj3); |
| 5375 | if (arg4 == NULL) SWIG_fail; |
| 5376 | temp4 = true; |
| 5377 | } |
| 5378 | } |
| 5379 | { |
| 5380 | if (!wxPyCheckForApp()) SWIG_fail; |
| 5381 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5382 | result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4); |
| 5383 | |
| 5384 | wxPyEndAllowThreads(__tstate); |
| 5385 | if (PyErr_Occurred()) SWIG_fail; |
| 5386 | } |
| 5387 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1); |
| 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 | |
| 5402 | static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | { |
| 5411 | if (!wxPyCheckForApp()) SWIG_fail; |
| 5412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5413 | result = (wxStatusBar *)new wxStatusBar(); |
| 5414 | |
| 5415 | wxPyEndAllowThreads(__tstate); |
| 5416 | if (PyErr_Occurred()) SWIG_fail; |
| 5417 | } |
| 5418 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1); |
| 5419 | return resultobj; |
| 5420 | fail: |
| 5421 | return NULL; |
| 5422 | } |
| 5423 | |
| 5424 | |
| 5425 | static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
| 5426 | PyObject *resultobj; |
| 5427 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; |
| 5428 | wxWindow *arg2 = (wxWindow *) 0 ; |
| 5429 | int arg3 = (int) -1 ; |
| 5430 | long arg4 = (long) wxST_SIZEGRIP ; |
| 5431 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; |
| 5432 | wxString *arg5 = (wxString *) &arg5_defvalue ; |
| 5433 | bool result; |
| 5434 | bool temp5 = false ; |
| 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 | |
| 5444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
| 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; |
| 5449 | if (obj2) { |
| 5450 | arg3 = (int)SWIG_As_int(obj2); |
| 5451 | if (PyErr_Occurred()) SWIG_fail; |
| 5452 | } |
| 5453 | if (obj3) { |
| 5454 | arg4 = (long)SWIG_As_long(obj3); |
| 5455 | if (PyErr_Occurred()) SWIG_fail; |
| 5456 | } |
| 5457 | if (obj4) { |
| 5458 | { |
| 5459 | arg5 = wxString_in_helper(obj4); |
| 5460 | if (arg5 == NULL) SWIG_fail; |
| 5461 | temp5 = true; |
| 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 | |
| 5488 | static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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) { |
| 5502 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 5519 | static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 5538 | resultobj = SWIG_From_int((int)result); |
| 5539 | return resultobj; |
| 5540 | fail: |
| 5541 | return NULL; |
| 5542 | } |
| 5543 | |
| 5544 | |
| 5545 | static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
| 5546 | PyObject *resultobj; |
| 5547 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; |
| 5548 | wxString *arg2 = 0 ; |
| 5549 | int arg3 = (int) 0 ; |
| 5550 | bool temp2 = false ; |
| 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; |
| 5564 | temp2 = true; |
| 5565 | } |
| 5566 | if (obj2) { |
| 5567 | arg3 = (int)SWIG_As_int(obj2); |
| 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 | |
| 5592 | static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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) { |
| 5607 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 5630 | static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
| 5631 | PyObject *resultobj; |
| 5632 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; |
| 5633 | wxString *arg2 = 0 ; |
| 5634 | int arg3 = (int) 0 ; |
| 5635 | bool temp2 = false ; |
| 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; |
| 5649 | temp2 = true; |
| 5650 | } |
| 5651 | if (obj2) { |
| 5652 | arg3 = (int)SWIG_As_int(obj2); |
| 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 | |
| 5677 | static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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) { |
| 5691 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 5708 | static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 5747 | static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 5786 | static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 5800 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 5820 | static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 5833 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 5849 | static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 5868 | resultobj = SWIG_From_int((int)result); |
| 5869 | return resultobj; |
| 5870 | fail: |
| 5871 | return NULL; |
| 5872 | } |
| 5873 | |
| 5874 | |
| 5875 | static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 5894 | resultobj = SWIG_From_int((int)result); |
| 5895 | return resultobj; |
| 5896 | fail: |
| 5897 | return NULL; |
| 5898 | } |
| 5899 | |
| 5900 | |
| 5901 | static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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) { |
| 5912 | arg1 = (int)SWIG_As_int(obj0); |
| 5913 | if (PyErr_Occurred()) SWIG_fail; |
| 5914 | } |
| 5915 | { |
| 5916 | if (!wxPyCheckForApp()) SWIG_fail; |
| 5917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 5918 | result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1); |
| 5919 | |
| 5920 | wxPyEndAllowThreads(__tstate); |
| 5921 | if (PyErr_Occurred()) SWIG_fail; |
| 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 | |
| 5934 | static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 5941 | static int _wrap_SplitterNameStr_set(PyObject *) { |
| 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 | |
| 5961 | static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 ; |
| 5975 | bool temp6 = false ; |
| 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) { |
| 5990 | arg2 = (int)SWIG_As_int(obj1); |
| 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) { |
| 6006 | arg5 = (long)SWIG_As_long(obj4); |
| 6007 | if (PyErr_Occurred()) SWIG_fail; |
| 6008 | } |
| 6009 | if (obj5) { |
| 6010 | { |
| 6011 | arg6 = wxString_in_helper(obj5); |
| 6012 | if (arg6 == NULL) SWIG_fail; |
| 6013 | temp6 = true; |
| 6014 | } |
| 6015 | } |
| 6016 | { |
| 6017 | if (!wxPyCheckForApp()) SWIG_fail; |
| 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); |
| 6022 | if (PyErr_Occurred()) SWIG_fail; |
| 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 | |
| 6039 | static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | { |
| 6048 | if (!wxPyCheckForApp()) SWIG_fail; |
| 6049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6050 | result = (wxSplitterWindow *)new wxSplitterWindow(); |
| 6051 | |
| 6052 | wxPyEndAllowThreads(__tstate); |
| 6053 | if (PyErr_Occurred()) SWIG_fail; |
| 6054 | } |
| 6055 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); |
| 6056 | return resultobj; |
| 6057 | fail: |
| 6058 | return NULL; |
| 6059 | } |
| 6060 | |
| 6061 | |
| 6062 | static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 ; |
| 6077 | bool temp7 = false ; |
| 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) { |
| 6095 | arg3 = (int)SWIG_As_int(obj2); |
| 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) { |
| 6111 | arg6 = (long)SWIG_As_long(obj5); |
| 6112 | if (PyErr_Occurred()) SWIG_fail; |
| 6113 | } |
| 6114 | if (obj6) { |
| 6115 | { |
| 6116 | arg7 = wxString_in_helper(obj6); |
| 6117 | if (arg7 == NULL) SWIG_fail; |
| 6118 | temp7 = true; |
| 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 | |
| 6145 | static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | { |
| 6165 | resultobj = wxPyMake_wxObject(result, 0); |
| 6166 | } |
| 6167 | return resultobj; |
| 6168 | fail: |
| 6169 | return NULL; |
| 6170 | } |
| 6171 | |
| 6172 | |
| 6173 | static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | { |
| 6193 | resultobj = wxPyMake_wxObject(result, 0); |
| 6194 | } |
| 6195 | return resultobj; |
| 6196 | fail: |
| 6197 | return NULL; |
| 6198 | } |
| 6199 | |
| 6200 | |
| 6201 | static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 6214 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 6230 | static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 6249 | resultobj = SWIG_From_int((int)result); |
| 6250 | return resultobj; |
| 6251 | fail: |
| 6252 | return NULL; |
| 6253 | } |
| 6254 | |
| 6255 | |
| 6256 | static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 6285 | static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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) { |
| 6308 | arg4 = (int)SWIG_As_int(obj3); |
| 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 | |
| 6327 | static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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) { |
| 6350 | arg4 = (int)SWIG_As_int(obj3); |
| 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 | |
| 6369 | static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 6403 | static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 6439 | static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 6464 | static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 6492 | static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 6505 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 6521 | static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 6534 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 6550 | static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 6569 | resultobj = SWIG_From_int((int)result); |
| 6570 | return resultobj; |
| 6571 | fail: |
| 6572 | return NULL; |
| 6573 | } |
| 6574 | |
| 6575 | |
| 6576 | static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 6595 | resultobj = SWIG_From_int((int)result); |
| 6596 | return resultobj; |
| 6597 | fail: |
| 6598 | return NULL; |
| 6599 | } |
| 6600 | |
| 6601 | |
| 6602 | static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
| 6603 | PyObject *resultobj; |
| 6604 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
| 6605 | int arg2 ; |
| 6606 | bool arg3 = (bool) true ; |
| 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; |
| 6617 | arg2 = (int)SWIG_As_int(obj1); |
| 6618 | if (PyErr_Occurred()) SWIG_fail; |
| 6619 | if (obj2) { |
| 6620 | arg3 = (bool)SWIG_As_bool(obj2); |
| 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 | |
| 6637 | static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 6656 | resultobj = SWIG_From_int((int)result); |
| 6657 | return resultobj; |
| 6658 | fail: |
| 6659 | return NULL; |
| 6660 | } |
| 6661 | |
| 6662 | |
| 6663 | static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 6676 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 6692 | static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 6711 | resultobj = SWIG_From_int((int)result); |
| 6712 | return resultobj; |
| 6713 | fail: |
| 6714 | return NULL; |
| 6715 | } |
| 6716 | |
| 6717 | |
| 6718 | static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 6736 | arg2 = (int)SWIG_As_int(obj1); |
| 6737 | if (PyErr_Occurred()) SWIG_fail; |
| 6738 | arg3 = (int)SWIG_As_int(obj2); |
| 6739 | if (PyErr_Occurred()) SWIG_fail; |
| 6740 | if (obj3) { |
| 6741 | arg4 = (int)SWIG_As_int(obj3); |
| 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 | |
| 6760 | static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 6785 | static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 6798 | arg2 = (bool)SWIG_As_bool(obj1); |
| 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 | |
| 6814 | static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 6842 | static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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) { |
| 6853 | arg1 = (int)SWIG_As_int(obj0); |
| 6854 | if (PyErr_Occurred()) SWIG_fail; |
| 6855 | } |
| 6856 | { |
| 6857 | if (!wxPyCheckForApp()) SWIG_fail; |
| 6858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 6859 | result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1); |
| 6860 | |
| 6861 | wxPyEndAllowThreads(__tstate); |
| 6862 | if (PyErr_Occurred()) SWIG_fail; |
| 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 | |
| 6875 | static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 6882 | static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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) { |
| 6895 | arg1 = (wxEventType)SWIG_As_int(obj0); |
| 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 | |
| 6916 | static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 6929 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 6945 | static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 6964 | resultobj = SWIG_From_int((int)result); |
| 6965 | return resultobj; |
| 6966 | fail: |
| 6967 | return NULL; |
| 6968 | } |
| 6969 | |
| 6970 | |
| 6971 | static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | { |
| 6991 | resultobj = wxPyMake_wxObject(result, 0); |
| 6992 | } |
| 6993 | return resultobj; |
| 6994 | fail: |
| 6995 | return NULL; |
| 6996 | } |
| 6997 | |
| 6998 | |
| 6999 | static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 7018 | resultobj = SWIG_From_int((int)result); |
| 7019 | return resultobj; |
| 7020 | fail: |
| 7021 | return NULL; |
| 7022 | } |
| 7023 | |
| 7024 | |
| 7025 | static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 7044 | resultobj = SWIG_From_int((int)result); |
| 7045 | return resultobj; |
| 7046 | fail: |
| 7047 | return NULL; |
| 7048 | } |
| 7049 | |
| 7050 | |
| 7051 | static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 7058 | static int _wrap_SashNameStr_set(PyObject *) { |
| 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 | |
| 7078 | static int _wrap_SashLayoutNameStr_set(PyObject *) { |
| 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 | |
| 7098 | static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 7099 | PyObject *resultobj; |
| 7100 | wxWindow *arg1 = (wxWindow *) 0 ; |
| 7101 | int arg2 = (int) -1 ; |
| 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 ; |
| 7112 | bool temp6 = false ; |
| 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 | |
| 7123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
| 7124 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
| 7125 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 7126 | if (obj1) { |
| 7127 | arg2 = (int)SWIG_As_int(obj1); |
| 7128 | if (PyErr_Occurred()) SWIG_fail; |
| 7129 | } |
| 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) { |
| 7143 | arg5 = (long)SWIG_As_long(obj4); |
| 7144 | if (PyErr_Occurred()) SWIG_fail; |
| 7145 | } |
| 7146 | if (obj5) { |
| 7147 | { |
| 7148 | arg6 = wxString_in_helper(obj5); |
| 7149 | if (arg6 == NULL) SWIG_fail; |
| 7150 | temp6 = true; |
| 7151 | } |
| 7152 | } |
| 7153 | { |
| 7154 | if (!wxPyCheckForApp()) SWIG_fail; |
| 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); |
| 7159 | if (PyErr_Occurred()) SWIG_fail; |
| 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 | |
| 7176 | static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | { |
| 7185 | if (!wxPyCheckForApp()) SWIG_fail; |
| 7186 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 7187 | result = (wxSashWindow *)new wxSashWindow(); |
| 7188 | |
| 7189 | wxPyEndAllowThreads(__tstate); |
| 7190 | if (PyErr_Occurred()) SWIG_fail; |
| 7191 | } |
| 7192 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); |
| 7193 | return resultobj; |
| 7194 | fail: |
| 7195 | return NULL; |
| 7196 | } |
| 7197 | |
| 7198 | |
| 7199 | static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
| 7200 | PyObject *resultobj; |
| 7201 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
| 7202 | wxWindow *arg2 = (wxWindow *) 0 ; |
| 7203 | int arg3 = (int) -1 ; |
| 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 ; |
| 7214 | bool temp7 = false ; |
| 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 | |
| 7226 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
| 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; |
| 7231 | if (obj2) { |
| 7232 | arg3 = (int)SWIG_As_int(obj2); |
| 7233 | if (PyErr_Occurred()) SWIG_fail; |
| 7234 | } |
| 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) { |
| 7248 | arg6 = (long)SWIG_As_long(obj5); |
| 7249 | if (PyErr_Occurred()) SWIG_fail; |
| 7250 | } |
| 7251 | if (obj6) { |
| 7252 | { |
| 7253 | arg7 = wxString_in_helper(obj6); |
| 7254 | if (arg7 == NULL) SWIG_fail; |
| 7255 | temp7 = true; |
| 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 | |
| 7282 | static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 7297 | arg2 = (int)SWIG_As_int(obj1); |
| 7298 | if (PyErr_Occurred()) SWIG_fail; |
| 7299 | arg3 = (bool)SWIG_As_bool(obj2); |
| 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 | |
| 7315 | static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 7329 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 7347 | static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 7362 | arg2 = (int)SWIG_As_int(obj1); |
| 7363 | if (PyErr_Occurred()) SWIG_fail; |
| 7364 | arg3 = (bool)SWIG_As_bool(obj2); |
| 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 | |
| 7380 | static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 7394 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 7412 | static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 7426 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | } |
| 7435 | resultobj = SWIG_From_int((int)result); |
| 7436 | return resultobj; |
| 7437 | fail: |
| 7438 | return NULL; |
| 7439 | } |
| 7440 | |
| 7441 | |
| 7442 | static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 7455 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 7471 | static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 7490 | resultobj = SWIG_From_int((int)result); |
| 7491 | return resultobj; |
| 7492 | fail: |
| 7493 | return NULL; |
| 7494 | } |
| 7495 | |
| 7496 | |
| 7497 | static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 7510 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 7526 | static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 7545 | resultobj = SWIG_From_int((int)result); |
| 7546 | return resultobj; |
| 7547 | fail: |
| 7548 | return NULL; |
| 7549 | } |
| 7550 | |
| 7551 | |
| 7552 | static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 7565 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 7581 | static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 7594 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 7610 | static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 7629 | resultobj = SWIG_From_int((int)result); |
| 7630 | return resultobj; |
| 7631 | fail: |
| 7632 | return NULL; |
| 7633 | } |
| 7634 | |
| 7635 | |
| 7636 | static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 7655 | resultobj = SWIG_From_int((int)result); |
| 7656 | return resultobj; |
| 7657 | fail: |
| 7658 | return NULL; |
| 7659 | } |
| 7660 | |
| 7661 | |
| 7662 | static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 7675 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 7691 | static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 7704 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 7720 | static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 7739 | resultobj = SWIG_From_int((int)result); |
| 7740 | return resultobj; |
| 7741 | fail: |
| 7742 | return NULL; |
| 7743 | } |
| 7744 | |
| 7745 | |
| 7746 | static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 7765 | resultobj = SWIG_From_int((int)result); |
| 7766 | return resultobj; |
| 7767 | fail: |
| 7768 | return NULL; |
| 7769 | } |
| 7770 | |
| 7771 | |
| 7772 | static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 7790 | arg2 = (int)SWIG_As_int(obj1); |
| 7791 | if (PyErr_Occurred()) SWIG_fail; |
| 7792 | arg3 = (int)SWIG_As_int(obj2); |
| 7793 | if (PyErr_Occurred()) SWIG_fail; |
| 7794 | if (obj3) { |
| 7795 | arg4 = (int)SWIG_As_int(obj3); |
| 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 | } |
| 7805 | resultobj = SWIG_From_int((int)result); |
| 7806 | return resultobj; |
| 7807 | fail: |
| 7808 | return NULL; |
| 7809 | } |
| 7810 | |
| 7811 | |
| 7812 | static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 7837 | static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 7844 | static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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) { |
| 7857 | arg1 = (int)SWIG_As_int(obj0); |
| 7858 | if (PyErr_Occurred()) SWIG_fail; |
| 7859 | } |
| 7860 | if (obj1) { |
| 7861 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 7878 | static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 7891 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 7907 | static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 7926 | resultobj = SWIG_From_int((int)result); |
| 7927 | return resultobj; |
| 7928 | fail: |
| 7929 | return NULL; |
| 7930 | } |
| 7931 | |
| 7932 | |
| 7933 | static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 7965 | static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 7995 | static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 8008 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 8024 | static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 8043 | resultobj = SWIG_From_int((int)result); |
| 8044 | return resultobj; |
| 8045 | fail: |
| 8046 | return NULL; |
| 8047 | } |
| 8048 | |
| 8049 | |
| 8050 | static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 8057 | static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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) { |
| 8068 | arg1 = (int)SWIG_As_int(obj0); |
| 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 | |
| 8085 | static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 8098 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 8114 | static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 8133 | resultobj = SWIG_From_int((int)result); |
| 8134 | return resultobj; |
| 8135 | fail: |
| 8136 | return NULL; |
| 8137 | } |
| 8138 | |
| 8139 | |
| 8140 | static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 8153 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 8169 | static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 8188 | resultobj = SWIG_From_int((int)result); |
| 8189 | return resultobj; |
| 8190 | fail: |
| 8191 | return NULL; |
| 8192 | } |
| 8193 | |
| 8194 | |
| 8195 | static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 8227 | static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 8257 | static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 8270 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 8286 | static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 8305 | resultobj = SWIG_From_int((int)result); |
| 8306 | return resultobj; |
| 8307 | fail: |
| 8308 | return NULL; |
| 8309 | } |
| 8310 | |
| 8311 | |
| 8312 | static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 8325 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 8341 | static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 8360 | resultobj = SWIG_From_int((int)result); |
| 8361 | return resultobj; |
| 8362 | fail: |
| 8363 | return NULL; |
| 8364 | } |
| 8365 | |
| 8366 | |
| 8367 | static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 8374 | static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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) { |
| 8385 | arg1 = (int)SWIG_As_int(obj0); |
| 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 | |
| 8402 | static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 8415 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 8431 | static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 8450 | resultobj = SWIG_From_int((int)result); |
| 8451 | return resultobj; |
| 8452 | fail: |
| 8453 | return NULL; |
| 8454 | } |
| 8455 | |
| 8456 | |
| 8457 | static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 8489 | static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 8519 | static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 8526 | static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 8527 | PyObject *resultobj; |
| 8528 | wxWindow *arg1 = (wxWindow *) 0 ; |
| 8529 | int arg2 = (int) -1 ; |
| 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 ; |
| 8540 | bool temp6 = false ; |
| 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 | |
| 8551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
| 8552 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
| 8553 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 8554 | if (obj1) { |
| 8555 | arg2 = (int)SWIG_As_int(obj1); |
| 8556 | if (PyErr_Occurred()) SWIG_fail; |
| 8557 | } |
| 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) { |
| 8571 | arg5 = (long)SWIG_As_long(obj4); |
| 8572 | if (PyErr_Occurred()) SWIG_fail; |
| 8573 | } |
| 8574 | if (obj5) { |
| 8575 | { |
| 8576 | arg6 = wxString_in_helper(obj5); |
| 8577 | if (arg6 == NULL) SWIG_fail; |
| 8578 | temp6 = true; |
| 8579 | } |
| 8580 | } |
| 8581 | { |
| 8582 | if (!wxPyCheckForApp()) SWIG_fail; |
| 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); |
| 8587 | if (PyErr_Occurred()) SWIG_fail; |
| 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 | |
| 8604 | static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | { |
| 8613 | if (!wxPyCheckForApp()) SWIG_fail; |
| 8614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 8615 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(); |
| 8616 | |
| 8617 | wxPyEndAllowThreads(__tstate); |
| 8618 | if (PyErr_Occurred()) SWIG_fail; |
| 8619 | } |
| 8620 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); |
| 8621 | return resultobj; |
| 8622 | fail: |
| 8623 | return NULL; |
| 8624 | } |
| 8625 | |
| 8626 | |
| 8627 | static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
| 8628 | PyObject *resultobj; |
| 8629 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; |
| 8630 | wxWindow *arg2 = (wxWindow *) 0 ; |
| 8631 | int arg3 = (int) -1 ; |
| 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 ; |
| 8642 | bool temp7 = false ; |
| 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 | |
| 8654 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
| 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; |
| 8659 | if (obj2) { |
| 8660 | arg3 = (int)SWIG_As_int(obj2); |
| 8661 | if (PyErr_Occurred()) SWIG_fail; |
| 8662 | } |
| 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) { |
| 8676 | arg6 = (long)SWIG_As_long(obj5); |
| 8677 | if (PyErr_Occurred()) SWIG_fail; |
| 8678 | } |
| 8679 | if (obj6) { |
| 8680 | { |
| 8681 | arg7 = wxString_in_helper(obj6); |
| 8682 | if (arg7 == NULL) SWIG_fail; |
| 8683 | temp7 = true; |
| 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 | |
| 8710 | static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 8729 | resultobj = SWIG_From_int((int)result); |
| 8730 | return resultobj; |
| 8731 | fail: |
| 8732 | return NULL; |
| 8733 | } |
| 8734 | |
| 8735 | |
| 8736 | static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 8755 | resultobj = SWIG_From_int((int)result); |
| 8756 | return resultobj; |
| 8757 | fail: |
| 8758 | return NULL; |
| 8759 | } |
| 8760 | |
| 8761 | |
| 8762 | static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 8775 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 8791 | static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 8823 | static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 8836 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 8852 | static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 8859 | static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 8881 | static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 8906 | static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 8944 | static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 8982 | static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 9020 | static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 9027 | static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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) { |
| 9042 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 9059 | static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 9081 | static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 9088 | static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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) { |
| 9103 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 9120 | static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 9142 | static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 9149 | static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 9156 | bool temp2 = false ; |
| 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; |
| 9171 | temp2 = true; |
| 9172 | } |
| 9173 | if (obj2) { |
| 9174 | arg3 = (int)SWIG_As_int(obj2); |
| 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 | { |
| 9182 | if (!wxPyCheckForApp()) SWIG_fail; |
| 9183 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9184 | result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4); |
| 9185 | |
| 9186 | wxPyEndAllowThreads(__tstate); |
| 9187 | if (PyErr_Occurred()) SWIG_fail; |
| 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 | |
| 9204 | static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 9236 | static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 9261 | static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 9268 | static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 ; |
| 9282 | bool temp6 = false ; |
| 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) { |
| 9297 | arg2 = (int)SWIG_As_int(obj1); |
| 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) { |
| 9313 | arg5 = (long)SWIG_As_long(obj4); |
| 9314 | if (PyErr_Occurred()) SWIG_fail; |
| 9315 | } |
| 9316 | if (obj5) { |
| 9317 | { |
| 9318 | arg6 = wxString_in_helper(obj5); |
| 9319 | if (arg6 == NULL) SWIG_fail; |
| 9320 | temp6 = true; |
| 9321 | } |
| 9322 | } |
| 9323 | { |
| 9324 | if (!wxPyCheckForApp()) SWIG_fail; |
| 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); |
| 9329 | if (PyErr_Occurred()) SWIG_fail; |
| 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 | |
| 9346 | static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | { |
| 9355 | if (!wxPyCheckForApp()) SWIG_fail; |
| 9356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9357 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(); |
| 9358 | |
| 9359 | wxPyEndAllowThreads(__tstate); |
| 9360 | if (PyErr_Occurred()) SWIG_fail; |
| 9361 | } |
| 9362 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); |
| 9363 | return resultobj; |
| 9364 | fail: |
| 9365 | return NULL; |
| 9366 | } |
| 9367 | |
| 9368 | |
| 9369 | static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 9400 | static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 ; |
| 9415 | bool temp7 = false ; |
| 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) { |
| 9433 | arg3 = (int)SWIG_As_int(obj2); |
| 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) { |
| 9449 | arg6 = (long)SWIG_As_long(obj5); |
| 9450 | if (PyErr_Occurred()) SWIG_fail; |
| 9451 | } |
| 9452 | if (obj6) { |
| 9453 | { |
| 9454 | arg7 = wxString_in_helper(obj6); |
| 9455 | if (arg7 == NULL) SWIG_fail; |
| 9456 | temp7 = true; |
| 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 | |
| 9483 | static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 9496 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
| 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 | |
| 9512 | static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 9526 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
| 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 | |
| 9544 | static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 9558 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 9576 | static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 9590 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 9608 | static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 9621 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
| 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 | |
| 9637 | static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 9652 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
| 9653 | if (PyErr_Occurred()) SWIG_fail; |
| 9654 | arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2); |
| 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 | |
| 9670 | static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 9683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 9684 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
| 9685 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 9686 | arg2 = (int)SWIG_As_int(obj1); |
| 9687 | if (PyErr_Occurred()) SWIG_fail; |
| 9688 | arg3 = (int)SWIG_As_int(obj2); |
| 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 | } |
| 9697 | resultobj = SWIG_From_int((int)result); |
| 9698 | return resultobj; |
| 9699 | fail: |
| 9700 | return NULL; |
| 9701 | } |
| 9702 | |
| 9703 | |
| 9704 | static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 9730 | resultobj = SWIG_From_int((int)result); |
| 9731 | return resultobj; |
| 9732 | fail: |
| 9733 | return NULL; |
| 9734 | } |
| 9735 | |
| 9736 | |
| 9737 | static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 9762 | static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 9781 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)result); |
| 9782 | return resultobj; |
| 9783 | fail: |
| 9784 | return NULL; |
| 9785 | } |
| 9786 | |
| 9787 | |
| 9788 | static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 9807 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)result); |
| 9808 | return resultobj; |
| 9809 | fail: |
| 9810 | return NULL; |
| 9811 | } |
| 9812 | |
| 9813 | |
| 9814 | static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 9833 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)result); |
| 9834 | return resultobj; |
| 9835 | fail: |
| 9836 | return NULL; |
| 9837 | } |
| 9838 | |
| 9839 | |
| 9840 | static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 9854 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
| 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 | |
| 9872 | static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 9879 | static int _wrap_VListBoxNameStr_set(PyObject *) { |
| 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 | |
| 9899 | static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 ; |
| 9913 | bool temp6 = false ; |
| 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) { |
| 9928 | arg2 = (int)SWIG_As_int(obj1); |
| 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) { |
| 9944 | arg5 = (long)SWIG_As_long(obj4); |
| 9945 | if (PyErr_Occurred()) SWIG_fail; |
| 9946 | } |
| 9947 | if (obj5) { |
| 9948 | { |
| 9949 | arg6 = wxString_in_helper(obj5); |
| 9950 | if (arg6 == NULL) SWIG_fail; |
| 9951 | temp6 = true; |
| 9952 | } |
| 9953 | } |
| 9954 | { |
| 9955 | if (!wxPyCheckForApp()) SWIG_fail; |
| 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); |
| 9960 | if (PyErr_Occurred()) SWIG_fail; |
| 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 | |
| 9977 | static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | { |
| 9986 | if (!wxPyCheckForApp()) SWIG_fail; |
| 9987 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 9988 | result = (wxPyVListBox *)new wxPyVListBox(); |
| 9989 | |
| 9990 | wxPyEndAllowThreads(__tstate); |
| 9991 | if (PyErr_Occurred()) SWIG_fail; |
| 9992 | } |
| 9993 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); |
| 9994 | return resultobj; |
| 9995 | fail: |
| 9996 | return NULL; |
| 9997 | } |
| 9998 | |
| 9999 | |
| 10000 | static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 10031 | static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 ; |
| 10046 | bool temp7 = false ; |
| 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) { |
| 10064 | arg3 = (int)SWIG_As_int(obj2); |
| 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) { |
| 10080 | arg6 = (long)SWIG_As_long(obj5); |
| 10081 | if (PyErr_Occurred()) SWIG_fail; |
| 10082 | } |
| 10083 | if (obj6) { |
| 10084 | { |
| 10085 | arg7 = wxString_in_helper(obj6); |
| 10086 | if (arg7 == NULL) SWIG_fail; |
| 10087 | temp7 = true; |
| 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 | |
| 10114 | static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 10133 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)result); |
| 10134 | return resultobj; |
| 10135 | fail: |
| 10136 | return NULL; |
| 10137 | } |
| 10138 | |
| 10139 | |
| 10140 | static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 10168 | static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 10187 | resultobj = SWIG_From_int((int)result); |
| 10188 | return resultobj; |
| 10189 | fail: |
| 10190 | return NULL; |
| 10191 | } |
| 10192 | |
| 10193 | |
| 10194 | static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 10208 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
| 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 | |
| 10226 | static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 10240 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
| 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 | |
| 10258 | static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 10277 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)result); |
| 10278 | return resultobj; |
| 10279 | fail: |
| 10280 | return NULL; |
| 10281 | } |
| 10282 | |
| 10283 | |
| 10284 | static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
| 10285 | PyObject *resultobj; |
| 10286 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
| 10287 | PyObject *result; |
| 10288 | PyObject * obj0 = 0 ; |
| 10289 | char *kwnames[] = { |
| 10290 | (char *) "self", NULL |
| 10291 | }; |
| 10292 | |
| 10293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail; |
| 10294 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
| 10295 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 10296 | { |
| 10297 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10298 | result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1); |
| 10299 | |
| 10300 | wxPyEndAllowThreads(__tstate); |
| 10301 | if (PyErr_Occurred()) SWIG_fail; |
| 10302 | } |
| 10303 | resultobj = result; |
| 10304 | return resultobj; |
| 10305 | fail: |
| 10306 | return NULL; |
| 10307 | } |
| 10308 | |
| 10309 | |
| 10310 | static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
| 10311 | PyObject *resultobj; |
| 10312 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
| 10313 | unsigned long arg2 ; |
| 10314 | PyObject *result; |
| 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; |
| 10324 | arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1); |
| 10325 | if (PyErr_Occurred()) SWIG_fail; |
| 10326 | { |
| 10327 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10328 | result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2); |
| 10329 | |
| 10330 | wxPyEndAllowThreads(__tstate); |
| 10331 | if (PyErr_Occurred()) SWIG_fail; |
| 10332 | } |
| 10333 | resultobj = result; |
| 10334 | return resultobj; |
| 10335 | fail: |
| 10336 | return NULL; |
| 10337 | } |
| 10338 | |
| 10339 | |
| 10340 | static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 10370 | static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 10399 | static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 10412 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
| 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 | |
| 10428 | static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 10453 | static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 10466 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 10482 | static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) { |
| 10483 | PyObject *resultobj; |
| 10484 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
| 10485 | size_t arg2 ; |
| 10486 | bool arg3 = (bool) true ; |
| 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; |
| 10498 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
| 10499 | if (PyErr_Occurred()) SWIG_fail; |
| 10500 | if (obj2) { |
| 10501 | arg3 = (bool)SWIG_As_bool(obj2); |
| 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 | |
| 10520 | static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 10536 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
| 10537 | if (PyErr_Occurred()) SWIG_fail; |
| 10538 | arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2); |
| 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 | |
| 10556 | static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 10569 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
| 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 | |
| 10585 | static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 10613 | static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 10641 | static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 10673 | static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 10688 | arg2 = (int)SWIG_As_int(obj1); |
| 10689 | if (PyErr_Occurred()) SWIG_fail; |
| 10690 | arg3 = (int)SWIG_As_int(obj2); |
| 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 | |
| 10706 | static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 10738 | static PyObject * VListBox_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 10745 | static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 ; |
| 10759 | bool temp6 = false ; |
| 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) { |
| 10774 | arg2 = (int)SWIG_As_int(obj1); |
| 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) { |
| 10790 | arg5 = (long)SWIG_As_long(obj4); |
| 10791 | if (PyErr_Occurred()) SWIG_fail; |
| 10792 | } |
| 10793 | if (obj5) { |
| 10794 | { |
| 10795 | arg6 = wxString_in_helper(obj5); |
| 10796 | if (arg6 == NULL) SWIG_fail; |
| 10797 | temp6 = true; |
| 10798 | } |
| 10799 | } |
| 10800 | { |
| 10801 | if (!wxPyCheckForApp()) SWIG_fail; |
| 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); |
| 10806 | if (PyErr_Occurred()) SWIG_fail; |
| 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 | |
| 10823 | static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | { |
| 10832 | if (!wxPyCheckForApp()) SWIG_fail; |
| 10833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 10834 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(); |
| 10835 | |
| 10836 | wxPyEndAllowThreads(__tstate); |
| 10837 | if (PyErr_Occurred()) SWIG_fail; |
| 10838 | } |
| 10839 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); |
| 10840 | return resultobj; |
| 10841 | fail: |
| 10842 | return NULL; |
| 10843 | } |
| 10844 | |
| 10845 | |
| 10846 | static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 10877 | static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 ; |
| 10892 | bool temp7 = false ; |
| 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) { |
| 10910 | arg3 = (int)SWIG_As_int(obj2); |
| 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) { |
| 10926 | arg6 = (long)SWIG_As_long(obj5); |
| 10927 | if (PyErr_Occurred()) SWIG_fail; |
| 10928 | } |
| 10929 | if (obj6) { |
| 10930 | { |
| 10931 | arg7 = wxString_in_helper(obj6); |
| 10932 | if (arg7 == NULL) SWIG_fail; |
| 10933 | temp7 = true; |
| 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 | |
| 10960 | static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 10985 | static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 10998 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
| 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 | |
| 11014 | static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 11043 | static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 11050 | static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
| 11051 | PyObject *resultobj; |
| 11052 | wxPyTaskBarIcon *result; |
| 11053 | char *kwnames[] = { |
| 11054 | NULL |
| 11055 | }; |
| 11056 | |
| 11057 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail; |
| 11058 | { |
| 11059 | if (!wxPyCheckForApp()) SWIG_fail; |
| 11060 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11061 | result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon(); |
| 11062 | |
| 11063 | wxPyEndAllowThreads(__tstate); |
| 11064 | if (PyErr_Occurred()) SWIG_fail; |
| 11065 | } |
| 11066 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1); |
| 11067 | return resultobj; |
| 11068 | fail: |
| 11069 | return NULL; |
| 11070 | } |
| 11071 | |
| 11072 | |
| 11073 | static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
| 11074 | PyObject *resultobj; |
| 11075 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
| 11076 | PyObject *arg2 = (PyObject *) 0 ; |
| 11077 | PyObject *arg3 = (PyObject *) 0 ; |
| 11078 | int arg4 ; |
| 11079 | PyObject * obj0 = 0 ; |
| 11080 | PyObject * obj1 = 0 ; |
| 11081 | PyObject * obj2 = 0 ; |
| 11082 | PyObject * obj3 = 0 ; |
| 11083 | char *kwnames[] = { |
| 11084 | (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL |
| 11085 | }; |
| 11086 | |
| 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, |
| 11089 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 11090 | arg2 = obj1; |
| 11091 | arg3 = obj2; |
| 11092 | arg4 = (int)SWIG_As_int(obj3); |
| 11093 | if (PyErr_Occurred()) SWIG_fail; |
| 11094 | { |
| 11095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11096 | (arg1)->_setCallbackInfo(arg2,arg3,arg4); |
| 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 | |
| 11108 | static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { |
| 11109 | PyObject *resultobj; |
| 11110 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
| 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; |
| 11117 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon, |
| 11118 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 11119 | { |
| 11120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11121 | wxPyTaskBarIcon_Destroy(arg1); |
| 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 | |
| 11133 | static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { |
| 11134 | PyObject *resultobj; |
| 11135 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
| 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; |
| 11143 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon, |
| 11144 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 11145 | { |
| 11146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11147 | result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk(); |
| 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; |
| 11163 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
| 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; |
| 11171 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon, |
| 11172 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 11173 | { |
| 11174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11175 | result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled(); |
| 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; |
| 11191 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
| 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; |
| 11205 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon, |
| 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; |
| 11247 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
| 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; |
| 11255 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon, |
| 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; |
| 11275 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
| 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; |
| 11285 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon, |
| 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 | |
| 11305 | static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) { |
| 11306 | PyObject *obj; |
| 11307 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 11308 | SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj); |
| 11309 | Py_INCREF(obj); |
| 11310 | return Py_BuildValue((char *)""); |
| 11311 | } |
| 11312 | static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 11324 | arg1 = (wxEventType)SWIG_As_int(obj0); |
| 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 | |
| 11342 | static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 11349 | static int _wrap_FileSelectorPromptStr_set(PyObject *) { |
| 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 | |
| 11369 | static int _wrap_DirSelectorPromptStr_set(PyObject *) { |
| 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 | |
| 11389 | static int _wrap_DirDialogNameStr_set(PyObject *) { |
| 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 | |
| 11409 | static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) { |
| 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 | |
| 11429 | static int _wrap_GetTextFromUserPromptStr_set(PyObject *) { |
| 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 | |
| 11449 | static int _wrap_MessageBoxCaptionStr_set(PyObject *) { |
| 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 | |
| 11469 | static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 11491 | static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 11516 | static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 11544 | static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 11574 | static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 11588 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 11608 | static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 11621 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 11637 | static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 11669 | static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 11685 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 11705 | static PyObject * ColourData_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 11712 | static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | { |
| 11731 | if (!wxPyCheckForApp()) SWIG_fail; |
| 11732 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 11733 | result = (wxColourDialog *)new wxColourDialog(arg1,arg2); |
| 11734 | |
| 11735 | wxPyEndAllowThreads(__tstate); |
| 11736 | if (PyErr_Occurred()) SWIG_fail; |
| 11737 | } |
| 11738 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1); |
| 11739 | return resultobj; |
| 11740 | fail: |
| 11741 | return NULL; |
| 11742 | } |
| 11743 | |
| 11744 | |
| 11745 | static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 11774 | static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 11781 | static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 11796 | bool temp2 = false ; |
| 11797 | bool temp3 = false ; |
| 11798 | wxPoint temp5 ; |
| 11799 | wxSize temp6 ; |
| 11800 | bool temp7 = false ; |
| 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; |
| 11819 | temp2 = true; |
| 11820 | } |
| 11821 | } |
| 11822 | if (obj2) { |
| 11823 | { |
| 11824 | arg3 = wxString_in_helper(obj2); |
| 11825 | if (arg3 == NULL) SWIG_fail; |
| 11826 | temp3 = true; |
| 11827 | } |
| 11828 | } |
| 11829 | if (obj3) { |
| 11830 | arg4 = (long)SWIG_As_long(obj3); |
| 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; |
| 11849 | temp7 = true; |
| 11850 | } |
| 11851 | } |
| 11852 | { |
| 11853 | if (!wxPyCheckForApp()) SWIG_fail; |
| 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); |
| 11858 | if (PyErr_Occurred()) SWIG_fail; |
| 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 | |
| 11891 | static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 11923 | static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 11955 | static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 11974 | resultobj = SWIG_From_long((long)result); |
| 11975 | return resultobj; |
| 11976 | fail: |
| 11977 | return NULL; |
| 11978 | } |
| 11979 | |
| 11980 | |
| 11981 | static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
| 11982 | PyObject *resultobj; |
| 11983 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; |
| 11984 | wxString *arg2 = 0 ; |
| 11985 | bool temp2 = false ; |
| 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; |
| 11998 | temp2 = true; |
| 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 | |
| 12022 | static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
| 12023 | PyObject *resultobj; |
| 12024 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; |
| 12025 | wxString *arg2 = 0 ; |
| 12026 | bool temp2 = false ; |
| 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; |
| 12039 | temp2 = true; |
| 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 | |
| 12063 | static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 12070 | static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 12085 | bool temp2 = false ; |
| 12086 | bool temp3 = false ; |
| 12087 | bool temp4 = false ; |
| 12088 | bool temp5 = false ; |
| 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; |
| 12108 | temp2 = true; |
| 12109 | } |
| 12110 | } |
| 12111 | if (obj2) { |
| 12112 | { |
| 12113 | arg3 = wxString_in_helper(obj2); |
| 12114 | if (arg3 == NULL) SWIG_fail; |
| 12115 | temp3 = true; |
| 12116 | } |
| 12117 | } |
| 12118 | if (obj3) { |
| 12119 | { |
| 12120 | arg4 = wxString_in_helper(obj3); |
| 12121 | if (arg4 == NULL) SWIG_fail; |
| 12122 | temp4 = true; |
| 12123 | } |
| 12124 | } |
| 12125 | if (obj4) { |
| 12126 | { |
| 12127 | arg5 = wxString_in_helper(obj4); |
| 12128 | if (arg5 == NULL) SWIG_fail; |
| 12129 | temp5 = true; |
| 12130 | } |
| 12131 | } |
| 12132 | if (obj5) { |
| 12133 | arg6 = (long)SWIG_As_long(obj5); |
| 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 | { |
| 12143 | if (!wxPyCheckForApp()) SWIG_fail; |
| 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); |
| 12148 | if (PyErr_Occurred()) SWIG_fail; |
| 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 | |
| 12189 | static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
| 12190 | PyObject *resultobj; |
| 12191 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
| 12192 | wxString *arg2 = 0 ; |
| 12193 | bool temp2 = false ; |
| 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; |
| 12206 | temp2 = true; |
| 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 | |
| 12230 | static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
| 12231 | PyObject *resultobj; |
| 12232 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
| 12233 | wxString *arg2 = 0 ; |
| 12234 | bool temp2 = false ; |
| 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; |
| 12247 | temp2 = true; |
| 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 | |
| 12271 | static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) { |
| 12272 | PyObject *resultobj; |
| 12273 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
| 12274 | wxString *arg2 = 0 ; |
| 12275 | bool temp2 = false ; |
| 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; |
| 12288 | temp2 = true; |
| 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 | |
| 12312 | static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
| 12313 | PyObject *resultobj; |
| 12314 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
| 12315 | wxString *arg2 = 0 ; |
| 12316 | bool temp2 = false ; |
| 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; |
| 12329 | temp2 = true; |
| 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 | |
| 12353 | static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) { |
| 12354 | PyObject *resultobj; |
| 12355 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
| 12356 | wxString *arg2 = 0 ; |
| 12357 | bool temp2 = false ; |
| 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; |
| 12370 | temp2 = true; |
| 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 | |
| 12394 | static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 12407 | arg2 = (long)SWIG_As_long(obj1); |
| 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 | |
| 12423 | static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 12436 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 12452 | static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 12484 | static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 12516 | static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 12548 | static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 12580 | static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 12612 | static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 12631 | resultobj = SWIG_From_long((long)result); |
| 12632 | return resultobj; |
| 12633 | fail: |
| 12634 | return NULL; |
| 12635 | } |
| 12636 | |
| 12637 | |
| 12638 | static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 12657 | resultobj = SWIG_From_int((int)result); |
| 12658 | return resultobj; |
| 12659 | fail: |
| 12660 | return NULL; |
| 12661 | } |
| 12662 | |
| 12663 | |
| 12664 | static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 12690 | static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 12716 | static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 12723 | static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
| 12724 | PyObject *resultobj; |
| 12725 | wxWindow *arg1 = (wxWindow *) 0 ; |
| 12726 | wxString *arg2 = 0 ; |
| 12727 | wxString *arg3 = 0 ; |
| 12728 | int arg4 = (int) 0 ; |
| 12729 | wxString *arg5 = (wxString *) NULL ; |
| 12730 | long arg6 = (long) wxCHOICEDLG_STYLE ; |
| 12731 | wxPoint const &arg7_defvalue = wxDefaultPosition ; |
| 12732 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; |
| 12733 | wxMultiChoiceDialog *result; |
| 12734 | bool temp2 = false ; |
| 12735 | bool temp3 = false ; |
| 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; |
| 12753 | temp2 = true; |
| 12754 | } |
| 12755 | { |
| 12756 | arg3 = wxString_in_helper(obj2); |
| 12757 | if (arg3 == NULL) SWIG_fail; |
| 12758 | temp3 = true; |
| 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) { |
| 12768 | arg6 = (long)SWIG_As_long(obj4); |
| 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 | { |
| 12778 | if (!wxPyCheckForApp()) SWIG_fail; |
| 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); |
| 12783 | if (PyErr_Occurred()) SWIG_fail; |
| 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 | |
| 12814 | static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) { |
| 12815 | PyObject *resultobj; |
| 12816 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; |
| 12817 | wxArrayInt *arg2 = 0 ; |
| 12818 | bool temp2 = false ; |
| 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; |
| 12834 | temp2 = true; |
| 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 | |
| 12864 | static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 12890 | static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 12897 | static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 12908 | bool temp2 = false ; |
| 12909 | bool temp3 = false ; |
| 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; |
| 12927 | temp2 = true; |
| 12928 | } |
| 12929 | { |
| 12930 | arg3 = wxString_in_helper(obj2); |
| 12931 | if (arg3 == NULL) SWIG_fail; |
| 12932 | temp3 = true; |
| 12933 | } |
| 12934 | { |
| 12935 | arg4 = PyList_Size(obj3); |
| 12936 | arg5 = wxString_LIST_helper(obj3); |
| 12937 | if (arg5 == NULL) SWIG_fail; |
| 12938 | } |
| 12939 | if (obj4) { |
| 12940 | arg6 = (long)SWIG_As_long(obj4); |
| 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 | { |
| 12950 | if (!wxPyCheckForApp()) SWIG_fail; |
| 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); |
| 12955 | if (PyErr_Occurred()) SWIG_fail; |
| 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 | |
| 12986 | static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 13005 | resultobj = SWIG_From_int((int)result); |
| 13006 | return resultobj; |
| 13007 | fail: |
| 13008 | return NULL; |
| 13009 | } |
| 13010 | |
| 13011 | |
| 13012 | static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 13044 | static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 13057 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 13073 | static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 13080 | static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 ; |
| 13088 | long arg5 = (long) wxTextEntryDialogStyle ; |
| 13089 | wxPoint const &arg6_defvalue = wxDefaultPosition ; |
| 13090 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; |
| 13091 | wxTextEntryDialog *result; |
| 13092 | bool temp2 = false ; |
| 13093 | bool temp3 = false ; |
| 13094 | bool temp4 = false ; |
| 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; |
| 13112 | temp2 = true; |
| 13113 | } |
| 13114 | if (obj2) { |
| 13115 | { |
| 13116 | arg3 = wxString_in_helper(obj2); |
| 13117 | if (arg3 == NULL) SWIG_fail; |
| 13118 | temp3 = true; |
| 13119 | } |
| 13120 | } |
| 13121 | if (obj3) { |
| 13122 | { |
| 13123 | arg4 = wxString_in_helper(obj3); |
| 13124 | if (arg4 == NULL) SWIG_fail; |
| 13125 | temp4 = true; |
| 13126 | } |
| 13127 | } |
| 13128 | if (obj4) { |
| 13129 | arg5 = (long)SWIG_As_long(obj4); |
| 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 | { |
| 13139 | if (!wxPyCheckForApp()) SWIG_fail; |
| 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); |
| 13144 | if (PyErr_Occurred()) SWIG_fail; |
| 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 | |
| 13177 | static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 13209 | static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { |
| 13210 | PyObject *resultobj; |
| 13211 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; |
| 13212 | wxString *arg2 = 0 ; |
| 13213 | bool temp2 = false ; |
| 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; |
| 13226 | temp2 = true; |
| 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 | |
| 13250 | static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 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 | } |
| 13380 | static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 13402 | static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 13427 | static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 13440 | arg2 = (bool)SWIG_As_bool(obj1); |
| 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 | |
| 13456 | static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 13484 | static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 13514 | static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 13544 | static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 13572 | static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 13602 | static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 13630 | static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 13643 | arg2 = (bool)SWIG_As_bool(obj1); |
| 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 | |
| 13659 | static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 13693 | static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 13725 | static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 13759 | static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 13774 | arg2 = (int)SWIG_As_int(obj1); |
| 13775 | if (PyErr_Occurred()) SWIG_fail; |
| 13776 | arg3 = (int)SWIG_As_int(obj2); |
| 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 | |
| 13792 | static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 13805 | arg2 = (bool)SWIG_As_bool(obj1); |
| 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 | |
| 13821 | static PyObject * FontData_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 13828 | static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | { |
| 13850 | if (!wxPyCheckForApp()) SWIG_fail; |
| 13851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 13852 | result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2); |
| 13853 | |
| 13854 | wxPyEndAllowThreads(__tstate); |
| 13855 | if (PyErr_Occurred()) SWIG_fail; |
| 13856 | } |
| 13857 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1); |
| 13858 | return resultobj; |
| 13859 | fail: |
| 13860 | return NULL; |
| 13861 | } |
| 13862 | |
| 13863 | |
| 13864 | static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 13893 | static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 13900 | static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 13910 | bool temp2 = false ; |
| 13911 | bool temp3 = false ; |
| 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; |
| 13928 | temp2 = true; |
| 13929 | } |
| 13930 | if (obj2) { |
| 13931 | { |
| 13932 | arg3 = wxString_in_helper(obj2); |
| 13933 | if (arg3 == NULL) SWIG_fail; |
| 13934 | temp3 = true; |
| 13935 | } |
| 13936 | } |
| 13937 | if (obj3) { |
| 13938 | arg4 = (long)SWIG_As_long(obj3); |
| 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 | { |
| 13948 | if (!wxPyCheckForApp()) SWIG_fail; |
| 13949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 13950 | result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5); |
| 13951 | |
| 13952 | wxPyEndAllowThreads(__tstate); |
| 13953 | if (PyErr_Occurred()) SWIG_fail; |
| 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 | |
| 13978 | static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 13985 | static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 13993 | bool temp1 = false ; |
| 13994 | bool temp2 = false ; |
| 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; |
| 14008 | temp1 = true; |
| 14009 | } |
| 14010 | { |
| 14011 | arg2 = wxString_in_helper(obj1); |
| 14012 | if (arg2 == NULL) SWIG_fail; |
| 14013 | temp2 = true; |
| 14014 | } |
| 14015 | if (obj2) { |
| 14016 | arg3 = (int)SWIG_As_int(obj2); |
| 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) { |
| 14024 | arg5 = (int)SWIG_As_int(obj4); |
| 14025 | if (PyErr_Occurred()) SWIG_fail; |
| 14026 | } |
| 14027 | { |
| 14028 | if (!wxPyCheckForApp()) SWIG_fail; |
| 14029 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 14030 | result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5); |
| 14031 | |
| 14032 | wxPyEndAllowThreads(__tstate); |
| 14033 | if (PyErr_Occurred()) SWIG_fail; |
| 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 | |
| 14058 | static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 14065 | bool temp3 = false ; |
| 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; |
| 14076 | arg2 = (int)SWIG_As_int(obj1); |
| 14077 | if (PyErr_Occurred()) SWIG_fail; |
| 14078 | if (obj2) { |
| 14079 | { |
| 14080 | arg3 = wxString_in_helper(obj2); |
| 14081 | if (arg3 == NULL) SWIG_fail; |
| 14082 | temp3 = true; |
| 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 | |
| 14109 | static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 14134 | static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 14141 | static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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) { |
| 14154 | arg1 = (wxEventType)SWIG_As_int(obj0); |
| 14155 | if (PyErr_Occurred()) SWIG_fail; |
| 14156 | } |
| 14157 | if (obj1) { |
| 14158 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 14175 | static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 14194 | resultobj = SWIG_From_int((int)result); |
| 14195 | return resultobj; |
| 14196 | fail: |
| 14197 | return NULL; |
| 14198 | } |
| 14199 | |
| 14200 | |
| 14201 | static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 14236 | static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 14271 | static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 14297 | static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 14310 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 14326 | static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
| 14327 | PyObject *resultobj; |
| 14328 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; |
| 14329 | wxString *arg2 = 0 ; |
| 14330 | bool temp2 = false ; |
| 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; |
| 14343 | temp2 = true; |
| 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 | |
| 14367 | static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
| 14368 | PyObject *resultobj; |
| 14369 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; |
| 14370 | wxString *arg2 = 0 ; |
| 14371 | bool temp2 = false ; |
| 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; |
| 14384 | temp2 = true; |
| 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 | |
| 14408 | static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 14415 | static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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) { |
| 14426 | arg1 = (int)SWIG_As_int(obj0); |
| 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 | |
| 14443 | static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 14468 | static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 14503 | static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 14538 | static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 14557 | resultobj = SWIG_From_int((int)result); |
| 14558 | return resultobj; |
| 14559 | fail: |
| 14560 | return NULL; |
| 14561 | } |
| 14562 | |
| 14563 | |
| 14564 | static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 14577 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 14593 | static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
| 14594 | PyObject *resultobj; |
| 14595 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; |
| 14596 | wxString *arg2 = 0 ; |
| 14597 | bool temp2 = false ; |
| 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; |
| 14610 | temp2 = true; |
| 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 | |
| 14634 | static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
| 14635 | PyObject *resultobj; |
| 14636 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; |
| 14637 | wxString *arg2 = 0 ; |
| 14638 | bool temp2 = false ; |
| 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; |
| 14651 | temp2 = true; |
| 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 | |
| 14675 | static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 14682 | static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 14689 | bool temp3 = false ; |
| 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; |
| 14706 | temp3 = true; |
| 14707 | } |
| 14708 | if (obj3) { |
| 14709 | arg4 = (int)SWIG_As_int(obj3); |
| 14710 | if (PyErr_Occurred()) SWIG_fail; |
| 14711 | } |
| 14712 | { |
| 14713 | if (!wxPyCheckForApp()) SWIG_fail; |
| 14714 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 14715 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4); |
| 14716 | |
| 14717 | wxPyEndAllowThreads(__tstate); |
| 14718 | if (PyErr_Occurred()) SWIG_fail; |
| 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 | |
| 14735 | static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | { |
| 14744 | if (!wxPyCheckForApp()) SWIG_fail; |
| 14745 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 14746 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(); |
| 14747 | |
| 14748 | wxPyEndAllowThreads(__tstate); |
| 14749 | if (PyErr_Occurred()) SWIG_fail; |
| 14750 | } |
| 14751 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); |
| 14752 | return resultobj; |
| 14753 | fail: |
| 14754 | return NULL; |
| 14755 | } |
| 14756 | |
| 14757 | |
| 14758 | static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 14766 | bool temp4 = false ; |
| 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; |
| 14786 | temp4 = true; |
| 14787 | } |
| 14788 | if (obj4) { |
| 14789 | arg5 = (int)SWIG_As_int(obj4); |
| 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 | |
| 14816 | static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 14842 | static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 14871 | static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 14878 | static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
| 14879 | PyObject *resultobj; |
| 14880 | wxWindow *arg1 = (wxWindow *) 0 ; |
| 14881 | int arg2 = (int) (int)-1 ; |
| 14882 | wxString const &arg3_defvalue = wxPyEmptyString ; |
| 14883 | wxString *arg3 = (wxString *) &arg3_defvalue ; |
| 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; |
| 14892 | bool temp3 = false ; |
| 14893 | wxPoint temp4 ; |
| 14894 | wxSize temp5 ; |
| 14895 | bool temp7 = false ; |
| 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 | |
| 14907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
| 14908 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
| 14909 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 14910 | if (obj1) { |
| 14911 | arg2 = (int)SWIG_As_int(obj1); |
| 14912 | if (PyErr_Occurred()) SWIG_fail; |
| 14913 | } |
| 14914 | if (obj2) { |
| 14915 | { |
| 14916 | arg3 = wxString_in_helper(obj2); |
| 14917 | if (arg3 == NULL) SWIG_fail; |
| 14918 | temp3 = true; |
| 14919 | } |
| 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) { |
| 14934 | arg6 = (long)SWIG_As_long(obj5); |
| 14935 | if (PyErr_Occurred()) SWIG_fail; |
| 14936 | } |
| 14937 | if (obj6) { |
| 14938 | { |
| 14939 | arg7 = wxString_in_helper(obj6); |
| 14940 | if (arg7 == NULL) SWIG_fail; |
| 14941 | temp7 = true; |
| 14942 | } |
| 14943 | } |
| 14944 | { |
| 14945 | if (!wxPyCheckForApp()) SWIG_fail; |
| 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); |
| 14950 | if (PyErr_Occurred()) SWIG_fail; |
| 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 | |
| 14975 | static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | { |
| 14984 | if (!wxPyCheckForApp()) SWIG_fail; |
| 14985 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 14986 | result = (wxMDIParentFrame *)new wxMDIParentFrame(); |
| 14987 | |
| 14988 | wxPyEndAllowThreads(__tstate); |
| 14989 | if (PyErr_Occurred()) SWIG_fail; |
| 14990 | } |
| 14991 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); |
| 14992 | return resultobj; |
| 14993 | fail: |
| 14994 | return NULL; |
| 14995 | } |
| 14996 | |
| 14997 | |
| 14998 | static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
| 14999 | PyObject *resultobj; |
| 15000 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; |
| 15001 | wxWindow *arg2 = (wxWindow *) 0 ; |
| 15002 | int arg3 = (int) (int)-1 ; |
| 15003 | wxString const &arg4_defvalue = wxPyEmptyString ; |
| 15004 | wxString *arg4 = (wxString *) &arg4_defvalue ; |
| 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; |
| 15013 | bool temp4 = false ; |
| 15014 | wxPoint temp5 ; |
| 15015 | wxSize temp6 ; |
| 15016 | bool temp8 = false ; |
| 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 | |
| 15029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
| 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; |
| 15034 | if (obj2) { |
| 15035 | arg3 = (int)SWIG_As_int(obj2); |
| 15036 | if (PyErr_Occurred()) SWIG_fail; |
| 15037 | } |
| 15038 | if (obj3) { |
| 15039 | { |
| 15040 | arg4 = wxString_in_helper(obj3); |
| 15041 | if (arg4 == NULL) SWIG_fail; |
| 15042 | temp4 = true; |
| 15043 | } |
| 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) { |
| 15058 | arg7 = (long)SWIG_As_long(obj6); |
| 15059 | if (PyErr_Occurred()) SWIG_fail; |
| 15060 | } |
| 15061 | if (obj7) { |
| 15062 | { |
| 15063 | arg8 = wxString_in_helper(obj7); |
| 15064 | if (arg8 == NULL) SWIG_fail; |
| 15065 | temp8 = true; |
| 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 | |
| 15100 | static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 15125 | static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 15150 | static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 15175 | static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 15200 | static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | { |
| 15220 | resultobj = wxPyMake_wxObject(result, 0); |
| 15221 | } |
| 15222 | return resultobj; |
| 15223 | fail: |
| 15224 | return NULL; |
| 15225 | } |
| 15226 | |
| 15227 | |
| 15228 | static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | { |
| 15248 | resultobj = wxPyMake_wxObject(result, 0); |
| 15249 | } |
| 15250 | return resultobj; |
| 15251 | fail: |
| 15252 | return NULL; |
| 15253 | } |
| 15254 | |
| 15255 | |
| 15256 | static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | { |
| 15276 | resultobj = wxPyMake_wxObject(result, 0); |
| 15277 | } |
| 15278 | return resultobj; |
| 15279 | fail: |
| 15280 | return NULL; |
| 15281 | } |
| 15282 | |
| 15283 | |
| 15284 | static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 15309 | static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 15316 | static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
| 15317 | PyObject *resultobj; |
| 15318 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; |
| 15319 | int arg2 = (int) (int)-1 ; |
| 15320 | wxString const &arg3_defvalue = wxPyEmptyString ; |
| 15321 | wxString *arg3 = (wxString *) &arg3_defvalue ; |
| 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; |
| 15330 | bool temp3 = false ; |
| 15331 | wxPoint temp4 ; |
| 15332 | wxSize temp5 ; |
| 15333 | bool temp7 = false ; |
| 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 | |
| 15345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
| 15346 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
| 15347 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 15348 | if (obj1) { |
| 15349 | arg2 = (int)SWIG_As_int(obj1); |
| 15350 | if (PyErr_Occurred()) SWIG_fail; |
| 15351 | } |
| 15352 | if (obj2) { |
| 15353 | { |
| 15354 | arg3 = wxString_in_helper(obj2); |
| 15355 | if (arg3 == NULL) SWIG_fail; |
| 15356 | temp3 = true; |
| 15357 | } |
| 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) { |
| 15372 | arg6 = (long)SWIG_As_long(obj5); |
| 15373 | if (PyErr_Occurred()) SWIG_fail; |
| 15374 | } |
| 15375 | if (obj6) { |
| 15376 | { |
| 15377 | arg7 = wxString_in_helper(obj6); |
| 15378 | if (arg7 == NULL) SWIG_fail; |
| 15379 | temp7 = true; |
| 15380 | } |
| 15381 | } |
| 15382 | { |
| 15383 | if (!wxPyCheckForApp()) SWIG_fail; |
| 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); |
| 15388 | if (PyErr_Occurred()) SWIG_fail; |
| 15389 | } |
| 15390 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1); |
| 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 | |
| 15413 | static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | { |
| 15422 | if (!wxPyCheckForApp()) SWIG_fail; |
| 15423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 15424 | result = (wxMDIChildFrame *)new wxMDIChildFrame(); |
| 15425 | |
| 15426 | wxPyEndAllowThreads(__tstate); |
| 15427 | if (PyErr_Occurred()) SWIG_fail; |
| 15428 | } |
| 15429 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1); |
| 15430 | return resultobj; |
| 15431 | fail: |
| 15432 | return NULL; |
| 15433 | } |
| 15434 | |
| 15435 | |
| 15436 | static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
| 15437 | PyObject *resultobj; |
| 15438 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; |
| 15439 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; |
| 15440 | int arg3 = (int) (int)-1 ; |
| 15441 | wxString const &arg4_defvalue = wxPyEmptyString ; |
| 15442 | wxString *arg4 = (wxString *) &arg4_defvalue ; |
| 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; |
| 15451 | bool temp4 = false ; |
| 15452 | wxPoint temp5 ; |
| 15453 | wxSize temp6 ; |
| 15454 | bool temp8 = false ; |
| 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 | |
| 15467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
| 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; |
| 15472 | if (obj2) { |
| 15473 | arg3 = (int)SWIG_As_int(obj2); |
| 15474 | if (PyErr_Occurred()) SWIG_fail; |
| 15475 | } |
| 15476 | if (obj3) { |
| 15477 | { |
| 15478 | arg4 = wxString_in_helper(obj3); |
| 15479 | if (arg4 == NULL) SWIG_fail; |
| 15480 | temp4 = true; |
| 15481 | } |
| 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) { |
| 15496 | arg7 = (long)SWIG_As_long(obj6); |
| 15497 | if (PyErr_Occurred()) SWIG_fail; |
| 15498 | } |
| 15499 | if (obj7) { |
| 15500 | { |
| 15501 | arg8 = wxString_in_helper(obj7); |
| 15502 | if (arg8 == NULL) SWIG_fail; |
| 15503 | temp8 = true; |
| 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 | |
| 15538 | static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 15563 | static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 15576 | arg2 = (bool)SWIG_As_bool(obj1); |
| 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 | |
| 15592 | static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 15617 | static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 15624 | static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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) { |
| 15639 | arg2 = (long)SWIG_As_long(obj1); |
| 15640 | if (PyErr_Occurred()) SWIG_fail; |
| 15641 | } |
| 15642 | { |
| 15643 | if (!wxPyCheckForApp()) SWIG_fail; |
| 15644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 15645 | result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2); |
| 15646 | |
| 15647 | wxPyEndAllowThreads(__tstate); |
| 15648 | if (PyErr_Occurred()) SWIG_fail; |
| 15649 | } |
| 15650 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1); |
| 15651 | return resultobj; |
| 15652 | fail: |
| 15653 | return NULL; |
| 15654 | } |
| 15655 | |
| 15656 | |
| 15657 | static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | { |
| 15666 | if (!wxPyCheckForApp()) SWIG_fail; |
| 15667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 15668 | result = (wxMDIClientWindow *)new wxMDIClientWindow(); |
| 15669 | |
| 15670 | wxPyEndAllowThreads(__tstate); |
| 15671 | if (PyErr_Occurred()) SWIG_fail; |
| 15672 | } |
| 15673 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1); |
| 15674 | return resultobj; |
| 15675 | fail: |
| 15676 | return NULL; |
| 15677 | } |
| 15678 | |
| 15679 | |
| 15680 | static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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) { |
| 15699 | arg3 = (long)SWIG_As_long(obj2); |
| 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 | |
| 15718 | static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 15725 | static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 15726 | PyObject *resultobj; |
| 15727 | wxWindow *arg1 = (wxWindow *) 0 ; |
| 15728 | int arg2 = (int) (int)-1 ; |
| 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 ; |
| 15739 | bool temp6 = false ; |
| 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 | |
| 15750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
| 15751 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
| 15752 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 15753 | if (obj1) { |
| 15754 | arg2 = (int)SWIG_As_int(obj1); |
| 15755 | if (PyErr_Occurred()) SWIG_fail; |
| 15756 | } |
| 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) { |
| 15770 | arg5 = (long)SWIG_As_long(obj4); |
| 15771 | if (PyErr_Occurred()) SWIG_fail; |
| 15772 | } |
| 15773 | if (obj5) { |
| 15774 | { |
| 15775 | arg6 = wxString_in_helper(obj5); |
| 15776 | if (arg6 == NULL) SWIG_fail; |
| 15777 | temp6 = true; |
| 15778 | } |
| 15779 | } |
| 15780 | { |
| 15781 | if (!wxPyCheckForApp()) SWIG_fail; |
| 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); |
| 15786 | if (PyErr_Occurred()) SWIG_fail; |
| 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 | |
| 15803 | static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | { |
| 15812 | if (!wxPyCheckForApp()) SWIG_fail; |
| 15813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 15814 | result = (wxPyWindow *)new wxPyWindow(); |
| 15815 | |
| 15816 | wxPyEndAllowThreads(__tstate); |
| 15817 | if (PyErr_Occurred()) SWIG_fail; |
| 15818 | } |
| 15819 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1); |
| 15820 | return resultobj; |
| 15821 | fail: |
| 15822 | return NULL; |
| 15823 | } |
| 15824 | |
| 15825 | |
| 15826 | static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 15857 | static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 15889 | static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 15908 | arg2 = (int)SWIG_As_int(obj1); |
| 15909 | if (PyErr_Occurred()) SWIG_fail; |
| 15910 | arg3 = (int)SWIG_As_int(obj2); |
| 15911 | if (PyErr_Occurred()) SWIG_fail; |
| 15912 | arg4 = (int)SWIG_As_int(obj3); |
| 15913 | if (PyErr_Occurred()) SWIG_fail; |
| 15914 | arg5 = (int)SWIG_As_int(obj4); |
| 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 | |
| 15930 | static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 15951 | arg2 = (int)SWIG_As_int(obj1); |
| 15952 | if (PyErr_Occurred()) SWIG_fail; |
| 15953 | arg3 = (int)SWIG_As_int(obj2); |
| 15954 | if (PyErr_Occurred()) SWIG_fail; |
| 15955 | arg4 = (int)SWIG_As_int(obj3); |
| 15956 | if (PyErr_Occurred()) SWIG_fail; |
| 15957 | arg5 = (int)SWIG_As_int(obj4); |
| 15958 | if (PyErr_Occurred()) SWIG_fail; |
| 15959 | if (obj5) { |
| 15960 | arg6 = (int)SWIG_As_int(obj5); |
| 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 | |
| 15977 | static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 15992 | arg2 = (int)SWIG_As_int(obj1); |
| 15993 | if (PyErr_Occurred()) SWIG_fail; |
| 15994 | arg3 = (int)SWIG_As_int(obj2); |
| 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 | |
| 16010 | static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 16025 | arg2 = (int)SWIG_As_int(obj1); |
| 16026 | if (PyErr_Occurred()) SWIG_fail; |
| 16027 | arg3 = (int)SWIG_As_int(obj2); |
| 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 | |
| 16043 | static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 16044 | PyObject *resultobj; |
| 16045 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
| 16046 | int *arg2 = (int *) 0 ; |
| 16047 | int *arg3 = (int *) 0 ; |
| 16048 | int temp2 ; |
| 16049 | int res2 = 0 ; |
| 16050 | int temp3 ; |
| 16051 | int res3 = 0 ; |
| 16052 | PyObject * obj0 = 0 ; |
| 16053 | char *kwnames[] = { |
| 16054 | (char *) "self", NULL |
| 16055 | }; |
| 16056 | |
| 16057 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
| 16058 | arg3 = &temp3; res3 = SWIG_NEWOBJ; |
| 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; |
| 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))); |
| 16074 | return resultobj; |
| 16075 | fail: |
| 16076 | return NULL; |
| 16077 | } |
| 16078 | |
| 16079 | |
| 16080 | static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 16081 | PyObject *resultobj; |
| 16082 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
| 16083 | int *arg2 = (int *) 0 ; |
| 16084 | int *arg3 = (int *) 0 ; |
| 16085 | int temp2 ; |
| 16086 | int res2 = 0 ; |
| 16087 | int temp3 ; |
| 16088 | int res3 = 0 ; |
| 16089 | PyObject * obj0 = 0 ; |
| 16090 | char *kwnames[] = { |
| 16091 | (char *) "self", NULL |
| 16092 | }; |
| 16093 | |
| 16094 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
| 16095 | arg3 = &temp3; res3 = SWIG_NEWOBJ; |
| 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; |
| 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))); |
| 16111 | return resultobj; |
| 16112 | fail: |
| 16113 | return NULL; |
| 16114 | } |
| 16115 | |
| 16116 | |
| 16117 | static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
| 16118 | PyObject *resultobj; |
| 16119 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
| 16120 | int *arg2 = (int *) 0 ; |
| 16121 | int *arg3 = (int *) 0 ; |
| 16122 | int temp2 ; |
| 16123 | int res2 = 0 ; |
| 16124 | int temp3 ; |
| 16125 | int res3 = 0 ; |
| 16126 | PyObject * obj0 = 0 ; |
| 16127 | char *kwnames[] = { |
| 16128 | (char *) "self", NULL |
| 16129 | }; |
| 16130 | |
| 16131 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
| 16132 | arg3 = &temp3; res3 = SWIG_NEWOBJ; |
| 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; |
| 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))); |
| 16148 | return resultobj; |
| 16149 | fail: |
| 16150 | return NULL; |
| 16151 | } |
| 16152 | |
| 16153 | |
| 16154 | static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 16184 | static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 16214 | static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 16239 | static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 16267 | static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 16295 | static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 16323 | static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 16351 | static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 16379 | static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 16409 | static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 16438 | static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 16467 | static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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(); |
| 16481 | result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours(); |
| 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 | |
| 16495 | static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 16527 | static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 16557 | static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 16564 | static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) { |
| 16565 | PyObject *resultobj; |
| 16566 | wxWindow *arg1 = (wxWindow *) 0 ; |
| 16567 | int arg2 = (int) (int)-1 ; |
| 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 ; |
| 16578 | bool temp6 = false ; |
| 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 | |
| 16589 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
| 16590 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
| 16591 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 16592 | if (obj1) { |
| 16593 | arg2 = (int)SWIG_As_int(obj1); |
| 16594 | if (PyErr_Occurred()) SWIG_fail; |
| 16595 | } |
| 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) { |
| 16609 | arg5 = (long)SWIG_As_long(obj4); |
| 16610 | if (PyErr_Occurred()) SWIG_fail; |
| 16611 | } |
| 16612 | if (obj5) { |
| 16613 | { |
| 16614 | arg6 = wxString_in_helper(obj5); |
| 16615 | if (arg6 == NULL) SWIG_fail; |
| 16616 | temp6 = true; |
| 16617 | } |
| 16618 | } |
| 16619 | { |
| 16620 | if (!wxPyCheckForApp()) SWIG_fail; |
| 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); |
| 16625 | if (PyErr_Occurred()) SWIG_fail; |
| 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 | |
| 16642 | static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | { |
| 16651 | if (!wxPyCheckForApp()) SWIG_fail; |
| 16652 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 16653 | result = (wxPyPanel *)new wxPyPanel(); |
| 16654 | |
| 16655 | wxPyEndAllowThreads(__tstate); |
| 16656 | if (PyErr_Occurred()) SWIG_fail; |
| 16657 | } |
| 16658 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1); |
| 16659 | return resultobj; |
| 16660 | fail: |
| 16661 | return NULL; |
| 16662 | } |
| 16663 | |
| 16664 | |
| 16665 | static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 16696 | static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 16728 | static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 16747 | arg2 = (int)SWIG_As_int(obj1); |
| 16748 | if (PyErr_Occurred()) SWIG_fail; |
| 16749 | arg3 = (int)SWIG_As_int(obj2); |
| 16750 | if (PyErr_Occurred()) SWIG_fail; |
| 16751 | arg4 = (int)SWIG_As_int(obj3); |
| 16752 | if (PyErr_Occurred()) SWIG_fail; |
| 16753 | arg5 = (int)SWIG_As_int(obj4); |
| 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 | |
| 16769 | static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 16790 | arg2 = (int)SWIG_As_int(obj1); |
| 16791 | if (PyErr_Occurred()) SWIG_fail; |
| 16792 | arg3 = (int)SWIG_As_int(obj2); |
| 16793 | if (PyErr_Occurred()) SWIG_fail; |
| 16794 | arg4 = (int)SWIG_As_int(obj3); |
| 16795 | if (PyErr_Occurred()) SWIG_fail; |
| 16796 | arg5 = (int)SWIG_As_int(obj4); |
| 16797 | if (PyErr_Occurred()) SWIG_fail; |
| 16798 | if (obj5) { |
| 16799 | arg6 = (int)SWIG_As_int(obj5); |
| 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 | |
| 16816 | static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 16831 | arg2 = (int)SWIG_As_int(obj1); |
| 16832 | if (PyErr_Occurred()) SWIG_fail; |
| 16833 | arg3 = (int)SWIG_As_int(obj2); |
| 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 | |
| 16849 | static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 16864 | arg2 = (int)SWIG_As_int(obj1); |
| 16865 | if (PyErr_Occurred()) SWIG_fail; |
| 16866 | arg3 = (int)SWIG_As_int(obj2); |
| 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 | |
| 16882 | static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 16883 | PyObject *resultobj; |
| 16884 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
| 16885 | int *arg2 = (int *) 0 ; |
| 16886 | int *arg3 = (int *) 0 ; |
| 16887 | int temp2 ; |
| 16888 | int res2 = 0 ; |
| 16889 | int temp3 ; |
| 16890 | int res3 = 0 ; |
| 16891 | PyObject * obj0 = 0 ; |
| 16892 | char *kwnames[] = { |
| 16893 | (char *) "self", NULL |
| 16894 | }; |
| 16895 | |
| 16896 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
| 16897 | arg3 = &temp3; res3 = SWIG_NEWOBJ; |
| 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; |
| 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))); |
| 16913 | return resultobj; |
| 16914 | fail: |
| 16915 | return NULL; |
| 16916 | } |
| 16917 | |
| 16918 | |
| 16919 | static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 16920 | PyObject *resultobj; |
| 16921 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
| 16922 | int *arg2 = (int *) 0 ; |
| 16923 | int *arg3 = (int *) 0 ; |
| 16924 | int temp2 ; |
| 16925 | int res2 = 0 ; |
| 16926 | int temp3 ; |
| 16927 | int res3 = 0 ; |
| 16928 | PyObject * obj0 = 0 ; |
| 16929 | char *kwnames[] = { |
| 16930 | (char *) "self", NULL |
| 16931 | }; |
| 16932 | |
| 16933 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
| 16934 | arg3 = &temp3; res3 = SWIG_NEWOBJ; |
| 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; |
| 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))); |
| 16950 | return resultobj; |
| 16951 | fail: |
| 16952 | return NULL; |
| 16953 | } |
| 16954 | |
| 16955 | |
| 16956 | static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
| 16957 | PyObject *resultobj; |
| 16958 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
| 16959 | int *arg2 = (int *) 0 ; |
| 16960 | int *arg3 = (int *) 0 ; |
| 16961 | int temp2 ; |
| 16962 | int res2 = 0 ; |
| 16963 | int temp3 ; |
| 16964 | int res3 = 0 ; |
| 16965 | PyObject * obj0 = 0 ; |
| 16966 | char *kwnames[] = { |
| 16967 | (char *) "self", NULL |
| 16968 | }; |
| 16969 | |
| 16970 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
| 16971 | arg3 = &temp3; res3 = SWIG_NEWOBJ; |
| 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; |
| 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))); |
| 16987 | return resultobj; |
| 16988 | fail: |
| 16989 | return NULL; |
| 16990 | } |
| 16991 | |
| 16992 | |
| 16993 | static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 17023 | static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 17053 | static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 17078 | static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 17106 | static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 17134 | static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 17162 | static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 17190 | static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 17218 | static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 17248 | static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 17277 | static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 17306 | static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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(); |
| 17320 | result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours(); |
| 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 | |
| 17334 | static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 17366 | static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 17396 | static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 17403 | static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 17404 | PyObject *resultobj; |
| 17405 | wxWindow *arg1 = (wxWindow *) 0 ; |
| 17406 | int arg2 = (int) (int)-1 ; |
| 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 ; |
| 17417 | bool temp6 = false ; |
| 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 | |
| 17428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
| 17429 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
| 17430 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 17431 | if (obj1) { |
| 17432 | arg2 = (int)SWIG_As_int(obj1); |
| 17433 | if (PyErr_Occurred()) SWIG_fail; |
| 17434 | } |
| 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) { |
| 17448 | arg5 = (long)SWIG_As_long(obj4); |
| 17449 | if (PyErr_Occurred()) SWIG_fail; |
| 17450 | } |
| 17451 | if (obj5) { |
| 17452 | { |
| 17453 | arg6 = wxString_in_helper(obj5); |
| 17454 | if (arg6 == NULL) SWIG_fail; |
| 17455 | temp6 = true; |
| 17456 | } |
| 17457 | } |
| 17458 | { |
| 17459 | if (!wxPyCheckForApp()) SWIG_fail; |
| 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); |
| 17464 | if (PyErr_Occurred()) SWIG_fail; |
| 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 | |
| 17481 | static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | { |
| 17490 | if (!wxPyCheckForApp()) SWIG_fail; |
| 17491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 17492 | result = (wxPyScrolledWindow *)new wxPyScrolledWindow(); |
| 17493 | |
| 17494 | wxPyEndAllowThreads(__tstate); |
| 17495 | if (PyErr_Occurred()) SWIG_fail; |
| 17496 | } |
| 17497 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1); |
| 17498 | return resultobj; |
| 17499 | fail: |
| 17500 | return NULL; |
| 17501 | } |
| 17502 | |
| 17503 | |
| 17504 | static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 17535 | static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 17567 | static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 17586 | arg2 = (int)SWIG_As_int(obj1); |
| 17587 | if (PyErr_Occurred()) SWIG_fail; |
| 17588 | arg3 = (int)SWIG_As_int(obj2); |
| 17589 | if (PyErr_Occurred()) SWIG_fail; |
| 17590 | arg4 = (int)SWIG_As_int(obj3); |
| 17591 | if (PyErr_Occurred()) SWIG_fail; |
| 17592 | arg5 = (int)SWIG_As_int(obj4); |
| 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 | |
| 17608 | static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 17629 | arg2 = (int)SWIG_As_int(obj1); |
| 17630 | if (PyErr_Occurred()) SWIG_fail; |
| 17631 | arg3 = (int)SWIG_As_int(obj2); |
| 17632 | if (PyErr_Occurred()) SWIG_fail; |
| 17633 | arg4 = (int)SWIG_As_int(obj3); |
| 17634 | if (PyErr_Occurred()) SWIG_fail; |
| 17635 | arg5 = (int)SWIG_As_int(obj4); |
| 17636 | if (PyErr_Occurred()) SWIG_fail; |
| 17637 | if (obj5) { |
| 17638 | arg6 = (int)SWIG_As_int(obj5); |
| 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 | |
| 17655 | static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 17670 | arg2 = (int)SWIG_As_int(obj1); |
| 17671 | if (PyErr_Occurred()) SWIG_fail; |
| 17672 | arg3 = (int)SWIG_As_int(obj2); |
| 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 | |
| 17688 | static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 17703 | arg2 = (int)SWIG_As_int(obj1); |
| 17704 | if (PyErr_Occurred()) SWIG_fail; |
| 17705 | arg3 = (int)SWIG_As_int(obj2); |
| 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 | |
| 17721 | static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 17722 | PyObject *resultobj; |
| 17723 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
| 17724 | int *arg2 = (int *) 0 ; |
| 17725 | int *arg3 = (int *) 0 ; |
| 17726 | int temp2 ; |
| 17727 | int res2 = 0 ; |
| 17728 | int temp3 ; |
| 17729 | int res3 = 0 ; |
| 17730 | PyObject * obj0 = 0 ; |
| 17731 | char *kwnames[] = { |
| 17732 | (char *) "self", NULL |
| 17733 | }; |
| 17734 | |
| 17735 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
| 17736 | arg3 = &temp3; res3 = SWIG_NEWOBJ; |
| 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; |
| 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))); |
| 17752 | return resultobj; |
| 17753 | fail: |
| 17754 | return NULL; |
| 17755 | } |
| 17756 | |
| 17757 | |
| 17758 | static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 17759 | PyObject *resultobj; |
| 17760 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
| 17761 | int *arg2 = (int *) 0 ; |
| 17762 | int *arg3 = (int *) 0 ; |
| 17763 | int temp2 ; |
| 17764 | int res2 = 0 ; |
| 17765 | int temp3 ; |
| 17766 | int res3 = 0 ; |
| 17767 | PyObject * obj0 = 0 ; |
| 17768 | char *kwnames[] = { |
| 17769 | (char *) "self", NULL |
| 17770 | }; |
| 17771 | |
| 17772 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
| 17773 | arg3 = &temp3; res3 = SWIG_NEWOBJ; |
| 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; |
| 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))); |
| 17789 | return resultobj; |
| 17790 | fail: |
| 17791 | return NULL; |
| 17792 | } |
| 17793 | |
| 17794 | |
| 17795 | static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
| 17796 | PyObject *resultobj; |
| 17797 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
| 17798 | int *arg2 = (int *) 0 ; |
| 17799 | int *arg3 = (int *) 0 ; |
| 17800 | int temp2 ; |
| 17801 | int res2 = 0 ; |
| 17802 | int temp3 ; |
| 17803 | int res3 = 0 ; |
| 17804 | PyObject * obj0 = 0 ; |
| 17805 | char *kwnames[] = { |
| 17806 | (char *) "self", NULL |
| 17807 | }; |
| 17808 | |
| 17809 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
| 17810 | arg3 = &temp3; res3 = SWIG_NEWOBJ; |
| 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; |
| 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))); |
| 17826 | return resultobj; |
| 17827 | fail: |
| 17828 | return NULL; |
| 17829 | } |
| 17830 | |
| 17831 | |
| 17832 | static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 17862 | static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 17892 | static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 17917 | static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 17945 | static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 17973 | static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 18001 | static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 18029 | static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 18057 | static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 18087 | static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 18116 | static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 18145 | static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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(); |
| 18159 | result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours(); |
| 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 | |
| 18173 | static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 18205 | static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 18235 | static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 18242 | static int _wrap_PrintoutTitleStr_set(PyObject *) { |
| 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 | |
| 18262 | static int _wrap_PreviewCanvasNameStr_set(PyObject *) { |
| 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 | |
| 18282 | static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) { |
| 18283 | PyObject *resultobj; |
| 18284 | wxPrintData *result; |
| 18285 | |
| 18286 | if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail; |
| 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 | |
| 18301 | static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) { |
| 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 | |
| 18362 | static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 18387 | static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 18406 | resultobj = SWIG_From_int((int)result); |
| 18407 | return resultobj; |
| 18408 | fail: |
| 18409 | return NULL; |
| 18410 | } |
| 18411 | |
| 18412 | |
| 18413 | static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 18441 | static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 18460 | resultobj = SWIG_From_int((int)result); |
| 18461 | return resultobj; |
| 18462 | fail: |
| 18463 | return NULL; |
| 18464 | } |
| 18465 | |
| 18466 | |
| 18467 | static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 18495 | static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 18530 | static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 18558 | static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 18577 | resultobj = SWIG_From_int((int)result); |
| 18578 | return resultobj; |
| 18579 | fail: |
| 18580 | return NULL; |
| 18581 | } |
| 18582 | |
| 18583 | |
| 18584 | static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 18603 | resultobj = SWIG_From_int((int)result); |
| 18604 | return resultobj; |
| 18605 | fail: |
| 18606 | return NULL; |
| 18607 | } |
| 18608 | |
| 18609 | |
| 18610 | static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 18639 | static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 18658 | resultobj = SWIG_From_int((int)result); |
| 18659 | return resultobj; |
| 18660 | fail: |
| 18661 | return NULL; |
| 18662 | } |
| 18663 | |
| 18664 | |
| 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 | |
| 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 | |
| 18717 | static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 18730 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 18746 | static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 18759 | arg2 = (bool)SWIG_As_bool(obj1); |
| 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 | |
| 18775 | static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 18788 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 18804 | static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) { |
| 18805 | PyObject *resultobj; |
| 18806 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
| 18807 | wxString *arg2 = 0 ; |
| 18808 | bool temp2 = false ; |
| 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; |
| 18821 | temp2 = true; |
| 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 | |
| 18845 | static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 18858 | arg2 = (bool)SWIG_As_bool(obj1); |
| 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 | |
| 18874 | static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 18887 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 18903 | static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 18916 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 18932 | static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 18964 | static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 18977 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 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 | |
| 19022 | static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) { |
| 19023 | PyObject *resultobj; |
| 19024 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
| 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; |
| 19055 | PyObject * obj0 = 0 ; |
| 19056 | char *kwnames[] = { |
| 19057 | (char *) "self", NULL |
| 19058 | }; |
| 19059 | |
| 19060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail; |
| 19061 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
| 19062 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 19063 | { |
| 19064 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 19065 | result = ((wxPrintData const *)arg1)->GetFilename(); |
| 19066 | |
| 19067 | wxPyEndAllowThreads(__tstate); |
| 19068 | if (PyErr_Occurred()) SWIG_fail; |
| 19069 | } |
| 19070 | { |
| 19071 | #if wxUSE_UNICODE |
| 19072 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
| 19073 | #else |
| 19074 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
| 19075 | #endif |
| 19076 | } |
| 19077 | return resultobj; |
| 19078 | fail: |
| 19079 | return NULL; |
| 19080 | } |
| 19081 | |
| 19082 | |
| 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) { |
| 19125 | PyObject *resultobj; |
| 19126 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
| 19127 | wxString *result; |
| 19128 | PyObject * obj0 = 0 ; |
| 19129 | char *kwnames[] = { |
| 19130 | (char *) "self", NULL |
| 19131 | }; |
| 19132 | |
| 19133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail; |
| 19134 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
| 19135 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 19136 | { |
| 19137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 19138 | { |
| 19139 | wxString const &_result_ref = (arg1)->GetPrinterCommand(); |
| 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 | |
| 19159 | static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) { |
| 19160 | PyObject *resultobj; |
| 19161 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
| 19162 | wxString *result; |
| 19163 | PyObject * obj0 = 0 ; |
| 19164 | char *kwnames[] = { |
| 19165 | (char *) "self", NULL |
| 19166 | }; |
| 19167 | |
| 19168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail; |
| 19169 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
| 19170 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 19171 | { |
| 19172 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 19173 | { |
| 19174 | wxString const &_result_ref = (arg1)->GetPrinterOptions(); |
| 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 | |
| 19194 | static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
| 19195 | PyObject *resultobj; |
| 19196 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
| 19197 | wxString *result; |
| 19198 | PyObject * obj0 = 0 ; |
| 19199 | char *kwnames[] = { |
| 19200 | (char *) "self", NULL |
| 19201 | }; |
| 19202 | |
| 19203 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail; |
| 19204 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
| 19205 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 19206 | { |
| 19207 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 19208 | { |
| 19209 | wxString const &_result_ref = (arg1)->GetPreviewCommand(); |
| 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 | |
| 19229 | static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 19264 | static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 19283 | resultobj = SWIG_From_double((double)result); |
| 19284 | return resultobj; |
| 19285 | fail: |
| 19286 | return NULL; |
| 19287 | } |
| 19288 | |
| 19289 | |
| 19290 | static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 19309 | resultobj = SWIG_From_double((double)result); |
| 19310 | return resultobj; |
| 19311 | fail: |
| 19312 | return NULL; |
| 19313 | } |
| 19314 | |
| 19315 | |
| 19316 | static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 19335 | resultobj = SWIG_From_long((long)result); |
| 19336 | return resultobj; |
| 19337 | fail: |
| 19338 | return NULL; |
| 19339 | } |
| 19340 | |
| 19341 | |
| 19342 | static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 19361 | resultobj = SWIG_From_long((long)result); |
| 19362 | return resultobj; |
| 19363 | fail: |
| 19364 | return NULL; |
| 19365 | } |
| 19366 | |
| 19367 | |
| 19368 | static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
| 19369 | PyObject *resultobj; |
| 19370 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
| 19371 | wxString *arg2 = 0 ; |
| 19372 | bool temp2 = false ; |
| 19373 | PyObject * obj0 = 0 ; |
| 19374 | PyObject * obj1 = 0 ; |
| 19375 | char *kwnames[] = { |
| 19376 | (char *) "self",(char *) "command", NULL |
| 19377 | }; |
| 19378 | |
| 19379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail; |
| 19380 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
| 19381 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 19382 | { |
| 19383 | arg2 = wxString_in_helper(obj1); |
| 19384 | if (arg2 == NULL) SWIG_fail; |
| 19385 | temp2 = true; |
| 19386 | } |
| 19387 | { |
| 19388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 19389 | (arg1)->SetPrinterCommand((wxString const &)*arg2); |
| 19390 | |
| 19391 | wxPyEndAllowThreads(__tstate); |
| 19392 | if (PyErr_Occurred()) SWIG_fail; |
| 19393 | } |
| 19394 | Py_INCREF(Py_None); resultobj = Py_None; |
| 19395 | { |
| 19396 | if (temp2) |
| 19397 | delete arg2; |
| 19398 | } |
| 19399 | return resultobj; |
| 19400 | fail: |
| 19401 | { |
| 19402 | if (temp2) |
| 19403 | delete arg2; |
| 19404 | } |
| 19405 | return NULL; |
| 19406 | } |
| 19407 | |
| 19408 | |
| 19409 | static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) { |
| 19410 | PyObject *resultobj; |
| 19411 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
| 19412 | wxString *arg2 = 0 ; |
| 19413 | bool temp2 = false ; |
| 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; |
| 19426 | temp2 = true; |
| 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 | |
| 19450 | static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
| 19451 | PyObject *resultobj; |
| 19452 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
| 19453 | wxString *arg2 = 0 ; |
| 19454 | bool temp2 = false ; |
| 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; |
| 19467 | temp2 = true; |
| 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 | |
| 19491 | static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) { |
| 19492 | PyObject *resultobj; |
| 19493 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
| 19494 | wxString *arg2 = 0 ; |
| 19495 | bool temp2 = false ; |
| 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; |
| 19508 | temp2 = true; |
| 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 | |
| 19532 | static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 19545 | arg2 = (double)SWIG_As_double(obj1); |
| 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 | |
| 19561 | static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 19574 | arg2 = (double)SWIG_As_double(obj1); |
| 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 | |
| 19590 | static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 19605 | arg2 = (double)SWIG_As_double(obj1); |
| 19606 | if (PyErr_Occurred()) SWIG_fail; |
| 19607 | arg3 = (double)SWIG_As_double(obj2); |
| 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 | |
| 19623 | static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 19636 | arg2 = (long)SWIG_As_long(obj1); |
| 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 | |
| 19652 | static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 19665 | arg2 = (long)SWIG_As_long(obj1); |
| 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 | |
| 19681 | static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 19696 | arg2 = (long)SWIG_As_long(obj1); |
| 19697 | if (PyErr_Occurred()) SWIG_fail; |
| 19698 | arg3 = (long)SWIG_As_long(obj2); |
| 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 | |
| 19714 | static PyObject * PrintData_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 19721 | static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) { |
| 19722 | PyObject *resultobj; |
| 19723 | wxPageSetupDialogData *result; |
| 19724 | |
| 19725 | if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail; |
| 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 | |
| 19740 | static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) { |
| 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 | |
| 19801 | static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 19826 | static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 19839 | arg2 = (bool)SWIG_As_bool(obj1); |
| 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 | |
| 19855 | static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 19868 | arg2 = (bool)SWIG_As_bool(obj1); |
| 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 | |
| 19884 | static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 19897 | arg2 = (bool)SWIG_As_bool(obj1); |
| 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 | |
| 19913 | static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 19926 | arg2 = (bool)SWIG_As_bool(obj1); |
| 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 | |
| 19942 | static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 19955 | arg2 = (bool)SWIG_As_bool(obj1); |
| 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 | |
| 19971 | static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 19999 | static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 20027 | static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 20055 | static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 20083 | static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 20111 | static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 20139 | static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 20167 | static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 20197 | static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 20227 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 20257 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 20287 | static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | } |
| 20306 | resultobj = SWIG_From_int((int)result); |
| 20307 | return resultobj; |
| 20308 | fail: |
| 20309 | return NULL; |
| 20310 | } |
| 20311 | |
| 20312 | |
| 20313 | static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 20343 | static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 20372 | static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 20400 | static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 20413 | arg2 = (bool)SWIG_As_bool(obj1); |
| 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 | |
| 20429 | static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 20442 | arg2 = (bool)SWIG_As_bool(obj1); |
| 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 | |
| 20458 | static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 20490 | static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 20522 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 20554 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 20586 | static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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; |
| 20599 | arg2 = (int)SWIG_As_int(obj1); |
| 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 | |
| 20615 | static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 20647 | static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 20681 | static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) { |
| 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 | } |
| 20688 | static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | { |
| 20707 | if (!wxPyCheckForApp()) SWIG_fail; |
| 20708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 20709 | result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2); |
| 20710 | |
| 20711 | wxPyEndAllowThreads(__tstate); |
| 20712 | if (PyErr_Occurred()) SWIG_fail; |
| 20713 | } |
| 20714 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1); |
| 20715 | return resultobj; |
| 20716 | fail: |
| 20717 | return NULL; |
| 20718 | } |
| 20719 | |
| 20720 | |
| 20721 | static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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 | |
| 20750 | static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { |
| 20751 | PyObject *resultobj; |
| 20752 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; |
| 20753 | int result; |
| 20754 | PyObject * obj0 = 0 ; |
| 20755 | char *kwnames[] = { |
| 20756 | (char *) "self", NULL |
| 20757 | }; |
| 20758 | |
| 20759 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",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 | result = (int)(arg1)->ShowModal(); |
| 20765 | |
| 20766 | wxPyEndAllowThreads(__tstate); |
| 20767 | if (PyErr_Occurred()) SWIG_fail; |
| 20768 | } |
| 20769 | resultobj = SWIG_From_int((int)result); |
| 20770 | return resultobj; |
| 20771 | fail: |
| 20772 | return NULL; |
| 20773 | } |
| 20774 | |
| 20775 | |
| 20776 | static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) { |
| 20777 | PyObject *obj; |
| 20778 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 20779 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj); |
| 20780 | Py_INCREF(obj); |
| 20781 | return Py_BuildValue((char *)""); |
| 20782 | } |
| 20783 | static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) { |
| 20784 | PyObject *resultobj; |
| 20785 | wxPrintDialogData *result; |
| 20786 | |
| 20787 | if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail; |
| 20788 | { |
| 20789 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 20790 | result = (wxPrintDialogData *)new wxPrintDialogData(); |
| 20791 | |
| 20792 | wxPyEndAllowThreads(__tstate); |
| 20793 | if (PyErr_Occurred()) SWIG_fail; |
| 20794 | } |
| 20795 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); |
| 20796 | return resultobj; |
| 20797 | fail: |
| 20798 | return NULL; |
| 20799 | } |
| 20800 | |
| 20801 | |
| 20802 | static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) { |
| 20803 | PyObject *resultobj; |
| 20804 | wxPrintData *arg1 = 0 ; |
| 20805 | wxPrintDialogData *result; |
| 20806 | PyObject * obj0 = 0 ; |
| 20807 | |
| 20808 | if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail; |
| 20809 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
| 20810 | SWIG_POINTER_EXCEPTION | 0)) == -1) |
| 20811 | SWIG_fail; |
| 20812 | if (arg1 == NULL) { |
| 20813 | PyErr_SetString(PyExc_TypeError,"null reference"); |
| 20814 | SWIG_fail; |
| 20815 | } |
| 20816 | { |
| 20817 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 20818 | result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1); |
| 20819 | |
| 20820 | wxPyEndAllowThreads(__tstate); |
| 20821 | if (PyErr_Occurred()) SWIG_fail; |
| 20822 | } |
| 20823 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); |
| 20824 | return resultobj; |
| 20825 | fail: |
| 20826 | return NULL; |
| 20827 | } |
| 20828 | |
| 20829 | |
| 20830 | static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) { |
| 20831 | int argc; |
| 20832 | PyObject *argv[2]; |
| 20833 | int ii; |
| 20834 | |
| 20835 | argc = PyObject_Length(args); |
| 20836 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { |
| 20837 | argv[ii] = PyTuple_GetItem(args,ii); |
| 20838 | } |
| 20839 | if (argc == 0) { |
| 20840 | return _wrap_new_PrintDialogData__SWIG_0(self,args); |
| 20841 | } |
| 20842 | if (argc == 1) { |
| 20843 | int _v; |
| 20844 | { |
| 20845 | void *ptr; |
| 20846 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { |
| 20847 | _v = 0; |
| 20848 | PyErr_Clear(); |
| 20849 | } else { |
| 20850 | _v = 1; |
| 20851 | } |
| 20852 | } |
| 20853 | if (_v) { |
| 20854 | return _wrap_new_PrintDialogData__SWIG_1(self,args); |
| 20855 | } |
| 20856 | } |
| 20857 | |
| 20858 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'"); |
| 20859 | return NULL; |
| 20860 | } |
| 20861 | |
| 20862 | |
| 20863 | static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
| 20864 | PyObject *resultobj; |
| 20865 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
| 20866 | PyObject * obj0 = 0 ; |
| 20867 | char *kwnames[] = { |
| 20868 | (char *) "self", NULL |
| 20869 | }; |
| 20870 | |
| 20871 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail; |
| 20872 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
| 20873 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 20874 | { |
| 20875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 20876 | delete arg1; |
| 20877 | |
| 20878 | wxPyEndAllowThreads(__tstate); |
| 20879 | if (PyErr_Occurred()) SWIG_fail; |
| 20880 | } |
| 20881 | Py_INCREF(Py_None); resultobj = Py_None; |
| 20882 | return resultobj; |
| 20883 | fail: |
| 20884 | return NULL; |
| 20885 | } |
| 20886 | |
| 20887 | |
| 20888 | static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) { |
| 20889 | PyObject *resultobj; |
| 20890 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
| 20891 | int result; |
| 20892 | PyObject * obj0 = 0 ; |
| 20893 | char *kwnames[] = { |
| 20894 | (char *) "self", NULL |
| 20895 | }; |
| 20896 | |
| 20897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail; |
| 20898 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
| 20899 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 20900 | { |
| 20901 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 20902 | result = (int)((wxPrintDialogData const *)arg1)->GetFromPage(); |
| 20903 | |
| 20904 | wxPyEndAllowThreads(__tstate); |
| 20905 | if (PyErr_Occurred()) SWIG_fail; |
| 20906 | } |
| 20907 | resultobj = SWIG_From_int((int)result); |
| 20908 | return resultobj; |
| 20909 | fail: |
| 20910 | return NULL; |
| 20911 | } |
| 20912 | |
| 20913 | |
| 20914 | static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) { |
| 20915 | PyObject *resultobj; |
| 20916 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
| 20917 | int result; |
| 20918 | PyObject * obj0 = 0 ; |
| 20919 | char *kwnames[] = { |
| 20920 | (char *) "self", NULL |
| 20921 | }; |
| 20922 | |
| 20923 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail; |
| 20924 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
| 20925 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 20926 | { |
| 20927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 20928 | result = (int)((wxPrintDialogData const *)arg1)->GetToPage(); |
| 20929 | |
| 20930 | wxPyEndAllowThreads(__tstate); |
| 20931 | if (PyErr_Occurred()) SWIG_fail; |
| 20932 | } |
| 20933 | resultobj = SWIG_From_int((int)result); |
| 20934 | return resultobj; |
| 20935 | fail: |
| 20936 | return NULL; |
| 20937 | } |
| 20938 | |
| 20939 | |
| 20940 | static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { |
| 20941 | PyObject *resultobj; |
| 20942 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
| 20943 | int result; |
| 20944 | PyObject * obj0 = 0 ; |
| 20945 | char *kwnames[] = { |
| 20946 | (char *) "self", NULL |
| 20947 | }; |
| 20948 | |
| 20949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail; |
| 20950 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
| 20951 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 20952 | { |
| 20953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 20954 | result = (int)((wxPrintDialogData const *)arg1)->GetMinPage(); |
| 20955 | |
| 20956 | wxPyEndAllowThreads(__tstate); |
| 20957 | if (PyErr_Occurred()) SWIG_fail; |
| 20958 | } |
| 20959 | resultobj = SWIG_From_int((int)result); |
| 20960 | return resultobj; |
| 20961 | fail: |
| 20962 | return NULL; |
| 20963 | } |
| 20964 | |
| 20965 | |
| 20966 | static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { |
| 20967 | PyObject *resultobj; |
| 20968 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
| 20969 | int result; |
| 20970 | PyObject * obj0 = 0 ; |
| 20971 | char *kwnames[] = { |
| 20972 | (char *) "self", NULL |
| 20973 | }; |
| 20974 | |
| 20975 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail; |
| 20976 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
| 20977 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 20978 | { |
| 20979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 20980 | result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage(); |
| 20981 | |
| 20982 | wxPyEndAllowThreads(__tstate); |
| 20983 | if (PyErr_Occurred()) SWIG_fail; |
| 20984 | } |
| 20985 | resultobj = SWIG_From_int((int)result); |
| 20986 | return resultobj; |
| 20987 | fail: |
| 20988 | return NULL; |
| 20989 | } |
| 20990 | |
| 20991 | |
| 20992 | static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
| 20993 | PyObject *resultobj; |
| 20994 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
| 20995 | int result; |
| 20996 | PyObject * obj0 = 0 ; |
| 20997 | char *kwnames[] = { |
| 20998 | (char *) "self", NULL |
| 20999 | }; |
| 21000 | |
| 21001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail; |
| 21002 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
| 21003 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21004 | { |
| 21005 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 21006 | result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies(); |
| 21007 | |
| 21008 | wxPyEndAllowThreads(__tstate); |
| 21009 | if (PyErr_Occurred()) SWIG_fail; |
| 21010 | } |
| 21011 | resultobj = SWIG_From_int((int)result); |
| 21012 | return resultobj; |
| 21013 | fail: |
| 21014 | return NULL; |
| 21015 | } |
| 21016 | |
| 21017 | |
| 21018 | static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) { |
| 21019 | PyObject *resultobj; |
| 21020 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
| 21021 | bool result; |
| 21022 | PyObject * obj0 = 0 ; |
| 21023 | char *kwnames[] = { |
| 21024 | (char *) "self", NULL |
| 21025 | }; |
| 21026 | |
| 21027 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail; |
| 21028 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
| 21029 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21030 | { |
| 21031 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 21032 | result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages(); |
| 21033 | |
| 21034 | wxPyEndAllowThreads(__tstate); |
| 21035 | if (PyErr_Occurred()) SWIG_fail; |
| 21036 | } |
| 21037 | { |
| 21038 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
| 21039 | } |
| 21040 | return resultobj; |
| 21041 | fail: |
| 21042 | return NULL; |
| 21043 | } |
| 21044 | |
| 21045 | |
| 21046 | static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
| 21047 | PyObject *resultobj; |
| 21048 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
| 21049 | bool result; |
| 21050 | PyObject * obj0 = 0 ; |
| 21051 | char *kwnames[] = { |
| 21052 | (char *) "self", NULL |
| 21053 | }; |
| 21054 | |
| 21055 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail; |
| 21056 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
| 21057 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21058 | { |
| 21059 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 21060 | result = (bool)((wxPrintDialogData const *)arg1)->GetSelection(); |
| 21061 | |
| 21062 | wxPyEndAllowThreads(__tstate); |
| 21063 | if (PyErr_Occurred()) SWIG_fail; |
| 21064 | } |
| 21065 | { |
| 21066 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
| 21067 | } |
| 21068 | return resultobj; |
| 21069 | fail: |
| 21070 | return NULL; |
| 21071 | } |
| 21072 | |
| 21073 | |
| 21074 | static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
| 21075 | PyObject *resultobj; |
| 21076 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
| 21077 | bool result; |
| 21078 | PyObject * obj0 = 0 ; |
| 21079 | char *kwnames[] = { |
| 21080 | (char *) "self", NULL |
| 21081 | }; |
| 21082 | |
| 21083 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail; |
| 21084 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
| 21085 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21086 | { |
| 21087 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 21088 | result = (bool)((wxPrintDialogData const *)arg1)->GetCollate(); |
| 21089 | |
| 21090 | wxPyEndAllowThreads(__tstate); |
| 21091 | if (PyErr_Occurred()) SWIG_fail; |
| 21092 | } |
| 21093 | { |
| 21094 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
| 21095 | } |
| 21096 | return resultobj; |
| 21097 | fail: |
| 21098 | return NULL; |
| 21099 | } |
| 21100 | |
| 21101 | |
| 21102 | static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
| 21103 | PyObject *resultobj; |
| 21104 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
| 21105 | bool result; |
| 21106 | PyObject * obj0 = 0 ; |
| 21107 | char *kwnames[] = { |
| 21108 | (char *) "self", NULL |
| 21109 | }; |
| 21110 | |
| 21111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail; |
| 21112 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
| 21113 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21114 | { |
| 21115 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 21116 | result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile(); |
| 21117 | |
| 21118 | wxPyEndAllowThreads(__tstate); |
| 21119 | if (PyErr_Occurred()) SWIG_fail; |
| 21120 | } |
| 21121 | { |
| 21122 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
| 21123 | } |
| 21124 | return resultobj; |
| 21125 | fail: |
| 21126 | return NULL; |
| 21127 | } |
| 21128 | |
| 21129 | |
| 21130 | static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
| 21131 | PyObject *resultobj; |
| 21132 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
| 21133 | bool result; |
| 21134 | PyObject * obj0 = 0 ; |
| 21135 | char *kwnames[] = { |
| 21136 | (char *) "self", NULL |
| 21137 | }; |
| 21138 | |
| 21139 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail; |
| 21140 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
| 21141 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21142 | { |
| 21143 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 21144 | result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog(); |
| 21145 | |
| 21146 | wxPyEndAllowThreads(__tstate); |
| 21147 | if (PyErr_Occurred()) SWIG_fail; |
| 21148 | } |
| 21149 | { |
| 21150 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
| 21151 | } |
| 21152 | return resultobj; |
| 21153 | fail: |
| 21154 | return NULL; |
| 21155 | } |
| 21156 | |
| 21157 | |
| 21158 | static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
| 21159 | PyObject *resultobj; |
| 21160 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
| 21161 | bool arg2 ; |
| 21162 | PyObject * obj0 = 0 ; |
| 21163 | PyObject * obj1 = 0 ; |
| 21164 | char *kwnames[] = { |
| 21165 | (char *) "self",(char *) "flag", NULL |
| 21166 | }; |
| 21167 | |
| 21168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail; |
| 21169 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
| 21170 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21171 | arg2 = (bool)SWIG_As_bool(obj1); |
| 21172 | if (PyErr_Occurred()) SWIG_fail; |
| 21173 | { |
| 21174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 21175 | (arg1)->SetSetupDialog(arg2); |
| 21176 | |
| 21177 | wxPyEndAllowThreads(__tstate); |
| 21178 | if (PyErr_Occurred()) SWIG_fail; |
| 21179 | } |
| 21180 | Py_INCREF(Py_None); resultobj = Py_None; |
| 21181 | return resultobj; |
| 21182 | fail: |
| 21183 | return NULL; |
| 21184 | } |
| 21185 | |
| 21186 | |
| 21187 | static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) { |
| 21188 | PyObject *resultobj; |
| 21189 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
| 21190 | int arg2 ; |
| 21191 | PyObject * obj0 = 0 ; |
| 21192 | PyObject * obj1 = 0 ; |
| 21193 | char *kwnames[] = { |
| 21194 | (char *) "self",(char *) "v", NULL |
| 21195 | }; |
| 21196 | |
| 21197 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",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 = (int)SWIG_As_int(obj1); |
| 21201 | if (PyErr_Occurred()) SWIG_fail; |
| 21202 | { |
| 21203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 21204 | (arg1)->SetFromPage(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 | |
| 21216 | static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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_SetToPage",kwnames,&obj0,&obj1)) goto fail; |
| 21227 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
| 21228 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21229 | arg2 = (int)SWIG_As_int(obj1); |
| 21230 | if (PyErr_Occurred()) SWIG_fail; |
| 21231 | { |
| 21232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 21233 | (arg1)->SetToPage(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 | |
| 21245 | static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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_SetMinPage",kwnames,&obj0,&obj1)) goto fail; |
| 21256 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
| 21257 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21258 | arg2 = (int)SWIG_As_int(obj1); |
| 21259 | if (PyErr_Occurred()) SWIG_fail; |
| 21260 | { |
| 21261 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 21262 | (arg1)->SetMinPage(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 | |
| 21274 | static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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_SetMaxPage",kwnames,&obj0,&obj1)) goto fail; |
| 21285 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
| 21286 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21287 | arg2 = (int)SWIG_As_int(obj1); |
| 21288 | if (PyErr_Occurred()) SWIG_fail; |
| 21289 | { |
| 21290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 21291 | (arg1)->SetMaxPage(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 | |
| 21303 | static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; |
| 21314 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
| 21315 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21316 | arg2 = (int)SWIG_As_int(obj1); |
| 21317 | if (PyErr_Occurred()) SWIG_fail; |
| 21318 | { |
| 21319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 21320 | (arg1)->SetNoCopies(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 | |
| 21332 | static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) { |
| 21333 | PyObject *resultobj; |
| 21334 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
| 21335 | bool arg2 ; |
| 21336 | PyObject * obj0 = 0 ; |
| 21337 | PyObject * obj1 = 0 ; |
| 21338 | char *kwnames[] = { |
| 21339 | (char *) "self",(char *) "flag", NULL |
| 21340 | }; |
| 21341 | |
| 21342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail; |
| 21343 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
| 21344 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21345 | arg2 = (bool)SWIG_As_bool(obj1); |
| 21346 | if (PyErr_Occurred()) SWIG_fail; |
| 21347 | { |
| 21348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 21349 | (arg1)->SetAllPages(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 | |
| 21361 | static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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_SetSelection",kwnames,&obj0,&obj1)) goto fail; |
| 21372 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
| 21373 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21374 | arg2 = (bool)SWIG_As_bool(obj1); |
| 21375 | if (PyErr_Occurred()) SWIG_fail; |
| 21376 | { |
| 21377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 21378 | (arg1)->SetSelection(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 | |
| 21390 | static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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_SetCollate",kwnames,&obj0,&obj1)) goto fail; |
| 21401 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
| 21402 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21403 | arg2 = (bool)SWIG_As_bool(obj1); |
| 21404 | if (PyErr_Occurred()) SWIG_fail; |
| 21405 | { |
| 21406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 21407 | (arg1)->SetCollate(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 | |
| 21419 | static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail; |
| 21430 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
| 21431 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21432 | arg2 = (bool)SWIG_As_bool(obj1); |
| 21433 | if (PyErr_Occurred()) SWIG_fail; |
| 21434 | { |
| 21435 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 21436 | (arg1)->SetPrintToFile(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 | |
| 21448 | static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail; |
| 21459 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
| 21460 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21461 | arg2 = (bool)SWIG_As_bool(obj1); |
| 21462 | if (PyErr_Occurred()) SWIG_fail; |
| 21463 | { |
| 21464 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 21465 | (arg1)->EnablePrintToFile(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 | |
| 21477 | static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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_EnableSelection",kwnames,&obj0,&obj1)) goto fail; |
| 21488 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
| 21489 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21490 | arg2 = (bool)SWIG_As_bool(obj1); |
| 21491 | if (PyErr_Occurred()) SWIG_fail; |
| 21492 | { |
| 21493 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 21494 | (arg1)->EnableSelection(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 | |
| 21506 | static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail; |
| 21517 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
| 21518 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21519 | arg2 = (bool)SWIG_As_bool(obj1); |
| 21520 | if (PyErr_Occurred()) SWIG_fail; |
| 21521 | { |
| 21522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 21523 | (arg1)->EnablePageNumbers(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 | |
| 21535 | static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
| 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_EnableHelp",kwnames,&obj0,&obj1)) goto fail; |
| 21546 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
| 21547 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21548 | arg2 = (bool)SWIG_As_bool(obj1); |
| 21549 | if (PyErr_Occurred()) SWIG_fail; |
| 21550 | { |
| 21551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 21552 | (arg1)->EnableHelp(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 | |
| 21564 | static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
| 21565 | PyObject *resultobj; |
| 21566 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
| 21567 | bool result; |
| 21568 | PyObject * obj0 = 0 ; |
| 21569 | char *kwnames[] = { |
| 21570 | (char *) "self", NULL |
| 21571 | }; |
| 21572 | |
| 21573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail; |
| 21574 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
| 21575 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21576 | { |
| 21577 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 21578 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile(); |
| 21579 | |
| 21580 | wxPyEndAllowThreads(__tstate); |
| 21581 | if (PyErr_Occurred()) SWIG_fail; |
| 21582 | } |
| 21583 | { |
| 21584 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
| 21585 | } |
| 21586 | return resultobj; |
| 21587 | fail: |
| 21588 | return NULL; |
| 21589 | } |
| 21590 | |
| 21591 | |
| 21592 | static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
| 21593 | PyObject *resultobj; |
| 21594 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
| 21595 | bool result; |
| 21596 | PyObject * obj0 = 0 ; |
| 21597 | char *kwnames[] = { |
| 21598 | (char *) "self", NULL |
| 21599 | }; |
| 21600 | |
| 21601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail; |
| 21602 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
| 21603 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21604 | { |
| 21605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 21606 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection(); |
| 21607 | |
| 21608 | wxPyEndAllowThreads(__tstate); |
| 21609 | if (PyErr_Occurred()) SWIG_fail; |
| 21610 | } |
| 21611 | { |
| 21612 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
| 21613 | } |
| 21614 | return resultobj; |
| 21615 | fail: |
| 21616 | return NULL; |
| 21617 | } |
| 21618 | |
| 21619 | |
| 21620 | static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) { |
| 21621 | PyObject *resultobj; |
| 21622 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
| 21623 | bool result; |
| 21624 | PyObject * obj0 = 0 ; |
| 21625 | char *kwnames[] = { |
| 21626 | (char *) "self", NULL |
| 21627 | }; |
| 21628 | |
| 21629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail; |
| 21630 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
| 21631 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21632 | { |
| 21633 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 21634 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers(); |
| 21635 | |
| 21636 | wxPyEndAllowThreads(__tstate); |
| 21637 | if (PyErr_Occurred()) SWIG_fail; |
| 21638 | } |
| 21639 | { |
| 21640 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
| 21641 | } |
| 21642 | return resultobj; |
| 21643 | fail: |
| 21644 | return NULL; |
| 21645 | } |
| 21646 | |
| 21647 | |
| 21648 | static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
| 21649 | PyObject *resultobj; |
| 21650 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
| 21651 | bool result; |
| 21652 | PyObject * obj0 = 0 ; |
| 21653 | char *kwnames[] = { |
| 21654 | (char *) "self", NULL |
| 21655 | }; |
| 21656 | |
| 21657 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; |
| 21658 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
| 21659 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21660 | { |
| 21661 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 21662 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp(); |
| 21663 | |
| 21664 | wxPyEndAllowThreads(__tstate); |
| 21665 | if (PyErr_Occurred()) SWIG_fail; |
| 21666 | } |
| 21667 | { |
| 21668 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
| 21669 | } |
| 21670 | return resultobj; |
| 21671 | fail: |
| 21672 | return NULL; |
| 21673 | } |
| 21674 | |
| 21675 | |
| 21676 | static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
| 21677 | PyObject *resultobj; |
| 21678 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
| 21679 | bool result; |
| 21680 | PyObject * obj0 = 0 ; |
| 21681 | char *kwnames[] = { |
| 21682 | (char *) "self", NULL |
| 21683 | }; |
| 21684 | |
| 21685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail; |
| 21686 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
| 21687 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21688 | { |
| 21689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 21690 | result = (bool)((wxPrintDialogData const *)arg1)->Ok(); |
| 21691 | |
| 21692 | wxPyEndAllowThreads(__tstate); |
| 21693 | if (PyErr_Occurred()) SWIG_fail; |
| 21694 | } |
| 21695 | { |
| 21696 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
| 21697 | } |
| 21698 | return resultobj; |
| 21699 | fail: |
| 21700 | return NULL; |
| 21701 | } |
| 21702 | |
| 21703 | |
| 21704 | static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
| 21705 | PyObject *resultobj; |
| 21706 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
| 21707 | wxPrintData *result; |
| 21708 | PyObject * obj0 = 0 ; |
| 21709 | char *kwnames[] = { |
| 21710 | (char *) "self", NULL |
| 21711 | }; |
| 21712 | |
| 21713 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail; |
| 21714 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
| 21715 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21716 | { |
| 21717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 21718 | { |
| 21719 | wxPrintData &_result_ref = (arg1)->GetPrintData(); |
| 21720 | result = (wxPrintData *) &_result_ref; |
| 21721 | } |
| 21722 | |
| 21723 | wxPyEndAllowThreads(__tstate); |
| 21724 | if (PyErr_Occurred()) SWIG_fail; |
| 21725 | } |
| 21726 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
| 21727 | return resultobj; |
| 21728 | fail: |
| 21729 | return NULL; |
| 21730 | } |
| 21731 | |
| 21732 | |
| 21733 | static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
| 21734 | PyObject *resultobj; |
| 21735 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
| 21736 | wxPrintData *arg2 = 0 ; |
| 21737 | PyObject * obj0 = 0 ; |
| 21738 | PyObject * obj1 = 0 ; |
| 21739 | char *kwnames[] = { |
| 21740 | (char *) "self",(char *) "printData", NULL |
| 21741 | }; |
| 21742 | |
| 21743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; |
| 21744 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
| 21745 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21746 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData, |
| 21747 | SWIG_POINTER_EXCEPTION | 0)) == -1) |
| 21748 | SWIG_fail; |
| 21749 | if (arg2 == NULL) { |
| 21750 | PyErr_SetString(PyExc_TypeError,"null reference"); |
| 21751 | SWIG_fail; |
| 21752 | } |
| 21753 | { |
| 21754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 21755 | (arg1)->SetPrintData((wxPrintData const &)*arg2); |
| 21756 | |
| 21757 | wxPyEndAllowThreads(__tstate); |
| 21758 | if (PyErr_Occurred()) SWIG_fail; |
| 21759 | } |
| 21760 | Py_INCREF(Py_None); resultobj = Py_None; |
| 21761 | return resultobj; |
| 21762 | fail: |
| 21763 | return NULL; |
| 21764 | } |
| 21765 | |
| 21766 | |
| 21767 | static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) { |
| 21768 | PyObject *obj; |
| 21769 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 21770 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj); |
| 21771 | Py_INCREF(obj); |
| 21772 | return Py_BuildValue((char *)""); |
| 21773 | } |
| 21774 | static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
| 21775 | PyObject *resultobj; |
| 21776 | wxWindow *arg1 = (wxWindow *) 0 ; |
| 21777 | wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ; |
| 21778 | wxPrintDialog *result; |
| 21779 | PyObject * obj0 = 0 ; |
| 21780 | PyObject * obj1 = 0 ; |
| 21781 | char *kwnames[] = { |
| 21782 | (char *) "parent",(char *) "data", NULL |
| 21783 | }; |
| 21784 | |
| 21785 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail; |
| 21786 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
| 21787 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21788 | if (obj1) { |
| 21789 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData, |
| 21790 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21791 | } |
| 21792 | { |
| 21793 | if (!wxPyCheckForApp()) SWIG_fail; |
| 21794 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 21795 | result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2); |
| 21796 | |
| 21797 | wxPyEndAllowThreads(__tstate); |
| 21798 | if (PyErr_Occurred()) SWIG_fail; |
| 21799 | } |
| 21800 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1); |
| 21801 | return resultobj; |
| 21802 | fail: |
| 21803 | return NULL; |
| 21804 | } |
| 21805 | |
| 21806 | |
| 21807 | static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { |
| 21808 | PyObject *resultobj; |
| 21809 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; |
| 21810 | int result; |
| 21811 | PyObject * obj0 = 0 ; |
| 21812 | char *kwnames[] = { |
| 21813 | (char *) "self", NULL |
| 21814 | }; |
| 21815 | |
| 21816 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail; |
| 21817 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, |
| 21818 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21819 | { |
| 21820 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 21821 | result = (int)(arg1)->ShowModal(); |
| 21822 | |
| 21823 | wxPyEndAllowThreads(__tstate); |
| 21824 | if (PyErr_Occurred()) SWIG_fail; |
| 21825 | } |
| 21826 | resultobj = SWIG_From_int((int)result); |
| 21827 | return resultobj; |
| 21828 | fail: |
| 21829 | return NULL; |
| 21830 | } |
| 21831 | |
| 21832 | |
| 21833 | static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
| 21834 | PyObject *resultobj; |
| 21835 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; |
| 21836 | wxPrintDialogData *result; |
| 21837 | PyObject * obj0 = 0 ; |
| 21838 | char *kwnames[] = { |
| 21839 | (char *) "self", NULL |
| 21840 | }; |
| 21841 | |
| 21842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail; |
| 21843 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, |
| 21844 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21845 | { |
| 21846 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 21847 | { |
| 21848 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); |
| 21849 | result = (wxPrintDialogData *) &_result_ref; |
| 21850 | } |
| 21851 | |
| 21852 | wxPyEndAllowThreads(__tstate); |
| 21853 | if (PyErr_Occurred()) SWIG_fail; |
| 21854 | } |
| 21855 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
| 21856 | return resultobj; |
| 21857 | fail: |
| 21858 | return NULL; |
| 21859 | } |
| 21860 | |
| 21861 | |
| 21862 | static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
| 21863 | PyObject *resultobj; |
| 21864 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; |
| 21865 | wxPrintData *result; |
| 21866 | PyObject * obj0 = 0 ; |
| 21867 | char *kwnames[] = { |
| 21868 | (char *) "self", NULL |
| 21869 | }; |
| 21870 | |
| 21871 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",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 | wxPrintData &_result_ref = (arg1)->GetPrintData(); |
| 21878 | result = (wxPrintData *) &_result_ref; |
| 21879 | } |
| 21880 | |
| 21881 | wxPyEndAllowThreads(__tstate); |
| 21882 | if (PyErr_Occurred()) SWIG_fail; |
| 21883 | } |
| 21884 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
| 21885 | return resultobj; |
| 21886 | fail: |
| 21887 | return NULL; |
| 21888 | } |
| 21889 | |
| 21890 | |
| 21891 | static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) { |
| 21892 | PyObject *resultobj; |
| 21893 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; |
| 21894 | wxDC *result; |
| 21895 | PyObject * obj0 = 0 ; |
| 21896 | char *kwnames[] = { |
| 21897 | (char *) "self", NULL |
| 21898 | }; |
| 21899 | |
| 21900 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail; |
| 21901 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, |
| 21902 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21903 | { |
| 21904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 21905 | result = (wxDC *)(arg1)->GetPrintDC(); |
| 21906 | |
| 21907 | wxPyEndAllowThreads(__tstate); |
| 21908 | if (PyErr_Occurred()) SWIG_fail; |
| 21909 | } |
| 21910 | { |
| 21911 | resultobj = wxPyMake_wxObject(result, 1); |
| 21912 | } |
| 21913 | return resultobj; |
| 21914 | fail: |
| 21915 | return NULL; |
| 21916 | } |
| 21917 | |
| 21918 | |
| 21919 | static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) { |
| 21920 | PyObject *obj; |
| 21921 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 21922 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj); |
| 21923 | Py_INCREF(obj); |
| 21924 | return Py_BuildValue((char *)""); |
| 21925 | } |
| 21926 | static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) { |
| 21927 | PyObject *resultobj; |
| 21928 | wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ; |
| 21929 | wxPrinter *result; |
| 21930 | PyObject * obj0 = 0 ; |
| 21931 | char *kwnames[] = { |
| 21932 | (char *) "data", NULL |
| 21933 | }; |
| 21934 | |
| 21935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail; |
| 21936 | if (obj0) { |
| 21937 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
| 21938 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21939 | } |
| 21940 | { |
| 21941 | if (!wxPyCheckForApp()) SWIG_fail; |
| 21942 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 21943 | result = (wxPrinter *)new wxPrinter(arg1); |
| 21944 | |
| 21945 | wxPyEndAllowThreads(__tstate); |
| 21946 | if (PyErr_Occurred()) SWIG_fail; |
| 21947 | } |
| 21948 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1); |
| 21949 | return resultobj; |
| 21950 | fail: |
| 21951 | return NULL; |
| 21952 | } |
| 21953 | |
| 21954 | |
| 21955 | static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) { |
| 21956 | PyObject *resultobj; |
| 21957 | wxPrinter *arg1 = (wxPrinter *) 0 ; |
| 21958 | PyObject * obj0 = 0 ; |
| 21959 | char *kwnames[] = { |
| 21960 | (char *) "self", NULL |
| 21961 | }; |
| 21962 | |
| 21963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail; |
| 21964 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
| 21965 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21966 | { |
| 21967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 21968 | delete arg1; |
| 21969 | |
| 21970 | wxPyEndAllowThreads(__tstate); |
| 21971 | if (PyErr_Occurred()) SWIG_fail; |
| 21972 | } |
| 21973 | Py_INCREF(Py_None); resultobj = Py_None; |
| 21974 | return resultobj; |
| 21975 | fail: |
| 21976 | return NULL; |
| 21977 | } |
| 21978 | |
| 21979 | |
| 21980 | static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
| 21981 | PyObject *resultobj; |
| 21982 | wxPrinter *arg1 = (wxPrinter *) 0 ; |
| 21983 | wxWindow *arg2 = (wxWindow *) 0 ; |
| 21984 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; |
| 21985 | wxWindow *result; |
| 21986 | PyObject * obj0 = 0 ; |
| 21987 | PyObject * obj1 = 0 ; |
| 21988 | PyObject * obj2 = 0 ; |
| 21989 | char *kwnames[] = { |
| 21990 | (char *) "self",(char *) "parent",(char *) "printout", NULL |
| 21991 | }; |
| 21992 | |
| 21993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 21994 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
| 21995 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21996 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
| 21997 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 21998 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, |
| 21999 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22000 | { |
| 22001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 22002 | result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3); |
| 22003 | |
| 22004 | wxPyEndAllowThreads(__tstate); |
| 22005 | if (PyErr_Occurred()) SWIG_fail; |
| 22006 | } |
| 22007 | { |
| 22008 | resultobj = wxPyMake_wxObject(result, 0); |
| 22009 | } |
| 22010 | return resultobj; |
| 22011 | fail: |
| 22012 | return NULL; |
| 22013 | } |
| 22014 | |
| 22015 | |
| 22016 | static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) { |
| 22017 | PyObject *resultobj; |
| 22018 | wxPrinter *arg1 = (wxPrinter *) 0 ; |
| 22019 | wxWindow *arg2 = (wxWindow *) 0 ; |
| 22020 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; |
| 22021 | wxString *arg4 = 0 ; |
| 22022 | bool temp4 = false ; |
| 22023 | PyObject * obj0 = 0 ; |
| 22024 | PyObject * obj1 = 0 ; |
| 22025 | PyObject * obj2 = 0 ; |
| 22026 | PyObject * obj3 = 0 ; |
| 22027 | char *kwnames[] = { |
| 22028 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL |
| 22029 | }; |
| 22030 | |
| 22031 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
| 22032 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
| 22033 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22034 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
| 22035 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22036 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, |
| 22037 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22038 | { |
| 22039 | arg4 = wxString_in_helper(obj3); |
| 22040 | if (arg4 == NULL) SWIG_fail; |
| 22041 | temp4 = true; |
| 22042 | } |
| 22043 | { |
| 22044 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 22045 | (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4); |
| 22046 | |
| 22047 | wxPyEndAllowThreads(__tstate); |
| 22048 | if (PyErr_Occurred()) SWIG_fail; |
| 22049 | } |
| 22050 | Py_INCREF(Py_None); resultobj = Py_None; |
| 22051 | { |
| 22052 | if (temp4) |
| 22053 | delete arg4; |
| 22054 | } |
| 22055 | return resultobj; |
| 22056 | fail: |
| 22057 | { |
| 22058 | if (temp4) |
| 22059 | delete arg4; |
| 22060 | } |
| 22061 | return NULL; |
| 22062 | } |
| 22063 | |
| 22064 | |
| 22065 | static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) { |
| 22066 | PyObject *resultobj; |
| 22067 | wxPrinter *arg1 = (wxPrinter *) 0 ; |
| 22068 | wxWindow *arg2 = (wxWindow *) 0 ; |
| 22069 | bool result; |
| 22070 | PyObject * obj0 = 0 ; |
| 22071 | PyObject * obj1 = 0 ; |
| 22072 | char *kwnames[] = { |
| 22073 | (char *) "self",(char *) "parent", NULL |
| 22074 | }; |
| 22075 | |
| 22076 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail; |
| 22077 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
| 22078 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22079 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
| 22080 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22081 | { |
| 22082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 22083 | result = (bool)(arg1)->Setup(arg2); |
| 22084 | |
| 22085 | wxPyEndAllowThreads(__tstate); |
| 22086 | if (PyErr_Occurred()) SWIG_fail; |
| 22087 | } |
| 22088 | { |
| 22089 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
| 22090 | } |
| 22091 | return resultobj; |
| 22092 | fail: |
| 22093 | return NULL; |
| 22094 | } |
| 22095 | |
| 22096 | |
| 22097 | static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) { |
| 22098 | PyObject *resultobj; |
| 22099 | wxPrinter *arg1 = (wxPrinter *) 0 ; |
| 22100 | wxWindow *arg2 = (wxWindow *) 0 ; |
| 22101 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; |
| 22102 | bool arg4 = (bool) true ; |
| 22103 | bool result; |
| 22104 | PyObject * obj0 = 0 ; |
| 22105 | PyObject * obj1 = 0 ; |
| 22106 | PyObject * obj2 = 0 ; |
| 22107 | PyObject * obj3 = 0 ; |
| 22108 | char *kwnames[] = { |
| 22109 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL |
| 22110 | }; |
| 22111 | |
| 22112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
| 22113 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
| 22114 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22115 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
| 22116 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22117 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, |
| 22118 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22119 | if (obj3) { |
| 22120 | arg4 = (bool)SWIG_As_bool(obj3); |
| 22121 | if (PyErr_Occurred()) SWIG_fail; |
| 22122 | } |
| 22123 | { |
| 22124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 22125 | result = (bool)(arg1)->Print(arg2,arg3,arg4); |
| 22126 | |
| 22127 | wxPyEndAllowThreads(__tstate); |
| 22128 | if (PyErr_Occurred()) SWIG_fail; |
| 22129 | } |
| 22130 | { |
| 22131 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
| 22132 | } |
| 22133 | return resultobj; |
| 22134 | fail: |
| 22135 | return NULL; |
| 22136 | } |
| 22137 | |
| 22138 | |
| 22139 | static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
| 22140 | PyObject *resultobj; |
| 22141 | wxPrinter *arg1 = (wxPrinter *) 0 ; |
| 22142 | wxWindow *arg2 = (wxWindow *) 0 ; |
| 22143 | wxDC *result; |
| 22144 | PyObject * obj0 = 0 ; |
| 22145 | PyObject * obj1 = 0 ; |
| 22146 | char *kwnames[] = { |
| 22147 | (char *) "self",(char *) "parent", NULL |
| 22148 | }; |
| 22149 | |
| 22150 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail; |
| 22151 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
| 22152 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22153 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
| 22154 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22155 | { |
| 22156 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 22157 | result = (wxDC *)(arg1)->PrintDialog(arg2); |
| 22158 | |
| 22159 | wxPyEndAllowThreads(__tstate); |
| 22160 | if (PyErr_Occurred()) SWIG_fail; |
| 22161 | } |
| 22162 | { |
| 22163 | resultobj = wxPyMake_wxObject(result, 0); |
| 22164 | } |
| 22165 | return resultobj; |
| 22166 | fail: |
| 22167 | return NULL; |
| 22168 | } |
| 22169 | |
| 22170 | |
| 22171 | static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
| 22172 | PyObject *resultobj; |
| 22173 | wxPrinter *arg1 = (wxPrinter *) 0 ; |
| 22174 | wxPrintDialogData *result; |
| 22175 | PyObject * obj0 = 0 ; |
| 22176 | char *kwnames[] = { |
| 22177 | (char *) "self", NULL |
| 22178 | }; |
| 22179 | |
| 22180 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail; |
| 22181 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
| 22182 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22183 | { |
| 22184 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 22185 | { |
| 22186 | wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData(); |
| 22187 | result = (wxPrintDialogData *) &_result_ref; |
| 22188 | } |
| 22189 | |
| 22190 | wxPyEndAllowThreads(__tstate); |
| 22191 | if (PyErr_Occurred()) SWIG_fail; |
| 22192 | } |
| 22193 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
| 22194 | return resultobj; |
| 22195 | fail: |
| 22196 | return NULL; |
| 22197 | } |
| 22198 | |
| 22199 | |
| 22200 | static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) { |
| 22201 | PyObject *resultobj; |
| 22202 | wxPrinter *arg1 = (wxPrinter *) 0 ; |
| 22203 | bool result; |
| 22204 | PyObject * obj0 = 0 ; |
| 22205 | char *kwnames[] = { |
| 22206 | (char *) "self", NULL |
| 22207 | }; |
| 22208 | |
| 22209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",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 | result = (bool)(arg1)->GetAbort(); |
| 22215 | |
| 22216 | wxPyEndAllowThreads(__tstate); |
| 22217 | if (PyErr_Occurred()) SWIG_fail; |
| 22218 | } |
| 22219 | { |
| 22220 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
| 22221 | } |
| 22222 | return resultobj; |
| 22223 | fail: |
| 22224 | return NULL; |
| 22225 | } |
| 22226 | |
| 22227 | |
| 22228 | static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) { |
| 22229 | PyObject *resultobj; |
| 22230 | int result; |
| 22231 | char *kwnames[] = { |
| 22232 | NULL |
| 22233 | }; |
| 22234 | |
| 22235 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail; |
| 22236 | { |
| 22237 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 22238 | result = (int)wxPrinter::GetLastError(); |
| 22239 | |
| 22240 | wxPyEndAllowThreads(__tstate); |
| 22241 | if (PyErr_Occurred()) SWIG_fail; |
| 22242 | } |
| 22243 | resultobj = SWIG_From_int((int)result); |
| 22244 | return resultobj; |
| 22245 | fail: |
| 22246 | return NULL; |
| 22247 | } |
| 22248 | |
| 22249 | |
| 22250 | static PyObject * Printer_swigregister(PyObject *, PyObject *args) { |
| 22251 | PyObject *obj; |
| 22252 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 22253 | SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj); |
| 22254 | Py_INCREF(obj); |
| 22255 | return Py_BuildValue((char *)""); |
| 22256 | } |
| 22257 | static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) { |
| 22258 | PyObject *resultobj; |
| 22259 | wxString const &arg1_defvalue = wxPyPrintoutTitleStr ; |
| 22260 | wxString *arg1 = (wxString *) &arg1_defvalue ; |
| 22261 | wxPyPrintout *result; |
| 22262 | bool temp1 = false ; |
| 22263 | PyObject * obj0 = 0 ; |
| 22264 | char *kwnames[] = { |
| 22265 | (char *) "title", NULL |
| 22266 | }; |
| 22267 | |
| 22268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail; |
| 22269 | if (obj0) { |
| 22270 | { |
| 22271 | arg1 = wxString_in_helper(obj0); |
| 22272 | if (arg1 == NULL) SWIG_fail; |
| 22273 | temp1 = true; |
| 22274 | } |
| 22275 | } |
| 22276 | { |
| 22277 | if (!wxPyCheckForApp()) SWIG_fail; |
| 22278 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 22279 | result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1); |
| 22280 | |
| 22281 | wxPyEndAllowThreads(__tstate); |
| 22282 | if (PyErr_Occurred()) SWIG_fail; |
| 22283 | } |
| 22284 | { |
| 22285 | resultobj = wxPyMake_wxObject(result, 1); |
| 22286 | } |
| 22287 | { |
| 22288 | if (temp1) |
| 22289 | delete arg1; |
| 22290 | } |
| 22291 | return resultobj; |
| 22292 | fail: |
| 22293 | { |
| 22294 | if (temp1) |
| 22295 | delete arg1; |
| 22296 | } |
| 22297 | return NULL; |
| 22298 | } |
| 22299 | |
| 22300 | |
| 22301 | static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
| 22302 | PyObject *resultobj; |
| 22303 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
| 22304 | PyObject *arg2 = (PyObject *) 0 ; |
| 22305 | PyObject *arg3 = (PyObject *) 0 ; |
| 22306 | PyObject * obj0 = 0 ; |
| 22307 | PyObject * obj1 = 0 ; |
| 22308 | PyObject * obj2 = 0 ; |
| 22309 | char *kwnames[] = { |
| 22310 | (char *) "self",(char *) "self",(char *) "_class", NULL |
| 22311 | }; |
| 22312 | |
| 22313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 22314 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
| 22315 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22316 | arg2 = obj1; |
| 22317 | arg3 = obj2; |
| 22318 | { |
| 22319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 22320 | (arg1)->_setCallbackInfo(arg2,arg3); |
| 22321 | |
| 22322 | wxPyEndAllowThreads(__tstate); |
| 22323 | if (PyErr_Occurred()) SWIG_fail; |
| 22324 | } |
| 22325 | Py_INCREF(Py_None); resultobj = Py_None; |
| 22326 | return resultobj; |
| 22327 | fail: |
| 22328 | return NULL; |
| 22329 | } |
| 22330 | |
| 22331 | |
| 22332 | static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
| 22333 | PyObject *resultobj; |
| 22334 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
| 22335 | wxString result; |
| 22336 | PyObject * obj0 = 0 ; |
| 22337 | char *kwnames[] = { |
| 22338 | (char *) "self", NULL |
| 22339 | }; |
| 22340 | |
| 22341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail; |
| 22342 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
| 22343 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22344 | { |
| 22345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 22346 | result = ((wxPyPrintout const *)arg1)->GetTitle(); |
| 22347 | |
| 22348 | wxPyEndAllowThreads(__tstate); |
| 22349 | if (PyErr_Occurred()) SWIG_fail; |
| 22350 | } |
| 22351 | { |
| 22352 | #if wxUSE_UNICODE |
| 22353 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
| 22354 | #else |
| 22355 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
| 22356 | #endif |
| 22357 | } |
| 22358 | return resultobj; |
| 22359 | fail: |
| 22360 | return NULL; |
| 22361 | } |
| 22362 | |
| 22363 | |
| 22364 | static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) { |
| 22365 | PyObject *resultobj; |
| 22366 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
| 22367 | wxDC *result; |
| 22368 | PyObject * obj0 = 0 ; |
| 22369 | char *kwnames[] = { |
| 22370 | (char *) "self", NULL |
| 22371 | }; |
| 22372 | |
| 22373 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail; |
| 22374 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
| 22375 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22376 | { |
| 22377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 22378 | result = (wxDC *)(arg1)->GetDC(); |
| 22379 | |
| 22380 | wxPyEndAllowThreads(__tstate); |
| 22381 | if (PyErr_Occurred()) SWIG_fail; |
| 22382 | } |
| 22383 | { |
| 22384 | resultobj = wxPyMake_wxObject(result, 0); |
| 22385 | } |
| 22386 | return resultobj; |
| 22387 | fail: |
| 22388 | return NULL; |
| 22389 | } |
| 22390 | |
| 22391 | |
| 22392 | static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) { |
| 22393 | PyObject *resultobj; |
| 22394 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
| 22395 | wxDC *arg2 = (wxDC *) 0 ; |
| 22396 | PyObject * obj0 = 0 ; |
| 22397 | PyObject * obj1 = 0 ; |
| 22398 | char *kwnames[] = { |
| 22399 | (char *) "self",(char *) "dc", NULL |
| 22400 | }; |
| 22401 | |
| 22402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail; |
| 22403 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
| 22404 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22405 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, |
| 22406 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22407 | { |
| 22408 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 22409 | (arg1)->SetDC(arg2); |
| 22410 | |
| 22411 | wxPyEndAllowThreads(__tstate); |
| 22412 | if (PyErr_Occurred()) SWIG_fail; |
| 22413 | } |
| 22414 | Py_INCREF(Py_None); resultobj = Py_None; |
| 22415 | return resultobj; |
| 22416 | fail: |
| 22417 | return NULL; |
| 22418 | } |
| 22419 | |
| 22420 | |
| 22421 | static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) { |
| 22422 | PyObject *resultobj; |
| 22423 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
| 22424 | int arg2 ; |
| 22425 | int arg3 ; |
| 22426 | PyObject * obj0 = 0 ; |
| 22427 | PyObject * obj1 = 0 ; |
| 22428 | PyObject * obj2 = 0 ; |
| 22429 | char *kwnames[] = { |
| 22430 | (char *) "self",(char *) "w",(char *) "h", NULL |
| 22431 | }; |
| 22432 | |
| 22433 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 22434 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
| 22435 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22436 | arg2 = (int)SWIG_As_int(obj1); |
| 22437 | if (PyErr_Occurred()) SWIG_fail; |
| 22438 | arg3 = (int)SWIG_As_int(obj2); |
| 22439 | if (PyErr_Occurred()) SWIG_fail; |
| 22440 | { |
| 22441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 22442 | (arg1)->SetPageSizePixels(arg2,arg3); |
| 22443 | |
| 22444 | wxPyEndAllowThreads(__tstate); |
| 22445 | if (PyErr_Occurred()) SWIG_fail; |
| 22446 | } |
| 22447 | Py_INCREF(Py_None); resultobj = Py_None; |
| 22448 | return resultobj; |
| 22449 | fail: |
| 22450 | return NULL; |
| 22451 | } |
| 22452 | |
| 22453 | |
| 22454 | static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) { |
| 22455 | PyObject *resultobj; |
| 22456 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
| 22457 | int *arg2 = (int *) 0 ; |
| 22458 | int *arg3 = (int *) 0 ; |
| 22459 | int temp2 ; |
| 22460 | int res2 = 0 ; |
| 22461 | int temp3 ; |
| 22462 | int res3 = 0 ; |
| 22463 | PyObject * obj0 = 0 ; |
| 22464 | char *kwnames[] = { |
| 22465 | (char *) "self", NULL |
| 22466 | }; |
| 22467 | |
| 22468 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
| 22469 | arg3 = &temp3; res3 = SWIG_NEWOBJ; |
| 22470 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail; |
| 22471 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
| 22472 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22473 | { |
| 22474 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 22475 | (arg1)->GetPageSizePixels(arg2,arg3); |
| 22476 | |
| 22477 | wxPyEndAllowThreads(__tstate); |
| 22478 | if (PyErr_Occurred()) SWIG_fail; |
| 22479 | } |
| 22480 | Py_INCREF(Py_None); resultobj = Py_None; |
| 22481 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
| 22482 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); |
| 22483 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? |
| 22484 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); |
| 22485 | return resultobj; |
| 22486 | fail: |
| 22487 | return NULL; |
| 22488 | } |
| 22489 | |
| 22490 | |
| 22491 | static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) { |
| 22492 | PyObject *resultobj; |
| 22493 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
| 22494 | int arg2 ; |
| 22495 | int arg3 ; |
| 22496 | PyObject * obj0 = 0 ; |
| 22497 | PyObject * obj1 = 0 ; |
| 22498 | PyObject * obj2 = 0 ; |
| 22499 | char *kwnames[] = { |
| 22500 | (char *) "self",(char *) "w",(char *) "h", NULL |
| 22501 | }; |
| 22502 | |
| 22503 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 22504 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
| 22505 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22506 | arg2 = (int)SWIG_As_int(obj1); |
| 22507 | if (PyErr_Occurred()) SWIG_fail; |
| 22508 | arg3 = (int)SWIG_As_int(obj2); |
| 22509 | if (PyErr_Occurred()) SWIG_fail; |
| 22510 | { |
| 22511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 22512 | (arg1)->SetPageSizeMM(arg2,arg3); |
| 22513 | |
| 22514 | wxPyEndAllowThreads(__tstate); |
| 22515 | if (PyErr_Occurred()) SWIG_fail; |
| 22516 | } |
| 22517 | Py_INCREF(Py_None); resultobj = Py_None; |
| 22518 | return resultobj; |
| 22519 | fail: |
| 22520 | return NULL; |
| 22521 | } |
| 22522 | |
| 22523 | |
| 22524 | static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) { |
| 22525 | PyObject *resultobj; |
| 22526 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
| 22527 | int *arg2 = (int *) 0 ; |
| 22528 | int *arg3 = (int *) 0 ; |
| 22529 | int temp2 ; |
| 22530 | int res2 = 0 ; |
| 22531 | int temp3 ; |
| 22532 | int res3 = 0 ; |
| 22533 | PyObject * obj0 = 0 ; |
| 22534 | char *kwnames[] = { |
| 22535 | (char *) "self", NULL |
| 22536 | }; |
| 22537 | |
| 22538 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
| 22539 | arg3 = &temp3; res3 = SWIG_NEWOBJ; |
| 22540 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail; |
| 22541 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
| 22542 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22543 | { |
| 22544 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 22545 | (arg1)->GetPageSizeMM(arg2,arg3); |
| 22546 | |
| 22547 | wxPyEndAllowThreads(__tstate); |
| 22548 | if (PyErr_Occurred()) SWIG_fail; |
| 22549 | } |
| 22550 | Py_INCREF(Py_None); resultobj = Py_None; |
| 22551 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
| 22552 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); |
| 22553 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? |
| 22554 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); |
| 22555 | return resultobj; |
| 22556 | fail: |
| 22557 | return NULL; |
| 22558 | } |
| 22559 | |
| 22560 | |
| 22561 | static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
| 22562 | PyObject *resultobj; |
| 22563 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
| 22564 | int arg2 ; |
| 22565 | int arg3 ; |
| 22566 | PyObject * obj0 = 0 ; |
| 22567 | PyObject * obj1 = 0 ; |
| 22568 | PyObject * obj2 = 0 ; |
| 22569 | char *kwnames[] = { |
| 22570 | (char *) "self",(char *) "x",(char *) "y", NULL |
| 22571 | }; |
| 22572 | |
| 22573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 22574 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
| 22575 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22576 | arg2 = (int)SWIG_As_int(obj1); |
| 22577 | if (PyErr_Occurred()) SWIG_fail; |
| 22578 | arg3 = (int)SWIG_As_int(obj2); |
| 22579 | if (PyErr_Occurred()) SWIG_fail; |
| 22580 | { |
| 22581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 22582 | (arg1)->SetPPIScreen(arg2,arg3); |
| 22583 | |
| 22584 | wxPyEndAllowThreads(__tstate); |
| 22585 | if (PyErr_Occurred()) SWIG_fail; |
| 22586 | } |
| 22587 | Py_INCREF(Py_None); resultobj = Py_None; |
| 22588 | return resultobj; |
| 22589 | fail: |
| 22590 | return NULL; |
| 22591 | } |
| 22592 | |
| 22593 | |
| 22594 | static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
| 22595 | PyObject *resultobj; |
| 22596 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
| 22597 | int *arg2 = (int *) 0 ; |
| 22598 | int *arg3 = (int *) 0 ; |
| 22599 | int temp2 ; |
| 22600 | int res2 = 0 ; |
| 22601 | int temp3 ; |
| 22602 | int res3 = 0 ; |
| 22603 | PyObject * obj0 = 0 ; |
| 22604 | char *kwnames[] = { |
| 22605 | (char *) "self", NULL |
| 22606 | }; |
| 22607 | |
| 22608 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
| 22609 | arg3 = &temp3; res3 = SWIG_NEWOBJ; |
| 22610 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail; |
| 22611 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
| 22612 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22613 | { |
| 22614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 22615 | (arg1)->GetPPIScreen(arg2,arg3); |
| 22616 | |
| 22617 | wxPyEndAllowThreads(__tstate); |
| 22618 | if (PyErr_Occurred()) SWIG_fail; |
| 22619 | } |
| 22620 | Py_INCREF(Py_None); resultobj = Py_None; |
| 22621 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
| 22622 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); |
| 22623 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? |
| 22624 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); |
| 22625 | return resultobj; |
| 22626 | fail: |
| 22627 | return NULL; |
| 22628 | } |
| 22629 | |
| 22630 | |
| 22631 | static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
| 22632 | PyObject *resultobj; |
| 22633 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
| 22634 | int arg2 ; |
| 22635 | int arg3 ; |
| 22636 | PyObject * obj0 = 0 ; |
| 22637 | PyObject * obj1 = 0 ; |
| 22638 | PyObject * obj2 = 0 ; |
| 22639 | char *kwnames[] = { |
| 22640 | (char *) "self",(char *) "x",(char *) "y", NULL |
| 22641 | }; |
| 22642 | |
| 22643 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 22644 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
| 22645 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22646 | arg2 = (int)SWIG_As_int(obj1); |
| 22647 | if (PyErr_Occurred()) SWIG_fail; |
| 22648 | arg3 = (int)SWIG_As_int(obj2); |
| 22649 | if (PyErr_Occurred()) SWIG_fail; |
| 22650 | { |
| 22651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 22652 | (arg1)->SetPPIPrinter(arg2,arg3); |
| 22653 | |
| 22654 | wxPyEndAllowThreads(__tstate); |
| 22655 | if (PyErr_Occurred()) SWIG_fail; |
| 22656 | } |
| 22657 | Py_INCREF(Py_None); resultobj = Py_None; |
| 22658 | return resultobj; |
| 22659 | fail: |
| 22660 | return NULL; |
| 22661 | } |
| 22662 | |
| 22663 | |
| 22664 | static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
| 22665 | PyObject *resultobj; |
| 22666 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
| 22667 | int *arg2 = (int *) 0 ; |
| 22668 | int *arg3 = (int *) 0 ; |
| 22669 | int temp2 ; |
| 22670 | int res2 = 0 ; |
| 22671 | int temp3 ; |
| 22672 | int res3 = 0 ; |
| 22673 | PyObject * obj0 = 0 ; |
| 22674 | char *kwnames[] = { |
| 22675 | (char *) "self", NULL |
| 22676 | }; |
| 22677 | |
| 22678 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
| 22679 | arg3 = &temp3; res3 = SWIG_NEWOBJ; |
| 22680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail; |
| 22681 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
| 22682 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22683 | { |
| 22684 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 22685 | (arg1)->GetPPIPrinter(arg2,arg3); |
| 22686 | |
| 22687 | wxPyEndAllowThreads(__tstate); |
| 22688 | if (PyErr_Occurred()) SWIG_fail; |
| 22689 | } |
| 22690 | Py_INCREF(Py_None); resultobj = Py_None; |
| 22691 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
| 22692 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); |
| 22693 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? |
| 22694 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); |
| 22695 | return resultobj; |
| 22696 | fail: |
| 22697 | return NULL; |
| 22698 | } |
| 22699 | |
| 22700 | |
| 22701 | static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
| 22702 | PyObject *resultobj; |
| 22703 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
| 22704 | bool result; |
| 22705 | PyObject * obj0 = 0 ; |
| 22706 | char *kwnames[] = { |
| 22707 | (char *) "self", NULL |
| 22708 | }; |
| 22709 | |
| 22710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail; |
| 22711 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
| 22712 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22713 | { |
| 22714 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 22715 | result = (bool)(arg1)->IsPreview(); |
| 22716 | |
| 22717 | wxPyEndAllowThreads(__tstate); |
| 22718 | if (PyErr_Occurred()) SWIG_fail; |
| 22719 | } |
| 22720 | { |
| 22721 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
| 22722 | } |
| 22723 | return resultobj; |
| 22724 | fail: |
| 22725 | return NULL; |
| 22726 | } |
| 22727 | |
| 22728 | |
| 22729 | static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
| 22730 | PyObject *resultobj; |
| 22731 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
| 22732 | bool arg2 ; |
| 22733 | PyObject * obj0 = 0 ; |
| 22734 | PyObject * obj1 = 0 ; |
| 22735 | char *kwnames[] = { |
| 22736 | (char *) "self",(char *) "p", NULL |
| 22737 | }; |
| 22738 | |
| 22739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail; |
| 22740 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
| 22741 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22742 | arg2 = (bool)SWIG_As_bool(obj1); |
| 22743 | if (PyErr_Occurred()) SWIG_fail; |
| 22744 | { |
| 22745 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 22746 | (arg1)->SetIsPreview(arg2); |
| 22747 | |
| 22748 | wxPyEndAllowThreads(__tstate); |
| 22749 | if (PyErr_Occurred()) SWIG_fail; |
| 22750 | } |
| 22751 | Py_INCREF(Py_None); resultobj = Py_None; |
| 22752 | return resultobj; |
| 22753 | fail: |
| 22754 | return NULL; |
| 22755 | } |
| 22756 | |
| 22757 | |
| 22758 | static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
| 22759 | PyObject *resultobj; |
| 22760 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
| 22761 | int arg2 ; |
| 22762 | int arg3 ; |
| 22763 | bool result; |
| 22764 | PyObject * obj0 = 0 ; |
| 22765 | PyObject * obj1 = 0 ; |
| 22766 | PyObject * obj2 = 0 ; |
| 22767 | char *kwnames[] = { |
| 22768 | (char *) "self",(char *) "startPage",(char *) "endPage", NULL |
| 22769 | }; |
| 22770 | |
| 22771 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 22772 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
| 22773 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22774 | arg2 = (int)SWIG_As_int(obj1); |
| 22775 | if (PyErr_Occurred()) SWIG_fail; |
| 22776 | arg3 = (int)SWIG_As_int(obj2); |
| 22777 | if (PyErr_Occurred()) SWIG_fail; |
| 22778 | { |
| 22779 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 22780 | result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3); |
| 22781 | |
| 22782 | wxPyEndAllowThreads(__tstate); |
| 22783 | if (PyErr_Occurred()) SWIG_fail; |
| 22784 | } |
| 22785 | { |
| 22786 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
| 22787 | } |
| 22788 | return resultobj; |
| 22789 | fail: |
| 22790 | return NULL; |
| 22791 | } |
| 22792 | |
| 22793 | |
| 22794 | static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
| 22795 | PyObject *resultobj; |
| 22796 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
| 22797 | PyObject * obj0 = 0 ; |
| 22798 | char *kwnames[] = { |
| 22799 | (char *) "self", NULL |
| 22800 | }; |
| 22801 | |
| 22802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail; |
| 22803 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
| 22804 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22805 | { |
| 22806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 22807 | (arg1)->base_OnEndDocument(); |
| 22808 | |
| 22809 | wxPyEndAllowThreads(__tstate); |
| 22810 | if (PyErr_Occurred()) SWIG_fail; |
| 22811 | } |
| 22812 | Py_INCREF(Py_None); resultobj = Py_None; |
| 22813 | return resultobj; |
| 22814 | fail: |
| 22815 | return NULL; |
| 22816 | } |
| 22817 | |
| 22818 | |
| 22819 | static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
| 22820 | PyObject *resultobj; |
| 22821 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
| 22822 | PyObject * obj0 = 0 ; |
| 22823 | char *kwnames[] = { |
| 22824 | (char *) "self", NULL |
| 22825 | }; |
| 22826 | |
| 22827 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail; |
| 22828 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
| 22829 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22830 | { |
| 22831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 22832 | (arg1)->base_OnBeginPrinting(); |
| 22833 | |
| 22834 | wxPyEndAllowThreads(__tstate); |
| 22835 | if (PyErr_Occurred()) SWIG_fail; |
| 22836 | } |
| 22837 | Py_INCREF(Py_None); resultobj = Py_None; |
| 22838 | return resultobj; |
| 22839 | fail: |
| 22840 | return NULL; |
| 22841 | } |
| 22842 | |
| 22843 | |
| 22844 | static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
| 22845 | PyObject *resultobj; |
| 22846 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
| 22847 | PyObject * obj0 = 0 ; |
| 22848 | char *kwnames[] = { |
| 22849 | (char *) "self", NULL |
| 22850 | }; |
| 22851 | |
| 22852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail; |
| 22853 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
| 22854 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22855 | { |
| 22856 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 22857 | (arg1)->base_OnEndPrinting(); |
| 22858 | |
| 22859 | wxPyEndAllowThreads(__tstate); |
| 22860 | if (PyErr_Occurred()) SWIG_fail; |
| 22861 | } |
| 22862 | Py_INCREF(Py_None); resultobj = Py_None; |
| 22863 | return resultobj; |
| 22864 | fail: |
| 22865 | return NULL; |
| 22866 | } |
| 22867 | |
| 22868 | |
| 22869 | static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
| 22870 | PyObject *resultobj; |
| 22871 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
| 22872 | PyObject * obj0 = 0 ; |
| 22873 | char *kwnames[] = { |
| 22874 | (char *) "self", NULL |
| 22875 | }; |
| 22876 | |
| 22877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail; |
| 22878 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
| 22879 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22880 | { |
| 22881 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 22882 | (arg1)->base_OnPreparePrinting(); |
| 22883 | |
| 22884 | wxPyEndAllowThreads(__tstate); |
| 22885 | if (PyErr_Occurred()) SWIG_fail; |
| 22886 | } |
| 22887 | Py_INCREF(Py_None); resultobj = Py_None; |
| 22888 | return resultobj; |
| 22889 | fail: |
| 22890 | return NULL; |
| 22891 | } |
| 22892 | |
| 22893 | |
| 22894 | static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) { |
| 22895 | PyObject *resultobj; |
| 22896 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
| 22897 | int arg2 ; |
| 22898 | bool result; |
| 22899 | PyObject * obj0 = 0 ; |
| 22900 | PyObject * obj1 = 0 ; |
| 22901 | char *kwnames[] = { |
| 22902 | (char *) "self",(char *) "page", NULL |
| 22903 | }; |
| 22904 | |
| 22905 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail; |
| 22906 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
| 22907 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22908 | arg2 = (int)SWIG_As_int(obj1); |
| 22909 | if (PyErr_Occurred()) SWIG_fail; |
| 22910 | { |
| 22911 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 22912 | result = (bool)(arg1)->base_HasPage(arg2); |
| 22913 | |
| 22914 | wxPyEndAllowThreads(__tstate); |
| 22915 | if (PyErr_Occurred()) SWIG_fail; |
| 22916 | } |
| 22917 | { |
| 22918 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
| 22919 | } |
| 22920 | return resultobj; |
| 22921 | fail: |
| 22922 | return NULL; |
| 22923 | } |
| 22924 | |
| 22925 | |
| 22926 | static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
| 22927 | PyObject *resultobj; |
| 22928 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
| 22929 | int *arg2 = (int *) 0 ; |
| 22930 | int *arg3 = (int *) 0 ; |
| 22931 | int *arg4 = (int *) 0 ; |
| 22932 | int *arg5 = (int *) 0 ; |
| 22933 | int temp2 ; |
| 22934 | int res2 = 0 ; |
| 22935 | int temp3 ; |
| 22936 | int res3 = 0 ; |
| 22937 | int temp4 ; |
| 22938 | int res4 = 0 ; |
| 22939 | int temp5 ; |
| 22940 | int res5 = 0 ; |
| 22941 | PyObject * obj0 = 0 ; |
| 22942 | char *kwnames[] = { |
| 22943 | (char *) "self", NULL |
| 22944 | }; |
| 22945 | |
| 22946 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
| 22947 | arg3 = &temp3; res3 = SWIG_NEWOBJ; |
| 22948 | arg4 = &temp4; res4 = SWIG_NEWOBJ; |
| 22949 | arg5 = &temp5; res5 = SWIG_NEWOBJ; |
| 22950 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail; |
| 22951 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
| 22952 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 22953 | { |
| 22954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 22955 | (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5); |
| 22956 | |
| 22957 | wxPyEndAllowThreads(__tstate); |
| 22958 | if (PyErr_Occurred()) SWIG_fail; |
| 22959 | } |
| 22960 | Py_INCREF(Py_None); resultobj = Py_None; |
| 22961 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
| 22962 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); |
| 22963 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? |
| 22964 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); |
| 22965 | resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ? |
| 22966 | SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0))); |
| 22967 | resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ? |
| 22968 | SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0))); |
| 22969 | return resultobj; |
| 22970 | fail: |
| 22971 | return NULL; |
| 22972 | } |
| 22973 | |
| 22974 | |
| 22975 | static PyObject * Printout_swigregister(PyObject *, PyObject *args) { |
| 22976 | PyObject *obj; |
| 22977 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 22978 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj); |
| 22979 | Py_INCREF(obj); |
| 22980 | return Py_BuildValue((char *)""); |
| 22981 | } |
| 22982 | static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
| 22983 | PyObject *resultobj; |
| 22984 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
| 22985 | wxWindow *arg2 = (wxWindow *) 0 ; |
| 22986 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
| 22987 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; |
| 22988 | wxSize const &arg4_defvalue = wxDefaultSize ; |
| 22989 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; |
| 22990 | long arg5 = (long) 0 ; |
| 22991 | wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ; |
| 22992 | wxString *arg6 = (wxString *) &arg6_defvalue ; |
| 22993 | wxPreviewCanvas *result; |
| 22994 | wxPoint temp3 ; |
| 22995 | wxSize temp4 ; |
| 22996 | bool temp6 = false ; |
| 22997 | PyObject * obj0 = 0 ; |
| 22998 | PyObject * obj1 = 0 ; |
| 22999 | PyObject * obj2 = 0 ; |
| 23000 | PyObject * obj3 = 0 ; |
| 23001 | PyObject * obj4 = 0 ; |
| 23002 | PyObject * obj5 = 0 ; |
| 23003 | char *kwnames[] = { |
| 23004 | (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
| 23005 | }; |
| 23006 | |
| 23007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
| 23008 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
| 23009 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23010 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
| 23011 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23012 | if (obj2) { |
| 23013 | { |
| 23014 | arg3 = &temp3; |
| 23015 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; |
| 23016 | } |
| 23017 | } |
| 23018 | if (obj3) { |
| 23019 | { |
| 23020 | arg4 = &temp4; |
| 23021 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; |
| 23022 | } |
| 23023 | } |
| 23024 | if (obj4) { |
| 23025 | arg5 = (long)SWIG_As_long(obj4); |
| 23026 | if (PyErr_Occurred()) SWIG_fail; |
| 23027 | } |
| 23028 | if (obj5) { |
| 23029 | { |
| 23030 | arg6 = wxString_in_helper(obj5); |
| 23031 | if (arg6 == NULL) SWIG_fail; |
| 23032 | temp6 = true; |
| 23033 | } |
| 23034 | } |
| 23035 | { |
| 23036 | if (!wxPyCheckForApp()) SWIG_fail; |
| 23037 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 23038 | result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); |
| 23039 | |
| 23040 | wxPyEndAllowThreads(__tstate); |
| 23041 | if (PyErr_Occurred()) SWIG_fail; |
| 23042 | } |
| 23043 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1); |
| 23044 | { |
| 23045 | if (temp6) |
| 23046 | delete arg6; |
| 23047 | } |
| 23048 | return resultobj; |
| 23049 | fail: |
| 23050 | { |
| 23051 | if (temp6) |
| 23052 | delete arg6; |
| 23053 | } |
| 23054 | return NULL; |
| 23055 | } |
| 23056 | |
| 23057 | |
| 23058 | static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) { |
| 23059 | PyObject *obj; |
| 23060 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 23061 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj); |
| 23062 | Py_INCREF(obj); |
| 23063 | return Py_BuildValue((char *)""); |
| 23064 | } |
| 23065 | static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
| 23066 | PyObject *resultobj; |
| 23067 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
| 23068 | wxFrame *arg2 = (wxFrame *) 0 ; |
| 23069 | wxString *arg3 = 0 ; |
| 23070 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
| 23071 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; |
| 23072 | wxSize const &arg5_defvalue = wxDefaultSize ; |
| 23073 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; |
| 23074 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; |
| 23075 | wxString const &arg7_defvalue = wxPyFrameNameStr ; |
| 23076 | wxString *arg7 = (wxString *) &arg7_defvalue ; |
| 23077 | wxPreviewFrame *result; |
| 23078 | bool temp3 = false ; |
| 23079 | wxPoint temp4 ; |
| 23080 | wxSize temp5 ; |
| 23081 | bool temp7 = false ; |
| 23082 | PyObject * obj0 = 0 ; |
| 23083 | PyObject * obj1 = 0 ; |
| 23084 | PyObject * obj2 = 0 ; |
| 23085 | PyObject * obj3 = 0 ; |
| 23086 | PyObject * obj4 = 0 ; |
| 23087 | PyObject * obj5 = 0 ; |
| 23088 | PyObject * obj6 = 0 ; |
| 23089 | char *kwnames[] = { |
| 23090 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
| 23091 | }; |
| 23092 | |
| 23093 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
| 23094 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
| 23095 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23096 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, |
| 23097 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23098 | { |
| 23099 | arg3 = wxString_in_helper(obj2); |
| 23100 | if (arg3 == NULL) SWIG_fail; |
| 23101 | temp3 = true; |
| 23102 | } |
| 23103 | if (obj3) { |
| 23104 | { |
| 23105 | arg4 = &temp4; |
| 23106 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; |
| 23107 | } |
| 23108 | } |
| 23109 | if (obj4) { |
| 23110 | { |
| 23111 | arg5 = &temp5; |
| 23112 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; |
| 23113 | } |
| 23114 | } |
| 23115 | if (obj5) { |
| 23116 | arg6 = (long)SWIG_As_long(obj5); |
| 23117 | if (PyErr_Occurred()) SWIG_fail; |
| 23118 | } |
| 23119 | if (obj6) { |
| 23120 | { |
| 23121 | arg7 = wxString_in_helper(obj6); |
| 23122 | if (arg7 == NULL) SWIG_fail; |
| 23123 | temp7 = true; |
| 23124 | } |
| 23125 | } |
| 23126 | { |
| 23127 | if (!wxPyCheckForApp()) SWIG_fail; |
| 23128 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 23129 | result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); |
| 23130 | |
| 23131 | wxPyEndAllowThreads(__tstate); |
| 23132 | if (PyErr_Occurred()) SWIG_fail; |
| 23133 | } |
| 23134 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1); |
| 23135 | { |
| 23136 | if (temp3) |
| 23137 | delete arg3; |
| 23138 | } |
| 23139 | { |
| 23140 | if (temp7) |
| 23141 | delete arg7; |
| 23142 | } |
| 23143 | return resultobj; |
| 23144 | fail: |
| 23145 | { |
| 23146 | if (temp3) |
| 23147 | delete arg3; |
| 23148 | } |
| 23149 | { |
| 23150 | if (temp7) |
| 23151 | delete arg7; |
| 23152 | } |
| 23153 | return NULL; |
| 23154 | } |
| 23155 | |
| 23156 | |
| 23157 | static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 23158 | PyObject *resultobj; |
| 23159 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; |
| 23160 | PyObject * obj0 = 0 ; |
| 23161 | char *kwnames[] = { |
| 23162 | (char *) "self", NULL |
| 23163 | }; |
| 23164 | |
| 23165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail; |
| 23166 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
| 23167 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23168 | { |
| 23169 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 23170 | (arg1)->Initialize(); |
| 23171 | |
| 23172 | wxPyEndAllowThreads(__tstate); |
| 23173 | if (PyErr_Occurred()) SWIG_fail; |
| 23174 | } |
| 23175 | Py_INCREF(Py_None); resultobj = Py_None; |
| 23176 | return resultobj; |
| 23177 | fail: |
| 23178 | return NULL; |
| 23179 | } |
| 23180 | |
| 23181 | |
| 23182 | static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
| 23183 | PyObject *resultobj; |
| 23184 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; |
| 23185 | PyObject * obj0 = 0 ; |
| 23186 | char *kwnames[] = { |
| 23187 | (char *) "self", NULL |
| 23188 | }; |
| 23189 | |
| 23190 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail; |
| 23191 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
| 23192 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23193 | { |
| 23194 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 23195 | (arg1)->CreateControlBar(); |
| 23196 | |
| 23197 | wxPyEndAllowThreads(__tstate); |
| 23198 | if (PyErr_Occurred()) SWIG_fail; |
| 23199 | } |
| 23200 | Py_INCREF(Py_None); resultobj = Py_None; |
| 23201 | return resultobj; |
| 23202 | fail: |
| 23203 | return NULL; |
| 23204 | } |
| 23205 | |
| 23206 | |
| 23207 | static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
| 23208 | PyObject *resultobj; |
| 23209 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; |
| 23210 | PyObject * obj0 = 0 ; |
| 23211 | char *kwnames[] = { |
| 23212 | (char *) "self", NULL |
| 23213 | }; |
| 23214 | |
| 23215 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail; |
| 23216 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
| 23217 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23218 | { |
| 23219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 23220 | (arg1)->CreateCanvas(); |
| 23221 | |
| 23222 | wxPyEndAllowThreads(__tstate); |
| 23223 | if (PyErr_Occurred()) SWIG_fail; |
| 23224 | } |
| 23225 | Py_INCREF(Py_None); resultobj = Py_None; |
| 23226 | return resultobj; |
| 23227 | fail: |
| 23228 | return NULL; |
| 23229 | } |
| 23230 | |
| 23231 | |
| 23232 | static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
| 23233 | PyObject *resultobj; |
| 23234 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; |
| 23235 | wxPreviewControlBar *result; |
| 23236 | PyObject * obj0 = 0 ; |
| 23237 | char *kwnames[] = { |
| 23238 | (char *) "self", NULL |
| 23239 | }; |
| 23240 | |
| 23241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail; |
| 23242 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
| 23243 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23244 | { |
| 23245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 23246 | result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar(); |
| 23247 | |
| 23248 | wxPyEndAllowThreads(__tstate); |
| 23249 | if (PyErr_Occurred()) SWIG_fail; |
| 23250 | } |
| 23251 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0); |
| 23252 | return resultobj; |
| 23253 | fail: |
| 23254 | return NULL; |
| 23255 | } |
| 23256 | |
| 23257 | |
| 23258 | static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) { |
| 23259 | PyObject *obj; |
| 23260 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 23261 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj); |
| 23262 | Py_INCREF(obj); |
| 23263 | return Py_BuildValue((char *)""); |
| 23264 | } |
| 23265 | static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
| 23266 | PyObject *resultobj; |
| 23267 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
| 23268 | long arg2 ; |
| 23269 | wxWindow *arg3 = (wxWindow *) 0 ; |
| 23270 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
| 23271 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; |
| 23272 | wxSize const &arg5_defvalue = wxDefaultSize ; |
| 23273 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; |
| 23274 | long arg6 = (long) wxTAB_TRAVERSAL ; |
| 23275 | wxString const &arg7_defvalue = wxPyPanelNameStr ; |
| 23276 | wxString *arg7 = (wxString *) &arg7_defvalue ; |
| 23277 | wxPreviewControlBar *result; |
| 23278 | wxPoint temp4 ; |
| 23279 | wxSize temp5 ; |
| 23280 | bool temp7 = false ; |
| 23281 | PyObject * obj0 = 0 ; |
| 23282 | PyObject * obj1 = 0 ; |
| 23283 | PyObject * obj2 = 0 ; |
| 23284 | PyObject * obj3 = 0 ; |
| 23285 | PyObject * obj4 = 0 ; |
| 23286 | PyObject * obj5 = 0 ; |
| 23287 | PyObject * obj6 = 0 ; |
| 23288 | char *kwnames[] = { |
| 23289 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
| 23290 | }; |
| 23291 | |
| 23292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
| 23293 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
| 23294 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23295 | arg2 = (long)SWIG_As_long(obj1); |
| 23296 | if (PyErr_Occurred()) SWIG_fail; |
| 23297 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, |
| 23298 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23299 | if (obj3) { |
| 23300 | { |
| 23301 | arg4 = &temp4; |
| 23302 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; |
| 23303 | } |
| 23304 | } |
| 23305 | if (obj4) { |
| 23306 | { |
| 23307 | arg5 = &temp5; |
| 23308 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; |
| 23309 | } |
| 23310 | } |
| 23311 | if (obj5) { |
| 23312 | arg6 = (long)SWIG_As_long(obj5); |
| 23313 | if (PyErr_Occurred()) SWIG_fail; |
| 23314 | } |
| 23315 | if (obj6) { |
| 23316 | { |
| 23317 | arg7 = wxString_in_helper(obj6); |
| 23318 | if (arg7 == NULL) SWIG_fail; |
| 23319 | temp7 = true; |
| 23320 | } |
| 23321 | } |
| 23322 | { |
| 23323 | if (!wxPyCheckForApp()) SWIG_fail; |
| 23324 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 23325 | result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); |
| 23326 | |
| 23327 | wxPyEndAllowThreads(__tstate); |
| 23328 | if (PyErr_Occurred()) SWIG_fail; |
| 23329 | } |
| 23330 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1); |
| 23331 | { |
| 23332 | if (temp7) |
| 23333 | delete arg7; |
| 23334 | } |
| 23335 | return resultobj; |
| 23336 | fail: |
| 23337 | { |
| 23338 | if (temp7) |
| 23339 | delete arg7; |
| 23340 | } |
| 23341 | return NULL; |
| 23342 | } |
| 23343 | |
| 23344 | |
| 23345 | static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { |
| 23346 | PyObject *resultobj; |
| 23347 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; |
| 23348 | int result; |
| 23349 | PyObject * obj0 = 0 ; |
| 23350 | char *kwnames[] = { |
| 23351 | (char *) "self", NULL |
| 23352 | }; |
| 23353 | |
| 23354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail; |
| 23355 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
| 23356 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23357 | { |
| 23358 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 23359 | result = (int)(arg1)->GetZoomControl(); |
| 23360 | |
| 23361 | wxPyEndAllowThreads(__tstate); |
| 23362 | if (PyErr_Occurred()) SWIG_fail; |
| 23363 | } |
| 23364 | resultobj = SWIG_From_int((int)result); |
| 23365 | return resultobj; |
| 23366 | fail: |
| 23367 | return NULL; |
| 23368 | } |
| 23369 | |
| 23370 | |
| 23371 | static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { |
| 23372 | PyObject *resultobj; |
| 23373 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; |
| 23374 | int arg2 ; |
| 23375 | PyObject * obj0 = 0 ; |
| 23376 | PyObject * obj1 = 0 ; |
| 23377 | char *kwnames[] = { |
| 23378 | (char *) "self",(char *) "zoom", NULL |
| 23379 | }; |
| 23380 | |
| 23381 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; |
| 23382 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
| 23383 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23384 | arg2 = (int)SWIG_As_int(obj1); |
| 23385 | if (PyErr_Occurred()) SWIG_fail; |
| 23386 | { |
| 23387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 23388 | (arg1)->SetZoomControl(arg2); |
| 23389 | |
| 23390 | wxPyEndAllowThreads(__tstate); |
| 23391 | if (PyErr_Occurred()) SWIG_fail; |
| 23392 | } |
| 23393 | Py_INCREF(Py_None); resultobj = Py_None; |
| 23394 | return resultobj; |
| 23395 | fail: |
| 23396 | return NULL; |
| 23397 | } |
| 23398 | |
| 23399 | |
| 23400 | static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
| 23401 | PyObject *resultobj; |
| 23402 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; |
| 23403 | wxPrintPreview *result; |
| 23404 | PyObject * obj0 = 0 ; |
| 23405 | char *kwnames[] = { |
| 23406 | (char *) "self", NULL |
| 23407 | }; |
| 23408 | |
| 23409 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail; |
| 23410 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
| 23411 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23412 | { |
| 23413 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 23414 | result = (wxPrintPreview *)(arg1)->GetPrintPreview(); |
| 23415 | |
| 23416 | wxPyEndAllowThreads(__tstate); |
| 23417 | if (PyErr_Occurred()) SWIG_fail; |
| 23418 | } |
| 23419 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0); |
| 23420 | return resultobj; |
| 23421 | fail: |
| 23422 | return NULL; |
| 23423 | } |
| 23424 | |
| 23425 | |
| 23426 | static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) { |
| 23427 | PyObject *resultobj; |
| 23428 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; |
| 23429 | PyObject * obj0 = 0 ; |
| 23430 | char *kwnames[] = { |
| 23431 | (char *) "self", NULL |
| 23432 | }; |
| 23433 | |
| 23434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail; |
| 23435 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
| 23436 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23437 | { |
| 23438 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 23439 | (arg1)->OnNext(); |
| 23440 | |
| 23441 | wxPyEndAllowThreads(__tstate); |
| 23442 | if (PyErr_Occurred()) SWIG_fail; |
| 23443 | } |
| 23444 | Py_INCREF(Py_None); resultobj = Py_None; |
| 23445 | return resultobj; |
| 23446 | fail: |
| 23447 | return NULL; |
| 23448 | } |
| 23449 | |
| 23450 | |
| 23451 | static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) { |
| 23452 | PyObject *resultobj; |
| 23453 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; |
| 23454 | PyObject * obj0 = 0 ; |
| 23455 | char *kwnames[] = { |
| 23456 | (char *) "self", NULL |
| 23457 | }; |
| 23458 | |
| 23459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail; |
| 23460 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
| 23461 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23462 | { |
| 23463 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 23464 | (arg1)->OnPrevious(); |
| 23465 | |
| 23466 | wxPyEndAllowThreads(__tstate); |
| 23467 | if (PyErr_Occurred()) SWIG_fail; |
| 23468 | } |
| 23469 | Py_INCREF(Py_None); resultobj = Py_None; |
| 23470 | return resultobj; |
| 23471 | fail: |
| 23472 | return NULL; |
| 23473 | } |
| 23474 | |
| 23475 | |
| 23476 | static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) { |
| 23477 | PyObject *resultobj; |
| 23478 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; |
| 23479 | PyObject * obj0 = 0 ; |
| 23480 | char *kwnames[] = { |
| 23481 | (char *) "self", NULL |
| 23482 | }; |
| 23483 | |
| 23484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail; |
| 23485 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
| 23486 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23487 | { |
| 23488 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 23489 | (arg1)->OnFirst(); |
| 23490 | |
| 23491 | wxPyEndAllowThreads(__tstate); |
| 23492 | if (PyErr_Occurred()) SWIG_fail; |
| 23493 | } |
| 23494 | Py_INCREF(Py_None); resultobj = Py_None; |
| 23495 | return resultobj; |
| 23496 | fail: |
| 23497 | return NULL; |
| 23498 | } |
| 23499 | |
| 23500 | |
| 23501 | static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) { |
| 23502 | PyObject *resultobj; |
| 23503 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; |
| 23504 | PyObject * obj0 = 0 ; |
| 23505 | char *kwnames[] = { |
| 23506 | (char *) "self", NULL |
| 23507 | }; |
| 23508 | |
| 23509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail; |
| 23510 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
| 23511 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23512 | { |
| 23513 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 23514 | (arg1)->OnLast(); |
| 23515 | |
| 23516 | wxPyEndAllowThreads(__tstate); |
| 23517 | if (PyErr_Occurred()) SWIG_fail; |
| 23518 | } |
| 23519 | Py_INCREF(Py_None); resultobj = Py_None; |
| 23520 | return resultobj; |
| 23521 | fail: |
| 23522 | return NULL; |
| 23523 | } |
| 23524 | |
| 23525 | |
| 23526 | static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) { |
| 23527 | PyObject *resultobj; |
| 23528 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; |
| 23529 | PyObject * obj0 = 0 ; |
| 23530 | char *kwnames[] = { |
| 23531 | (char *) "self", NULL |
| 23532 | }; |
| 23533 | |
| 23534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail; |
| 23535 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
| 23536 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23537 | { |
| 23538 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 23539 | (arg1)->OnGoto(); |
| 23540 | |
| 23541 | wxPyEndAllowThreads(__tstate); |
| 23542 | if (PyErr_Occurred()) SWIG_fail; |
| 23543 | } |
| 23544 | Py_INCREF(Py_None); resultobj = Py_None; |
| 23545 | return resultobj; |
| 23546 | fail: |
| 23547 | return NULL; |
| 23548 | } |
| 23549 | |
| 23550 | |
| 23551 | static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) { |
| 23552 | PyObject *obj; |
| 23553 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 23554 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj); |
| 23555 | Py_INCREF(obj); |
| 23556 | return Py_BuildValue((char *)""); |
| 23557 | } |
| 23558 | static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) { |
| 23559 | PyObject *resultobj; |
| 23560 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
| 23561 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; |
| 23562 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; |
| 23563 | wxPrintPreview *result; |
| 23564 | PyObject * obj0 = 0 ; |
| 23565 | PyObject * obj1 = 0 ; |
| 23566 | PyObject * obj2 = 0 ; |
| 23567 | |
| 23568 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; |
| 23569 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
| 23570 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23571 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, |
| 23572 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23573 | if (obj2) { |
| 23574 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData, |
| 23575 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23576 | } |
| 23577 | { |
| 23578 | if (!wxPyCheckForApp()) SWIG_fail; |
| 23579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 23580 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); |
| 23581 | |
| 23582 | wxPyEndAllowThreads(__tstate); |
| 23583 | if (PyErr_Occurred()) SWIG_fail; |
| 23584 | } |
| 23585 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); |
| 23586 | return resultobj; |
| 23587 | fail: |
| 23588 | return NULL; |
| 23589 | } |
| 23590 | |
| 23591 | |
| 23592 | static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) { |
| 23593 | PyObject *resultobj; |
| 23594 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
| 23595 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; |
| 23596 | wxPrintData *arg3 = (wxPrintData *) 0 ; |
| 23597 | wxPrintPreview *result; |
| 23598 | PyObject * obj0 = 0 ; |
| 23599 | PyObject * obj1 = 0 ; |
| 23600 | PyObject * obj2 = 0 ; |
| 23601 | |
| 23602 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; |
| 23603 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
| 23604 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23605 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, |
| 23606 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23607 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData, |
| 23608 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23609 | { |
| 23610 | if (!wxPyCheckForApp()) SWIG_fail; |
| 23611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 23612 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); |
| 23613 | |
| 23614 | wxPyEndAllowThreads(__tstate); |
| 23615 | if (PyErr_Occurred()) SWIG_fail; |
| 23616 | } |
| 23617 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); |
| 23618 | return resultobj; |
| 23619 | fail: |
| 23620 | return NULL; |
| 23621 | } |
| 23622 | |
| 23623 | |
| 23624 | static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) { |
| 23625 | int argc; |
| 23626 | PyObject *argv[4]; |
| 23627 | int ii; |
| 23628 | |
| 23629 | argc = PyObject_Length(args); |
| 23630 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { |
| 23631 | argv[ii] = PyTuple_GetItem(args,ii); |
| 23632 | } |
| 23633 | if ((argc >= 2) && (argc <= 3)) { |
| 23634 | int _v; |
| 23635 | { |
| 23636 | void *ptr; |
| 23637 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { |
| 23638 | _v = 0; |
| 23639 | PyErr_Clear(); |
| 23640 | } else { |
| 23641 | _v = 1; |
| 23642 | } |
| 23643 | } |
| 23644 | if (_v) { |
| 23645 | { |
| 23646 | void *ptr; |
| 23647 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { |
| 23648 | _v = 0; |
| 23649 | PyErr_Clear(); |
| 23650 | } else { |
| 23651 | _v = 1; |
| 23652 | } |
| 23653 | } |
| 23654 | if (_v) { |
| 23655 | if (argc <= 2) { |
| 23656 | return _wrap_new_PrintPreview__SWIG_0(self,args); |
| 23657 | } |
| 23658 | { |
| 23659 | void *ptr; |
| 23660 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { |
| 23661 | _v = 0; |
| 23662 | PyErr_Clear(); |
| 23663 | } else { |
| 23664 | _v = 1; |
| 23665 | } |
| 23666 | } |
| 23667 | if (_v) { |
| 23668 | return _wrap_new_PrintPreview__SWIG_0(self,args); |
| 23669 | } |
| 23670 | } |
| 23671 | } |
| 23672 | } |
| 23673 | if (argc == 3) { |
| 23674 | int _v; |
| 23675 | { |
| 23676 | void *ptr; |
| 23677 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { |
| 23678 | _v = 0; |
| 23679 | PyErr_Clear(); |
| 23680 | } else { |
| 23681 | _v = 1; |
| 23682 | } |
| 23683 | } |
| 23684 | if (_v) { |
| 23685 | { |
| 23686 | void *ptr; |
| 23687 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { |
| 23688 | _v = 0; |
| 23689 | PyErr_Clear(); |
| 23690 | } else { |
| 23691 | _v = 1; |
| 23692 | } |
| 23693 | } |
| 23694 | if (_v) { |
| 23695 | { |
| 23696 | void *ptr; |
| 23697 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { |
| 23698 | _v = 0; |
| 23699 | PyErr_Clear(); |
| 23700 | } else { |
| 23701 | _v = 1; |
| 23702 | } |
| 23703 | } |
| 23704 | if (_v) { |
| 23705 | return _wrap_new_PrintPreview__SWIG_1(self,args); |
| 23706 | } |
| 23707 | } |
| 23708 | } |
| 23709 | } |
| 23710 | |
| 23711 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'"); |
| 23712 | return NULL; |
| 23713 | } |
| 23714 | |
| 23715 | |
| 23716 | static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { |
| 23717 | PyObject *resultobj; |
| 23718 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
| 23719 | int arg2 ; |
| 23720 | bool result; |
| 23721 | PyObject * obj0 = 0 ; |
| 23722 | PyObject * obj1 = 0 ; |
| 23723 | char *kwnames[] = { |
| 23724 | (char *) "self",(char *) "pageNum", NULL |
| 23725 | }; |
| 23726 | |
| 23727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; |
| 23728 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
| 23729 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23730 | arg2 = (int)SWIG_As_int(obj1); |
| 23731 | if (PyErr_Occurred()) SWIG_fail; |
| 23732 | { |
| 23733 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 23734 | result = (bool)(arg1)->SetCurrentPage(arg2); |
| 23735 | |
| 23736 | wxPyEndAllowThreads(__tstate); |
| 23737 | if (PyErr_Occurred()) SWIG_fail; |
| 23738 | } |
| 23739 | { |
| 23740 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
| 23741 | } |
| 23742 | return resultobj; |
| 23743 | fail: |
| 23744 | return NULL; |
| 23745 | } |
| 23746 | |
| 23747 | |
| 23748 | static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { |
| 23749 | PyObject *resultobj; |
| 23750 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
| 23751 | int result; |
| 23752 | PyObject * obj0 = 0 ; |
| 23753 | char *kwnames[] = { |
| 23754 | (char *) "self", NULL |
| 23755 | }; |
| 23756 | |
| 23757 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail; |
| 23758 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
| 23759 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23760 | { |
| 23761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 23762 | result = (int)(arg1)->GetCurrentPage(); |
| 23763 | |
| 23764 | wxPyEndAllowThreads(__tstate); |
| 23765 | if (PyErr_Occurred()) SWIG_fail; |
| 23766 | } |
| 23767 | resultobj = SWIG_From_int((int)result); |
| 23768 | return resultobj; |
| 23769 | fail: |
| 23770 | return NULL; |
| 23771 | } |
| 23772 | |
| 23773 | |
| 23774 | static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) { |
| 23775 | PyObject *resultobj; |
| 23776 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
| 23777 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; |
| 23778 | PyObject * obj0 = 0 ; |
| 23779 | PyObject * obj1 = 0 ; |
| 23780 | char *kwnames[] = { |
| 23781 | (char *) "self",(char *) "printout", NULL |
| 23782 | }; |
| 23783 | |
| 23784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail; |
| 23785 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
| 23786 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23787 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, |
| 23788 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23789 | { |
| 23790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 23791 | (arg1)->SetPrintout(arg2); |
| 23792 | |
| 23793 | wxPyEndAllowThreads(__tstate); |
| 23794 | if (PyErr_Occurred()) SWIG_fail; |
| 23795 | } |
| 23796 | Py_INCREF(Py_None); resultobj = Py_None; |
| 23797 | return resultobj; |
| 23798 | fail: |
| 23799 | return NULL; |
| 23800 | } |
| 23801 | |
| 23802 | |
| 23803 | static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) { |
| 23804 | PyObject *resultobj; |
| 23805 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
| 23806 | wxPyPrintout *result; |
| 23807 | PyObject * obj0 = 0 ; |
| 23808 | char *kwnames[] = { |
| 23809 | (char *) "self", NULL |
| 23810 | }; |
| 23811 | |
| 23812 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail; |
| 23813 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
| 23814 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23815 | { |
| 23816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 23817 | result = (wxPyPrintout *)(arg1)->GetPrintout(); |
| 23818 | |
| 23819 | wxPyEndAllowThreads(__tstate); |
| 23820 | if (PyErr_Occurred()) SWIG_fail; |
| 23821 | } |
| 23822 | { |
| 23823 | resultobj = wxPyMake_wxObject(result, 0); |
| 23824 | } |
| 23825 | return resultobj; |
| 23826 | fail: |
| 23827 | return NULL; |
| 23828 | } |
| 23829 | |
| 23830 | |
| 23831 | static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
| 23832 | PyObject *resultobj; |
| 23833 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
| 23834 | wxPyPrintout *result; |
| 23835 | PyObject * obj0 = 0 ; |
| 23836 | char *kwnames[] = { |
| 23837 | (char *) "self", NULL |
| 23838 | }; |
| 23839 | |
| 23840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail; |
| 23841 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
| 23842 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23843 | { |
| 23844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 23845 | result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting(); |
| 23846 | |
| 23847 | wxPyEndAllowThreads(__tstate); |
| 23848 | if (PyErr_Occurred()) SWIG_fail; |
| 23849 | } |
| 23850 | { |
| 23851 | resultobj = wxPyMake_wxObject(result, 0); |
| 23852 | } |
| 23853 | return resultobj; |
| 23854 | fail: |
| 23855 | return NULL; |
| 23856 | } |
| 23857 | |
| 23858 | |
| 23859 | static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
| 23860 | PyObject *resultobj; |
| 23861 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
| 23862 | wxFrame *arg2 = (wxFrame *) 0 ; |
| 23863 | PyObject * obj0 = 0 ; |
| 23864 | PyObject * obj1 = 0 ; |
| 23865 | char *kwnames[] = { |
| 23866 | (char *) "self",(char *) "frame", NULL |
| 23867 | }; |
| 23868 | |
| 23869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail; |
| 23870 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
| 23871 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23872 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, |
| 23873 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23874 | { |
| 23875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 23876 | (arg1)->SetFrame(arg2); |
| 23877 | |
| 23878 | wxPyEndAllowThreads(__tstate); |
| 23879 | if (PyErr_Occurred()) SWIG_fail; |
| 23880 | } |
| 23881 | Py_INCREF(Py_None); resultobj = Py_None; |
| 23882 | return resultobj; |
| 23883 | fail: |
| 23884 | return NULL; |
| 23885 | } |
| 23886 | |
| 23887 | |
| 23888 | static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
| 23889 | PyObject *resultobj; |
| 23890 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
| 23891 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; |
| 23892 | PyObject * obj0 = 0 ; |
| 23893 | PyObject * obj1 = 0 ; |
| 23894 | char *kwnames[] = { |
| 23895 | (char *) "self",(char *) "canvas", NULL |
| 23896 | }; |
| 23897 | |
| 23898 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",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_wxPreviewCanvas, |
| 23902 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23903 | { |
| 23904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 23905 | (arg1)->SetCanvas(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 | |
| 23917 | static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
| 23918 | PyObject *resultobj; |
| 23919 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
| 23920 | wxFrame *result; |
| 23921 | PyObject * obj0 = 0 ; |
| 23922 | char *kwnames[] = { |
| 23923 | (char *) "self", NULL |
| 23924 | }; |
| 23925 | |
| 23926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail; |
| 23927 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
| 23928 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23929 | { |
| 23930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 23931 | result = (wxFrame *)(arg1)->GetFrame(); |
| 23932 | |
| 23933 | wxPyEndAllowThreads(__tstate); |
| 23934 | if (PyErr_Occurred()) SWIG_fail; |
| 23935 | } |
| 23936 | { |
| 23937 | resultobj = wxPyMake_wxObject(result, 0); |
| 23938 | } |
| 23939 | return resultobj; |
| 23940 | fail: |
| 23941 | return NULL; |
| 23942 | } |
| 23943 | |
| 23944 | |
| 23945 | static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
| 23946 | PyObject *resultobj; |
| 23947 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
| 23948 | wxPreviewCanvas *result; |
| 23949 | PyObject * obj0 = 0 ; |
| 23950 | char *kwnames[] = { |
| 23951 | (char *) "self", NULL |
| 23952 | }; |
| 23953 | |
| 23954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail; |
| 23955 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
| 23956 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23957 | { |
| 23958 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 23959 | result = (wxPreviewCanvas *)(arg1)->GetCanvas(); |
| 23960 | |
| 23961 | wxPyEndAllowThreads(__tstate); |
| 23962 | if (PyErr_Occurred()) SWIG_fail; |
| 23963 | } |
| 23964 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0); |
| 23965 | return resultobj; |
| 23966 | fail: |
| 23967 | return NULL; |
| 23968 | } |
| 23969 | |
| 23970 | |
| 23971 | static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) { |
| 23972 | PyObject *resultobj; |
| 23973 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
| 23974 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; |
| 23975 | wxDC *arg3 = 0 ; |
| 23976 | bool result; |
| 23977 | PyObject * obj0 = 0 ; |
| 23978 | PyObject * obj1 = 0 ; |
| 23979 | PyObject * obj2 = 0 ; |
| 23980 | char *kwnames[] = { |
| 23981 | (char *) "self",(char *) "canvas",(char *) "dc", NULL |
| 23982 | }; |
| 23983 | |
| 23984 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 23985 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
| 23986 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23987 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, |
| 23988 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 23989 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, |
| 23990 | SWIG_POINTER_EXCEPTION | 0)) == -1) |
| 23991 | SWIG_fail; |
| 23992 | if (arg3 == NULL) { |
| 23993 | PyErr_SetString(PyExc_TypeError,"null reference"); |
| 23994 | SWIG_fail; |
| 23995 | } |
| 23996 | { |
| 23997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 23998 | result = (bool)(arg1)->PaintPage(arg2,*arg3); |
| 23999 | |
| 24000 | wxPyEndAllowThreads(__tstate); |
| 24001 | if (PyErr_Occurred()) SWIG_fail; |
| 24002 | } |
| 24003 | { |
| 24004 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
| 24005 | } |
| 24006 | return resultobj; |
| 24007 | fail: |
| 24008 | return NULL; |
| 24009 | } |
| 24010 | |
| 24011 | |
| 24012 | static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) { |
| 24013 | PyObject *resultobj; |
| 24014 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
| 24015 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; |
| 24016 | wxDC *arg3 = 0 ; |
| 24017 | bool result; |
| 24018 | PyObject * obj0 = 0 ; |
| 24019 | PyObject * obj1 = 0 ; |
| 24020 | PyObject * obj2 = 0 ; |
| 24021 | char *kwnames[] = { |
| 24022 | (char *) "self",(char *) "canvas",(char *) "dc", NULL |
| 24023 | }; |
| 24024 | |
| 24025 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 24026 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
| 24027 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24028 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, |
| 24029 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24030 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, |
| 24031 | SWIG_POINTER_EXCEPTION | 0)) == -1) |
| 24032 | SWIG_fail; |
| 24033 | if (arg3 == NULL) { |
| 24034 | PyErr_SetString(PyExc_TypeError,"null reference"); |
| 24035 | SWIG_fail; |
| 24036 | } |
| 24037 | { |
| 24038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 24039 | result = (bool)(arg1)->DrawBlankPage(arg2,*arg3); |
| 24040 | |
| 24041 | wxPyEndAllowThreads(__tstate); |
| 24042 | if (PyErr_Occurred()) SWIG_fail; |
| 24043 | } |
| 24044 | { |
| 24045 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
| 24046 | } |
| 24047 | return resultobj; |
| 24048 | fail: |
| 24049 | return NULL; |
| 24050 | } |
| 24051 | |
| 24052 | |
| 24053 | static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) { |
| 24054 | PyObject *resultobj; |
| 24055 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
| 24056 | int arg2 ; |
| 24057 | bool result; |
| 24058 | PyObject * obj0 = 0 ; |
| 24059 | PyObject * obj1 = 0 ; |
| 24060 | char *kwnames[] = { |
| 24061 | (char *) "self",(char *) "pageNum", NULL |
| 24062 | }; |
| 24063 | |
| 24064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail; |
| 24065 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
| 24066 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24067 | arg2 = (int)SWIG_As_int(obj1); |
| 24068 | if (PyErr_Occurred()) SWIG_fail; |
| 24069 | { |
| 24070 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 24071 | result = (bool)(arg1)->RenderPage(arg2); |
| 24072 | |
| 24073 | wxPyEndAllowThreads(__tstate); |
| 24074 | if (PyErr_Occurred()) SWIG_fail; |
| 24075 | } |
| 24076 | { |
| 24077 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
| 24078 | } |
| 24079 | return resultobj; |
| 24080 | fail: |
| 24081 | return NULL; |
| 24082 | } |
| 24083 | |
| 24084 | |
| 24085 | static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
| 24086 | PyObject *resultobj; |
| 24087 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
| 24088 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; |
| 24089 | PyObject * obj0 = 0 ; |
| 24090 | PyObject * obj1 = 0 ; |
| 24091 | char *kwnames[] = { |
| 24092 | (char *) "self",(char *) "canvas", NULL |
| 24093 | }; |
| 24094 | |
| 24095 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail; |
| 24096 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
| 24097 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24098 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, |
| 24099 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24100 | { |
| 24101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 24102 | (arg1)->AdjustScrollbars(arg2); |
| 24103 | |
| 24104 | wxPyEndAllowThreads(__tstate); |
| 24105 | if (PyErr_Occurred()) SWIG_fail; |
| 24106 | } |
| 24107 | Py_INCREF(Py_None); resultobj = Py_None; |
| 24108 | return resultobj; |
| 24109 | fail: |
| 24110 | return NULL; |
| 24111 | } |
| 24112 | |
| 24113 | |
| 24114 | static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
| 24115 | PyObject *resultobj; |
| 24116 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
| 24117 | wxPrintDialogData *result; |
| 24118 | PyObject * obj0 = 0 ; |
| 24119 | char *kwnames[] = { |
| 24120 | (char *) "self", NULL |
| 24121 | }; |
| 24122 | |
| 24123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail; |
| 24124 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
| 24125 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24126 | { |
| 24127 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 24128 | { |
| 24129 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); |
| 24130 | result = (wxPrintDialogData *) &_result_ref; |
| 24131 | } |
| 24132 | |
| 24133 | wxPyEndAllowThreads(__tstate); |
| 24134 | if (PyErr_Occurred()) SWIG_fail; |
| 24135 | } |
| 24136 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
| 24137 | return resultobj; |
| 24138 | fail: |
| 24139 | return NULL; |
| 24140 | } |
| 24141 | |
| 24142 | |
| 24143 | static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
| 24144 | PyObject *resultobj; |
| 24145 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
| 24146 | int arg2 ; |
| 24147 | PyObject * obj0 = 0 ; |
| 24148 | PyObject * obj1 = 0 ; |
| 24149 | char *kwnames[] = { |
| 24150 | (char *) "self",(char *) "percent", NULL |
| 24151 | }; |
| 24152 | |
| 24153 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail; |
| 24154 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
| 24155 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24156 | arg2 = (int)SWIG_As_int(obj1); |
| 24157 | if (PyErr_Occurred()) SWIG_fail; |
| 24158 | { |
| 24159 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 24160 | (arg1)->SetZoom(arg2); |
| 24161 | |
| 24162 | wxPyEndAllowThreads(__tstate); |
| 24163 | if (PyErr_Occurred()) SWIG_fail; |
| 24164 | } |
| 24165 | Py_INCREF(Py_None); resultobj = Py_None; |
| 24166 | return resultobj; |
| 24167 | fail: |
| 24168 | return NULL; |
| 24169 | } |
| 24170 | |
| 24171 | |
| 24172 | static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
| 24173 | PyObject *resultobj; |
| 24174 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
| 24175 | int result; |
| 24176 | PyObject * obj0 = 0 ; |
| 24177 | char *kwnames[] = { |
| 24178 | (char *) "self", NULL |
| 24179 | }; |
| 24180 | |
| 24181 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail; |
| 24182 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
| 24183 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24184 | { |
| 24185 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 24186 | result = (int)(arg1)->GetZoom(); |
| 24187 | |
| 24188 | wxPyEndAllowThreads(__tstate); |
| 24189 | if (PyErr_Occurred()) SWIG_fail; |
| 24190 | } |
| 24191 | resultobj = SWIG_From_int((int)result); |
| 24192 | return resultobj; |
| 24193 | fail: |
| 24194 | return NULL; |
| 24195 | } |
| 24196 | |
| 24197 | |
| 24198 | static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { |
| 24199 | PyObject *resultobj; |
| 24200 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
| 24201 | int result; |
| 24202 | PyObject * obj0 = 0 ; |
| 24203 | char *kwnames[] = { |
| 24204 | (char *) "self", NULL |
| 24205 | }; |
| 24206 | |
| 24207 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail; |
| 24208 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
| 24209 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24210 | { |
| 24211 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 24212 | result = (int)(arg1)->GetMaxPage(); |
| 24213 | |
| 24214 | wxPyEndAllowThreads(__tstate); |
| 24215 | if (PyErr_Occurred()) SWIG_fail; |
| 24216 | } |
| 24217 | resultobj = SWIG_From_int((int)result); |
| 24218 | return resultobj; |
| 24219 | fail: |
| 24220 | return NULL; |
| 24221 | } |
| 24222 | |
| 24223 | |
| 24224 | static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { |
| 24225 | PyObject *resultobj; |
| 24226 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
| 24227 | int result; |
| 24228 | PyObject * obj0 = 0 ; |
| 24229 | char *kwnames[] = { |
| 24230 | (char *) "self", NULL |
| 24231 | }; |
| 24232 | |
| 24233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail; |
| 24234 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
| 24235 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24236 | { |
| 24237 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 24238 | result = (int)(arg1)->GetMinPage(); |
| 24239 | |
| 24240 | wxPyEndAllowThreads(__tstate); |
| 24241 | if (PyErr_Occurred()) SWIG_fail; |
| 24242 | } |
| 24243 | resultobj = SWIG_From_int((int)result); |
| 24244 | return resultobj; |
| 24245 | fail: |
| 24246 | return NULL; |
| 24247 | } |
| 24248 | |
| 24249 | |
| 24250 | static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
| 24251 | PyObject *resultobj; |
| 24252 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
| 24253 | bool result; |
| 24254 | PyObject * obj0 = 0 ; |
| 24255 | char *kwnames[] = { |
| 24256 | (char *) "self", NULL |
| 24257 | }; |
| 24258 | |
| 24259 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail; |
| 24260 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
| 24261 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24262 | { |
| 24263 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 24264 | result = (bool)(arg1)->Ok(); |
| 24265 | |
| 24266 | wxPyEndAllowThreads(__tstate); |
| 24267 | if (PyErr_Occurred()) SWIG_fail; |
| 24268 | } |
| 24269 | { |
| 24270 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
| 24271 | } |
| 24272 | return resultobj; |
| 24273 | fail: |
| 24274 | return NULL; |
| 24275 | } |
| 24276 | |
| 24277 | |
| 24278 | static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) { |
| 24279 | PyObject *resultobj; |
| 24280 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
| 24281 | bool arg2 ; |
| 24282 | PyObject * obj0 = 0 ; |
| 24283 | PyObject * obj1 = 0 ; |
| 24284 | char *kwnames[] = { |
| 24285 | (char *) "self",(char *) "ok", NULL |
| 24286 | }; |
| 24287 | |
| 24288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail; |
| 24289 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
| 24290 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24291 | arg2 = (bool)SWIG_As_bool(obj1); |
| 24292 | if (PyErr_Occurred()) SWIG_fail; |
| 24293 | { |
| 24294 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 24295 | (arg1)->SetOk(arg2); |
| 24296 | |
| 24297 | wxPyEndAllowThreads(__tstate); |
| 24298 | if (PyErr_Occurred()) SWIG_fail; |
| 24299 | } |
| 24300 | Py_INCREF(Py_None); resultobj = Py_None; |
| 24301 | return resultobj; |
| 24302 | fail: |
| 24303 | return NULL; |
| 24304 | } |
| 24305 | |
| 24306 | |
| 24307 | static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) { |
| 24308 | PyObject *resultobj; |
| 24309 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
| 24310 | bool arg2 ; |
| 24311 | bool result; |
| 24312 | PyObject * obj0 = 0 ; |
| 24313 | PyObject * obj1 = 0 ; |
| 24314 | char *kwnames[] = { |
| 24315 | (char *) "self",(char *) "interactive", NULL |
| 24316 | }; |
| 24317 | |
| 24318 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail; |
| 24319 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
| 24320 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24321 | arg2 = (bool)SWIG_As_bool(obj1); |
| 24322 | if (PyErr_Occurred()) SWIG_fail; |
| 24323 | { |
| 24324 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 24325 | result = (bool)(arg1)->Print(arg2); |
| 24326 | |
| 24327 | wxPyEndAllowThreads(__tstate); |
| 24328 | if (PyErr_Occurred()) SWIG_fail; |
| 24329 | } |
| 24330 | { |
| 24331 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
| 24332 | } |
| 24333 | return resultobj; |
| 24334 | fail: |
| 24335 | return NULL; |
| 24336 | } |
| 24337 | |
| 24338 | |
| 24339 | static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) { |
| 24340 | PyObject *resultobj; |
| 24341 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
| 24342 | PyObject * obj0 = 0 ; |
| 24343 | char *kwnames[] = { |
| 24344 | (char *) "self", NULL |
| 24345 | }; |
| 24346 | |
| 24347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail; |
| 24348 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
| 24349 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24350 | { |
| 24351 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 24352 | (arg1)->DetermineScaling(); |
| 24353 | |
| 24354 | wxPyEndAllowThreads(__tstate); |
| 24355 | if (PyErr_Occurred()) SWIG_fail; |
| 24356 | } |
| 24357 | Py_INCREF(Py_None); resultobj = Py_None; |
| 24358 | return resultobj; |
| 24359 | fail: |
| 24360 | return NULL; |
| 24361 | } |
| 24362 | |
| 24363 | |
| 24364 | static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) { |
| 24365 | PyObject *obj; |
| 24366 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 24367 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj); |
| 24368 | Py_INCREF(obj); |
| 24369 | return Py_BuildValue((char *)""); |
| 24370 | } |
| 24371 | static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) { |
| 24372 | PyObject *resultobj; |
| 24373 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
| 24374 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; |
| 24375 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; |
| 24376 | wxPyPrintPreview *result; |
| 24377 | PyObject * obj0 = 0 ; |
| 24378 | PyObject * obj1 = 0 ; |
| 24379 | PyObject * obj2 = 0 ; |
| 24380 | |
| 24381 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; |
| 24382 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
| 24383 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24384 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, |
| 24385 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24386 | if (obj2) { |
| 24387 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData, |
| 24388 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24389 | } |
| 24390 | { |
| 24391 | if (!wxPyCheckForApp()) SWIG_fail; |
| 24392 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 24393 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); |
| 24394 | |
| 24395 | wxPyEndAllowThreads(__tstate); |
| 24396 | if (PyErr_Occurred()) SWIG_fail; |
| 24397 | } |
| 24398 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); |
| 24399 | return resultobj; |
| 24400 | fail: |
| 24401 | return NULL; |
| 24402 | } |
| 24403 | |
| 24404 | |
| 24405 | static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) { |
| 24406 | PyObject *resultobj; |
| 24407 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
| 24408 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; |
| 24409 | wxPrintData *arg3 = (wxPrintData *) 0 ; |
| 24410 | wxPyPrintPreview *result; |
| 24411 | PyObject * obj0 = 0 ; |
| 24412 | PyObject * obj1 = 0 ; |
| 24413 | PyObject * obj2 = 0 ; |
| 24414 | |
| 24415 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; |
| 24416 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
| 24417 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24418 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, |
| 24419 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24420 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData, |
| 24421 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24422 | { |
| 24423 | if (!wxPyCheckForApp()) SWIG_fail; |
| 24424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 24425 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); |
| 24426 | |
| 24427 | wxPyEndAllowThreads(__tstate); |
| 24428 | if (PyErr_Occurred()) SWIG_fail; |
| 24429 | } |
| 24430 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); |
| 24431 | return resultobj; |
| 24432 | fail: |
| 24433 | return NULL; |
| 24434 | } |
| 24435 | |
| 24436 | |
| 24437 | static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) { |
| 24438 | int argc; |
| 24439 | PyObject *argv[4]; |
| 24440 | int ii; |
| 24441 | |
| 24442 | argc = PyObject_Length(args); |
| 24443 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { |
| 24444 | argv[ii] = PyTuple_GetItem(args,ii); |
| 24445 | } |
| 24446 | if ((argc >= 2) && (argc <= 3)) { |
| 24447 | int _v; |
| 24448 | { |
| 24449 | void *ptr; |
| 24450 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { |
| 24451 | _v = 0; |
| 24452 | PyErr_Clear(); |
| 24453 | } else { |
| 24454 | _v = 1; |
| 24455 | } |
| 24456 | } |
| 24457 | if (_v) { |
| 24458 | { |
| 24459 | void *ptr; |
| 24460 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { |
| 24461 | _v = 0; |
| 24462 | PyErr_Clear(); |
| 24463 | } else { |
| 24464 | _v = 1; |
| 24465 | } |
| 24466 | } |
| 24467 | if (_v) { |
| 24468 | if (argc <= 2) { |
| 24469 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); |
| 24470 | } |
| 24471 | { |
| 24472 | void *ptr; |
| 24473 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { |
| 24474 | _v = 0; |
| 24475 | PyErr_Clear(); |
| 24476 | } else { |
| 24477 | _v = 1; |
| 24478 | } |
| 24479 | } |
| 24480 | if (_v) { |
| 24481 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); |
| 24482 | } |
| 24483 | } |
| 24484 | } |
| 24485 | } |
| 24486 | if (argc == 3) { |
| 24487 | int _v; |
| 24488 | { |
| 24489 | void *ptr; |
| 24490 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { |
| 24491 | _v = 0; |
| 24492 | PyErr_Clear(); |
| 24493 | } else { |
| 24494 | _v = 1; |
| 24495 | } |
| 24496 | } |
| 24497 | if (_v) { |
| 24498 | { |
| 24499 | void *ptr; |
| 24500 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { |
| 24501 | _v = 0; |
| 24502 | PyErr_Clear(); |
| 24503 | } else { |
| 24504 | _v = 1; |
| 24505 | } |
| 24506 | } |
| 24507 | if (_v) { |
| 24508 | { |
| 24509 | void *ptr; |
| 24510 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { |
| 24511 | _v = 0; |
| 24512 | PyErr_Clear(); |
| 24513 | } else { |
| 24514 | _v = 1; |
| 24515 | } |
| 24516 | } |
| 24517 | if (_v) { |
| 24518 | return _wrap_new_PyPrintPreview__SWIG_1(self,args); |
| 24519 | } |
| 24520 | } |
| 24521 | } |
| 24522 | } |
| 24523 | |
| 24524 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'"); |
| 24525 | return NULL; |
| 24526 | } |
| 24527 | |
| 24528 | |
| 24529 | static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
| 24530 | PyObject *resultobj; |
| 24531 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; |
| 24532 | PyObject *arg2 = (PyObject *) 0 ; |
| 24533 | PyObject *arg3 = (PyObject *) 0 ; |
| 24534 | PyObject * obj0 = 0 ; |
| 24535 | PyObject * obj1 = 0 ; |
| 24536 | PyObject * obj2 = 0 ; |
| 24537 | char *kwnames[] = { |
| 24538 | (char *) "self",(char *) "self",(char *) "_class", NULL |
| 24539 | }; |
| 24540 | |
| 24541 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 24542 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
| 24543 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24544 | arg2 = obj1; |
| 24545 | arg3 = obj2; |
| 24546 | { |
| 24547 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 24548 | (arg1)->_setCallbackInfo(arg2,arg3); |
| 24549 | |
| 24550 | wxPyEndAllowThreads(__tstate); |
| 24551 | if (PyErr_Occurred()) SWIG_fail; |
| 24552 | } |
| 24553 | Py_INCREF(Py_None); resultobj = Py_None; |
| 24554 | return resultobj; |
| 24555 | fail: |
| 24556 | return NULL; |
| 24557 | } |
| 24558 | |
| 24559 | |
| 24560 | static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { |
| 24561 | PyObject *resultobj; |
| 24562 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; |
| 24563 | int arg2 ; |
| 24564 | bool result; |
| 24565 | PyObject * obj0 = 0 ; |
| 24566 | PyObject * obj1 = 0 ; |
| 24567 | char *kwnames[] = { |
| 24568 | (char *) "self",(char *) "pageNum", NULL |
| 24569 | }; |
| 24570 | |
| 24571 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; |
| 24572 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
| 24573 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24574 | arg2 = (int)SWIG_As_int(obj1); |
| 24575 | if (PyErr_Occurred()) SWIG_fail; |
| 24576 | { |
| 24577 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 24578 | result = (bool)(arg1)->base_SetCurrentPage(arg2); |
| 24579 | |
| 24580 | wxPyEndAllowThreads(__tstate); |
| 24581 | if (PyErr_Occurred()) SWIG_fail; |
| 24582 | } |
| 24583 | { |
| 24584 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
| 24585 | } |
| 24586 | return resultobj; |
| 24587 | fail: |
| 24588 | return NULL; |
| 24589 | } |
| 24590 | |
| 24591 | |
| 24592 | static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) { |
| 24593 | PyObject *resultobj; |
| 24594 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; |
| 24595 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; |
| 24596 | wxDC *arg3 = 0 ; |
| 24597 | bool result; |
| 24598 | PyObject * obj0 = 0 ; |
| 24599 | PyObject * obj1 = 0 ; |
| 24600 | PyObject * obj2 = 0 ; |
| 24601 | char *kwnames[] = { |
| 24602 | (char *) "self",(char *) "canvas",(char *) "dc", NULL |
| 24603 | }; |
| 24604 | |
| 24605 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 24606 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
| 24607 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24608 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, |
| 24609 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24610 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, |
| 24611 | SWIG_POINTER_EXCEPTION | 0)) == -1) |
| 24612 | SWIG_fail; |
| 24613 | if (arg3 == NULL) { |
| 24614 | PyErr_SetString(PyExc_TypeError,"null reference"); |
| 24615 | SWIG_fail; |
| 24616 | } |
| 24617 | { |
| 24618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 24619 | result = (bool)(arg1)->base_PaintPage(arg2,*arg3); |
| 24620 | |
| 24621 | wxPyEndAllowThreads(__tstate); |
| 24622 | if (PyErr_Occurred()) SWIG_fail; |
| 24623 | } |
| 24624 | { |
| 24625 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
| 24626 | } |
| 24627 | return resultobj; |
| 24628 | fail: |
| 24629 | return NULL; |
| 24630 | } |
| 24631 | |
| 24632 | |
| 24633 | static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) { |
| 24634 | PyObject *resultobj; |
| 24635 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; |
| 24636 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; |
| 24637 | wxDC *arg3 = 0 ; |
| 24638 | bool result; |
| 24639 | PyObject * obj0 = 0 ; |
| 24640 | PyObject * obj1 = 0 ; |
| 24641 | PyObject * obj2 = 0 ; |
| 24642 | char *kwnames[] = { |
| 24643 | (char *) "self",(char *) "canvas",(char *) "dc", NULL |
| 24644 | }; |
| 24645 | |
| 24646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 24647 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
| 24648 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24649 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, |
| 24650 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24651 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, |
| 24652 | SWIG_POINTER_EXCEPTION | 0)) == -1) |
| 24653 | SWIG_fail; |
| 24654 | if (arg3 == NULL) { |
| 24655 | PyErr_SetString(PyExc_TypeError,"null reference"); |
| 24656 | SWIG_fail; |
| 24657 | } |
| 24658 | { |
| 24659 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 24660 | result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3); |
| 24661 | |
| 24662 | wxPyEndAllowThreads(__tstate); |
| 24663 | if (PyErr_Occurred()) SWIG_fail; |
| 24664 | } |
| 24665 | { |
| 24666 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
| 24667 | } |
| 24668 | return resultobj; |
| 24669 | fail: |
| 24670 | return NULL; |
| 24671 | } |
| 24672 | |
| 24673 | |
| 24674 | static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) { |
| 24675 | PyObject *resultobj; |
| 24676 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; |
| 24677 | int arg2 ; |
| 24678 | bool result; |
| 24679 | PyObject * obj0 = 0 ; |
| 24680 | PyObject * obj1 = 0 ; |
| 24681 | char *kwnames[] = { |
| 24682 | (char *) "self",(char *) "pageNum", NULL |
| 24683 | }; |
| 24684 | |
| 24685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail; |
| 24686 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
| 24687 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24688 | arg2 = (int)SWIG_As_int(obj1); |
| 24689 | if (PyErr_Occurred()) SWIG_fail; |
| 24690 | { |
| 24691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 24692 | result = (bool)(arg1)->base_RenderPage(arg2); |
| 24693 | |
| 24694 | wxPyEndAllowThreads(__tstate); |
| 24695 | if (PyErr_Occurred()) SWIG_fail; |
| 24696 | } |
| 24697 | { |
| 24698 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
| 24699 | } |
| 24700 | return resultobj; |
| 24701 | fail: |
| 24702 | return NULL; |
| 24703 | } |
| 24704 | |
| 24705 | |
| 24706 | static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
| 24707 | PyObject *resultobj; |
| 24708 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; |
| 24709 | int arg2 ; |
| 24710 | PyObject * obj0 = 0 ; |
| 24711 | PyObject * obj1 = 0 ; |
| 24712 | char *kwnames[] = { |
| 24713 | (char *) "self",(char *) "percent", NULL |
| 24714 | }; |
| 24715 | |
| 24716 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail; |
| 24717 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
| 24718 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24719 | arg2 = (int)SWIG_As_int(obj1); |
| 24720 | if (PyErr_Occurred()) SWIG_fail; |
| 24721 | { |
| 24722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 24723 | (arg1)->base_SetZoom(arg2); |
| 24724 | |
| 24725 | wxPyEndAllowThreads(__tstate); |
| 24726 | if (PyErr_Occurred()) SWIG_fail; |
| 24727 | } |
| 24728 | Py_INCREF(Py_None); resultobj = Py_None; |
| 24729 | return resultobj; |
| 24730 | fail: |
| 24731 | return NULL; |
| 24732 | } |
| 24733 | |
| 24734 | |
| 24735 | static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) { |
| 24736 | PyObject *resultobj; |
| 24737 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; |
| 24738 | bool arg2 ; |
| 24739 | bool result; |
| 24740 | PyObject * obj0 = 0 ; |
| 24741 | PyObject * obj1 = 0 ; |
| 24742 | char *kwnames[] = { |
| 24743 | (char *) "self",(char *) "interactive", NULL |
| 24744 | }; |
| 24745 | |
| 24746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail; |
| 24747 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
| 24748 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24749 | arg2 = (bool)SWIG_As_bool(obj1); |
| 24750 | if (PyErr_Occurred()) SWIG_fail; |
| 24751 | { |
| 24752 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 24753 | result = (bool)(arg1)->base_Print(arg2); |
| 24754 | |
| 24755 | wxPyEndAllowThreads(__tstate); |
| 24756 | if (PyErr_Occurred()) SWIG_fail; |
| 24757 | } |
| 24758 | { |
| 24759 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
| 24760 | } |
| 24761 | return resultobj; |
| 24762 | fail: |
| 24763 | return NULL; |
| 24764 | } |
| 24765 | |
| 24766 | |
| 24767 | static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) { |
| 24768 | PyObject *resultobj; |
| 24769 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; |
| 24770 | PyObject * obj0 = 0 ; |
| 24771 | char *kwnames[] = { |
| 24772 | (char *) "self", NULL |
| 24773 | }; |
| 24774 | |
| 24775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail; |
| 24776 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
| 24777 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24778 | { |
| 24779 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 24780 | (arg1)->base_DetermineScaling(); |
| 24781 | |
| 24782 | wxPyEndAllowThreads(__tstate); |
| 24783 | if (PyErr_Occurred()) SWIG_fail; |
| 24784 | } |
| 24785 | Py_INCREF(Py_None); resultobj = Py_None; |
| 24786 | return resultobj; |
| 24787 | fail: |
| 24788 | return NULL; |
| 24789 | } |
| 24790 | |
| 24791 | |
| 24792 | static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) { |
| 24793 | PyObject *obj; |
| 24794 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 24795 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj); |
| 24796 | Py_INCREF(obj); |
| 24797 | return Py_BuildValue((char *)""); |
| 24798 | } |
| 24799 | static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
| 24800 | PyObject *resultobj; |
| 24801 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
| 24802 | wxFrame *arg2 = (wxFrame *) 0 ; |
| 24803 | wxString *arg3 = 0 ; |
| 24804 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
| 24805 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; |
| 24806 | wxSize const &arg5_defvalue = wxDefaultSize ; |
| 24807 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; |
| 24808 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; |
| 24809 | wxString const &arg7_defvalue = wxPyFrameNameStr ; |
| 24810 | wxString *arg7 = (wxString *) &arg7_defvalue ; |
| 24811 | wxPyPreviewFrame *result; |
| 24812 | bool temp3 = false ; |
| 24813 | wxPoint temp4 ; |
| 24814 | wxSize temp5 ; |
| 24815 | bool temp7 = false ; |
| 24816 | PyObject * obj0 = 0 ; |
| 24817 | PyObject * obj1 = 0 ; |
| 24818 | PyObject * obj2 = 0 ; |
| 24819 | PyObject * obj3 = 0 ; |
| 24820 | PyObject * obj4 = 0 ; |
| 24821 | PyObject * obj5 = 0 ; |
| 24822 | PyObject * obj6 = 0 ; |
| 24823 | char *kwnames[] = { |
| 24824 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
| 24825 | }; |
| 24826 | |
| 24827 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
| 24828 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
| 24829 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24830 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, |
| 24831 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24832 | { |
| 24833 | arg3 = wxString_in_helper(obj2); |
| 24834 | if (arg3 == NULL) SWIG_fail; |
| 24835 | temp3 = true; |
| 24836 | } |
| 24837 | if (obj3) { |
| 24838 | { |
| 24839 | arg4 = &temp4; |
| 24840 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; |
| 24841 | } |
| 24842 | } |
| 24843 | if (obj4) { |
| 24844 | { |
| 24845 | arg5 = &temp5; |
| 24846 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; |
| 24847 | } |
| 24848 | } |
| 24849 | if (obj5) { |
| 24850 | arg6 = (long)SWIG_As_long(obj5); |
| 24851 | if (PyErr_Occurred()) SWIG_fail; |
| 24852 | } |
| 24853 | if (obj6) { |
| 24854 | { |
| 24855 | arg7 = wxString_in_helper(obj6); |
| 24856 | if (arg7 == NULL) SWIG_fail; |
| 24857 | temp7 = true; |
| 24858 | } |
| 24859 | } |
| 24860 | { |
| 24861 | if (!wxPyCheckForApp()) SWIG_fail; |
| 24862 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 24863 | result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); |
| 24864 | |
| 24865 | wxPyEndAllowThreads(__tstate); |
| 24866 | if (PyErr_Occurred()) SWIG_fail; |
| 24867 | } |
| 24868 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1); |
| 24869 | { |
| 24870 | if (temp3) |
| 24871 | delete arg3; |
| 24872 | } |
| 24873 | { |
| 24874 | if (temp7) |
| 24875 | delete arg7; |
| 24876 | } |
| 24877 | return resultobj; |
| 24878 | fail: |
| 24879 | { |
| 24880 | if (temp3) |
| 24881 | delete arg3; |
| 24882 | } |
| 24883 | { |
| 24884 | if (temp7) |
| 24885 | delete arg7; |
| 24886 | } |
| 24887 | return NULL; |
| 24888 | } |
| 24889 | |
| 24890 | |
| 24891 | static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
| 24892 | PyObject *resultobj; |
| 24893 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; |
| 24894 | PyObject *arg2 = (PyObject *) 0 ; |
| 24895 | PyObject *arg3 = (PyObject *) 0 ; |
| 24896 | PyObject * obj0 = 0 ; |
| 24897 | PyObject * obj1 = 0 ; |
| 24898 | PyObject * obj2 = 0 ; |
| 24899 | char *kwnames[] = { |
| 24900 | (char *) "self",(char *) "self",(char *) "_class", NULL |
| 24901 | }; |
| 24902 | |
| 24903 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 24904 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
| 24905 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24906 | arg2 = obj1; |
| 24907 | arg3 = obj2; |
| 24908 | { |
| 24909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 24910 | (arg1)->_setCallbackInfo(arg2,arg3); |
| 24911 | |
| 24912 | wxPyEndAllowThreads(__tstate); |
| 24913 | if (PyErr_Occurred()) SWIG_fail; |
| 24914 | } |
| 24915 | Py_INCREF(Py_None); resultobj = Py_None; |
| 24916 | return resultobj; |
| 24917 | fail: |
| 24918 | return NULL; |
| 24919 | } |
| 24920 | |
| 24921 | |
| 24922 | static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
| 24923 | PyObject *resultobj; |
| 24924 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; |
| 24925 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; |
| 24926 | PyObject * obj0 = 0 ; |
| 24927 | PyObject * obj1 = 0 ; |
| 24928 | char *kwnames[] = { |
| 24929 | (char *) "self",(char *) "canvas", NULL |
| 24930 | }; |
| 24931 | |
| 24932 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail; |
| 24933 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
| 24934 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24935 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, |
| 24936 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24937 | { |
| 24938 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 24939 | (arg1)->SetPreviewCanvas(arg2); |
| 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 | |
| 24951 | static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
| 24952 | PyObject *resultobj; |
| 24953 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; |
| 24954 | wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ; |
| 24955 | PyObject * obj0 = 0 ; |
| 24956 | PyObject * obj1 = 0 ; |
| 24957 | char *kwnames[] = { |
| 24958 | (char *) "self",(char *) "bar", NULL |
| 24959 | }; |
| 24960 | |
| 24961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",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_wxPreviewControlBar, |
| 24965 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24966 | { |
| 24967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 24968 | (arg1)->SetControlBar(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 | |
| 24980 | static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { |
| 24981 | PyObject *resultobj; |
| 24982 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; |
| 24983 | PyObject * obj0 = 0 ; |
| 24984 | char *kwnames[] = { |
| 24985 | (char *) "self", NULL |
| 24986 | }; |
| 24987 | |
| 24988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail; |
| 24989 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
| 24990 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 24991 | { |
| 24992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 24993 | (arg1)->base_Initialize(); |
| 24994 | |
| 24995 | wxPyEndAllowThreads(__tstate); |
| 24996 | if (PyErr_Occurred()) SWIG_fail; |
| 24997 | } |
| 24998 | Py_INCREF(Py_None); resultobj = Py_None; |
| 24999 | return resultobj; |
| 25000 | fail: |
| 25001 | return NULL; |
| 25002 | } |
| 25003 | |
| 25004 | |
| 25005 | static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
| 25006 | PyObject *resultobj; |
| 25007 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; |
| 25008 | PyObject * obj0 = 0 ; |
| 25009 | char *kwnames[] = { |
| 25010 | (char *) "self", NULL |
| 25011 | }; |
| 25012 | |
| 25013 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail; |
| 25014 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
| 25015 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 25016 | { |
| 25017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 25018 | (arg1)->base_CreateCanvas(); |
| 25019 | |
| 25020 | wxPyEndAllowThreads(__tstate); |
| 25021 | if (PyErr_Occurred()) SWIG_fail; |
| 25022 | } |
| 25023 | Py_INCREF(Py_None); resultobj = Py_None; |
| 25024 | return resultobj; |
| 25025 | fail: |
| 25026 | return NULL; |
| 25027 | } |
| 25028 | |
| 25029 | |
| 25030 | static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
| 25031 | PyObject *resultobj; |
| 25032 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; |
| 25033 | PyObject * obj0 = 0 ; |
| 25034 | char *kwnames[] = { |
| 25035 | (char *) "self", NULL |
| 25036 | }; |
| 25037 | |
| 25038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail; |
| 25039 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
| 25040 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 25041 | { |
| 25042 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 25043 | (arg1)->base_CreateControlBar(); |
| 25044 | |
| 25045 | wxPyEndAllowThreads(__tstate); |
| 25046 | if (PyErr_Occurred()) SWIG_fail; |
| 25047 | } |
| 25048 | Py_INCREF(Py_None); resultobj = Py_None; |
| 25049 | return resultobj; |
| 25050 | fail: |
| 25051 | return NULL; |
| 25052 | } |
| 25053 | |
| 25054 | |
| 25055 | static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) { |
| 25056 | PyObject *obj; |
| 25057 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 25058 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj); |
| 25059 | Py_INCREF(obj); |
| 25060 | return Py_BuildValue((char *)""); |
| 25061 | } |
| 25062 | static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
| 25063 | PyObject *resultobj; |
| 25064 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
| 25065 | long arg2 ; |
| 25066 | wxWindow *arg3 = (wxWindow *) 0 ; |
| 25067 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
| 25068 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; |
| 25069 | wxSize const &arg5_defvalue = wxDefaultSize ; |
| 25070 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; |
| 25071 | long arg6 = (long) 0 ; |
| 25072 | wxString const &arg7_defvalue = wxPyPanelNameStr ; |
| 25073 | wxString *arg7 = (wxString *) &arg7_defvalue ; |
| 25074 | wxPyPreviewControlBar *result; |
| 25075 | wxPoint temp4 ; |
| 25076 | wxSize temp5 ; |
| 25077 | bool temp7 = false ; |
| 25078 | PyObject * obj0 = 0 ; |
| 25079 | PyObject * obj1 = 0 ; |
| 25080 | PyObject * obj2 = 0 ; |
| 25081 | PyObject * obj3 = 0 ; |
| 25082 | PyObject * obj4 = 0 ; |
| 25083 | PyObject * obj5 = 0 ; |
| 25084 | PyObject * obj6 = 0 ; |
| 25085 | char *kwnames[] = { |
| 25086 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
| 25087 | }; |
| 25088 | |
| 25089 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
| 25090 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
| 25091 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 25092 | arg2 = (long)SWIG_As_long(obj1); |
| 25093 | if (PyErr_Occurred()) SWIG_fail; |
| 25094 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, |
| 25095 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 25096 | if (obj3) { |
| 25097 | { |
| 25098 | arg4 = &temp4; |
| 25099 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; |
| 25100 | } |
| 25101 | } |
| 25102 | if (obj4) { |
| 25103 | { |
| 25104 | arg5 = &temp5; |
| 25105 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; |
| 25106 | } |
| 25107 | } |
| 25108 | if (obj5) { |
| 25109 | arg6 = (long)SWIG_As_long(obj5); |
| 25110 | if (PyErr_Occurred()) SWIG_fail; |
| 25111 | } |
| 25112 | if (obj6) { |
| 25113 | { |
| 25114 | arg7 = wxString_in_helper(obj6); |
| 25115 | if (arg7 == NULL) SWIG_fail; |
| 25116 | temp7 = true; |
| 25117 | } |
| 25118 | } |
| 25119 | { |
| 25120 | if (!wxPyCheckForApp()) SWIG_fail; |
| 25121 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 25122 | result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); |
| 25123 | |
| 25124 | wxPyEndAllowThreads(__tstate); |
| 25125 | if (PyErr_Occurred()) SWIG_fail; |
| 25126 | } |
| 25127 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1); |
| 25128 | { |
| 25129 | if (temp7) |
| 25130 | delete arg7; |
| 25131 | } |
| 25132 | return resultobj; |
| 25133 | fail: |
| 25134 | { |
| 25135 | if (temp7) |
| 25136 | delete arg7; |
| 25137 | } |
| 25138 | return NULL; |
| 25139 | } |
| 25140 | |
| 25141 | |
| 25142 | static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
| 25143 | PyObject *resultobj; |
| 25144 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; |
| 25145 | PyObject *arg2 = (PyObject *) 0 ; |
| 25146 | PyObject *arg3 = (PyObject *) 0 ; |
| 25147 | PyObject * obj0 = 0 ; |
| 25148 | PyObject * obj1 = 0 ; |
| 25149 | PyObject * obj2 = 0 ; |
| 25150 | char *kwnames[] = { |
| 25151 | (char *) "self",(char *) "self",(char *) "_class", NULL |
| 25152 | }; |
| 25153 | |
| 25154 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; |
| 25155 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
| 25156 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 25157 | arg2 = obj1; |
| 25158 | arg3 = obj2; |
| 25159 | { |
| 25160 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 25161 | (arg1)->_setCallbackInfo(arg2,arg3); |
| 25162 | |
| 25163 | wxPyEndAllowThreads(__tstate); |
| 25164 | if (PyErr_Occurred()) SWIG_fail; |
| 25165 | } |
| 25166 | Py_INCREF(Py_None); resultobj = Py_None; |
| 25167 | return resultobj; |
| 25168 | fail: |
| 25169 | return NULL; |
| 25170 | } |
| 25171 | |
| 25172 | |
| 25173 | static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
| 25174 | PyObject *resultobj; |
| 25175 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; |
| 25176 | wxPrintPreview *arg2 = (wxPrintPreview *) 0 ; |
| 25177 | PyObject * obj0 = 0 ; |
| 25178 | PyObject * obj1 = 0 ; |
| 25179 | char *kwnames[] = { |
| 25180 | (char *) "self",(char *) "preview", NULL |
| 25181 | }; |
| 25182 | |
| 25183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail; |
| 25184 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
| 25185 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 25186 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview, |
| 25187 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 25188 | { |
| 25189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 25190 | (arg1)->SetPrintPreview(arg2); |
| 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 | |
| 25202 | static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) { |
| 25203 | PyObject *resultobj; |
| 25204 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; |
| 25205 | PyObject * obj0 = 0 ; |
| 25206 | char *kwnames[] = { |
| 25207 | (char *) "self", NULL |
| 25208 | }; |
| 25209 | |
| 25210 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail; |
| 25211 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
| 25212 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 25213 | { |
| 25214 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 25215 | (arg1)->base_CreateButtons(); |
| 25216 | |
| 25217 | wxPyEndAllowThreads(__tstate); |
| 25218 | if (PyErr_Occurred()) SWIG_fail; |
| 25219 | } |
| 25220 | Py_INCREF(Py_None); resultobj = Py_None; |
| 25221 | return resultobj; |
| 25222 | fail: |
| 25223 | return NULL; |
| 25224 | } |
| 25225 | |
| 25226 | |
| 25227 | static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { |
| 25228 | PyObject *resultobj; |
| 25229 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; |
| 25230 | int arg2 ; |
| 25231 | PyObject * obj0 = 0 ; |
| 25232 | PyObject * obj1 = 0 ; |
| 25233 | char *kwnames[] = { |
| 25234 | (char *) "self",(char *) "zoom", NULL |
| 25235 | }; |
| 25236 | |
| 25237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; |
| 25238 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
| 25239 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
| 25240 | arg2 = (int)SWIG_As_int(obj1); |
| 25241 | if (PyErr_Occurred()) SWIG_fail; |
| 25242 | { |
| 25243 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
| 25244 | (arg1)->base_SetZoomControl(arg2); |
| 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 | |
| 25256 | static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) { |
| 25257 | PyObject *obj; |
| 25258 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; |
| 25259 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj); |
| 25260 | Py_INCREF(obj); |
| 25261 | return Py_BuildValue((char *)""); |
| 25262 | } |
| 25263 | static PyMethodDef SwigMethods[] = { |
| 25264 | { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25265 | { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25266 | { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25267 | { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25268 | { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25269 | { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL }, |
| 25270 | { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25271 | { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25272 | { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25273 | { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25274 | { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25275 | { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25276 | { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25277 | { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25278 | { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25279 | { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25280 | { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25281 | { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25282 | { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25283 | { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25284 | { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL }, |
| 25285 | { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL }, |
| 25286 | { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25287 | { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25288 | { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25289 | { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25290 | { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25291 | { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25292 | { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25293 | { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25294 | { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL }, |
| 25295 | { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25296 | { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25297 | { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25298 | { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25299 | { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25300 | { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25301 | { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25302 | { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25303 | { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25304 | { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25305 | { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25306 | { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25307 | { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25308 | { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25309 | { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25310 | { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25311 | { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25312 | { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL }, |
| 25313 | { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25314 | { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25315 | { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25316 | { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25317 | { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25318 | { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25319 | { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25320 | { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25321 | { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25322 | { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25323 | { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25324 | { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25325 | { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25326 | { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25327 | { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25328 | { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25329 | { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25330 | { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25331 | { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25332 | { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25333 | { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25334 | { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25335 | { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25336 | { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL }, |
| 25337 | { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25338 | { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25339 | { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25340 | { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25341 | { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25342 | { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25343 | { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25344 | { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25345 | { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25346 | { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25347 | { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25348 | { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL }, |
| 25349 | { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25350 | { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25351 | { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25352 | { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL }, |
| 25353 | { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25354 | { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25355 | { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25356 | { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL }, |
| 25357 | { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25358 | { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25359 | { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25360 | { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25361 | { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL }, |
| 25362 | { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25363 | { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25364 | { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25365 | { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25366 | { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25367 | { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25368 | { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25369 | { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25370 | { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25371 | { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25372 | { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25373 | { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25374 | { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25375 | { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25376 | { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25377 | { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25378 | { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL }, |
| 25379 | { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25380 | { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25381 | { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25382 | { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25383 | { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25384 | { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25385 | { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25386 | { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25387 | { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25388 | { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25389 | { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25390 | { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25391 | { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25392 | { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25393 | { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25394 | { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25395 | { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25396 | { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25397 | { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25398 | { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25399 | { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25400 | { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25401 | { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25402 | { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25403 | { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25404 | { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25405 | { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25406 | { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL }, |
| 25407 | { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25408 | { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25409 | { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25410 | { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25411 | { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25412 | { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25413 | { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL }, |
| 25414 | { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25415 | { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25416 | { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25417 | { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25418 | { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25419 | { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25420 | { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25421 | { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25422 | { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25423 | { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25424 | { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25425 | { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25426 | { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25427 | { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25428 | { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25429 | { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25430 | { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25431 | { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25432 | { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25433 | { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25434 | { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25435 | { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25436 | { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL }, |
| 25437 | { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25438 | { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25439 | { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25440 | { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25441 | { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25442 | { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25443 | { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25444 | { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL }, |
| 25445 | { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25446 | { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25447 | { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25448 | { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25449 | { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25450 | { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25451 | { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25452 | { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25453 | { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25454 | { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25455 | { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25456 | { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL }, |
| 25457 | { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25458 | { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25459 | { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25460 | { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25461 | { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25462 | { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL }, |
| 25463 | { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25464 | { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25465 | { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25466 | { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25467 | { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25468 | { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25469 | { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25470 | { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25471 | { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL }, |
| 25472 | { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25473 | { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25474 | { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25475 | { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25476 | { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25477 | { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL }, |
| 25478 | { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25479 | { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25480 | { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL }, |
| 25481 | { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25482 | { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25483 | { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL }, |
| 25484 | { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25485 | { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25486 | { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25487 | { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL }, |
| 25488 | { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25489 | { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25490 | { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25491 | { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25492 | { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25493 | { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25494 | { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25495 | { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25496 | { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25497 | { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25498 | { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25499 | { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25500 | { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25501 | { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25502 | { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25503 | { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25504 | { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25505 | { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL }, |
| 25506 | { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25507 | { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25508 | { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25509 | { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25510 | { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25511 | { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25512 | { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25513 | { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25514 | { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25515 | { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25516 | { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25517 | { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25518 | { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25519 | { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25520 | { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25521 | { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25522 | { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25523 | { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25524 | { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25525 | { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25526 | { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25527 | { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25528 | { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25529 | { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25530 | { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25531 | { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL }, |
| 25532 | { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25533 | { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25534 | { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25535 | { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25536 | { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25537 | { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25538 | { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25539 | { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL }, |
| 25540 | { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25541 | { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25542 | { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25543 | { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25544 | { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25545 | { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25546 | { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25547 | { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25548 | { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL }, |
| 25549 | { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25550 | { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL }, |
| 25551 | { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25552 | { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25553 | { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25554 | { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25555 | { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25556 | { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25557 | { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25558 | { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25559 | { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL }, |
| 25560 | { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25561 | { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25562 | { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL }, |
| 25563 | { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25564 | { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25565 | { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25566 | { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25567 | { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25568 | { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25569 | { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL }, |
| 25570 | { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25571 | { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25572 | { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25573 | { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25574 | { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25575 | { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25576 | { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25577 | { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25578 | { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25579 | { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25580 | { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25581 | { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25582 | { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25583 | { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25584 | { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25585 | { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25586 | { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25587 | { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL }, |
| 25588 | { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25589 | { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25590 | { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25591 | { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL }, |
| 25592 | { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25593 | { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25594 | { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25595 | { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25596 | { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL }, |
| 25597 | { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25598 | { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25599 | { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25600 | { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL }, |
| 25601 | { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25602 | { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL }, |
| 25603 | { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25604 | { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25605 | { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25606 | { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25607 | { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25608 | { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25609 | { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25610 | { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25611 | { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25612 | { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25613 | { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25614 | { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25615 | { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25616 | { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25617 | { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25618 | { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL }, |
| 25619 | { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25620 | { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25621 | { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL }, |
| 25622 | { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25623 | { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL }, |
| 25624 | { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25625 | { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25626 | { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25627 | { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL }, |
| 25628 | { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25629 | { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25630 | { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25631 | { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25632 | { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25633 | { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25634 | { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25635 | { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25636 | { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL }, |
| 25637 | { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25638 | { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25639 | { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25640 | { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25641 | { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25642 | { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25643 | { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25644 | { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25645 | { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL }, |
| 25646 | { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25647 | { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25648 | { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25649 | { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25650 | { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25651 | { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL }, |
| 25652 | { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25653 | { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25654 | { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25655 | { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25656 | { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25657 | { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25658 | { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25659 | { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25660 | { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25661 | { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25662 | { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25663 | { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL }, |
| 25664 | { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25665 | { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25666 | { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25667 | { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25668 | { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25669 | { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25670 | { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL }, |
| 25671 | { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25672 | { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25673 | { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25674 | { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL }, |
| 25675 | { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25676 | { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25677 | { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25678 | { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25679 | { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25680 | { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25681 | { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25682 | { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25683 | { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25684 | { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25685 | { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25686 | { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25687 | { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25688 | { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25689 | { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25690 | { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25691 | { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25692 | { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25693 | { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25694 | { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25695 | { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25696 | { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25697 | { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25698 | { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25699 | { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25700 | { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL }, |
| 25701 | { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25702 | { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25703 | { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25704 | { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25705 | { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25706 | { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25707 | { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25708 | { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25709 | { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25710 | { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25711 | { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25712 | { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25713 | { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25714 | { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25715 | { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25716 | { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25717 | { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25718 | { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25719 | { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25720 | { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25721 | { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25722 | { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25723 | { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25724 | { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25725 | { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25726 | { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL }, |
| 25727 | { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25728 | { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25729 | { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25730 | { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25731 | { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25732 | { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25733 | { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25734 | { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25735 | { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25736 | { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25737 | { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25738 | { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25739 | { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25740 | { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25741 | { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25742 | { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25743 | { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25744 | { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25745 | { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25746 | { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25747 | { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25748 | { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25749 | { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25750 | { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25751 | { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25752 | { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL }, |
| 25753 | { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL }, |
| 25754 | { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25755 | { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25756 | { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25757 | { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25758 | { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25759 | { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25760 | { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25761 | { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25762 | { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25763 | { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25764 | { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25765 | { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25766 | { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25767 | { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25768 | { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25769 | { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25770 | { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25771 | { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25772 | { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25773 | { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25774 | { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25775 | { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25776 | { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25777 | { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25778 | { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25779 | { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25780 | { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25781 | { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25782 | { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25783 | { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25784 | { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25785 | { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25786 | { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25787 | { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25788 | { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25789 | { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25790 | { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25791 | { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25792 | { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25793 | { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25794 | { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25795 | { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25796 | { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25797 | { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25798 | { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL }, |
| 25799 | { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL }, |
| 25800 | { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25801 | { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25802 | { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25803 | { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25804 | { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25805 | { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25806 | { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25807 | { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25808 | { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25809 | { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25810 | { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25811 | { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25812 | { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25813 | { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25814 | { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25815 | { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25816 | { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25817 | { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25818 | { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25819 | { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25820 | { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25821 | { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25822 | { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25823 | { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25824 | { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25825 | { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25826 | { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25827 | { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25828 | { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25829 | { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25830 | { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL }, |
| 25831 | { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25832 | { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25833 | { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25834 | { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL }, |
| 25835 | { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL }, |
| 25836 | { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25837 | { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25838 | { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25839 | { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25840 | { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25841 | { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25842 | { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25843 | { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25844 | { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25845 | { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25846 | { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25847 | { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25848 | { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25849 | { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25850 | { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25851 | { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25852 | { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25853 | { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25854 | { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25855 | { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25856 | { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25857 | { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25858 | { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25859 | { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25860 | { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25861 | { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25862 | { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25863 | { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25864 | { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25865 | { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25866 | { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25867 | { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25868 | { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL }, |
| 25869 | { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25870 | { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25871 | { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25872 | { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25873 | { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25874 | { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL }, |
| 25875 | { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25876 | { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25877 | { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25878 | { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25879 | { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25880 | { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25881 | { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25882 | { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25883 | { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25884 | { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25885 | { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL }, |
| 25886 | { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25887 | { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25888 | { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25889 | { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25890 | { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25891 | { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25892 | { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25893 | { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25894 | { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25895 | { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25896 | { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25897 | { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25898 | { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25899 | { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25900 | { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25901 | { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25902 | { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25903 | { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25904 | { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25905 | { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25906 | { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25907 | { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25908 | { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL }, |
| 25909 | { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25910 | { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL }, |
| 25911 | { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25912 | { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25913 | { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25914 | { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25915 | { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25916 | { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL }, |
| 25917 | { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25918 | { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25919 | { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25920 | { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25921 | { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25922 | { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25923 | { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25924 | { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25925 | { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25926 | { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL }, |
| 25927 | { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL }, |
| 25928 | { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25929 | { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25930 | { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25931 | { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25932 | { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25933 | { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25934 | { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25935 | { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25936 | { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25937 | { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25938 | { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25939 | { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25940 | { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25941 | { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25942 | { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25943 | { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25944 | { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25945 | { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25946 | { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25947 | { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25948 | { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25949 | { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25950 | { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL }, |
| 25951 | { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL }, |
| 25952 | { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25953 | { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25954 | { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25955 | { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25956 | { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25957 | { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25958 | { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25959 | { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25960 | { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL }, |
| 25961 | { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25962 | { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25963 | { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25964 | { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25965 | { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25966 | { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25967 | { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25968 | { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL }, |
| 25969 | { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25970 | { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25971 | { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25972 | { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25973 | { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL }, |
| 25974 | { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL }, |
| 25975 | { NULL, NULL, 0, NULL } |
| 25976 | }; |
| 25977 | |
| 25978 | |
| 25979 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ |
| 25980 | |
| 25981 | static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) { |
| 25982 | return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x)); |
| 25983 | } |
| 25984 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { |
| 25985 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); |
| 25986 | } |
| 25987 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { |
| 25988 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); |
| 25989 | } |
| 25990 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { |
| 25991 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); |
| 25992 | } |
| 25993 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { |
| 25994 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); |
| 25995 | } |
| 25996 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { |
| 25997 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); |
| 25998 | } |
| 25999 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { |
| 26000 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); |
| 26001 | } |
| 26002 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { |
| 26003 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); |
| 26004 | } |
| 26005 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { |
| 26006 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); |
| 26007 | } |
| 26008 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { |
| 26009 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); |
| 26010 | } |
| 26011 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { |
| 26012 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); |
| 26013 | } |
| 26014 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { |
| 26015 | return (void *)((wxEvent *) ((wxPyEvent *) x)); |
| 26016 | } |
| 26017 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { |
| 26018 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); |
| 26019 | } |
| 26020 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { |
| 26021 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); |
| 26022 | } |
| 26023 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { |
| 26024 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); |
| 26025 | } |
| 26026 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { |
| 26027 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); |
| 26028 | } |
| 26029 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { |
| 26030 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); |
| 26031 | } |
| 26032 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { |
| 26033 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); |
| 26034 | } |
| 26035 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { |
| 26036 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); |
| 26037 | } |
| 26038 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { |
| 26039 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); |
| 26040 | } |
| 26041 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { |
| 26042 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); |
| 26043 | } |
| 26044 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { |
| 26045 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); |
| 26046 | } |
| 26047 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { |
| 26048 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); |
| 26049 | } |
| 26050 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { |
| 26051 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); |
| 26052 | } |
| 26053 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { |
| 26054 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); |
| 26055 | } |
| 26056 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { |
| 26057 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); |
| 26058 | } |
| 26059 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { |
| 26060 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); |
| 26061 | } |
| 26062 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { |
| 26063 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); |
| 26064 | } |
| 26065 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { |
| 26066 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); |
| 26067 | } |
| 26068 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { |
| 26069 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); |
| 26070 | } |
| 26071 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { |
| 26072 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); |
| 26073 | } |
| 26074 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { |
| 26075 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); |
| 26076 | } |
| 26077 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { |
| 26078 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); |
| 26079 | } |
| 26080 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { |
| 26081 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); |
| 26082 | } |
| 26083 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { |
| 26084 | return (void *)((wxEvent *) ((wxShowEvent *) x)); |
| 26085 | } |
| 26086 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { |
| 26087 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); |
| 26088 | } |
| 26089 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { |
| 26090 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); |
| 26091 | } |
| 26092 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { |
| 26093 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); |
| 26094 | } |
| 26095 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { |
| 26096 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); |
| 26097 | } |
| 26098 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { |
| 26099 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); |
| 26100 | } |
| 26101 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { |
| 26102 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); |
| 26103 | } |
| 26104 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { |
| 26105 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); |
| 26106 | } |
| 26107 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { |
| 26108 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); |
| 26109 | } |
| 26110 | static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) { |
| 26111 | return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); |
| 26112 | } |
| 26113 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { |
| 26114 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); |
| 26115 | } |
| 26116 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { |
| 26117 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); |
| 26118 | } |
| 26119 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { |
| 26120 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); |
| 26121 | } |
| 26122 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { |
| 26123 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); |
| 26124 | } |
| 26125 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { |
| 26126 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); |
| 26127 | } |
| 26128 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { |
| 26129 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); |
| 26130 | } |
| 26131 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { |
| 26132 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); |
| 26133 | } |
| 26134 | static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { |
| 26135 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); |
| 26136 | } |
| 26137 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { |
| 26138 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); |
| 26139 | } |
| 26140 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { |
| 26141 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); |
| 26142 | } |
| 26143 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { |
| 26144 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); |
| 26145 | } |
| 26146 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { |
| 26147 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); |
| 26148 | } |
| 26149 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { |
| 26150 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); |
| 26151 | } |
| 26152 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { |
| 26153 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); |
| 26154 | } |
| 26155 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { |
| 26156 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); |
| 26157 | } |
| 26158 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { |
| 26159 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); |
| 26160 | } |
| 26161 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { |
| 26162 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); |
| 26163 | } |
| 26164 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { |
| 26165 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); |
| 26166 | } |
| 26167 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { |
| 26168 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); |
| 26169 | } |
| 26170 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { |
| 26171 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); |
| 26172 | } |
| 26173 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { |
| 26174 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); |
| 26175 | } |
| 26176 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { |
| 26177 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); |
| 26178 | } |
| 26179 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { |
| 26180 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); |
| 26181 | } |
| 26182 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { |
| 26183 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); |
| 26184 | } |
| 26185 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { |
| 26186 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); |
| 26187 | } |
| 26188 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { |
| 26189 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); |
| 26190 | } |
| 26191 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { |
| 26192 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); |
| 26193 | } |
| 26194 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { |
| 26195 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); |
| 26196 | } |
| 26197 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { |
| 26198 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); |
| 26199 | } |
| 26200 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { |
| 26201 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); |
| 26202 | } |
| 26203 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { |
| 26204 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); |
| 26205 | } |
| 26206 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { |
| 26207 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); |
| 26208 | } |
| 26209 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { |
| 26210 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); |
| 26211 | } |
| 26212 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { |
| 26213 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); |
| 26214 | } |
| 26215 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { |
| 26216 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); |
| 26217 | } |
| 26218 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { |
| 26219 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); |
| 26220 | } |
| 26221 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { |
| 26222 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); |
| 26223 | } |
| 26224 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { |
| 26225 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); |
| 26226 | } |
| 26227 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { |
| 26228 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); |
| 26229 | } |
| 26230 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { |
| 26231 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); |
| 26232 | } |
| 26233 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { |
| 26234 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); |
| 26235 | } |
| 26236 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { |
| 26237 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); |
| 26238 | } |
| 26239 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { |
| 26240 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); |
| 26241 | } |
| 26242 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { |
| 26243 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); |
| 26244 | } |
| 26245 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { |
| 26246 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); |
| 26247 | } |
| 26248 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { |
| 26249 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); |
| 26250 | } |
| 26251 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { |
| 26252 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); |
| 26253 | } |
| 26254 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { |
| 26255 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); |
| 26256 | } |
| 26257 | static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) { |
| 26258 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); |
| 26259 | } |
| 26260 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { |
| 26261 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); |
| 26262 | } |
| 26263 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) { |
| 26264 | return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x)); |
| 26265 | } |
| 26266 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { |
| 26267 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); |
| 26268 | } |
| 26269 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { |
| 26270 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); |
| 26271 | } |
| 26272 | static void *_p_wxTipWindowTo_p_wxFrame(void *x) { |
| 26273 | return (void *)((wxFrame *) ((wxTipWindow *) x)); |
| 26274 | } |
| 26275 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { |
| 26276 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); |
| 26277 | } |
| 26278 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { |
| 26279 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); |
| 26280 | } |
| 26281 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { |
| 26282 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); |
| 26283 | } |
| 26284 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { |
| 26285 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); |
| 26286 | } |
| 26287 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { |
| 26288 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); |
| 26289 | } |
| 26290 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { |
| 26291 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); |
| 26292 | } |
| 26293 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { |
| 26294 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); |
| 26295 | } |
| 26296 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { |
| 26297 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); |
| 26298 | } |
| 26299 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { |
| 26300 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); |
| 26301 | } |
| 26302 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { |
| 26303 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); |
| 26304 | } |
| 26305 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { |
| 26306 | return (void *)((wxObject *) ((wxSizerItem *) x)); |
| 26307 | } |
| 26308 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { |
| 26309 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); |
| 26310 | } |
| 26311 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { |
| 26312 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); |
| 26313 | } |
| 26314 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { |
| 26315 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); |
| 26316 | } |
| 26317 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { |
| 26318 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); |
| 26319 | } |
| 26320 | static void *_p_wxSizerTo_p_wxObject(void *x) { |
| 26321 | return (void *)((wxObject *) ((wxSizer *) x)); |
| 26322 | } |
| 26323 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { |
| 26324 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); |
| 26325 | } |
| 26326 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { |
| 26327 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); |
| 26328 | } |
| 26329 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { |
| 26330 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); |
| 26331 | } |
| 26332 | static void *_p_wxEventTo_p_wxObject(void *x) { |
| 26333 | return (void *)((wxObject *) ((wxEvent *) x)); |
| 26334 | } |
| 26335 | static void *_p_wxFontDataTo_p_wxObject(void *x) { |
| 26336 | return (void *)((wxObject *) ((wxFontData *) x)); |
| 26337 | } |
| 26338 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { |
| 26339 | return (void *)((wxObject *) ((wxPrintData *) x)); |
| 26340 | } |
| 26341 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { |
| 26342 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); |
| 26343 | } |
| 26344 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { |
| 26345 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); |
| 26346 | } |
| 26347 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { |
| 26348 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); |
| 26349 | } |
| 26350 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { |
| 26351 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); |
| 26352 | } |
| 26353 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { |
| 26354 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); |
| 26355 | } |
| 26356 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { |
| 26357 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); |
| 26358 | } |
| 26359 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { |
| 26360 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); |
| 26361 | } |
| 26362 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { |
| 26363 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); |
| 26364 | } |
| 26365 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { |
| 26366 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); |
| 26367 | } |
| 26368 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { |
| 26369 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); |
| 26370 | } |
| 26371 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { |
| 26372 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); |
| 26373 | } |
| 26374 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { |
| 26375 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); |
| 26376 | } |
| 26377 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { |
| 26378 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); |
| 26379 | } |
| 26380 | static void *_p_wxControlTo_p_wxObject(void *x) { |
| 26381 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); |
| 26382 | } |
| 26383 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { |
| 26384 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); |
| 26385 | } |
| 26386 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { |
| 26387 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); |
| 26388 | } |
| 26389 | static void *_p_wxFSFileTo_p_wxObject(void *x) { |
| 26390 | return (void *)((wxObject *) ((wxFSFile *) x)); |
| 26391 | } |
| 26392 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { |
| 26393 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); |
| 26394 | } |
| 26395 | static void *_p_wxPySizerTo_p_wxObject(void *x) { |
| 26396 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); |
| 26397 | } |
| 26398 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { |
| 26399 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); |
| 26400 | } |
| 26401 | static void *_p_wxColourDataTo_p_wxObject(void *x) { |
| 26402 | return (void *)((wxObject *) ((wxColourData *) x)); |
| 26403 | } |
| 26404 | static void *_p_wxPyEventTo_p_wxObject(void *x) { |
| 26405 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); |
| 26406 | } |
| 26407 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { |
| 26408 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); |
| 26409 | } |
| 26410 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { |
| 26411 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); |
| 26412 | } |
| 26413 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { |
| 26414 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); |
| 26415 | } |
| 26416 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { |
| 26417 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); |
| 26418 | } |
| 26419 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { |
| 26420 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); |
| 26421 | } |
| 26422 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { |
| 26423 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); |
| 26424 | } |
| 26425 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { |
| 26426 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); |
| 26427 | } |
| 26428 | static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { |
| 26429 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); |
| 26430 | } |
| 26431 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { |
| 26432 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); |
| 26433 | } |
| 26434 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { |
| 26435 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); |
| 26436 | } |
| 26437 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { |
| 26438 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); |
| 26439 | } |
| 26440 | static void *_p_wxShowEventTo_p_wxObject(void *x) { |
| 26441 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); |
| 26442 | } |
| 26443 | static void *_p_wxPrinterTo_p_wxObject(void *x) { |
| 26444 | return (void *)((wxObject *) ((wxPrinter *) x)); |
| 26445 | } |
| 26446 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { |
| 26447 | return (void *)((wxObject *) ((wxMenuItem *) x)); |
| 26448 | } |
| 26449 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { |
| 26450 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); |
| 26451 | } |
| 26452 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { |
| 26453 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); |
| 26454 | } |
| 26455 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { |
| 26456 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); |
| 26457 | } |
| 26458 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { |
| 26459 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); |
| 26460 | } |
| 26461 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { |
| 26462 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); |
| 26463 | } |
| 26464 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { |
| 26465 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); |
| 26466 | } |
| 26467 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { |
| 26468 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); |
| 26469 | } |
| 26470 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { |
| 26471 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); |
| 26472 | } |
| 26473 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { |
| 26474 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); |
| 26475 | } |
| 26476 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { |
| 26477 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); |
| 26478 | } |
| 26479 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { |
| 26480 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); |
| 26481 | } |
| 26482 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { |
| 26483 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); |
| 26484 | } |
| 26485 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { |
| 26486 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); |
| 26487 | } |
| 26488 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { |
| 26489 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); |
| 26490 | } |
| 26491 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { |
| 26492 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); |
| 26493 | } |
| 26494 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { |
| 26495 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); |
| 26496 | } |
| 26497 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { |
| 26498 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); |
| 26499 | } |
| 26500 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { |
| 26501 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); |
| 26502 | } |
| 26503 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { |
| 26504 | return (void *)((wxObject *) ((wxImageHandler *) x)); |
| 26505 | } |
| 26506 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { |
| 26507 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); |
| 26508 | } |
| 26509 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { |
| 26510 | return (void *)((wxObject *) ((wxEvtHandler *) x)); |
| 26511 | } |
| 26512 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { |
| 26513 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); |
| 26514 | } |
| 26515 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { |
| 26516 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); |
| 26517 | } |
| 26518 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { |
| 26519 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); |
| 26520 | } |
| 26521 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
| 26522 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); |
| 26523 | } |
| 26524 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { |
| 26525 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); |
| 26526 | } |
| 26527 | static void *_p_wxImageTo_p_wxObject(void *x) { |
| 26528 | return (void *)((wxObject *) ((wxImage *) x)); |
| 26529 | } |
| 26530 | static void *_p_wxFrameTo_p_wxObject(void *x) { |
| 26531 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); |
| 26532 | } |
| 26533 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { |
| 26534 | return (void *)((wxObject *) ((wxPyPrintout *) x)); |
| 26535 | } |
| 26536 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { |
| 26537 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); |
| 26538 | } |
| 26539 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { |
| 26540 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); |
| 26541 | } |
| 26542 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { |
| 26543 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); |
| 26544 | } |
| 26545 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { |
| 26546 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); |
| 26547 | } |
| 26548 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { |
| 26549 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); |
| 26550 | } |
| 26551 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { |
| 26552 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); |
| 26553 | } |
| 26554 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { |
| 26555 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); |
| 26556 | } |
| 26557 | static void *_p_wxWindowTo_p_wxObject(void *x) { |
| 26558 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); |
| 26559 | } |
| 26560 | static void *_p_wxMenuTo_p_wxObject(void *x) { |
| 26561 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); |
| 26562 | } |
| 26563 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { |
| 26564 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); |
| 26565 | } |
| 26566 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { |
| 26567 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); |
| 26568 | } |
| 26569 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { |
| 26570 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); |
| 26571 | } |
| 26572 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { |
| 26573 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); |
| 26574 | } |
| 26575 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { |
| 26576 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); |
| 26577 | } |
| 26578 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { |
| 26579 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); |
| 26580 | } |
| 26581 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { |
| 26582 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); |
| 26583 | } |
| 26584 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { |
| 26585 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); |
| 26586 | } |
| 26587 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { |
| 26588 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); |
| 26589 | } |
| 26590 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { |
| 26591 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); |
| 26592 | } |
| 26593 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { |
| 26594 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); |
| 26595 | } |
| 26596 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { |
| 26597 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); |
| 26598 | } |
| 26599 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { |
| 26600 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); |
| 26601 | } |
| 26602 | static void *_p_wxSashEventTo_p_wxObject(void *x) { |
| 26603 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); |
| 26604 | } |
| 26605 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { |
| 26606 | return (void *)((wxObject *) ((wxPrintPreview *) x)); |
| 26607 | } |
| 26608 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { |
| 26609 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); |
| 26610 | } |
| 26611 | static void *_p_wxPanelTo_p_wxObject(void *x) { |
| 26612 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); |
| 26613 | } |
| 26614 | static void *_p_wxDialogTo_p_wxObject(void *x) { |
| 26615 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); |
| 26616 | } |
| 26617 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { |
| 26618 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); |
| 26619 | } |
| 26620 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { |
| 26621 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); |
| 26622 | } |
| 26623 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { |
| 26624 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); |
| 26625 | } |
| 26626 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { |
| 26627 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); |
| 26628 | } |
| 26629 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { |
| 26630 | return (void *)((wxObject *) ((wxPrintDialog *) x)); |
| 26631 | } |
| 26632 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { |
| 26633 | return (void *)((wxObject *) ((wxFileSystem *) x)); |
| 26634 | } |
| 26635 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { |
| 26636 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); |
| 26637 | } |
| 26638 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { |
| 26639 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); |
| 26640 | } |
| 26641 | static void *_p_wxPyAppTo_p_wxObject(void *x) { |
| 26642 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); |
| 26643 | } |
| 26644 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { |
| 26645 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); |
| 26646 | } |
| 26647 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { |
| 26648 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); |
| 26649 | } |
| 26650 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { |
| 26651 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); |
| 26652 | } |
| 26653 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { |
| 26654 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); |
| 26655 | } |
| 26656 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { |
| 26657 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); |
| 26658 | } |
| 26659 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { |
| 26660 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); |
| 26661 | } |
| 26662 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { |
| 26663 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); |
| 26664 | } |
| 26665 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { |
| 26666 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); |
| 26667 | } |
| 26668 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { |
| 26669 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); |
| 26670 | } |
| 26671 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { |
| 26672 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); |
| 26673 | } |
| 26674 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { |
| 26675 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); |
| 26676 | } |
| 26677 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { |
| 26678 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); |
| 26679 | } |
| 26680 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { |
| 26681 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); |
| 26682 | } |
| 26683 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { |
| 26684 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); |
| 26685 | } |
| 26686 | static void *_p_wxValidatorTo_p_wxObject(void *x) { |
| 26687 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); |
| 26688 | } |
| 26689 | static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) { |
| 26690 | return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x)); |
| 26691 | } |
| 26692 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { |
| 26693 | return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x)); |
| 26694 | } |
| 26695 | static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) { |
| 26696 | return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); |
| 26697 | } |
| 26698 | static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) { |
| 26699 | return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x)); |
| 26700 | } |
| 26701 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { |
| 26702 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); |
| 26703 | } |
| 26704 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { |
| 26705 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); |
| 26706 | } |
| 26707 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { |
| 26708 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); |
| 26709 | } |
| 26710 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { |
| 26711 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); |
| 26712 | } |
| 26713 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { |
| 26714 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); |
| 26715 | } |
| 26716 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { |
| 26717 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); |
| 26718 | } |
| 26719 | static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) { |
| 26720 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x)); |
| 26721 | } |
| 26722 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { |
| 26723 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); |
| 26724 | } |
| 26725 | static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) { |
| 26726 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x)); |
| 26727 | } |
| 26728 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { |
| 26729 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); |
| 26730 | } |
| 26731 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { |
| 26732 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); |
| 26733 | } |
| 26734 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { |
| 26735 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); |
| 26736 | } |
| 26737 | static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) { |
| 26738 | return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); |
| 26739 | } |
| 26740 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { |
| 26741 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); |
| 26742 | } |
| 26743 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { |
| 26744 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); |
| 26745 | } |
| 26746 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { |
| 26747 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); |
| 26748 | } |
| 26749 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { |
| 26750 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); |
| 26751 | } |
| 26752 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { |
| 26753 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); |
| 26754 | } |
| 26755 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { |
| 26756 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); |
| 26757 | } |
| 26758 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { |
| 26759 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); |
| 26760 | } |
| 26761 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { |
| 26762 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); |
| 26763 | } |
| 26764 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { |
| 26765 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); |
| 26766 | } |
| 26767 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { |
| 26768 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); |
| 26769 | } |
| 26770 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { |
| 26771 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); |
| 26772 | } |
| 26773 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { |
| 26774 | return (void *)((wxWindow *) ((wxMenuBar *) x)); |
| 26775 | } |
| 26776 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { |
| 26777 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); |
| 26778 | } |
| 26779 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { |
| 26780 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); |
| 26781 | } |
| 26782 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { |
| 26783 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); |
| 26784 | } |
| 26785 | static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { |
| 26786 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); |
| 26787 | } |
| 26788 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { |
| 26789 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); |
| 26790 | } |
| 26791 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { |
| 26792 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); |
| 26793 | } |
| 26794 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { |
| 26795 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); |
| 26796 | } |
| 26797 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { |
| 26798 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); |
| 26799 | } |
| 26800 | static void *_p_wxPanelTo_p_wxWindow(void *x) { |
| 26801 | return (void *)((wxWindow *) ((wxPanel *) x)); |
| 26802 | } |
| 26803 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { |
| 26804 | return (void *)((wxWindow *) ((wxStatusBar *) x)); |
| 26805 | } |
| 26806 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { |
| 26807 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); |
| 26808 | } |
| 26809 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { |
| 26810 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); |
| 26811 | } |
| 26812 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { |
| 26813 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); |
| 26814 | } |
| 26815 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { |
| 26816 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); |
| 26817 | } |
| 26818 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { |
| 26819 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); |
| 26820 | } |
| 26821 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { |
| 26822 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); |
| 26823 | } |
| 26824 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { |
| 26825 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); |
| 26826 | } |
| 26827 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { |
| 26828 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); |
| 26829 | } |
| 26830 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { |
| 26831 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); |
| 26832 | } |
| 26833 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { |
| 26834 | return (void *)((wxWindow *) ((wxSashWindow *) x)); |
| 26835 | } |
| 26836 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { |
| 26837 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); |
| 26838 | } |
| 26839 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { |
| 26840 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); |
| 26841 | } |
| 26842 | static void *_p_wxControlTo_p_wxWindow(void *x) { |
| 26843 | return (void *)((wxWindow *) ((wxControl *) x)); |
| 26844 | } |
| 26845 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { |
| 26846 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); |
| 26847 | } |
| 26848 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { |
| 26849 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); |
| 26850 | } |
| 26851 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { |
| 26852 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); |
| 26853 | } |
| 26854 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { |
| 26855 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); |
| 26856 | } |
| 26857 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { |
| 26858 | return (void *)((wxWindow *) ((wxPyWindow *) x)); |
| 26859 | } |
| 26860 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { |
| 26861 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); |
| 26862 | } |
| 26863 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { |
| 26864 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); |
| 26865 | } |
| 26866 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { |
| 26867 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); |
| 26868 | } |
| 26869 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { |
| 26870 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); |
| 26871 | } |
| 26872 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { |
| 26873 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); |
| 26874 | } |
| 26875 | static void *_p_wxFrameTo_p_wxWindow(void *x) { |
| 26876 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); |
| 26877 | } |
| 26878 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { |
| 26879 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); |
| 26880 | } |
| 26881 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { |
| 26882 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); |
| 26883 | } |
| 26884 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { |
| 26885 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); |
| 26886 | } |
| 26887 | static void *_p_wxDialogTo_p_wxWindow(void *x) { |
| 26888 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); |
| 26889 | } |
| 26890 | static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) { |
| 26891 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); |
| 26892 | } |
| 26893 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { |
| 26894 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); |
| 26895 | } |
| 26896 | static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { |
| 26897 | return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); |
| 26898 | } |
| 26899 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { |
| 26900 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); |
| 26901 | } |
| 26902 | static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) { |
| 26903 | return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x)); |
| 26904 | } |
| 26905 | static void *_p_wxColourDialogTo_p_wxDialog(void *x) { |
| 26906 | return (void *)((wxDialog *) ((wxColourDialog *) x)); |
| 26907 | } |
| 26908 | static void *_p_wxDirDialogTo_p_wxDialog(void *x) { |
| 26909 | return (void *)((wxDialog *) ((wxDirDialog *) x)); |
| 26910 | } |
| 26911 | static void *_p_wxFontDialogTo_p_wxDialog(void *x) { |
| 26912 | return (void *)((wxDialog *) ((wxFontDialog *) x)); |
| 26913 | } |
| 26914 | static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) { |
| 26915 | return (void *)((wxDialog *) ((wxPageSetupDialog *) x)); |
| 26916 | } |
| 26917 | static void *_p_wxFileDialogTo_p_wxDialog(void *x) { |
| 26918 | return (void *)((wxDialog *) ((wxFileDialog *) x)); |
| 26919 | } |
| 26920 | static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) { |
| 26921 | return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x)); |
| 26922 | } |
| 26923 | static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) { |
| 26924 | return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x)); |
| 26925 | } |
| 26926 | static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) { |
| 26927 | return (void *)((wxDialog *) ((wxTextEntryDialog *) x)); |
| 26928 | } |
| 26929 | static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) { |
| 26930 | return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); |
| 26931 | } |
| 26932 | static void *_p_wxMessageDialogTo_p_wxDialog(void *x) { |
| 26933 | return (void *)((wxDialog *) ((wxMessageDialog *) x)); |
| 26934 | } |
| 26935 | static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) { |
| 26936 | return (void *)((wxDialog *) ((wxFindReplaceDialog *) x)); |
| 26937 | } |
| 26938 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { |
| 26939 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); |
| 26940 | } |
| 26941 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { |
| 26942 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); |
| 26943 | } |
| 26944 | static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { |
| 26945 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); |
| 26946 | } |
| 26947 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { |
| 26948 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); |
| 26949 | } |
| 26950 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { |
| 26951 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); |
| 26952 | } |
| 26953 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { |
| 26954 | return (void *)((wxPanel *) ((wxPyPanel *) x)); |
| 26955 | } |
| 26956 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { |
| 26957 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); |
| 26958 | } |
| 26959 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { |
| 26960 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); |
| 26961 | } |
| 26962 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { |
| 26963 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); |
| 26964 | } |
| 26965 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { |
| 26966 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); |
| 26967 | } |
| 26968 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { |
| 26969 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); |
| 26970 | } |
| 26971 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { |
| 26972 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); |
| 26973 | } |
| 26974 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { |
| 26975 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); |
| 26976 | } |
| 26977 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { |
| 26978 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); |
| 26979 | } |
| 26980 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { |
| 26981 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); |
| 26982 | } |
| 26983 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { |
| 26984 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); |
| 26985 | } |
| 26986 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { |
| 26987 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); |
| 26988 | } |
| 26989 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { |
| 26990 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); |
| 26991 | } |
| 26992 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { |
| 26993 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); |
| 26994 | } |
| 26995 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { |
| 26996 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); |
| 26997 | } |
| 26998 | static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) { |
| 26999 | return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); |
| 27000 | } |
| 27001 | 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}}; |
| 27002 | 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}}; |
| 27003 | 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}}; |
| 27004 | 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}}; |
| 27005 | 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}}; |
| 27006 | 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}}; |
| 27007 | 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}}; |
| 27008 | 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}}; |
| 27009 | 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}}; |
| 27010 | 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}}; |
| 27011 | 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}}; |
| 27012 | 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}}; |
| 27013 | 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}}; |
| 27014 | 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}}; |
| 27015 | 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}}; |
| 27016 | 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}}; |
| 27017 | 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}}; |
| 27018 | 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}}; |
| 27019 | 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}}; |
| 27020 | 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}}; |
| 27021 | 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}}; |
| 27022 | 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}}; |
| 27023 | 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}}; |
| 27024 | 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}}; |
| 27025 | 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}}; |
| 27026 | 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}}; |
| 27027 | 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}}; |
| 27028 | 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}}; |
| 27029 | 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}}; |
| 27030 | 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}}; |
| 27031 | 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}}; |
| 27032 | 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}}; |
| 27033 | 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}}; |
| 27034 | 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}}; |
| 27035 | 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}}; |
| 27036 | 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}}; |
| 27037 | 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}}; |
| 27038 | 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}}; |
| 27039 | 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_wxPageSetupDialog", _p_wxPageSetupDialogTo_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}}; |
| 27040 | 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}}; |
| 27041 | 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}}; |
| 27042 | 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}}; |
| 27043 | 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}}; |
| 27044 | 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}}; |
| 27045 | 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}}; |
| 27046 | 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}}; |
| 27047 | 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}}; |
| 27048 | 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}}; |
| 27049 | 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}}; |
| 27050 | 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}}; |
| 27051 | 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}}; |
| 27052 | 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}}; |
| 27053 | 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_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_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}}; |
| 27054 | 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}}; |
| 27055 | 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}}; |
| 27056 | 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}}; |
| 27057 | 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}}; |
| 27058 | 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}}; |
| 27059 | 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}}; |
| 27060 | 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}}; |
| 27061 | 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}}; |
| 27062 | 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}}; |
| 27063 | static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_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}}; |
| 27064 | 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_wxPageSetupDialog", _p_wxPageSetupDialogTo_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}}; |
| 27065 | 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}}; |
| 27066 | 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}}; |
| 27067 | 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}}; |
| 27068 | 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}}; |
| 27069 | 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}}; |
| 27070 | 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}}; |
| 27071 | 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}}; |
| 27072 | 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}}; |
| 27073 | 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}}; |
| 27074 | 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}}; |
| 27075 | static swig_type_info _swigt__p_wxDialog[] = {{"_p_wxDialog", 0, "wxDialog *", 0, 0, 0, 0},{"_p_wxDialog", 0, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_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}}; |
| 27076 | 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}}; |
| 27077 | 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}}; |
| 27078 | 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}}; |
| 27079 | 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}}; |
| 27080 | 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}}; |
| 27081 | 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}}; |
| 27082 | 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}}; |
| 27083 | 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}}; |
| 27084 | 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}}; |
| 27085 | 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}}; |
| 27086 | 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}}; |
| 27087 | 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}}; |
| 27088 | |
| 27089 | static swig_type_info *swig_types_initial[] = { |
| 27090 | _swigt__p_wxQueryLayoutInfoEvent, |
| 27091 | _swigt__p_wxPreviewFrame, |
| 27092 | _swigt__p_wxPyPreviewFrame, |
| 27093 | _swigt__p_wxPyPanel, |
| 27094 | _swigt__p_wxMenu, |
| 27095 | _swigt__p_wxFontData, |
| 27096 | _swigt__p_wxEvent, |
| 27097 | _swigt__p_wxPrintData, |
| 27098 | _swigt__p_wxTaskBarIcon, |
| 27099 | _swigt__p_wxPyTaskBarIcon, |
| 27100 | _swigt__p_wxIconBundle, |
| 27101 | _swigt__p_wxLayoutAlgorithm, |
| 27102 | _swigt__p_wxFindDialogEvent, |
| 27103 | _swigt__p_wxPreviewCanvas, |
| 27104 | _swigt__p_wxFont, |
| 27105 | _swigt__p_wxSplitterEvent, |
| 27106 | _swigt__p_wxRegion, |
| 27107 | _swigt__p_wxFindReplaceData, |
| 27108 | _swigt__p_int, |
| 27109 | _swigt__p_wxSize, |
| 27110 | _swigt__p_wxDC, |
| 27111 | _swigt__p_wxIcon, |
| 27112 | _swigt__p_wxVisualAttributes, |
| 27113 | _swigt__p_wxMDIChildFrame, |
| 27114 | _swigt__p_wxColourData, |
| 27115 | _swigt__p_wxNotifyEvent, |
| 27116 | _swigt__p_wxPyWindow, |
| 27117 | _swigt__p_wxSplashScreen, |
| 27118 | _swigt__p_wxFindReplaceDialog, |
| 27119 | _swigt__p_wxProgressDialog, |
| 27120 | _swigt__p_wxMessageDialog, |
| 27121 | _swigt__p_wxPasswordEntryDialog, |
| 27122 | _swigt__p_wxSingleChoiceDialog, |
| 27123 | _swigt__p_wxMultiChoiceDialog, |
| 27124 | _swigt__p_wxFileDialog, |
| 27125 | _swigt__p_wxTextEntryDialog, |
| 27126 | _swigt__p_wxPrinter, |
| 27127 | _swigt__p_wxArrayInt, |
| 27128 | _swigt__p_wxEvtHandler, |
| 27129 | _swigt__p_wxCalculateLayoutEvent, |
| 27130 | _swigt__p_wxPyHtmlListBox, |
| 27131 | _swigt__p_wxPyVListBox, |
| 27132 | _swigt__p_wxRect, |
| 27133 | _swigt__p_char, |
| 27134 | _swigt__p_wxMiniFrame, |
| 27135 | _swigt__p_wxFrame, |
| 27136 | _swigt__p_wxPyPrintout, |
| 27137 | _swigt__p_wxTaskBarIconEvent, |
| 27138 | _swigt__p_wxScrollWinEvent, |
| 27139 | _swigt__p_wxStatusBar, |
| 27140 | _swigt__p_wxMDIParentFrame, |
| 27141 | _swigt__p_wxPoint, |
| 27142 | _swigt__p_wxObject, |
| 27143 | _swigt__p_wxMDIClientWindow, |
| 27144 | _swigt__p_wxTipWindow, |
| 27145 | _swigt__p_wxPyPopupTransientWindow, |
| 27146 | _swigt__p_wxSashLayoutWindow, |
| 27147 | _swigt__p_wxSplitterWindow, |
| 27148 | _swigt__p_wxSplashScreenWindow, |
| 27149 | _swigt__p_wxPyVScrolledWindow, |
| 27150 | _swigt__p_wxPopupWindow, |
| 27151 | _swigt__p_wxSashWindow, |
| 27152 | _swigt__p_wxTopLevelWindow, |
| 27153 | _swigt__p_wxWindow, |
| 27154 | _swigt__p_wxScrolledWindow, |
| 27155 | _swigt__p_wxMenuBar, |
| 27156 | _swigt__p_wxPyScrolledWindow, |
| 27157 | _swigt__p_wxPrintPreview, |
| 27158 | _swigt__p_wxSashEvent, |
| 27159 | _swigt__p_wxString, |
| 27160 | _swigt__p_wxPyPrintPreview, |
| 27161 | _swigt__p_wxFontDialog, |
| 27162 | _swigt__p_wxDirDialog, |
| 27163 | _swigt__p_wxColourDialog, |
| 27164 | _swigt__p_wxDialog, |
| 27165 | _swigt__p_wxPanel, |
| 27166 | _swigt__p_wxPageSetupDialog, |
| 27167 | _swigt__p_wxPrintDialog, |
| 27168 | _swigt__p_wxFileSystem, |
| 27169 | _swigt__p_wxBitmap, |
| 27170 | _swigt__p_wxCommandEvent, |
| 27171 | _swigt__p_wxPreviewControlBar, |
| 27172 | _swigt__p_wxPyPreviewControlBar, |
| 27173 | _swigt__p_wxColour, |
| 27174 | _swigt__p_wxToolBar, |
| 27175 | _swigt__p_wxPageSetupDialogData, |
| 27176 | _swigt__p_wxPrintDialogData, |
| 27177 | 0 |
| 27178 | }; |
| 27179 | |
| 27180 | |
| 27181 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ |
| 27182 | |
| 27183 | static swig_const_info swig_const_table[] = { |
| 27184 | {0, 0, 0, 0.0, 0, 0}}; |
| 27185 | |
| 27186 | #ifdef __cplusplus |
| 27187 | } |
| 27188 | #endif |
| 27189 | |
| 27190 | #ifdef __cplusplus |
| 27191 | extern "C" |
| 27192 | #endif |
| 27193 | SWIGEXPORT(void) SWIG_init(void) { |
| 27194 | static PyObject *SWIG_globals = 0; |
| 27195 | static int typeinit = 0; |
| 27196 | PyObject *m, *d; |
| 27197 | int i; |
| 27198 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); |
| 27199 | m = Py_InitModule((char *) SWIG_name, SwigMethods); |
| 27200 | d = PyModule_GetDict(m); |
| 27201 | |
| 27202 | if (!typeinit) { |
| 27203 | for (i = 0; swig_types_initial[i]; i++) { |
| 27204 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); |
| 27205 | } |
| 27206 | typeinit = 1; |
| 27207 | } |
| 27208 | SWIG_InstallConstants(d,swig_const_table); |
| 27209 | |
| 27210 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); |
| 27211 | SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set); |
| 27212 | SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set); |
| 27213 | SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set); |
| 27214 | SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set); |
| 27215 | PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP)); |
| 27216 | PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)wxICONIZE)); |
| 27217 | PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE)); |
| 27218 | PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE)); |
| 27219 | PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX)); |
| 27220 | PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME)); |
| 27221 | PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU)); |
| 27222 | PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX)); |
| 27223 | PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX)); |
| 27224 | PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ)); |
| 27225 | PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT)); |
| 27226 | PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX)); |
| 27227 | PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER)); |
| 27228 | PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT)); |
| 27229 | PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE)); |
| 27230 | PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE)); |
| 27231 | PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW)); |
| 27232 | PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT)); |
| 27233 | PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU)); |
| 27234 | PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR)); |
| 27235 | PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED)); |
| 27236 | PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)wxFRAME_DRAWER)); |
| 27237 | PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL)); |
| 27238 | PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS)); |
| 27239 | PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS)); |
| 27240 | PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)wxNO_3D)); |
| 27241 | PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR)); |
| 27242 | PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR)); |
| 27243 | PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR)); |
| 27244 | PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER)); |
| 27245 | PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION)); |
| 27246 | PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL)); |
| 27247 | PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG)); |
| 27248 | PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO)); |
| 27249 | PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR)); |
| 27250 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT)); |
| 27251 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN)); |
| 27252 | PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE)); |
| 27253 | PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT)); |
| 27254 | PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT)); |
| 27255 | PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL)); |
| 27256 | PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT)); |
| 27257 | PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED)); |
| 27258 | SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set); |
| 27259 | PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER)); |
| 27260 | PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH)); |
| 27261 | PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT)); |
| 27262 | PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE)); |
| 27263 | PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH)); |
| 27264 | PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER)); |
| 27265 | PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME)); |
| 27266 | PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER)); |
| 27267 | PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)wxSP_3D)); |
| 27268 | PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL)); |
| 27269 | PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL)); |
| 27270 | PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE)); |
| 27271 | PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING)); |
| 27272 | PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN)); |
| 27273 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED)); |
| 27274 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING)); |
| 27275 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED)); |
| 27276 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT)); |
| 27277 | SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set); |
| 27278 | SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set); |
| 27279 | PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE)); |
| 27280 | PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING)); |
| 27281 | PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN)); |
| 27282 | PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER)); |
| 27283 | PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER)); |
| 27284 | PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH)); |
| 27285 | PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER)); |
| 27286 | PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)wxSW_3D)); |
| 27287 | PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP)); |
| 27288 | PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT)); |
| 27289 | PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM)); |
| 27290 | PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT)); |
| 27291 | PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE)); |
| 27292 | PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK)); |
| 27293 | PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE)); |
| 27294 | PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED)); |
| 27295 | PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL)); |
| 27296 | PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL)); |
| 27297 | PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE)); |
| 27298 | PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP)); |
| 27299 | PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT)); |
| 27300 | PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT)); |
| 27301 | PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM)); |
| 27302 | PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y)); |
| 27303 | PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X)); |
| 27304 | PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH)); |
| 27305 | PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY)); |
| 27306 | PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO)); |
| 27307 | PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT)); |
| 27308 | SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set); |
| 27309 | |
| 27310 | // Map renamed classes back to their common name for OOR |
| 27311 | wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox"); |
| 27312 | wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox"); |
| 27313 | wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow"); |
| 27314 | |
| 27315 | PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE)); |
| 27316 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN)); |
| 27317 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP)); |
| 27318 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN)); |
| 27319 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP)); |
| 27320 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK)); |
| 27321 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK)); |
| 27322 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set); |
| 27323 | SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set); |
| 27324 | SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set); |
| 27325 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set); |
| 27326 | SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set); |
| 27327 | SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set); |
| 27328 | PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE)); |
| 27329 | SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set); |
| 27330 | PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN)); |
| 27331 | PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD)); |
| 27332 | PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE)); |
| 27333 | PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG)); |
| 27334 | PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN)); |
| 27335 | PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE)); |
| 27336 | PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD)); |
| 27337 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND)); |
| 27338 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT)); |
| 27339 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE)); |
| 27340 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL)); |
| 27341 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE)); |
| 27342 | PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)4001)); |
| 27343 | PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001)); |
| 27344 | PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002)); |
| 27345 | PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)4003)); |
| 27346 | PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)4004)); |
| 27347 | PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005)); |
| 27348 | PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)4100)); |
| 27349 | PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)4600)); |
| 27350 | SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set); |
| 27351 | SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set); |
| 27352 | PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE)); |
| 27353 | PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW)); |
| 27354 | PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE)); |
| 27355 | PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER)); |
| 27356 | PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM)); |
| 27357 | PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)wxPRINTBIN_DEFAULT)); |
| 27358 | PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)wxPRINTBIN_ONLYONE)); |
| 27359 | PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)wxPRINTBIN_LOWER)); |
| 27360 | PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)wxPRINTBIN_MIDDLE)); |
| 27361 | PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)wxPRINTBIN_MANUAL)); |
| 27362 | PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)wxPRINTBIN_ENVELOPE)); |
| 27363 | PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)wxPRINTBIN_ENVMANUAL)); |
| 27364 | PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)wxPRINTBIN_AUTO)); |
| 27365 | PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)wxPRINTBIN_TRACTOR)); |
| 27366 | PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)wxPRINTBIN_SMALLFMT)); |
| 27367 | PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)wxPRINTBIN_LARGEFMT)); |
| 27368 | PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)wxPRINTBIN_LARGECAPACITY)); |
| 27369 | PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)wxPRINTBIN_CASSETTE)); |
| 27370 | PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)wxPRINTBIN_FORMSOURCE)); |
| 27371 | PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)wxPRINTBIN_USER)); |
| 27372 | PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR)); |
| 27373 | PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED)); |
| 27374 | PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR)); |
| 27375 | PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT)); |
| 27376 | PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS)); |
| 27377 | PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT)); |
| 27378 | PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM)); |
| 27379 | PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST)); |
| 27380 | PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST)); |
| 27381 | PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO)); |
| 27382 | PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT)); |
| 27383 | PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE)); |
| 27384 | PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT)); |
| 27385 | PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS)); |
| 27386 | PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT)); |
| 27387 | PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM)); |
| 27388 | PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST)); |
| 27389 | PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST)); |
| 27390 | PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO)); |
| 27391 | |
| 27392 | wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout"); |
| 27393 | |
| 27394 | } |
| 27395 | |