1 /* ---------------------------------------------------------------------------- 
   2  * This file was automatically generated by SWIG (http://www.swig.org). 
   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  * ----------------------------------------------------------------------------- */ 
  12 #define SWIG_NOINCLUDE 
  15 template<class T
> class SwigValueWrapper 
{ 
  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
; } 
  26     SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
); 
  33 /*************************************************************** -*- c -*- 
  34  * python/precommon.swg 
  36  * Rename all exported symbols from common.swg, to avoid symbol 
  37  * clashes if multiple interpreters are included 
  39  ************************************************************************/ 
  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  
  53 /*********************************************************************** 
  54  * common.swg for wxPython 
  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 
  61  ************************************************************************/ 
  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 
  71 #      define SWIGEXPORT(a) __declspec(dllexport) a 
  72 #      define SWIGIMPORT(a) extern a 
  75 #    if defined(__BORLANDC__) 
  76 #      define SWIGEXPORT(a) a _export 
  77 #      define SWIGIMPORT(a) a _export 
  79 #      define SWIGEXPORT(a) a 
  80 #      define SWIGIMPORT(a) a 
  84 #  define SWIGEXPORT(a) a 
  85 #  define SWIGIMPORT(a) a 
  89 #  define SWIGRUNTIME(a) SWIGEXPORT(a) 
  91 #  define SWIGRUNTIME(a) static a 
  98 typedef void *(*swig_converter_func
)(void *); 
  99 typedef struct swig_type_info 
*(*swig_dycast_func
)(void **); 
 101 typedef struct swig_type_info 
{ 
 103   swig_converter_func     converter
; 
 106   swig_dycast_func        dcast
; 
 107   struct swig_type_info  
*next
; 
 108   struct swig_type_info  
*prev
; 
 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); 
 129 /*********************************************************************** 
 130  * pyrun.swg for wxPython 
 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 
 137  ************************************************************************/ 
 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 
 149 /* Flags for pointer conversion */ 
 151 #define SWIG_POINTER_EXCEPTION     0x1 
 152 #define SWIG_POINTER_DISOWN        0x2 
 154 /* Exception handling in wrappers */ 
 155 #define SWIG_fail   goto fail 
 157 /* Constant information structure */ 
 158 typedef struct swig_const_info 
{ 
 164     swig_type_info 
**ptype
; 
 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) 
 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) 
 187 typedef double (*py_objasdbl_conv
)(PyObject 
*obj
); 
 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
[]); 
 199 /* Contract support */ 
 201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else 
 209 /* -------- TYPES TABLE (BEGIN) -------- */ 
 211 #define  SWIGTYPE_p_wxTextUrlEvent swig_types[0]  
 212 #define  SWIGTYPE_p_wxBookCtrlEvent swig_types[1]  
 213 #define  SWIGTYPE_p_wxSizer swig_types[2]  
 214 #define  SWIGTYPE_p_wxCheckBox swig_types[3]  
 215 #define  SWIGTYPE_p_wxPyTreeCtrl swig_types[4]  
 216 #define  SWIGTYPE_p_wxEvent swig_types[5]  
 217 #define  SWIGTYPE_p_wxGenericDirCtrl swig_types[6]  
 218 #define  SWIGTYPE_p_bool swig_types[7]  
 219 #define  SWIGTYPE_p_wxPyTreeItemData swig_types[8]  
 220 #define  SWIGTYPE_p_wxItemContainer swig_types[9]  
 221 #define  SWIGTYPE_p_wxPyListCtrl swig_types[10]  
 222 #define  SWIGTYPE_p_wxDirFilterListCtrl swig_types[11]  
 223 #define  SWIGTYPE_p_wxStaticLine swig_types[12]  
 224 #define  SWIGTYPE_p_wxControl swig_types[13]  
 225 #define  SWIGTYPE_p_wxPyControl swig_types[14]  
 226 #define  SWIGTYPE_p_wxGauge swig_types[15]  
 227 #define  SWIGTYPE_p_wxToolBarBase swig_types[16]  
 228 #define  SWIGTYPE_p_wxFont swig_types[17]  
 229 #define  SWIGTYPE_p_wxToggleButton swig_types[18]  
 230 #define  SWIGTYPE_p_wxRadioButton swig_types[19]  
 231 #define  SWIGTYPE_p_wxChoice swig_types[20]  
 232 #define  SWIGTYPE_p_wxMemoryDC swig_types[21]  
 233 #define  SWIGTYPE_p_wxListItemAttr swig_types[22]  
 234 #define  SWIGTYPE_p_void swig_types[23]  
 235 #define  SWIGTYPE_p_int swig_types[24]  
 236 #define  SWIGTYPE_p_wxSize swig_types[25]  
 237 #define  SWIGTYPE_p_wxDC swig_types[26]  
 238 #define  SWIGTYPE_p_wxListView swig_types[27]  
 239 #define  SWIGTYPE_p_wxIcon swig_types[28]  
 240 #define  SWIGTYPE_p_wxVisualAttributes swig_types[29]  
 241 #define  SWIGTYPE_p_wxTextCtrl swig_types[30]  
 242 #define  SWIGTYPE_p_wxNotebook swig_types[31]  
 243 #define  SWIGTYPE_p_wxChoicebook swig_types[32]  
 244 #define  SWIGTYPE_p_wxNotifyEvent swig_types[33]  
 245 #define  SWIGTYPE_p_wxArrayString swig_types[34]  
 246 #define  SWIGTYPE_p_wxListbook swig_types[35]  
 247 #define  SWIGTYPE_p_wxStaticBitmap swig_types[36]  
 248 #define  SWIGTYPE_p_wxSlider swig_types[37]  
 249 #define  SWIGTYPE_p_wxStaticBox swig_types[38]  
 250 #define  SWIGTYPE_p_wxArrayInt swig_types[39]  
 251 #define  SWIGTYPE_p_wxContextHelp swig_types[40]  
 252 #define  SWIGTYPE_p_long swig_types[41]  
 253 #define  SWIGTYPE_p_wxEvtHandler swig_types[42]  
 254 #define  SWIGTYPE_p_wxListEvent swig_types[43]  
 255 #define  SWIGTYPE_p_wxCheckListBox swig_types[44]  
 256 #define  SWIGTYPE_p_wxListBox swig_types[45]  
 257 #define  SWIGTYPE_p_wxBookCtrl swig_types[46]  
 258 #define  SWIGTYPE_p_wxSpinButton swig_types[47]  
 259 #define  SWIGTYPE_p_wxButton swig_types[48]  
 260 #define  SWIGTYPE_p_wxBitmapButton swig_types[49]  
 261 #define  SWIGTYPE_p_wxRect swig_types[50]  
 262 #define  SWIGTYPE_p_wxContextHelpButton swig_types[51]  
 263 #define  SWIGTYPE_p_wxRadioBox swig_types[52]  
 264 #define  SWIGTYPE_p_wxScrollBar swig_types[53]  
 265 #define  SWIGTYPE_p_char swig_types[54]  
 266 #define  SWIGTYPE_p_wxTreeItemId swig_types[55]  
 267 #define  SWIGTYPE_p_wxComboBox swig_types[56]  
 268 #define  SWIGTYPE_p_wxHelpEvent swig_types[57]  
 269 #define  SWIGTYPE_p_wxListItem swig_types[58]  
 270 #define  SWIGTYPE_p_wxNotebookSizer swig_types[59]  
 271 #define  SWIGTYPE_p_wxSpinEvent swig_types[60]  
 272 #define  SWIGTYPE_p_wxGenericDragImage swig_types[61]  
 273 #define  SWIGTYPE_p_wxSpinCtrl swig_types[62]  
 274 #define  SWIGTYPE_p_wxImageList swig_types[63]  
 275 #define  SWIGTYPE_p_wxHelpProvider swig_types[64]  
 276 #define  SWIGTYPE_p_wxTextAttr swig_types[65]  
 277 #define  SWIGTYPE_p_wxSimpleHelpProvider swig_types[66]  
 278 #define  SWIGTYPE_p_wxPoint swig_types[67]  
 279 #define  SWIGTYPE_p_wxChoicebookEvent swig_types[68]  
 280 #define  SWIGTYPE_p_wxListbookEvent swig_types[69]  
 281 #define  SWIGTYPE_p_wxNotebookEvent swig_types[70]  
 282 #define  SWIGTYPE_p_wxObject swig_types[71]  
 283 #define  SWIGTYPE_p_wxCursor swig_types[72]  
 284 #define  SWIGTYPE_p_wxKeyEvent swig_types[73]  
 285 #define  SWIGTYPE_p_wxWindow swig_types[74]  
 286 #define  SWIGTYPE_p_wxString swig_types[75]  
 287 #define  SWIGTYPE_p_wxBitmap swig_types[76]  
 288 #define  SWIGTYPE_p_wxTreeEvent swig_types[77]  
 289 #define  SWIGTYPE_p_wxMouseEvent swig_types[78]  
 290 #define  SWIGTYPE_p_wxCommandEvent swig_types[79]  
 291 #define  SWIGTYPE_p_wxStaticText swig_types[80]  
 292 #define  SWIGTYPE_p_wxControlWithItems swig_types[81]  
 293 #define  SWIGTYPE_p_wxToolBarToolBase swig_types[82]  
 294 #define  SWIGTYPE_p_wxColour swig_types[83]  
 295 #define  SWIGTYPE_p_wxToolBar swig_types[84]  
 296 #define  SWIGTYPE_p_wxBookCtrlSizer swig_types[85]  
 297 #define  SWIGTYPE_p_wxValidator swig_types[86]  
 298 static swig_type_info 
*swig_types
[88]; 
 300 /* -------- TYPES TABLE (END) -------- */ 
 303 /*----------------------------------------------- 
 304               @(target):= _controls_.so 
 305   ------------------------------------------------*/ 
 306 #define SWIG_init    init_controls_ 
 308 #define SWIG_name    "_controls_" 
 310 /* Auxiliar swig  macros that appear in the header */ 
 312 #define SWIG_OLDOBJ  1 
 313 #define SWIG_NEWOBJ  SWIG_OLDOBJ + 1 
 314 #define SWIG_PYSTR   SWIG_NEWOBJ + 1 
 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) 
 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))) 
 341 #endif /* __cplusplus */ 
 344 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ 
 345 #define SWIG_From_signed_SS_char PyInt_FromLong 
 347 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ 
 348 #define SWIG_From_unsigned_SS_char PyInt_FromLong 
 350 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ 
 351 #define SWIG_From_short PyInt_FromLong 
 353 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ 
 354 #define SWIG_From_unsigned_SS_short PyInt_FromLong 
 356 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ 
 357 #define SWIG_From_int PyInt_FromLong 
 359 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ 
 360 #define SWIG_From_long PyInt_FromLong 
 362 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ 
 363 #define SWIG_From_float PyFloat_FromDouble 
 365 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ 
 366 #define SWIG_From_double PyFloat_FromDouble 
 370 #include "wx/wxPython/wxPython.h" 
 371 #include "wx/wxPython/pyclasses.h" 
 373  static const wxString 
wxPyPanelNameStr(wxPanelNameStr
);  
 374  static const wxString 
wxPyEmptyString(wxEmptyString
);  
 375  static const wxString 
wxPyControlNameStr(wxControlNameStr
);  
 377     const wxArrayString wxPyEmptyStringArray
; 
 379  static const wxString 
wxPyButtonNameStr(wxButtonNameStr
);  
 384 SWIGSTATICINLINE(int) 
 385   SWIG_CheckLongInRange(long value
, long min_value
, long max_value
, 
 388   if (value 
< min_value
) { 
 390       PyErr_Format(PyExc_OverflowError
,  
 391                    "value %ld is less than '%s' minimum %ld",  
 392                    value
, errmsg
, min_value
); 
 395   } else if (value 
> max_value
) { 
 397       PyErr_Format(PyExc_OverflowError
, 
 398                    "value %ld is greater than '%s' maximum %ld",  
 399                    value
, errmsg
, max_value
); 
 407 // See my_fragments.i 
 408 SWIGSTATICINLINE(int) 
 409 SWIG_AsVal_long(PyObject
* obj
, long* val
) 
 411     if (PyNumber_Check(obj
)) { 
 412         if (val
) *val 
= PyInt_AsLong(obj
); 
 416         PyObject
* errmsg 
= PyString_FromFormat("Expected number, got %s", 
 417                                                obj
->ob_type
->tp_name
); 
 418         PyErr_SetObject(PyExc_TypeError
, errmsg
); 
 425 #if INT_MAX != LONG_MAX 
 426 SWIGSTATICINLINE(int) 
 427   SWIG_AsVal_int(PyObject 
*obj
, int *val
) 
 429   const char* errmsg 
= val 
? "int" : 0; 
 431   if (SWIG_AsVal_long(obj
, &v
)) { 
 432     if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) { 
 433       if (val
) *val 
= swig_numeric_cast(v
, int); 
 442     PyErr_SetString(PyExc_TypeError
, "an int is expected"); 
 447 SWIGSTATICINLINE(int) 
 448   SWIG_AsVal_int(PyObject 
*obj
, int *val
) 
 450   return SWIG_AsVal_long(obj
,(long*)val
); 
 455 SWIGSTATICINLINE(int) 
 456 SWIG_As_int(PyObject
* obj
) 
 459   if (!SWIG_AsVal_int(obj
, &v
)) { 
 461       this is needed to make valgrind/purify happier.  the other 
 462       solution is throw an exception, but since this code should work 
 465     memset((void*)&v
, 0, sizeof(int)); 
 471 SWIGSTATICINLINE(long) 
 472 SWIG_As_long(PyObject
* obj
) 
 475   if (!SWIG_AsVal_long(obj
, &v
)) { 
 477       this is needed to make valgrind/purify happier.  the other 
 478       solution is throw an exception, but since this code should work 
 481     memset((void*)&v
, 0, sizeof(long)); 
 487 SWIGSTATICINLINE(int) 
 488 SWIG_Check_int(PyObject
* obj
) 
 490   return SWIG_AsVal_int(obj
, (int*)0); 
 494 SWIGSTATICINLINE(int) 
 495 SWIG_Check_long(PyObject
* obj
) 
 497   return SWIG_AsVal_long(obj
, (long*)0); 
 500  static const wxString 
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);  
 502 SWIGSTATICINLINE(int) 
 503   SWIG_AsVal_bool(PyObject 
*obj
, bool *val
) 
 505   /*  if (val) *val = PyObject_IsTrue(obj); return 1; */ 
 506   if (obj 
== Py_True
) { 
 507     if (val
) *val 
= true; 
 510   if (obj 
== Py_False
) { 
 511     if (val
) *val 
= false; 
 515   if (SWIG_AsVal_int(obj
, &res
)) {     
 516     if (val
) *val 
= (bool)res
; 
 520     PyErr_SetString(PyExc_TypeError
, "a bool is expected"); 
 526 SWIGSTATICINLINE(bool) 
 527 SWIG_As_bool(PyObject
* obj
) 
 530   if (!SWIG_AsVal_bool(obj
, &v
)) { 
 532       this is needed to make valgrind/purify happier.  the other 
 533       solution is throw an exception, but since this code should work 
 536     memset((void*)&v
, 0, sizeof(bool)); 
 542 SWIGSTATICINLINE(int) 
 543 SWIG_Check_bool(PyObject
* obj
) 
 545   return SWIG_AsVal_bool(obj
, (bool*)0); 
 548  static const wxString 
wxPyChoiceNameStr(wxChoiceNameStr
);  
 549  static const wxString 
wxPyComboBoxNameStr(wxComboBoxNameStr
);  
 550  static const wxString 
wxPyGaugeNameStr(wxGaugeNameStr
);  
 551  static const wxString 
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);  
 552  static const wxString 
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);  
 553  static const wxString 
wxPyStaticTextNameStr(wxStaticTextNameStr
);  
 555 #include <wx/checklst.h> 
 558  static const wxString 
wxPyListBoxNameStr(wxListBoxNameStr
);  
 559 void wxListBox_Insert(wxListBox 
*self
,wxString 
const &item
,int pos
,PyObject 
*clientData
){ 
 561                 wxPyClientData
* data 
= new wxPyClientData(clientData
); 
 562                 self
->Insert(item
, pos
, data
); 
 564                 self
->Insert(item
, pos
); 
 566 PyObject 
*wxListBox_GetSelections(wxListBox 
*self
){ 
 568           self
->GetSelections(lst
); 
 569           PyObject 
*tup 
= PyTuple_New(lst
.GetCount()); 
 570           for(size_t i
=0; i
<lst
.GetCount(); i
++) { 
 571               PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
])); 
 575 void wxListBox_SetItemForegroundColour(wxListBox 
*self
,int item
,wxColour 
const &c
){ 
 577                  if (self
->GetWindowStyle() & wxLB_OWNERDRAW
) 
 578                      self
->GetItem(item
)->SetTextColour(c
); 
 581 void wxListBox_SetItemBackgroundColour(wxListBox 
*self
,int item
,wxColour 
const &c
){ 
 583                  if (self
->GetWindowStyle() & wxLB_OWNERDRAW
) 
 584                      self
->GetItem(item
)->SetBackgroundColour(c
); 
 587 void wxListBox_SetItemFont(wxListBox 
*self
,int item
,wxFont 
const &f
){ 
 589                  if (self
->GetWindowStyle() & wxLB_OWNERDRAW
) 
 590                      self
->GetItem(item
)->SetFont(f
); 
 593  static const wxString 
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);  
 595   static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) { 
 601     } else if (target 
== Py_None
) {   
 605         if (!PyTuple_Check(target
)) { 
 607             target 
= PyTuple_New(1); 
 608             PyTuple_SetItem(target
, 0, o2
); 
 611         PyTuple_SetItem(o3
, 0, o
);       
 614         target 
= PySequence_Concat(o2
, o3
);  
 623 // See my_fragments.i 
 624 SWIGSTATICINLINE(int) 
 625 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
) 
 628     if (SWIG_AsVal_long(obj
, &v
) && v 
< 0) { 
 629         PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type"); 
 633         *val 
= (unsigned long)v
; 
 638 SWIGSTATICINLINE(unsigned long) 
 639 SWIG_As_unsigned_SS_long(PyObject
* obj
) 
 642   if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) { 
 644       this is needed to make valgrind/purify happier.  the other 
 645       solution is throw an exception, but since this code should work 
 648     memset((void*)&v
, 0, sizeof(unsigned long)); 
 654 SWIGSTATICINLINE(int) 
 655 SWIG_Check_unsigned_SS_long(PyObject
* obj
) 
 657   return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0); 
 660 void wxTextCtrl_write(wxTextCtrl 
*self
,wxString 
const &text
){ 
 661             self
->AppendText(text
); 
 663 wxString 
wxTextCtrl_GetString(wxTextCtrl 
*self
,long from
,long to
){ 
 664             return self
->GetValue().Mid(from
, to 
- from
); 
 666  static const wxString 
wxPyScrollBarNameStr(wxScrollBarNameStr
);  
 667  static const wxString 
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);  
 668  static const wxString 
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));  
 669  static const wxString 
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);  
 670  static const wxString 
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);  
 671 int wxRadioBox_GetColumnCount(wxRadioBox 
const *self
){ return -1; } 
 672 int wxRadioBox_GetRowCount(wxRadioBox 
const *self
){ return -1; } 
 673 int wxRadioBox_GetNextItem(wxRadioBox 
const *self
,int item
,wxDirection dir
,long style
){ return -1; } 
 675 #include <wx/slider.h> 
 678  static const wxString 
wxPySliderNameStr(wxSliderNameStr
);  
 679  static const wxString 
wxPyToggleButtonNameStr(_T("wxToggleButton"));  
 682 // implement dummy items for platforms that don't have this class 
 684 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0 
 686 class wxToggleButton 
: public wxControl
 
 689     wxToggleButton(wxWindow 
*, wxWindowID
, const wxString
&, 
 690                    const wxPoint
&, const wxSize
&, long, 
 691                    const wxValidator
&, const wxString
&) 
 692         { wxPyRaiseNotImplemented(); } 
 695         { wxPyRaiseNotImplemented(); } 
 699  static const wxString 
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);  
 701 SWIGSTATICINLINE(PyObject
* ) 
 702   SWIG_From_unsigned_SS_long(unsigned long value
) 
 704   return (value 
> LONG_MAX
) ? 
 705     PyLong_FromUnsignedLong(value
)  
 706     : PyInt_FromLong(swig_numeric_cast(value
,long));  
 709  static const wxString 
wxPyToolBarNameStr(wxToolBarNameStr
);  
 710 PyObject 
*wxToolBarToolBase_GetClientData(wxToolBarToolBase 
*self
){ 
 711             wxPyUserData
* udata 
= (wxPyUserData
*)self
->GetClientData(); 
 713                 Py_INCREF(udata
->m_obj
); 
 720 void wxToolBarToolBase_SetClientData(wxToolBarToolBase 
*self
,PyObject 
*clientData
){ 
 721             self
->SetClientData(new wxPyUserData(clientData
)); 
 723 wxToolBarToolBase 
*wxToolBarBase_DoAddTool(wxToolBarBase 
*self
,int id
,wxString 
const &label
,wxBitmap 
const &bitmap
,wxBitmap 
const &bmpDisabled
,wxItemKind kind
,wxString 
const &shortHelp
,wxString 
const &longHelp
,PyObject 
*clientData
){ 
 724             wxPyUserData
* udata 
= NULL
; 
 725             if (clientData 
&& clientData 
!= Py_None
) 
 726                 udata 
= new wxPyUserData(clientData
); 
 727             return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
, 
 728                                  shortHelp
, longHelp
, udata
); 
 730 wxToolBarToolBase 
*wxToolBarBase_DoInsertTool(wxToolBarBase 
*self
,size_t pos
,int id
,wxString 
const &label
,wxBitmap 
const &bitmap
,wxBitmap 
const &bmpDisabled
,wxItemKind kind
,wxString 
const &shortHelp
,wxString 
const &longHelp
,PyObject 
*clientData
){ 
 731             wxPyUserData
* udata 
= NULL
; 
 732             if (clientData 
&& clientData 
!= Py_None
) 
 733                 udata 
= new wxPyUserData(clientData
); 
 734             return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
, 
 735                                     shortHelp
, longHelp
, udata
); 
 737 PyObject 
*wxToolBarBase_GetToolClientData(wxToolBarBase 
*self
,int id
){ 
 738             wxPyUserData
* udata 
= (wxPyUserData
*)self
->GetToolClientData(id
); 
 740                 Py_INCREF(udata
->m_obj
); 
 747 void wxToolBarBase_SetToolClientData(wxToolBarBase 
*self
,int id
,PyObject 
*clientData
){ 
 748             self
->SetToolClientData(id
, new wxPyUserData(clientData
)); 
 751 #include <wx/listctrl.h> 
 753  static const wxString 
wxPyListCtrlNameStr(_T("wxListCtrl"));  
 754 void wxListItemAttr_Destroy(wxListItemAttr 
*self
){ delete self
; } 
 755  // Python aware sorting function for wxPyListCtrl 
 756     static int wxCALLBACK 
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) { 
 758         PyObject
* func 
= (PyObject
*)funcPtr
; 
 759         bool blocked 
= wxPyBeginBlockThreads(); 
 761         PyObject
* args 
= Py_BuildValue("(ii)", item1
, item2
); 
 762         PyObject
* result 
= PyEval_CallObject(func
, args
); 
 765             retval 
= PyInt_AsLong(result
); 
 769         wxPyEndBlockThreads(blocked
); 
 773   // C++ Version of a Python aware class 
 774 class wxPyListCtrl 
: public wxListCtrl 
{ 
 775     DECLARE_ABSTRACT_CLASS(wxPyListCtrl
); 
 777     wxPyListCtrl() : wxListCtrl() {} 
 778     wxPyListCtrl(wxWindow
* parent
, wxWindowID id
, 
 782                  const wxValidator
& validator
, 
 783                  const wxString
& name
) : 
 784         wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {} 
 786     bool Create(wxWindow
* parent
, wxWindowID id
, 
 790                 const wxValidator
& validator
, 
 791                 const wxString
& name
) { 
 792         return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
); 
 795     DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
); 
 796     DEC_PYCALLBACK_INT_LONG(OnGetItemImage
); 
 797     DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
); 
 802 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
); 
 804 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
); 
 805 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
); 
 806 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
); 
 808 wxListItem 
*wxPyListCtrl_GetColumn(wxPyListCtrl 
*self
,int col
){ 
 810             item
.SetMask( wxLIST_MASK_STATE 
| 
 818             if (self
->GetColumn(col
, item
)) 
 819                 return new wxListItem(item
); 
 823 wxListItem 
*wxPyListCtrl_GetItem(wxPyListCtrl 
*self
,long itemId
,int col
){ 
 824             wxListItem
* info 
= new wxListItem
; 
 825             info
->m_itemId 
= itemId
; 
 827             info
->m_mask 
= 0xFFFF; 
 828             self
->GetItem(*info
); 
 831 wxPoint 
wxPyListCtrl_GetItemPosition(wxPyListCtrl 
*self
,long item
){ 
 833             self
->GetItemPosition(item
, pos
); 
 836 wxRect 
wxPyListCtrl_GetItemRect(wxPyListCtrl 
*self
,long item
,int code
){ 
 838             self
->GetItemRect(item
, rect
, code
); 
 842 bool wxPyListCtrl_SortItems(wxPyListCtrl 
*self
,PyObject 
*func
){ 
 843             if (!PyCallable_Check(func
)) 
 845             return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
); 
 847 wxWindow 
*wxPyListCtrl_GetMainWindow(wxPyListCtrl 
*self
){ 
 851             return (wxWindow
*)self
->m_mainWin
; 
 855 #include <wx/treectrl.h> 
 856 #include "wx/wxPython/pytree.h" 
 858  static const wxString 
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));  
 859 bool wxTreeItemId___eq__(wxTreeItemId 
*self
,wxTreeItemId 
const *other
){ return other 
? (*self 
== *other
) : false; } 
 860 bool wxTreeItemId___ne__(wxTreeItemId 
*self
,wxTreeItemId 
const *other
){ return other 
? (*self 
!= *other
) : true;  } 
 861 void wxPyTreeItemData_Destroy(wxPyTreeItemData 
*self
){ delete self
; } 
 862  // C++ version of Python aware wxTreeCtrl 
 863 class wxPyTreeCtrl 
: public wxTreeCtrl 
{ 
 864     DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
); 
 866     wxPyTreeCtrl() : wxTreeCtrl() {} 
 867     wxPyTreeCtrl(wxWindow 
*parent
, wxWindowID id
, 
 871                  const wxValidator
& validator
, 
 872                  const wxString
& name
) : 
 873         wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {} 
 875     bool Create(wxWindow 
*parent
, wxWindowID id
, 
 879                 const wxValidator
& validator
, 
 880                 const wxString
& name
) { 
 881         return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
); 
 885     int OnCompareItems(const wxTreeItemId
& item1
, 
 886                        const wxTreeItemId
& item2
) { 
 889         bool blocked 
= wxPyBeginBlockThreads(); 
 890         if ((found 
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) { 
 891             PyObject 
*o1 
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false); 
 892             PyObject 
*o2 
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false); 
 893             rval 
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
)); 
 897         wxPyEndBlockThreads(blocked
); 
 899             rval 
= wxTreeCtrl::OnCompareItems(item1
, item2
); 
 905 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
); 
 909 #if UINT_MAX < LONG_MAX 
 910 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ 
 911 #define SWIG_From_unsigned_SS_int SWIG_From_long 
 914 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ 
 915 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long 
 920 SWIGSTATICINLINE(int) 
 921   SWIG_CheckUnsignedLongInRange(unsigned long value
, 
 922                                 unsigned long max_value
, 
 925   if (value 
> max_value
) { 
 927       PyErr_Format(PyExc_OverflowError
, 
 928                    "value %ld is greater than '%s' minimum %ld", 
 929                    value
, errmsg
, max_value
); 
 937 #if UINT_MAX != ULONG_MAX 
 938 SWIGSTATICINLINE(int) 
 939   SWIG_AsVal_unsigned_SS_int(PyObject 
*obj
, unsigned int *val
) 
 941   const char* errmsg 
= val 
? "unsigned int" : 0; 
 943   if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) { 
 944     if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) { 
 945       if (val
) *val 
= swig_numeric_cast(v
, unsigned int); 
 952     PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected"); 
 957 SWIGSTATICINLINE(unsigned int) 
 958   SWIG_AsVal_unsigned_SS_int(PyObject 
*obj
, unsigned int *val
) 
 960   return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
); 
 965 SWIGSTATICINLINE(unsigned int) 
 966 SWIG_As_unsigned_SS_int(PyObject
* obj
) 
 969   if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) { 
 971       this is needed to make valgrind/purify happier.  the other 
 972       solution is throw an exception, but since this code should work 
 975     memset((void*)&v
, 0, sizeof(unsigned int)); 
 981 SWIGSTATICINLINE(int) 
 982 SWIG_Check_unsigned_SS_int(PyObject
* obj
) 
 984   return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0); 
 987 wxPyTreeItemData 
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl 
*self
,wxTreeItemId 
const &item
){ 
 988             wxPyTreeItemData
* data 
= (wxPyTreeItemData
*)self
->GetItemData(item
); 
 990                 data 
= new wxPyTreeItemData(); 
 991                 data
->SetId(item
); // set the id 
 992                 self
->SetItemData(item
, data
); 
 996 PyObject 
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl 
*self
,wxTreeItemId 
const &item
){ 
 997             wxPyTreeItemData
* data 
= (wxPyTreeItemData
*)self
->GetItemData(item
); 
 999                 data 
= new wxPyTreeItemData(); 
1000                 data
->SetId(item
); // set the id 
1001                 self
->SetItemData(item
, data
); 
1003             return data
->GetData(); 
1005 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl 
*self
,wxTreeItemId 
const &item
,wxPyTreeItemData 
*data
){ 
1006             data
->SetId(item
); // set the id 
1007             self
->SetItemData(item
, data
); 
1009 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl 
*self
,wxTreeItemId 
const &item
,PyObject 
*obj
){ 
1010             wxPyTreeItemData
* data 
= (wxPyTreeItemData
*)self
->GetItemData(item
); 
1012                 data 
= new wxPyTreeItemData(obj
); 
1013                 data
->SetId(item
); // set the id 
1014                 self
->SetItemData(item
, data
); 
1018 PyObject 
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl 
*self
){ 
1019             bool blocked 
= wxPyBeginBlockThreads(); 
1020             PyObject
*           rval 
= PyList_New(0); 
1021             wxArrayTreeItemIds  array
; 
1023             num 
= self
->GetSelections(array
); 
1024             for (x
=0; x 
< num
; x
++) { 
1025                 wxTreeItemId 
*tii 
= new wxTreeItemId(array
.Item(x
)); 
1026                 PyObject
* item 
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true); 
1027                 PyList_Append(rval
, item
); 
1030             wxPyEndBlockThreads(blocked
); 
1033 PyObject 
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl 
*self
,wxTreeItemId 
const &item
){ 
1035             wxTreeItemId
* ritem 
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
)); 
1036             bool blocked 
= wxPyBeginBlockThreads(); 
1037             PyObject
* tup 
= PyTuple_New(2); 
1038             PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true)); 
1039             PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void"))); 
1040             wxPyEndBlockThreads(blocked
); 
1043 PyObject 
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl 
*self
,wxTreeItemId 
const &item
,void *cookie
){ 
1044             wxTreeItemId
* ritem 
= new wxTreeItemId(self
->GetNextChild(item
, cookie
)); 
1045             bool blocked 
= wxPyBeginBlockThreads(); 
1046             PyObject
* tup 
= PyTuple_New(2); 
1047             PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true)); 
1048             PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void"))); 
1049             wxPyEndBlockThreads(blocked
); 
1052 PyObject 
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl 
*self
,wxTreeItemId 
const &item
,bool textOnly
){ 
1054             if (self
->GetBoundingRect(item
, rect
, textOnly
)) { 
1055                 bool blocked 
= wxPyBeginBlockThreads(); 
1056                 wxRect
* r 
= new wxRect(rect
); 
1057                 PyObject
* val 
= wxPyConstructObject((void*)r
, wxT("wxRect"), true); 
1058                 wxPyEndBlockThreads(blocked
); 
1064  static const wxString 
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);  
1066 SWIGSTATICINLINE(PyObject
*) 
1067   SWIG_From_bool(bool value
) 
1069   PyObject 
*obj 
= value 
? Py_True 
: Py_False
; 
1075  // C++ version of Python aware wxControl 
1076 class wxPyControl 
: public wxControl
 
1078     DECLARE_DYNAMIC_CLASS(wxPyControl
) 
1080     wxPyControl() : wxControl() {} 
1081     wxPyControl(wxWindow
* parent
, const wxWindowID id
, 
1082                 const wxPoint
& pos 
= wxDefaultPosition
, 
1083                 const wxSize
& size 
= wxDefaultSize
, 
1085                 const wxValidator
& validator
=wxDefaultValidator
, 
1086                 const wxString
& name 
= wxPyControlNameStr
) 
1087         : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {} 
1089     void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); } 
1091     DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
); 
1092     DEC_PYCALLBACK_VOID_INT5(DoSetSize
); 
1093     DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
); 
1094     DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
); 
1096     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
); 
1097     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
); 
1098     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
); 
1100     DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
); 
1101     DEC_PYCALLBACK_SIZE_const(DoGetBestSize
); 
1103     DEC_PYCALLBACK__(InitDialog
); 
1104     DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
); 
1105     DEC_PYCALLBACK_BOOL_(TransferDataToWindow
); 
1106     DEC_PYCALLBACK_BOOL_(Validate
); 
1108     DEC_PYCALLBACK_BOOL_const(AcceptsFocus
); 
1109     DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
); 
1110     DEC_PYCALLBACK_SIZE_const(GetMaxSize
); 
1112     DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
); 
1113     DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
); 
1115     DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
); 
1116     DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
); 
1117     DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
); 
1122 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
); 
1124 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
); 
1125 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
); 
1126 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
); 
1127 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
); 
1129 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
); 
1130 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
); 
1131 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
); 
1133 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
); 
1134 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
); 
1136 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
); 
1137 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
); 
1138 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
); 
1139 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
); 
1141 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
); 
1142 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
); 
1143 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
); 
1145 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
); 
1146 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
); 
1148 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
); 
1149 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
); 
1150 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
); 
1154 void wxHelpProvider_Destroy(wxHelpProvider 
*self
){ delete self
; } 
1156 #include <wx/generic/dragimgg.h> 
1161 static int _wrap_ButtonNameStr_set(PyObject 
*) { 
1162     PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only."); 
1167 static PyObject 
*_wrap_ButtonNameStr_get() { 
1172         pyobj 
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len()); 
1174         pyobj 
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len()); 
1181 static PyObject 
*_wrap_new_Button(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1182     PyObject 
*resultobj
; 
1183     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
1184     int arg2 
= (int) -1 ; 
1185     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
1186     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
1187     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
1188     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
1189     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
1190     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
1191     long arg6 
= (long) 0 ; 
1192     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
1193     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
1194     wxString 
const &arg8_defvalue 
= wxPyButtonNameStr 
; 
1195     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
1197     bool temp3 
= false ; 
1200     bool temp8 
= false ; 
1201     PyObject 
* obj0 
= 0 ; 
1202     PyObject 
* obj1 
= 0 ; 
1203     PyObject 
* obj2 
= 0 ; 
1204     PyObject 
* obj3 
= 0 ; 
1205     PyObject 
* obj4 
= 0 ; 
1206     PyObject 
* obj5 
= 0 ; 
1207     PyObject 
* obj6 
= 0 ; 
1208     PyObject 
* obj7 
= 0 ; 
1210         (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
1213     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
1214     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
1215     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1217         arg2 
= (int)SWIG_As_int(obj1
);  
1218         if (PyErr_Occurred()) SWIG_fail
; 
1222             arg3 
= wxString_in_helper(obj2
); 
1223             if (arg3 
== NULL
) SWIG_fail
; 
1230             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
1236             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
1240         arg6 
= (long)SWIG_As_long(obj5
);  
1241         if (PyErr_Occurred()) SWIG_fail
; 
1244         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
, 
1245         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1248             PyErr_SetString(PyExc_TypeError
,"null reference"); 
1254             arg8 
= wxString_in_helper(obj7
); 
1255             if (arg8 
== NULL
) SWIG_fail
; 
1260         if (!wxPyCheckForApp()) SWIG_fail
; 
1261         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1262         result 
= (wxButton 
*)new wxButton(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
1264         wxPyEndAllowThreads(__tstate
); 
1265         if (PyErr_Occurred()) SWIG_fail
; 
1267     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1); 
1290 static PyObject 
*_wrap_new_PreButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1291     PyObject 
*resultobj
; 
1297     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
; 
1299         if (!wxPyCheckForApp()) SWIG_fail
; 
1300         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1301         result 
= (wxButton 
*)new wxButton(); 
1303         wxPyEndAllowThreads(__tstate
); 
1304         if (PyErr_Occurred()) SWIG_fail
; 
1306     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1); 
1313 static PyObject 
*_wrap_Button_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1314     PyObject 
*resultobj
; 
1315     wxButton 
*arg1 
= (wxButton 
*) 0 ; 
1316     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
1317     int arg3 
= (int) -1 ; 
1318     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
1319     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
1320     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
1321     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
1322     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
1323     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
1324     long arg7 
= (long) 0 ; 
1325     wxValidator 
const &arg8_defvalue 
= wxDefaultValidator 
; 
1326     wxValidator 
*arg8 
= (wxValidator 
*) &arg8_defvalue 
; 
1327     wxString 
const &arg9_defvalue 
= wxPyButtonNameStr 
; 
1328     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
1330     bool temp4 
= false ; 
1333     bool temp9 
= false ; 
1334     PyObject 
* obj0 
= 0 ; 
1335     PyObject 
* obj1 
= 0 ; 
1336     PyObject 
* obj2 
= 0 ; 
1337     PyObject 
* obj3 
= 0 ; 
1338     PyObject 
* obj4 
= 0 ; 
1339     PyObject 
* obj5 
= 0 ; 
1340     PyObject 
* obj6 
= 0 ; 
1341     PyObject 
* obj7 
= 0 ; 
1342     PyObject 
* obj8 
= 0 ; 
1344         (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
1347     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
1348     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
, 
1349     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1350     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
1351     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1353         arg3 
= (int)SWIG_As_int(obj2
);  
1354         if (PyErr_Occurred()) SWIG_fail
; 
1358             arg4 
= wxString_in_helper(obj3
); 
1359             if (arg4 
== NULL
) SWIG_fail
; 
1366             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
1372             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
1376         arg7 
= (long)SWIG_As_long(obj6
);  
1377         if (PyErr_Occurred()) SWIG_fail
; 
1380         if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
, 
1381         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1384             PyErr_SetString(PyExc_TypeError
,"null reference"); 
1390             arg9 
= wxString_in_helper(obj8
); 
1391             if (arg9 
== NULL
) SWIG_fail
; 
1396         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1397         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxValidator 
const &)*arg8
,(wxString 
const &)*arg9
); 
1399         wxPyEndAllowThreads(__tstate
); 
1400         if (PyErr_Occurred()) SWIG_fail
; 
1403         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1427 static PyObject 
*_wrap_Button_SetDefault(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1428     PyObject 
*resultobj
; 
1429     wxButton 
*arg1 
= (wxButton 
*) 0 ; 
1430     PyObject 
* obj0 
= 0 ; 
1432         (char *) "self", NULL 
 
1435     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
; 
1436     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
, 
1437     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1439         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1440         (arg1
)->SetDefault(); 
1442         wxPyEndAllowThreads(__tstate
); 
1443         if (PyErr_Occurred()) SWIG_fail
; 
1445     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1452 static PyObject 
*_wrap_Button_GetDefaultSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1453     PyObject 
*resultobj
; 
1459     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
; 
1461         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1462         result 
= wxButton::GetDefaultSize(); 
1464         wxPyEndAllowThreads(__tstate
); 
1465         if (PyErr_Occurred()) SWIG_fail
; 
1469         resultptr 
= new wxSize((wxSize 
&) result
); 
1470         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
1478 static PyObject 
*_wrap_Button_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1479     PyObject 
*resultobj
; 
1480     int arg1 
= (int) wxWINDOW_VARIANT_NORMAL 
; 
1481     wxVisualAttributes result
; 
1482     PyObject 
* obj0 
= 0 ; 
1484         (char *) "variant", NULL 
 
1487     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
1489         arg1 
= (int)SWIG_As_int(obj0
);  
1490         if (PyErr_Occurred()) SWIG_fail
; 
1493         if (!wxPyCheckForApp()) SWIG_fail
; 
1494         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1495         result 
= wxButton::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
1497         wxPyEndAllowThreads(__tstate
); 
1498         if (PyErr_Occurred()) SWIG_fail
; 
1501         wxVisualAttributes 
* resultptr
; 
1502         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&) result
); 
1503         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
1511 static PyObject 
* Button_swigregister(PyObject 
*, PyObject 
*args
) { 
1513     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1514     SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
); 
1516     return Py_BuildValue((char *)""); 
1518 static PyObject 
*_wrap_new_BitmapButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1519     PyObject 
*resultobj
; 
1520     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
1521     int arg2 
= (int) -1 ; 
1522     wxBitmap 
const &arg3_defvalue 
= wxNullBitmap 
; 
1523     wxBitmap 
*arg3 
= (wxBitmap 
*) &arg3_defvalue 
; 
1524     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
1525     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
1526     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
1527     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
1528     long arg6 
= (long) wxBU_AUTODRAW 
; 
1529     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
1530     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
1531     wxString 
const &arg8_defvalue 
= wxPyButtonNameStr 
; 
1532     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
1533     wxBitmapButton 
*result
; 
1536     bool temp8 
= false ; 
1537     PyObject 
* obj0 
= 0 ; 
1538     PyObject 
* obj1 
= 0 ; 
1539     PyObject 
* obj2 
= 0 ; 
1540     PyObject 
* obj3 
= 0 ; 
1541     PyObject 
* obj4 
= 0 ; 
1542     PyObject 
* obj5 
= 0 ; 
1543     PyObject 
* obj6 
= 0 ; 
1544     PyObject 
* obj7 
= 0 ; 
1546         (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
1549     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
1550     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
1551     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1553         arg2 
= (int)SWIG_As_int(obj1
);  
1554         if (PyErr_Occurred()) SWIG_fail
; 
1557         if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
, 
1558         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1561             PyErr_SetString(PyExc_TypeError
,"null reference"); 
1568             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
1574             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
1578         arg6 
= (long)SWIG_As_long(obj5
);  
1579         if (PyErr_Occurred()) SWIG_fail
; 
1582         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
, 
1583         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1586             PyErr_SetString(PyExc_TypeError
,"null reference"); 
1592             arg8 
= wxString_in_helper(obj7
); 
1593             if (arg8 
== NULL
) SWIG_fail
; 
1598         if (!wxPyCheckForApp()) SWIG_fail
; 
1599         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1600         result 
= (wxBitmapButton 
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
1602         wxPyEndAllowThreads(__tstate
); 
1603         if (PyErr_Occurred()) SWIG_fail
; 
1605     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1); 
1620 static PyObject 
*_wrap_new_PreBitmapButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1621     PyObject 
*resultobj
; 
1622     wxBitmapButton 
*result
; 
1627     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
; 
1629         if (!wxPyCheckForApp()) SWIG_fail
; 
1630         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1631         result 
= (wxBitmapButton 
*)new wxBitmapButton(); 
1633         wxPyEndAllowThreads(__tstate
); 
1634         if (PyErr_Occurred()) SWIG_fail
; 
1636     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1); 
1643 static PyObject 
*_wrap_BitmapButton_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1644     PyObject 
*resultobj
; 
1645     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
1646     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
1647     int arg3 
= (int) -1 ; 
1648     wxBitmap 
const &arg4_defvalue 
= wxNullBitmap 
; 
1649     wxBitmap 
*arg4 
= (wxBitmap 
*) &arg4_defvalue 
; 
1650     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
1651     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
1652     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
1653     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
1654     long arg7 
= (long) wxBU_AUTODRAW 
; 
1655     wxValidator 
const &arg8_defvalue 
= wxDefaultValidator 
; 
1656     wxValidator 
*arg8 
= (wxValidator 
*) &arg8_defvalue 
; 
1657     wxString 
const &arg9_defvalue 
= wxPyButtonNameStr 
; 
1658     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
1662     bool temp9 
= false ; 
1663     PyObject 
* obj0 
= 0 ; 
1664     PyObject 
* obj1 
= 0 ; 
1665     PyObject 
* obj2 
= 0 ; 
1666     PyObject 
* obj3 
= 0 ; 
1667     PyObject 
* obj4 
= 0 ; 
1668     PyObject 
* obj5 
= 0 ; 
1669     PyObject 
* obj6 
= 0 ; 
1670     PyObject 
* obj7 
= 0 ; 
1671     PyObject 
* obj8 
= 0 ; 
1673         (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
1676     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
1677     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
, 
1678     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1679     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
1680     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1682         arg3 
= (int)SWIG_As_int(obj2
);  
1683         if (PyErr_Occurred()) SWIG_fail
; 
1686         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
, 
1687         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1690             PyErr_SetString(PyExc_TypeError
,"null reference"); 
1697             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
1703             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
1707         arg7 
= (long)SWIG_As_long(obj6
);  
1708         if (PyErr_Occurred()) SWIG_fail
; 
1711         if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
, 
1712         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1715             PyErr_SetString(PyExc_TypeError
,"null reference"); 
1721             arg9 
= wxString_in_helper(obj8
); 
1722             if (arg9 
== NULL
) SWIG_fail
; 
1727         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1728         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxValidator 
const &)*arg8
,(wxString 
const &)*arg9
); 
1730         wxPyEndAllowThreads(__tstate
); 
1731         if (PyErr_Occurred()) SWIG_fail
; 
1734         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1750 static PyObject 
*_wrap_BitmapButton_GetBitmapLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1751     PyObject 
*resultobj
; 
1752     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
1754     PyObject 
* obj0 
= 0 ; 
1756         (char *) "self", NULL 
 
1759     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
; 
1760     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
, 
1761     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1763         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1764         result 
= (arg1
)->GetBitmapLabel(); 
1766         wxPyEndAllowThreads(__tstate
); 
1767         if (PyErr_Occurred()) SWIG_fail
; 
1770         wxBitmap 
* resultptr
; 
1771         resultptr 
= new wxBitmap((wxBitmap 
&) result
); 
1772         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
1780 static PyObject 
*_wrap_BitmapButton_GetBitmapDisabled(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1781     PyObject 
*resultobj
; 
1782     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
1784     PyObject 
* obj0 
= 0 ; 
1786         (char *) "self", NULL 
 
1789     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
; 
1790     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
, 
1791     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1793         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1794         result 
= (arg1
)->GetBitmapDisabled(); 
1796         wxPyEndAllowThreads(__tstate
); 
1797         if (PyErr_Occurred()) SWIG_fail
; 
1800         wxBitmap 
* resultptr
; 
1801         resultptr 
= new wxBitmap((wxBitmap 
&) result
); 
1802         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
1810 static PyObject 
*_wrap_BitmapButton_GetBitmapFocus(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1811     PyObject 
*resultobj
; 
1812     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
1814     PyObject 
* obj0 
= 0 ; 
1816         (char *) "self", NULL 
 
1819     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
; 
1820     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
, 
1821     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1823         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1824         result 
= (arg1
)->GetBitmapFocus(); 
1826         wxPyEndAllowThreads(__tstate
); 
1827         if (PyErr_Occurred()) SWIG_fail
; 
1830         wxBitmap 
* resultptr
; 
1831         resultptr 
= new wxBitmap((wxBitmap 
&) result
); 
1832         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
1840 static PyObject 
*_wrap_BitmapButton_GetBitmapSelected(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1841     PyObject 
*resultobj
; 
1842     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
1844     PyObject 
* obj0 
= 0 ; 
1846         (char *) "self", NULL 
 
1849     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
; 
1850     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
, 
1851     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1853         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1854         result 
= (arg1
)->GetBitmapSelected(); 
1856         wxPyEndAllowThreads(__tstate
); 
1857         if (PyErr_Occurred()) SWIG_fail
; 
1860         wxBitmap 
* resultptr
; 
1861         resultptr 
= new wxBitmap((wxBitmap 
&) result
); 
1862         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
1870 static PyObject 
*_wrap_BitmapButton_SetBitmapDisabled(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1871     PyObject 
*resultobj
; 
1872     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
1873     wxBitmap 
*arg2 
= 0 ; 
1874     PyObject 
* obj0 
= 0 ; 
1875     PyObject 
* obj1 
= 0 ; 
1877         (char *) "self",(char *) "bitmap", NULL 
 
1880     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
; 
1881     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
, 
1882     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1883     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
1884     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1887         PyErr_SetString(PyExc_TypeError
,"null reference"); 
1891         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1892         (arg1
)->SetBitmapDisabled((wxBitmap 
const &)*arg2
); 
1894         wxPyEndAllowThreads(__tstate
); 
1895         if (PyErr_Occurred()) SWIG_fail
; 
1897     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1904 static PyObject 
*_wrap_BitmapButton_SetBitmapFocus(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1905     PyObject 
*resultobj
; 
1906     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
1907     wxBitmap 
*arg2 
= 0 ; 
1908     PyObject 
* obj0 
= 0 ; 
1909     PyObject 
* obj1 
= 0 ; 
1911         (char *) "self",(char *) "bitmap", NULL 
 
1914     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
; 
1915     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
, 
1916     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1917     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
1918     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1921         PyErr_SetString(PyExc_TypeError
,"null reference"); 
1925         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1926         (arg1
)->SetBitmapFocus((wxBitmap 
const &)*arg2
); 
1928         wxPyEndAllowThreads(__tstate
); 
1929         if (PyErr_Occurred()) SWIG_fail
; 
1931     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1938 static PyObject 
*_wrap_BitmapButton_SetBitmapSelected(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1939     PyObject 
*resultobj
; 
1940     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
1941     wxBitmap 
*arg2 
= 0 ; 
1942     PyObject 
* obj0 
= 0 ; 
1943     PyObject 
* obj1 
= 0 ; 
1945         (char *) "self",(char *) "bitmap", NULL 
 
1948     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
; 
1949     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
, 
1950     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1951     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
1952     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1955         PyErr_SetString(PyExc_TypeError
,"null reference"); 
1959         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1960         (arg1
)->SetBitmapSelected((wxBitmap 
const &)*arg2
); 
1962         wxPyEndAllowThreads(__tstate
); 
1963         if (PyErr_Occurred()) SWIG_fail
; 
1965     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1972 static PyObject 
*_wrap_BitmapButton_SetBitmapLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1973     PyObject 
*resultobj
; 
1974     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
1975     wxBitmap 
*arg2 
= 0 ; 
1976     PyObject 
* obj0 
= 0 ; 
1977     PyObject 
* obj1 
= 0 ; 
1979         (char *) "self",(char *) "bitmap", NULL 
 
1982     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
; 
1983     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
, 
1984     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1985     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
1986     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1989         PyErr_SetString(PyExc_TypeError
,"null reference"); 
1993         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1994         (arg1
)->SetBitmapLabel((wxBitmap 
const &)*arg2
); 
1996         wxPyEndAllowThreads(__tstate
); 
1997         if (PyErr_Occurred()) SWIG_fail
; 
1999     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2006 static PyObject 
*_wrap_BitmapButton_SetMargins(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2007     PyObject 
*resultobj
; 
2008     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
2011     PyObject 
* obj0 
= 0 ; 
2012     PyObject 
* obj1 
= 0 ; 
2013     PyObject 
* obj2 
= 0 ; 
2015         (char *) "self",(char *) "x",(char *) "y", NULL 
 
2018     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
2019     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
, 
2020     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2021     arg2 
= (int)SWIG_As_int(obj1
);  
2022     if (PyErr_Occurred()) SWIG_fail
; 
2023     arg3 
= (int)SWIG_As_int(obj2
);  
2024     if (PyErr_Occurred()) SWIG_fail
; 
2026         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2027         (arg1
)->SetMargins(arg2
,arg3
); 
2029         wxPyEndAllowThreads(__tstate
); 
2030         if (PyErr_Occurred()) SWIG_fail
; 
2032     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2039 static PyObject 
*_wrap_BitmapButton_GetMarginX(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2040     PyObject 
*resultobj
; 
2041     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
2043     PyObject 
* obj0 
= 0 ; 
2045         (char *) "self", NULL 
 
2048     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
; 
2049     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
, 
2050     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2052         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2053         result 
= (int)((wxBitmapButton 
const *)arg1
)->GetMarginX(); 
2055         wxPyEndAllowThreads(__tstate
); 
2056         if (PyErr_Occurred()) SWIG_fail
; 
2058     resultobj 
= SWIG_From_int((int)result
); 
2065 static PyObject 
*_wrap_BitmapButton_GetMarginY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2066     PyObject 
*resultobj
; 
2067     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
2069     PyObject 
* obj0 
= 0 ; 
2071         (char *) "self", NULL 
 
2074     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
; 
2075     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
, 
2076     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2078         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2079         result 
= (int)((wxBitmapButton 
const *)arg1
)->GetMarginY(); 
2081         wxPyEndAllowThreads(__tstate
); 
2082         if (PyErr_Occurred()) SWIG_fail
; 
2084     resultobj 
= SWIG_From_int((int)result
); 
2091 static PyObject 
* BitmapButton_swigregister(PyObject 
*, PyObject 
*args
) { 
2093     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2094     SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
); 
2096     return Py_BuildValue((char *)""); 
2098 static int _wrap_CheckBoxNameStr_set(PyObject 
*) { 
2099     PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only."); 
2104 static PyObject 
*_wrap_CheckBoxNameStr_get() { 
2109         pyobj 
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len()); 
2111         pyobj 
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len()); 
2118 static PyObject 
*_wrap_new_CheckBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2119     PyObject 
*resultobj
; 
2120     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
2121     int arg2 
= (int) -1 ; 
2122     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
2123     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
2124     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
2125     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
2126     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
2127     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
2128     long arg6 
= (long) 0 ; 
2129     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
2130     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
2131     wxString 
const &arg8_defvalue 
= wxPyCheckBoxNameStr 
; 
2132     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
2134     bool temp3 
= false ; 
2137     bool temp8 
= false ; 
2138     PyObject 
* obj0 
= 0 ; 
2139     PyObject 
* obj1 
= 0 ; 
2140     PyObject 
* obj2 
= 0 ; 
2141     PyObject 
* obj3 
= 0 ; 
2142     PyObject 
* obj4 
= 0 ; 
2143     PyObject 
* obj5 
= 0 ; 
2144     PyObject 
* obj6 
= 0 ; 
2145     PyObject 
* obj7 
= 0 ; 
2147         (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
2150     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
2151     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
2152     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2154         arg2 
= (int)SWIG_As_int(obj1
);  
2155         if (PyErr_Occurred()) SWIG_fail
; 
2159             arg3 
= wxString_in_helper(obj2
); 
2160             if (arg3 
== NULL
) SWIG_fail
; 
2167             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
2173             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
2177         arg6 
= (long)SWIG_As_long(obj5
);  
2178         if (PyErr_Occurred()) SWIG_fail
; 
2181         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
, 
2182         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
2185             PyErr_SetString(PyExc_TypeError
,"null reference"); 
2191             arg8 
= wxString_in_helper(obj7
); 
2192             if (arg8 
== NULL
) SWIG_fail
; 
2197         if (!wxPyCheckForApp()) SWIG_fail
; 
2198         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2199         result 
= (wxCheckBox 
*)new wxCheckBox(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
2201         wxPyEndAllowThreads(__tstate
); 
2202         if (PyErr_Occurred()) SWIG_fail
; 
2204     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1); 
2227 static PyObject 
*_wrap_new_PreCheckBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2228     PyObject 
*resultobj
; 
2234     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
; 
2236         if (!wxPyCheckForApp()) SWIG_fail
; 
2237         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2238         result 
= (wxCheckBox 
*)new wxCheckBox(); 
2240         wxPyEndAllowThreads(__tstate
); 
2241         if (PyErr_Occurred()) SWIG_fail
; 
2243     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1); 
2250 static PyObject 
*_wrap_CheckBox_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2251     PyObject 
*resultobj
; 
2252     wxCheckBox 
*arg1 
= (wxCheckBox 
*) 0 ; 
2253     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
2254     int arg3 
= (int) -1 ; 
2255     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
2256     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
2257     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
2258     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
2259     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
2260     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
2261     long arg7 
= (long) 0 ; 
2262     wxValidator 
const &arg8_defvalue 
= wxDefaultValidator 
; 
2263     wxValidator 
*arg8 
= (wxValidator 
*) &arg8_defvalue 
; 
2264     wxString 
const &arg9_defvalue 
= wxPyCheckBoxNameStr 
; 
2265     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
2267     bool temp4 
= false ; 
2270     bool temp9 
= false ; 
2271     PyObject 
* obj0 
= 0 ; 
2272     PyObject 
* obj1 
= 0 ; 
2273     PyObject 
* obj2 
= 0 ; 
2274     PyObject 
* obj3 
= 0 ; 
2275     PyObject 
* obj4 
= 0 ; 
2276     PyObject 
* obj5 
= 0 ; 
2277     PyObject 
* obj6 
= 0 ; 
2278     PyObject 
* obj7 
= 0 ; 
2279     PyObject 
* obj8 
= 0 ; 
2281         (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
2284     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
2285     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
, 
2286     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2287     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
2288     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2290         arg3 
= (int)SWIG_As_int(obj2
);  
2291         if (PyErr_Occurred()) SWIG_fail
; 
2295             arg4 
= wxString_in_helper(obj3
); 
2296             if (arg4 
== NULL
) SWIG_fail
; 
2303             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
2309             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
2313         arg7 
= (long)SWIG_As_long(obj6
);  
2314         if (PyErr_Occurred()) SWIG_fail
; 
2317         if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
, 
2318         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
2321             PyErr_SetString(PyExc_TypeError
,"null reference"); 
2327             arg9 
= wxString_in_helper(obj8
); 
2328             if (arg9 
== NULL
) SWIG_fail
; 
2333         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2334         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxValidator 
const &)*arg8
,(wxString 
const &)*arg9
); 
2336         wxPyEndAllowThreads(__tstate
); 
2337         if (PyErr_Occurred()) SWIG_fail
; 
2340         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2364 static PyObject 
*_wrap_CheckBox_GetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2365     PyObject 
*resultobj
; 
2366     wxCheckBox 
*arg1 
= (wxCheckBox 
*) 0 ; 
2368     PyObject 
* obj0 
= 0 ; 
2370         (char *) "self", NULL 
 
2373     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
; 
2374     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
, 
2375     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2377         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2378         result 
= (bool)(arg1
)->GetValue(); 
2380         wxPyEndAllowThreads(__tstate
); 
2381         if (PyErr_Occurred()) SWIG_fail
; 
2384         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2392 static PyObject 
*_wrap_CheckBox_IsChecked(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2393     PyObject 
*resultobj
; 
2394     wxCheckBox 
*arg1 
= (wxCheckBox 
*) 0 ; 
2396     PyObject 
* obj0 
= 0 ; 
2398         (char *) "self", NULL 
 
2401     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
; 
2402     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
, 
2403     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2405         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2406         result 
= (bool)(arg1
)->IsChecked(); 
2408         wxPyEndAllowThreads(__tstate
); 
2409         if (PyErr_Occurred()) SWIG_fail
; 
2412         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2420 static PyObject 
*_wrap_CheckBox_SetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2421     PyObject 
*resultobj
; 
2422     wxCheckBox 
*arg1 
= (wxCheckBox 
*) 0 ; 
2424     PyObject 
* obj0 
= 0 ; 
2425     PyObject 
* obj1 
= 0 ; 
2427         (char *) "self",(char *) "state", NULL 
 
2430     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
2431     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
, 
2432     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2433     arg2 
= (bool)SWIG_As_bool(obj1
);  
2434     if (PyErr_Occurred()) SWIG_fail
; 
2436         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2437         (arg1
)->SetValue(arg2
); 
2439         wxPyEndAllowThreads(__tstate
); 
2440         if (PyErr_Occurred()) SWIG_fail
; 
2442     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2449 static PyObject 
*_wrap_CheckBox_Get3StateValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2450     PyObject 
*resultobj
; 
2451     wxCheckBox 
*arg1 
= (wxCheckBox 
*) 0 ; 
2453     PyObject 
* obj0 
= 0 ; 
2455         (char *) "self", NULL 
 
2458     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
; 
2459     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
, 
2460     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2462         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2463         result 
= (int)((wxCheckBox 
const *)arg1
)->Get3StateValue(); 
2465         wxPyEndAllowThreads(__tstate
); 
2466         if (PyErr_Occurred()) SWIG_fail
; 
2468     resultobj 
= SWIG_From_int((int)result
); 
2475 static PyObject 
*_wrap_CheckBox_Set3StateValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2476     PyObject 
*resultobj
; 
2477     wxCheckBox 
*arg1 
= (wxCheckBox 
*) 0 ; 
2479     PyObject 
* obj0 
= 0 ; 
2480     PyObject 
* obj1 
= 0 ; 
2482         (char *) "self",(char *) "state", NULL 
 
2485     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
2486     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
, 
2487     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2488     arg2 
= (int)SWIG_As_int(obj1
);  
2489     if (PyErr_Occurred()) SWIG_fail
; 
2491         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2492         (arg1
)->Set3StateValue((wxCheckBoxState 
)arg2
); 
2494         wxPyEndAllowThreads(__tstate
); 
2495         if (PyErr_Occurred()) SWIG_fail
; 
2497     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2504 static PyObject 
*_wrap_CheckBox_Is3State(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2505     PyObject 
*resultobj
; 
2506     wxCheckBox 
*arg1 
= (wxCheckBox 
*) 0 ; 
2508     PyObject 
* obj0 
= 0 ; 
2510         (char *) "self", NULL 
 
2513     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
; 
2514     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
, 
2515     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2517         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2518         result 
= (bool)((wxCheckBox 
const *)arg1
)->Is3State(); 
2520         wxPyEndAllowThreads(__tstate
); 
2521         if (PyErr_Occurred()) SWIG_fail
; 
2524         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2532 static PyObject 
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2533     PyObject 
*resultobj
; 
2534     wxCheckBox 
*arg1 
= (wxCheckBox 
*) 0 ; 
2536     PyObject 
* obj0 
= 0 ; 
2538         (char *) "self", NULL 
 
2541     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
; 
2542     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
, 
2543     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2545         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2546         result 
= (bool)((wxCheckBox 
const *)arg1
)->Is3rdStateAllowedForUser(); 
2548         wxPyEndAllowThreads(__tstate
); 
2549         if (PyErr_Occurred()) SWIG_fail
; 
2552         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2560 static PyObject 
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2561     PyObject 
*resultobj
; 
2562     int arg1 
= (int) wxWINDOW_VARIANT_NORMAL 
; 
2563     wxVisualAttributes result
; 
2564     PyObject 
* obj0 
= 0 ; 
2566         (char *) "variant", NULL 
 
2569     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
2571         arg1 
= (int)SWIG_As_int(obj0
);  
2572         if (PyErr_Occurred()) SWIG_fail
; 
2575         if (!wxPyCheckForApp()) SWIG_fail
; 
2576         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2577         result 
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
2579         wxPyEndAllowThreads(__tstate
); 
2580         if (PyErr_Occurred()) SWIG_fail
; 
2583         wxVisualAttributes 
* resultptr
; 
2584         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&) result
); 
2585         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
2593 static PyObject 
* CheckBox_swigregister(PyObject 
*, PyObject 
*args
) { 
2595     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2596     SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
); 
2598     return Py_BuildValue((char *)""); 
2600 static int _wrap_ChoiceNameStr_set(PyObject 
*) { 
2601     PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only."); 
2606 static PyObject 
*_wrap_ChoiceNameStr_get() { 
2611         pyobj 
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len()); 
2613         pyobj 
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len()); 
2620 static PyObject 
*_wrap_new_Choice(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2621     PyObject 
*resultobj
; 
2622     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
2623     int arg2 
= (int) -1 ; 
2624     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
2625     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
2626     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
2627     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
2628     wxArrayString 
const &arg5_defvalue 
= wxPyEmptyStringArray 
; 
2629     wxArrayString 
*arg5 
= (wxArrayString 
*) &arg5_defvalue 
; 
2630     long arg6 
= (long) 0 ; 
2631     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
2632     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
2633     wxString 
const &arg8_defvalue 
= wxPyChoiceNameStr 
; 
2634     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
2638     bool temp5 
= false ; 
2639     bool temp8 
= false ; 
2640     PyObject 
* obj0 
= 0 ; 
2641     PyObject 
* obj1 
= 0 ; 
2642     PyObject 
* obj2 
= 0 ; 
2643     PyObject 
* obj3 
= 0 ; 
2644     PyObject 
* obj4 
= 0 ; 
2645     PyObject 
* obj5 
= 0 ; 
2646     PyObject 
* obj6 
= 0 ; 
2647     PyObject 
* obj7 
= 0 ; 
2649         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
2652     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
2653     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
2654     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2656         arg2 
= (int)SWIG_As_int(obj1
);  
2657         if (PyErr_Occurred()) SWIG_fail
; 
2662             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
2668             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
2673             if (! PySequence_Check(obj4
)) { 
2674                 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
2677             arg5 
= new wxArrayString
; 
2679             int i
, len
=PySequence_Length(obj4
); 
2680             for (i
=0; i
<len
; i
++) { 
2681                 PyObject
* item 
= PySequence_GetItem(obj4
, i
); 
2683                 PyObject
* str  
= PyObject_Unicode(item
); 
2685                 PyObject
* str  
= PyObject_Str(item
); 
2687                 if (PyErr_Occurred())  SWIG_fail
; 
2688                 arg5
->Add(Py2wxString(str
)); 
2695         arg6 
= (long)SWIG_As_long(obj5
);  
2696         if (PyErr_Occurred()) SWIG_fail
; 
2699         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
, 
2700         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
2703             PyErr_SetString(PyExc_TypeError
,"null reference"); 
2709             arg8 
= wxString_in_helper(obj7
); 
2710             if (arg8 
== NULL
) SWIG_fail
; 
2715         if (!wxPyCheckForApp()) SWIG_fail
; 
2716         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2717         result 
= (wxChoice 
*)new wxChoice(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,(wxArrayString 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
2719         wxPyEndAllowThreads(__tstate
); 
2720         if (PyErr_Occurred()) SWIG_fail
; 
2722     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1); 
2724         if (temp5
) delete arg5
; 
2733         if (temp5
) delete arg5
; 
2743 static PyObject 
*_wrap_new_PreChoice(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2744     PyObject 
*resultobj
; 
2750     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
; 
2752         if (!wxPyCheckForApp()) SWIG_fail
; 
2753         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2754         result 
= (wxChoice 
*)new wxChoice(); 
2756         wxPyEndAllowThreads(__tstate
); 
2757         if (PyErr_Occurred()) SWIG_fail
; 
2759     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1); 
2766 static PyObject 
*_wrap_Choice_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2767     PyObject 
*resultobj
; 
2768     wxChoice 
*arg1 
= (wxChoice 
*) 0 ; 
2769     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
2770     int arg3 
= (int) -1 ; 
2771     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
2772     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
2773     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
2774     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
2775     wxArrayString 
const &arg6_defvalue 
= wxPyEmptyStringArray 
; 
2776     wxArrayString 
*arg6 
= (wxArrayString 
*) &arg6_defvalue 
; 
2777     long arg7 
= (long) 0 ; 
2778     wxValidator 
const &arg8_defvalue 
= wxDefaultValidator 
; 
2779     wxValidator 
*arg8 
= (wxValidator 
*) &arg8_defvalue 
; 
2780     wxString 
const &arg9_defvalue 
= wxPyChoiceNameStr 
; 
2781     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
2785     bool temp6 
= false ; 
2786     bool temp9 
= false ; 
2787     PyObject 
* obj0 
= 0 ; 
2788     PyObject 
* obj1 
= 0 ; 
2789     PyObject 
* obj2 
= 0 ; 
2790     PyObject 
* obj3 
= 0 ; 
2791     PyObject 
* obj4 
= 0 ; 
2792     PyObject 
* obj5 
= 0 ; 
2793     PyObject 
* obj6 
= 0 ; 
2794     PyObject 
* obj7 
= 0 ; 
2795     PyObject 
* obj8 
= 0 ; 
2797         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
2800     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
2801     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
, 
2802     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2803     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
2804     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2806         arg3 
= (int)SWIG_As_int(obj2
);  
2807         if (PyErr_Occurred()) SWIG_fail
; 
2812             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
2818             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
2823             if (! PySequence_Check(obj5
)) { 
2824                 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
2827             arg6 
= new wxArrayString
; 
2829             int i
, len
=PySequence_Length(obj5
); 
2830             for (i
=0; i
<len
; i
++) { 
2831                 PyObject
* item 
= PySequence_GetItem(obj5
, i
); 
2833                 PyObject
* str  
= PyObject_Unicode(item
); 
2835                 PyObject
* str  
= PyObject_Str(item
); 
2837                 if (PyErr_Occurred())  SWIG_fail
; 
2838                 arg6
->Add(Py2wxString(str
)); 
2845         arg7 
= (long)SWIG_As_long(obj6
);  
2846         if (PyErr_Occurred()) SWIG_fail
; 
2849         if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
, 
2850         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
2853             PyErr_SetString(PyExc_TypeError
,"null reference"); 
2859             arg9 
= wxString_in_helper(obj8
); 
2860             if (arg9 
== NULL
) SWIG_fail
; 
2865         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2866         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,(wxArrayString 
const &)*arg6
,arg7
,(wxValidator 
const &)*arg8
,(wxString 
const &)*arg9
); 
2868         wxPyEndAllowThreads(__tstate
); 
2869         if (PyErr_Occurred()) SWIG_fail
; 
2872         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2875         if (temp6
) delete arg6
; 
2884         if (temp6
) delete arg6
; 
2894 static PyObject 
*_wrap_Choice_SetSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2895     PyObject 
*resultobj
; 
2896     wxChoice 
*arg1 
= (wxChoice 
*) 0 ; 
2898     PyObject 
* obj0 
= 0 ; 
2899     PyObject 
* obj1 
= 0 ; 
2901         (char *) "self",(char *) "n", NULL 
 
2904     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
2905     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
, 
2906     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2907     arg2 
= (int)SWIG_As_int(obj1
);  
2908     if (PyErr_Occurred()) SWIG_fail
; 
2910         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2911         (arg1
)->SetSelection(arg2
); 
2913         wxPyEndAllowThreads(__tstate
); 
2914         if (PyErr_Occurred()) SWIG_fail
; 
2916     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2923 static PyObject 
*_wrap_Choice_SetStringSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2924     PyObject 
*resultobj
; 
2925     wxChoice 
*arg1 
= (wxChoice 
*) 0 ; 
2926     wxString 
*arg2 
= 0 ; 
2928     bool temp2 
= false ; 
2929     PyObject 
* obj0 
= 0 ; 
2930     PyObject 
* obj1 
= 0 ; 
2932         (char *) "self",(char *) "string", NULL 
 
2935     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
2936     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
, 
2937     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2939         arg2 
= wxString_in_helper(obj1
); 
2940         if (arg2 
== NULL
) SWIG_fail
; 
2944         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2945         result 
= (bool)(arg1
)->SetStringSelection((wxString 
const &)*arg2
); 
2947         wxPyEndAllowThreads(__tstate
); 
2948         if (PyErr_Occurred()) SWIG_fail
; 
2951         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2967 static PyObject 
*_wrap_Choice_SetString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2968     PyObject 
*resultobj
; 
2969     wxChoice 
*arg1 
= (wxChoice 
*) 0 ; 
2971     wxString 
*arg3 
= 0 ; 
2972     bool temp3 
= false ; 
2973     PyObject 
* obj0 
= 0 ; 
2974     PyObject 
* obj1 
= 0 ; 
2975     PyObject 
* obj2 
= 0 ; 
2977         (char *) "self",(char *) "n",(char *) "string", NULL 
 
2980     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
2981     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
, 
2982     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2983     arg2 
= (int)SWIG_As_int(obj1
);  
2984     if (PyErr_Occurred()) SWIG_fail
; 
2986         arg3 
= wxString_in_helper(obj2
); 
2987         if (arg3 
== NULL
) SWIG_fail
; 
2991         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2992         (arg1
)->SetString(arg2
,(wxString 
const &)*arg3
); 
2994         wxPyEndAllowThreads(__tstate
); 
2995         if (PyErr_Occurred()) SWIG_fail
; 
2997     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3012 static PyObject 
*_wrap_Choice_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3013     PyObject 
*resultobj
; 
3014     int arg1 
= (int) wxWINDOW_VARIANT_NORMAL 
; 
3015     wxVisualAttributes result
; 
3016     PyObject 
* obj0 
= 0 ; 
3018         (char *) "variant", NULL 
 
3021     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
3023         arg1 
= (int)SWIG_As_int(obj0
);  
3024         if (PyErr_Occurred()) SWIG_fail
; 
3027         if (!wxPyCheckForApp()) SWIG_fail
; 
3028         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3029         result 
= wxChoice::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
3031         wxPyEndAllowThreads(__tstate
); 
3032         if (PyErr_Occurred()) SWIG_fail
; 
3035         wxVisualAttributes 
* resultptr
; 
3036         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&) result
); 
3037         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
3045 static PyObject 
* Choice_swigregister(PyObject 
*, PyObject 
*args
) { 
3047     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3048     SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
); 
3050     return Py_BuildValue((char *)""); 
3052 static int _wrap_ComboBoxNameStr_set(PyObject 
*) { 
3053     PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only."); 
3058 static PyObject 
*_wrap_ComboBoxNameStr_get() { 
3063         pyobj 
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len()); 
3065         pyobj 
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len()); 
3072 static PyObject 
*_wrap_new_ComboBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3073     PyObject 
*resultobj
; 
3074     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
3075     int arg2 
= (int) -1 ; 
3076     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
3077     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
3078     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
3079     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
3080     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
3081     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
3082     wxArrayString 
const &arg6_defvalue 
= wxPyEmptyStringArray 
; 
3083     wxArrayString 
*arg6 
= (wxArrayString 
*) &arg6_defvalue 
; 
3084     long arg7 
= (long) 0 ; 
3085     wxValidator 
const &arg8_defvalue 
= wxDefaultValidator 
; 
3086     wxValidator 
*arg8 
= (wxValidator 
*) &arg8_defvalue 
; 
3087     wxString 
const &arg9_defvalue 
= wxPyComboBoxNameStr 
; 
3088     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
3090     bool temp3 
= false ; 
3093     bool temp6 
= false ; 
3094     bool temp9 
= false ; 
3095     PyObject 
* obj0 
= 0 ; 
3096     PyObject 
* obj1 
= 0 ; 
3097     PyObject 
* obj2 
= 0 ; 
3098     PyObject 
* obj3 
= 0 ; 
3099     PyObject 
* obj4 
= 0 ; 
3100     PyObject 
* obj5 
= 0 ; 
3101     PyObject 
* obj6 
= 0 ; 
3102     PyObject 
* obj7 
= 0 ; 
3103     PyObject 
* obj8 
= 0 ; 
3105         (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
3108     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
3109     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
3110     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3112         arg2 
= (int)SWIG_As_int(obj1
);  
3113         if (PyErr_Occurred()) SWIG_fail
; 
3117             arg3 
= wxString_in_helper(obj2
); 
3118             if (arg3 
== NULL
) SWIG_fail
; 
3125             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
3131             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
3136             if (! PySequence_Check(obj5
)) { 
3137                 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
3140             arg6 
= new wxArrayString
; 
3142             int i
, len
=PySequence_Length(obj5
); 
3143             for (i
=0; i
<len
; i
++) { 
3144                 PyObject
* item 
= PySequence_GetItem(obj5
, i
); 
3146                 PyObject
* str  
= PyObject_Unicode(item
); 
3148                 PyObject
* str  
= PyObject_Str(item
); 
3150                 if (PyErr_Occurred())  SWIG_fail
; 
3151                 arg6
->Add(Py2wxString(str
)); 
3158         arg7 
= (long)SWIG_As_long(obj6
);  
3159         if (PyErr_Occurred()) SWIG_fail
; 
3162         if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
, 
3163         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
3166             PyErr_SetString(PyExc_TypeError
,"null reference"); 
3172             arg9 
= wxString_in_helper(obj8
); 
3173             if (arg9 
== NULL
) SWIG_fail
; 
3178         if (!wxPyCheckForApp()) SWIG_fail
; 
3179         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3180         result 
= (wxComboBox 
*)new wxComboBox(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,(wxArrayString 
const &)*arg6
,arg7
,(wxValidator 
const &)*arg8
,(wxString 
const &)*arg9
); 
3182         wxPyEndAllowThreads(__tstate
); 
3183         if (PyErr_Occurred()) SWIG_fail
; 
3185     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1); 
3191         if (temp6
) delete arg6
; 
3204         if (temp6
) delete arg6
; 
3214 static PyObject 
*_wrap_new_PreComboBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3215     PyObject 
*resultobj
; 
3221     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
; 
3223         if (!wxPyCheckForApp()) SWIG_fail
; 
3224         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3225         result 
= (wxComboBox 
*)new wxComboBox(); 
3227         wxPyEndAllowThreads(__tstate
); 
3228         if (PyErr_Occurred()) SWIG_fail
; 
3230     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1); 
3237 static PyObject 
*_wrap_ComboBox_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3238     PyObject 
*resultobj
; 
3239     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
3240     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
3241     int arg3 
= (int) -1 ; 
3242     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
3243     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
3244     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
3245     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
3246     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
3247     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
3248     wxArrayString 
const &arg7_defvalue 
= wxPyEmptyStringArray 
; 
3249     wxArrayString 
*arg7 
= (wxArrayString 
*) &arg7_defvalue 
; 
3250     long arg8 
= (long) 0 ; 
3251     wxValidator 
const &arg9_defvalue 
= wxDefaultValidator 
; 
3252     wxValidator 
*arg9 
= (wxValidator 
*) &arg9_defvalue 
; 
3253     wxString 
const &arg10_defvalue 
= wxPyChoiceNameStr 
; 
3254     wxString 
*arg10 
= (wxString 
*) &arg10_defvalue 
; 
3256     bool temp4 
= false ; 
3259     bool temp7 
= false ; 
3260     bool temp10 
= false ; 
3261     PyObject 
* obj0 
= 0 ; 
3262     PyObject 
* obj1 
= 0 ; 
3263     PyObject 
* obj2 
= 0 ; 
3264     PyObject 
* obj3 
= 0 ; 
3265     PyObject 
* obj4 
= 0 ; 
3266     PyObject 
* obj5 
= 0 ; 
3267     PyObject 
* obj6 
= 0 ; 
3268     PyObject 
* obj7 
= 0 ; 
3269     PyObject 
* obj8 
= 0 ; 
3270     PyObject 
* obj9 
= 0 ; 
3272         (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
3275     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
; 
3276     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3277     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3278     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
3279     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3281         arg3 
= (int)SWIG_As_int(obj2
);  
3282         if (PyErr_Occurred()) SWIG_fail
; 
3286             arg4 
= wxString_in_helper(obj3
); 
3287             if (arg4 
== NULL
) SWIG_fail
; 
3294             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
3300             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
3305             if (! PySequence_Check(obj6
)) { 
3306                 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
3309             arg7 
= new wxArrayString
; 
3311             int i
, len
=PySequence_Length(obj6
); 
3312             for (i
=0; i
<len
; i
++) { 
3313                 PyObject
* item 
= PySequence_GetItem(obj6
, i
); 
3315                 PyObject
* str  
= PyObject_Unicode(item
); 
3317                 PyObject
* str  
= PyObject_Str(item
); 
3319                 if (PyErr_Occurred())  SWIG_fail
; 
3320                 arg7
->Add(Py2wxString(str
)); 
3327         arg8 
= (long)SWIG_As_long(obj7
);  
3328         if (PyErr_Occurred()) SWIG_fail
; 
3331         if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
, 
3332         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
3335             PyErr_SetString(PyExc_TypeError
,"null reference"); 
3341             arg10 
= wxString_in_helper(obj9
); 
3342             if (arg10 
== NULL
) SWIG_fail
; 
3347         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3348         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,(wxArrayString 
const &)*arg7
,arg8
,(wxValidator 
const &)*arg9
,(wxString 
const &)*arg10
); 
3350         wxPyEndAllowThreads(__tstate
); 
3351         if (PyErr_Occurred()) SWIG_fail
; 
3354         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3361         if (temp7
) delete arg7
; 
3374         if (temp7
) delete arg7
; 
3384 static PyObject 
*_wrap_ComboBox_GetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3385     PyObject 
*resultobj
; 
3386     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
3388     PyObject 
* obj0 
= 0 ; 
3390         (char *) "self", NULL 
 
3393     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
; 
3394     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3395     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3397         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3398         result 
= ((wxComboBox 
const *)arg1
)->GetValue(); 
3400         wxPyEndAllowThreads(__tstate
); 
3401         if (PyErr_Occurred()) SWIG_fail
; 
3405         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3407         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3416 static PyObject 
*_wrap_ComboBox_SetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3417     PyObject 
*resultobj
; 
3418     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
3419     wxString 
*arg2 
= 0 ; 
3420     bool temp2 
= false ; 
3421     PyObject 
* obj0 
= 0 ; 
3422     PyObject 
* obj1 
= 0 ; 
3424         (char *) "self",(char *) "value", NULL 
 
3427     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
3428     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3429     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3431         arg2 
= wxString_in_helper(obj1
); 
3432         if (arg2 
== NULL
) SWIG_fail
; 
3436         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3437         (arg1
)->SetValue((wxString 
const &)*arg2
); 
3439         wxPyEndAllowThreads(__tstate
); 
3440         if (PyErr_Occurred()) SWIG_fail
; 
3442     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3457 static PyObject 
*_wrap_ComboBox_Copy(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3458     PyObject 
*resultobj
; 
3459     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
3460     PyObject 
* obj0 
= 0 ; 
3462         (char *) "self", NULL 
 
3465     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
; 
3466     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3467     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3469         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3472         wxPyEndAllowThreads(__tstate
); 
3473         if (PyErr_Occurred()) SWIG_fail
; 
3475     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3482 static PyObject 
*_wrap_ComboBox_Cut(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3483     PyObject 
*resultobj
; 
3484     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
3485     PyObject 
* obj0 
= 0 ; 
3487         (char *) "self", NULL 
 
3490     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
; 
3491     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3492     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3494         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3497         wxPyEndAllowThreads(__tstate
); 
3498         if (PyErr_Occurred()) SWIG_fail
; 
3500     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3507 static PyObject 
*_wrap_ComboBox_Paste(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3508     PyObject 
*resultobj
; 
3509     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
3510     PyObject 
* obj0 
= 0 ; 
3512         (char *) "self", NULL 
 
3515     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
; 
3516     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3517     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3519         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3522         wxPyEndAllowThreads(__tstate
); 
3523         if (PyErr_Occurred()) SWIG_fail
; 
3525     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3532 static PyObject 
*_wrap_ComboBox_SetInsertionPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3533     PyObject 
*resultobj
; 
3534     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
3536     PyObject 
* obj0 
= 0 ; 
3537     PyObject 
* obj1 
= 0 ; 
3539         (char *) "self",(char *) "pos", NULL 
 
3542     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
3543     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3544     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3545     arg2 
= (long)SWIG_As_long(obj1
);  
3546     if (PyErr_Occurred()) SWIG_fail
; 
3548         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3549         (arg1
)->SetInsertionPoint(arg2
); 
3551         wxPyEndAllowThreads(__tstate
); 
3552         if (PyErr_Occurred()) SWIG_fail
; 
3554     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3561 static PyObject 
*_wrap_ComboBox_GetInsertionPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3562     PyObject 
*resultobj
; 
3563     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
3565     PyObject 
* obj0 
= 0 ; 
3567         (char *) "self", NULL 
 
3570     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
; 
3571     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3572     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3574         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3575         result 
= (long)((wxComboBox 
const *)arg1
)->GetInsertionPoint(); 
3577         wxPyEndAllowThreads(__tstate
); 
3578         if (PyErr_Occurred()) SWIG_fail
; 
3580     resultobj 
= SWIG_From_long((long)result
); 
3587 static PyObject 
*_wrap_ComboBox_GetLastPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3588     PyObject 
*resultobj
; 
3589     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
3591     PyObject 
* obj0 
= 0 ; 
3593         (char *) "self", NULL 
 
3596     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
; 
3597     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3598     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3600         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3601         result 
= (long)((wxComboBox 
const *)arg1
)->GetLastPosition(); 
3603         wxPyEndAllowThreads(__tstate
); 
3604         if (PyErr_Occurred()) SWIG_fail
; 
3606     resultobj 
= SWIG_From_long((long)result
); 
3613 static PyObject 
*_wrap_ComboBox_Replace(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3614     PyObject 
*resultobj
; 
3615     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
3618     wxString 
*arg4 
= 0 ; 
3619     bool temp4 
= false ; 
3620     PyObject 
* obj0 
= 0 ; 
3621     PyObject 
* obj1 
= 0 ; 
3622     PyObject 
* obj2 
= 0 ; 
3623     PyObject 
* obj3 
= 0 ; 
3625         (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL 
 
3628     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
3629     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3630     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3631     arg2 
= (long)SWIG_As_long(obj1
);  
3632     if (PyErr_Occurred()) SWIG_fail
; 
3633     arg3 
= (long)SWIG_As_long(obj2
);  
3634     if (PyErr_Occurred()) SWIG_fail
; 
3636         arg4 
= wxString_in_helper(obj3
); 
3637         if (arg4 
== NULL
) SWIG_fail
; 
3641         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3642         (arg1
)->Replace(arg2
,arg3
,(wxString 
const &)*arg4
); 
3644         wxPyEndAllowThreads(__tstate
); 
3645         if (PyErr_Occurred()) SWIG_fail
; 
3647     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3662 static PyObject 
*_wrap_ComboBox_SetSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3663     PyObject 
*resultobj
; 
3664     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
3666     PyObject 
* obj0 
= 0 ; 
3667     PyObject 
* obj1 
= 0 ; 
3669         (char *) "self",(char *) "n", NULL 
 
3672     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
3673     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3674     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3675     arg2 
= (int)SWIG_As_int(obj1
);  
3676     if (PyErr_Occurred()) SWIG_fail
; 
3678         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3679         (arg1
)->SetSelection(arg2
); 
3681         wxPyEndAllowThreads(__tstate
); 
3682         if (PyErr_Occurred()) SWIG_fail
; 
3684     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3691 static PyObject 
*_wrap_ComboBox_SetMark(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3692     PyObject 
*resultobj
; 
3693     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
3696     PyObject 
* obj0 
= 0 ; 
3697     PyObject 
* obj1 
= 0 ; 
3698     PyObject 
* obj2 
= 0 ; 
3700         (char *) "self",(char *) "from",(char *) "to", NULL 
 
3703     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
3704     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3705     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3706     arg2 
= (long)SWIG_As_long(obj1
);  
3707     if (PyErr_Occurred()) SWIG_fail
; 
3708     arg3 
= (long)SWIG_As_long(obj2
);  
3709     if (PyErr_Occurred()) SWIG_fail
; 
3711         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3712         (arg1
)->SetSelection(arg2
,arg3
); 
3714         wxPyEndAllowThreads(__tstate
); 
3715         if (PyErr_Occurred()) SWIG_fail
; 
3717     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3724 static PyObject 
*_wrap_ComboBox_SetStringSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3725     PyObject 
*resultobj
; 
3726     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
3727     wxString 
*arg2 
= 0 ; 
3729     bool temp2 
= false ; 
3730     PyObject 
* obj0 
= 0 ; 
3731     PyObject 
* obj1 
= 0 ; 
3733         (char *) "self",(char *) "string", NULL 
 
3736     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
3737     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3738     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3740         arg2 
= wxString_in_helper(obj1
); 
3741         if (arg2 
== NULL
) SWIG_fail
; 
3745         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3746         result 
= (bool)(arg1
)->SetStringSelection((wxString 
const &)*arg2
); 
3748         wxPyEndAllowThreads(__tstate
); 
3749         if (PyErr_Occurred()) SWIG_fail
; 
3752         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3768 static PyObject 
*_wrap_ComboBox_SetString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3769     PyObject 
*resultobj
; 
3770     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
3772     wxString 
*arg3 
= 0 ; 
3773     bool temp3 
= false ; 
3774     PyObject 
* obj0 
= 0 ; 
3775     PyObject 
* obj1 
= 0 ; 
3776     PyObject 
* obj2 
= 0 ; 
3778         (char *) "self",(char *) "n",(char *) "string", NULL 
 
3781     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
3782     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3783     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3784     arg2 
= (int)SWIG_As_int(obj1
);  
3785     if (PyErr_Occurred()) SWIG_fail
; 
3787         arg3 
= wxString_in_helper(obj2
); 
3788         if (arg3 
== NULL
) SWIG_fail
; 
3792         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3793         (arg1
)->SetString(arg2
,(wxString 
const &)*arg3
); 
3795         wxPyEndAllowThreads(__tstate
); 
3796         if (PyErr_Occurred()) SWIG_fail
; 
3798     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3813 static PyObject 
*_wrap_ComboBox_SetEditable(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3814     PyObject 
*resultobj
; 
3815     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
3817     PyObject 
* obj0 
= 0 ; 
3818     PyObject 
* obj1 
= 0 ; 
3820         (char *) "self",(char *) "editable", NULL 
 
3823     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
; 
3824     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3825     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3826     arg2 
= (bool)SWIG_As_bool(obj1
);  
3827     if (PyErr_Occurred()) SWIG_fail
; 
3829         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3830         (arg1
)->SetEditable(arg2
); 
3832         wxPyEndAllowThreads(__tstate
); 
3833         if (PyErr_Occurred()) SWIG_fail
; 
3835     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3842 static PyObject 
*_wrap_ComboBox_SetInsertionPointEnd(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3843     PyObject 
*resultobj
; 
3844     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
3845     PyObject 
* obj0 
= 0 ; 
3847         (char *) "self", NULL 
 
3850     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
; 
3851     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3852     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3854         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3855         (arg1
)->SetInsertionPointEnd(); 
3857         wxPyEndAllowThreads(__tstate
); 
3858         if (PyErr_Occurred()) SWIG_fail
; 
3860     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3867 static PyObject 
*_wrap_ComboBox_Remove(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3868     PyObject 
*resultobj
; 
3869     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
3872     PyObject 
* obj0 
= 0 ; 
3873     PyObject 
* obj1 
= 0 ; 
3874     PyObject 
* obj2 
= 0 ; 
3876         (char *) "self",(char *) "from",(char *) "to", NULL 
 
3879     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
3880     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3881     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3882     arg2 
= (long)SWIG_As_long(obj1
);  
3883     if (PyErr_Occurred()) SWIG_fail
; 
3884     arg3 
= (long)SWIG_As_long(obj2
);  
3885     if (PyErr_Occurred()) SWIG_fail
; 
3887         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3888         (arg1
)->Remove(arg2
,arg3
); 
3890         wxPyEndAllowThreads(__tstate
); 
3891         if (PyErr_Occurred()) SWIG_fail
; 
3893     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3900 static PyObject 
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3901     PyObject 
*resultobj
; 
3902     int arg1 
= (int) wxWINDOW_VARIANT_NORMAL 
; 
3903     wxVisualAttributes result
; 
3904     PyObject 
* obj0 
= 0 ; 
3906         (char *) "variant", NULL 
 
3909     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
3911         arg1 
= (int)SWIG_As_int(obj0
);  
3912         if (PyErr_Occurred()) SWIG_fail
; 
3915         if (!wxPyCheckForApp()) SWIG_fail
; 
3916         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3917         result 
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
3919         wxPyEndAllowThreads(__tstate
); 
3920         if (PyErr_Occurred()) SWIG_fail
; 
3923         wxVisualAttributes 
* resultptr
; 
3924         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&) result
); 
3925         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
3933 static PyObject 
* ComboBox_swigregister(PyObject 
*, PyObject 
*args
) { 
3935     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3936     SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
); 
3938     return Py_BuildValue((char *)""); 
3940 static int _wrap_GaugeNameStr_set(PyObject 
*) { 
3941     PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only."); 
3946 static PyObject 
*_wrap_GaugeNameStr_get() { 
3951         pyobj 
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len()); 
3953         pyobj 
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len()); 
3960 static PyObject 
*_wrap_new_Gauge(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3961     PyObject 
*resultobj
; 
3962     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
3963     int arg2 
= (int) -1 ; 
3964     int arg3 
= (int) 100 ; 
3965     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
3966     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
3967     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
3968     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
3969     long arg6 
= (long) wxGA_HORIZONTAL 
; 
3970     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
3971     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
3972     wxString 
const &arg8_defvalue 
= wxPyGaugeNameStr 
; 
3973     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
3977     bool temp8 
= false ; 
3978     PyObject 
* obj0 
= 0 ; 
3979     PyObject 
* obj1 
= 0 ; 
3980     PyObject 
* obj2 
= 0 ; 
3981     PyObject 
* obj3 
= 0 ; 
3982     PyObject 
* obj4 
= 0 ; 
3983     PyObject 
* obj5 
= 0 ; 
3984     PyObject 
* obj6 
= 0 ; 
3985     PyObject 
* obj7 
= 0 ; 
3987         (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
3990     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
3991     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
3992     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3994         arg2 
= (int)SWIG_As_int(obj1
);  
3995         if (PyErr_Occurred()) SWIG_fail
; 
3998         arg3 
= (int)SWIG_As_int(obj2
);  
3999         if (PyErr_Occurred()) SWIG_fail
; 
4004             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
4010             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
4014         arg6 
= (long)SWIG_As_long(obj5
);  
4015         if (PyErr_Occurred()) SWIG_fail
; 
4018         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
, 
4019         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
4022             PyErr_SetString(PyExc_TypeError
,"null reference"); 
4028             arg8 
= wxString_in_helper(obj7
); 
4029             if (arg8 
== NULL
) SWIG_fail
; 
4034         if (!wxPyCheckForApp()) SWIG_fail
; 
4035         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4036         result 
= (wxGauge 
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
4038         wxPyEndAllowThreads(__tstate
); 
4039         if (PyErr_Occurred()) SWIG_fail
; 
4041     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1); 
4056 static PyObject 
*_wrap_new_PreGauge(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4057     PyObject 
*resultobj
; 
4063     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
; 
4065         if (!wxPyCheckForApp()) SWIG_fail
; 
4066         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4067         result 
= (wxGauge 
*)new wxGauge(); 
4069         wxPyEndAllowThreads(__tstate
); 
4070         if (PyErr_Occurred()) SWIG_fail
; 
4072     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1); 
4079 static PyObject 
*_wrap_Gauge_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4080     PyObject 
*resultobj
; 
4081     wxGauge 
*arg1 
= (wxGauge 
*) 0 ; 
4082     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
4083     int arg3 
= (int) -1 ; 
4084     int arg4 
= (int) 100 ; 
4085     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
4086     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
4087     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
4088     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
4089     long arg7 
= (long) wxGA_HORIZONTAL 
; 
4090     wxValidator 
const &arg8_defvalue 
= wxDefaultValidator 
; 
4091     wxValidator 
*arg8 
= (wxValidator 
*) &arg8_defvalue 
; 
4092     wxString 
const &arg9_defvalue 
= wxPyGaugeNameStr 
; 
4093     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
4097     bool temp9 
= false ; 
4098     PyObject 
* obj0 
= 0 ; 
4099     PyObject 
* obj1 
= 0 ; 
4100     PyObject 
* obj2 
= 0 ; 
4101     PyObject 
* obj3 
= 0 ; 
4102     PyObject 
* obj4 
= 0 ; 
4103     PyObject 
* obj5 
= 0 ; 
4104     PyObject 
* obj6 
= 0 ; 
4105     PyObject 
* obj7 
= 0 ; 
4106     PyObject 
* obj8 
= 0 ; 
4108         (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
4111     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
4112     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
, 
4113     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4114     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
4115     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4117         arg3 
= (int)SWIG_As_int(obj2
);  
4118         if (PyErr_Occurred()) SWIG_fail
; 
4121         arg4 
= (int)SWIG_As_int(obj3
);  
4122         if (PyErr_Occurred()) SWIG_fail
; 
4127             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
4133             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
4137         arg7 
= (long)SWIG_As_long(obj6
);  
4138         if (PyErr_Occurred()) SWIG_fail
; 
4141         if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
, 
4142         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
4145             PyErr_SetString(PyExc_TypeError
,"null reference"); 
4151             arg9 
= wxString_in_helper(obj8
); 
4152             if (arg9 
== NULL
) SWIG_fail
; 
4157         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4158         result 
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxValidator 
const &)*arg8
,(wxString 
const &)*arg9
); 
4160         wxPyEndAllowThreads(__tstate
); 
4161         if (PyErr_Occurred()) SWIG_fail
; 
4164         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4180 static PyObject 
*_wrap_Gauge_SetRange(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4181     PyObject 
*resultobj
; 
4182     wxGauge 
*arg1 
= (wxGauge 
*) 0 ; 
4184     PyObject 
* obj0 
= 0 ; 
4185     PyObject 
* obj1 
= 0 ; 
4187         (char *) "self",(char *) "range", NULL 
 
4190     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
; 
4191     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
, 
4192     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4193     arg2 
= (int)SWIG_As_int(obj1
);  
4194     if (PyErr_Occurred()) SWIG_fail
; 
4196         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4197         (arg1
)->SetRange(arg2
); 
4199         wxPyEndAllowThreads(__tstate
); 
4200         if (PyErr_Occurred()) SWIG_fail
; 
4202     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4209 static PyObject 
*_wrap_Gauge_GetRange(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4210     PyObject 
*resultobj
; 
4211     wxGauge 
*arg1 
= (wxGauge 
*) 0 ; 
4213     PyObject 
* obj0 
= 0 ; 
4215         (char *) "self", NULL 
 
4218     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
; 
4219     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
, 
4220     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4222         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4223         result 
= (int)((wxGauge 
const *)arg1
)->GetRange(); 
4225         wxPyEndAllowThreads(__tstate
); 
4226         if (PyErr_Occurred()) SWIG_fail
; 
4228     resultobj 
= SWIG_From_int((int)result
); 
4235 static PyObject 
*_wrap_Gauge_SetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4236     PyObject 
*resultobj
; 
4237     wxGauge 
*arg1 
= (wxGauge 
*) 0 ; 
4239     PyObject 
* obj0 
= 0 ; 
4240     PyObject 
* obj1 
= 0 ; 
4242         (char *) "self",(char *) "pos", NULL 
 
4245     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
4246     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
, 
4247     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4248     arg2 
= (int)SWIG_As_int(obj1
);  
4249     if (PyErr_Occurred()) SWIG_fail
; 
4251         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4252         (arg1
)->SetValue(arg2
); 
4254         wxPyEndAllowThreads(__tstate
); 
4255         if (PyErr_Occurred()) SWIG_fail
; 
4257     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4264 static PyObject 
*_wrap_Gauge_GetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4265     PyObject 
*resultobj
; 
4266     wxGauge 
*arg1 
= (wxGauge 
*) 0 ; 
4268     PyObject 
* obj0 
= 0 ; 
4270         (char *) "self", NULL 
 
4273     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
; 
4274     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
, 
4275     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4277         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4278         result 
= (int)((wxGauge 
const *)arg1
)->GetValue(); 
4280         wxPyEndAllowThreads(__tstate
); 
4281         if (PyErr_Occurred()) SWIG_fail
; 
4283     resultobj 
= SWIG_From_int((int)result
); 
4290 static PyObject 
*_wrap_Gauge_IsVertical(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4291     PyObject 
*resultobj
; 
4292     wxGauge 
*arg1 
= (wxGauge 
*) 0 ; 
4294     PyObject 
* obj0 
= 0 ; 
4296         (char *) "self", NULL 
 
4299     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
; 
4300     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
, 
4301     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4303         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4304         result 
= (bool)((wxGauge 
const *)arg1
)->IsVertical(); 
4306         wxPyEndAllowThreads(__tstate
); 
4307         if (PyErr_Occurred()) SWIG_fail
; 
4310         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4318 static PyObject 
*_wrap_Gauge_SetShadowWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4319     PyObject 
*resultobj
; 
4320     wxGauge 
*arg1 
= (wxGauge 
*) 0 ; 
4322     PyObject 
* obj0 
= 0 ; 
4323     PyObject 
* obj1 
= 0 ; 
4325         (char *) "self",(char *) "w", NULL 
 
4328     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
4329     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
, 
4330     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4331     arg2 
= (int)SWIG_As_int(obj1
);  
4332     if (PyErr_Occurred()) SWIG_fail
; 
4334         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4335         (arg1
)->SetShadowWidth(arg2
); 
4337         wxPyEndAllowThreads(__tstate
); 
4338         if (PyErr_Occurred()) SWIG_fail
; 
4340     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4347 static PyObject 
*_wrap_Gauge_GetShadowWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4348     PyObject 
*resultobj
; 
4349     wxGauge 
*arg1 
= (wxGauge 
*) 0 ; 
4351     PyObject 
* obj0 
= 0 ; 
4353         (char *) "self", NULL 
 
4356     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
; 
4357     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
, 
4358     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4360         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4361         result 
= (int)((wxGauge 
const *)arg1
)->GetShadowWidth(); 
4363         wxPyEndAllowThreads(__tstate
); 
4364         if (PyErr_Occurred()) SWIG_fail
; 
4366     resultobj 
= SWIG_From_int((int)result
); 
4373 static PyObject 
*_wrap_Gauge_SetBezelFace(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4374     PyObject 
*resultobj
; 
4375     wxGauge 
*arg1 
= (wxGauge 
*) 0 ; 
4377     PyObject 
* obj0 
= 0 ; 
4378     PyObject 
* obj1 
= 0 ; 
4380         (char *) "self",(char *) "w", NULL 
 
4383     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
; 
4384     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
, 
4385     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4386     arg2 
= (int)SWIG_As_int(obj1
);  
4387     if (PyErr_Occurred()) SWIG_fail
; 
4389         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4390         (arg1
)->SetBezelFace(arg2
); 
4392         wxPyEndAllowThreads(__tstate
); 
4393         if (PyErr_Occurred()) SWIG_fail
; 
4395     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4402 static PyObject 
*_wrap_Gauge_GetBezelFace(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4403     PyObject 
*resultobj
; 
4404     wxGauge 
*arg1 
= (wxGauge 
*) 0 ; 
4406     PyObject 
* obj0 
= 0 ; 
4408         (char *) "self", NULL 
 
4411     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
; 
4412     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
, 
4413     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4415         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4416         result 
= (int)((wxGauge 
const *)arg1
)->GetBezelFace(); 
4418         wxPyEndAllowThreads(__tstate
); 
4419         if (PyErr_Occurred()) SWIG_fail
; 
4421     resultobj 
= SWIG_From_int((int)result
); 
4428 static PyObject 
*_wrap_Gauge_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4429     PyObject 
*resultobj
; 
4430     int arg1 
= (int) wxWINDOW_VARIANT_NORMAL 
; 
4431     wxVisualAttributes result
; 
4432     PyObject 
* obj0 
= 0 ; 
4434         (char *) "variant", NULL 
 
4437     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
4439         arg1 
= (int)SWIG_As_int(obj0
);  
4440         if (PyErr_Occurred()) SWIG_fail
; 
4443         if (!wxPyCheckForApp()) SWIG_fail
; 
4444         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4445         result 
= wxGauge::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
4447         wxPyEndAllowThreads(__tstate
); 
4448         if (PyErr_Occurred()) SWIG_fail
; 
4451         wxVisualAttributes 
* resultptr
; 
4452         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&) result
); 
4453         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
4461 static PyObject 
* Gauge_swigregister(PyObject 
*, PyObject 
*args
) { 
4463     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4464     SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
); 
4466     return Py_BuildValue((char *)""); 
4468 static int _wrap_StaticBitmapNameStr_set(PyObject 
*) { 
4469     PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only."); 
4474 static PyObject 
*_wrap_StaticBitmapNameStr_get() { 
4479         pyobj 
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len()); 
4481         pyobj 
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len()); 
4488 static int _wrap_StaticBoxNameStr_set(PyObject 
*) { 
4489     PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only."); 
4494 static PyObject 
*_wrap_StaticBoxNameStr_get() { 
4499         pyobj 
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len()); 
4501         pyobj 
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len()); 
4508 static int _wrap_StaticTextNameStr_set(PyObject 
*) { 
4509     PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only."); 
4514 static PyObject 
*_wrap_StaticTextNameStr_get() { 
4519         pyobj 
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len()); 
4521         pyobj 
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len()); 
4528 static PyObject 
*_wrap_new_StaticBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4529     PyObject 
*resultobj
; 
4530     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
4531     int arg2 
= (int) -1 ; 
4532     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
4533     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
4534     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
4535     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
4536     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
4537     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
4538     long arg6 
= (long) 0 ; 
4539     wxString 
const &arg7_defvalue 
= wxPyStaticBoxNameStr 
; 
4540     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
4541     wxStaticBox 
*result
; 
4542     bool temp3 
= false ; 
4545     bool temp7 
= false ; 
4546     PyObject 
* obj0 
= 0 ; 
4547     PyObject 
* obj1 
= 0 ; 
4548     PyObject 
* obj2 
= 0 ; 
4549     PyObject 
* obj3 
= 0 ; 
4550     PyObject 
* obj4 
= 0 ; 
4551     PyObject 
* obj5 
= 0 ; 
4552     PyObject 
* obj6 
= 0 ; 
4554         (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
4557     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
4558     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
4559     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4561         arg2 
= (int)SWIG_As_int(obj1
);  
4562         if (PyErr_Occurred()) SWIG_fail
; 
4566             arg3 
= wxString_in_helper(obj2
); 
4567             if (arg3 
== NULL
) SWIG_fail
; 
4574             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
4580             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
4584         arg6 
= (long)SWIG_As_long(obj5
);  
4585         if (PyErr_Occurred()) SWIG_fail
; 
4589             arg7 
= wxString_in_helper(obj6
); 
4590             if (arg7 
== NULL
) SWIG_fail
; 
4595         if (!wxPyCheckForApp()) SWIG_fail
; 
4596         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4597         result 
= (wxStaticBox 
*)new wxStaticBox(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
4599         wxPyEndAllowThreads(__tstate
); 
4600         if (PyErr_Occurred()) SWIG_fail
; 
4602     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1); 
4625 static PyObject 
*_wrap_new_PreStaticBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4626     PyObject 
*resultobj
; 
4627     wxStaticBox 
*result
; 
4632     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
; 
4634         if (!wxPyCheckForApp()) SWIG_fail
; 
4635         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4636         result 
= (wxStaticBox 
*)new wxStaticBox(); 
4638         wxPyEndAllowThreads(__tstate
); 
4639         if (PyErr_Occurred()) SWIG_fail
; 
4641     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1); 
4648 static PyObject 
*_wrap_StaticBox_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4649     PyObject 
*resultobj
; 
4650     wxStaticBox 
*arg1 
= (wxStaticBox 
*) 0 ; 
4651     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
4652     int arg3 
= (int) -1 ; 
4653     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
4654     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
4655     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
4656     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
4657     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
4658     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
4659     long arg7 
= (long) 0 ; 
4660     wxString 
const &arg8_defvalue 
= wxPyStaticBoxNameStr 
; 
4661     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
4663     bool temp4 
= false ; 
4666     bool temp8 
= false ; 
4667     PyObject 
* obj0 
= 0 ; 
4668     PyObject 
* obj1 
= 0 ; 
4669     PyObject 
* obj2 
= 0 ; 
4670     PyObject 
* obj3 
= 0 ; 
4671     PyObject 
* obj4 
= 0 ; 
4672     PyObject 
* obj5 
= 0 ; 
4673     PyObject 
* obj6 
= 0 ; 
4674     PyObject 
* obj7 
= 0 ; 
4676         (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
4679     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
4680     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
, 
4681     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4682     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
4683     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4685         arg3 
= (int)SWIG_As_int(obj2
);  
4686         if (PyErr_Occurred()) SWIG_fail
; 
4690             arg4 
= wxString_in_helper(obj3
); 
4691             if (arg4 
== NULL
) SWIG_fail
; 
4698             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
4704             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
4708         arg7 
= (long)SWIG_As_long(obj6
);  
4709         if (PyErr_Occurred()) SWIG_fail
; 
4713             arg8 
= wxString_in_helper(obj7
); 
4714             if (arg8 
== NULL
) SWIG_fail
; 
4719         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4720         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxString 
const &)*arg8
); 
4722         wxPyEndAllowThreads(__tstate
); 
4723         if (PyErr_Occurred()) SWIG_fail
; 
4726         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4750 static PyObject 
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4751     PyObject 
*resultobj
; 
4752     int arg1 
= (int) wxWINDOW_VARIANT_NORMAL 
; 
4753     wxVisualAttributes result
; 
4754     PyObject 
* obj0 
= 0 ; 
4756         (char *) "variant", NULL 
 
4759     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
4761         arg1 
= (int)SWIG_As_int(obj0
);  
4762         if (PyErr_Occurred()) SWIG_fail
; 
4765         if (!wxPyCheckForApp()) SWIG_fail
; 
4766         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4767         result 
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
4769         wxPyEndAllowThreads(__tstate
); 
4770         if (PyErr_Occurred()) SWIG_fail
; 
4773         wxVisualAttributes 
* resultptr
; 
4774         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&) result
); 
4775         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
4783 static PyObject 
* StaticBox_swigregister(PyObject 
*, PyObject 
*args
) { 
4785     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4786     SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
); 
4788     return Py_BuildValue((char *)""); 
4790 static PyObject 
*_wrap_new_StaticLine(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4791     PyObject 
*resultobj
; 
4792     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
4793     int arg2 
= (int) -1 ; 
4794     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
4795     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
4796     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
4797     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
4798     long arg5 
= (long) wxLI_HORIZONTAL 
; 
4799     wxString 
const &arg6_defvalue 
= wxPyStaticTextNameStr 
; 
4800     wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
4801     wxStaticLine 
*result
; 
4804     bool temp6 
= false ; 
4805     PyObject 
* obj0 
= 0 ; 
4806     PyObject 
* obj1 
= 0 ; 
4807     PyObject 
* obj2 
= 0 ; 
4808     PyObject 
* obj3 
= 0 ; 
4809     PyObject 
* obj4 
= 0 ; 
4810     PyObject 
* obj5 
= 0 ; 
4812         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
4815     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
4816     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
4817     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4819         arg2 
= (int)SWIG_As_int(obj1
);  
4820         if (PyErr_Occurred()) SWIG_fail
; 
4825             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
4831             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
4835         arg5 
= (long)SWIG_As_long(obj4
);  
4836         if (PyErr_Occurred()) SWIG_fail
; 
4840             arg6 
= wxString_in_helper(obj5
); 
4841             if (arg6 
== NULL
) SWIG_fail
; 
4846         if (!wxPyCheckForApp()) SWIG_fail
; 
4847         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4848         result 
= (wxStaticLine 
*)new wxStaticLine(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
4850         wxPyEndAllowThreads(__tstate
); 
4851         if (PyErr_Occurred()) SWIG_fail
; 
4853     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1); 
4868 static PyObject 
*_wrap_new_PreStaticLine(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4869     PyObject 
*resultobj
; 
4870     wxStaticLine 
*result
; 
4875     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
; 
4877         if (!wxPyCheckForApp()) SWIG_fail
; 
4878         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4879         result 
= (wxStaticLine 
*)new wxStaticLine(); 
4881         wxPyEndAllowThreads(__tstate
); 
4882         if (PyErr_Occurred()) SWIG_fail
; 
4884     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1); 
4891 static PyObject 
*_wrap_StaticLine_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4892     PyObject 
*resultobj
; 
4893     wxStaticLine 
*arg1 
= (wxStaticLine 
*) 0 ; 
4894     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
4895     int arg3 
= (int) -1 ; 
4896     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
4897     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
4898     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
4899     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
4900     long arg6 
= (long) wxLI_HORIZONTAL 
; 
4901     wxString 
const &arg7_defvalue 
= wxPyStaticTextNameStr 
; 
4902     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
4906     bool temp7 
= false ; 
4907     PyObject 
* obj0 
= 0 ; 
4908     PyObject 
* obj1 
= 0 ; 
4909     PyObject 
* obj2 
= 0 ; 
4910     PyObject 
* obj3 
= 0 ; 
4911     PyObject 
* obj4 
= 0 ; 
4912     PyObject 
* obj5 
= 0 ; 
4913     PyObject 
* obj6 
= 0 ; 
4915         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
4918     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
4919     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
, 
4920     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4921     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
4922     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4924         arg3 
= (int)SWIG_As_int(obj2
);  
4925         if (PyErr_Occurred()) SWIG_fail
; 
4930             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
4936             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
4940         arg6 
= (long)SWIG_As_long(obj5
);  
4941         if (PyErr_Occurred()) SWIG_fail
; 
4945             arg7 
= wxString_in_helper(obj6
); 
4946             if (arg7 
== NULL
) SWIG_fail
; 
4951         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4952         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
4954         wxPyEndAllowThreads(__tstate
); 
4955         if (PyErr_Occurred()) SWIG_fail
; 
4958         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4974 static PyObject 
*_wrap_StaticLine_IsVertical(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4975     PyObject 
*resultobj
; 
4976     wxStaticLine 
*arg1 
= (wxStaticLine 
*) 0 ; 
4978     PyObject 
* obj0 
= 0 ; 
4980         (char *) "self", NULL 
 
4983     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
; 
4984     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
, 
4985     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4987         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4988         result 
= (bool)((wxStaticLine 
const *)arg1
)->IsVertical(); 
4990         wxPyEndAllowThreads(__tstate
); 
4991         if (PyErr_Occurred()) SWIG_fail
; 
4994         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5002 static PyObject 
*_wrap_StaticLine_GetDefaultSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5003     PyObject 
*resultobj
; 
5009     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
; 
5011         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5012         result 
= (int)wxStaticLine::GetDefaultSize(); 
5014         wxPyEndAllowThreads(__tstate
); 
5015         if (PyErr_Occurred()) SWIG_fail
; 
5017     resultobj 
= SWIG_From_int((int)result
); 
5024 static PyObject 
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5025     PyObject 
*resultobj
; 
5026     int arg1 
= (int) wxWINDOW_VARIANT_NORMAL 
; 
5027     wxVisualAttributes result
; 
5028     PyObject 
* obj0 
= 0 ; 
5030         (char *) "variant", NULL 
 
5033     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
5035         arg1 
= (int)SWIG_As_int(obj0
);  
5036         if (PyErr_Occurred()) SWIG_fail
; 
5039         if (!wxPyCheckForApp()) SWIG_fail
; 
5040         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5041         result 
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
5043         wxPyEndAllowThreads(__tstate
); 
5044         if (PyErr_Occurred()) SWIG_fail
; 
5047         wxVisualAttributes 
* resultptr
; 
5048         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&) result
); 
5049         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
5057 static PyObject 
* StaticLine_swigregister(PyObject 
*, PyObject 
*args
) { 
5059     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5060     SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
); 
5062     return Py_BuildValue((char *)""); 
5064 static PyObject 
*_wrap_new_StaticText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5065     PyObject 
*resultobj
; 
5066     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
5067     int arg2 
= (int) -1 ; 
5068     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
5069     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
5070     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
5071     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
5072     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
5073     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
5074     long arg6 
= (long) 0 ; 
5075     wxString 
const &arg7_defvalue 
= wxPyStaticTextNameStr 
; 
5076     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
5077     wxStaticText 
*result
; 
5078     bool temp3 
= false ; 
5081     bool temp7 
= false ; 
5082     PyObject 
* obj0 
= 0 ; 
5083     PyObject 
* obj1 
= 0 ; 
5084     PyObject 
* obj2 
= 0 ; 
5085     PyObject 
* obj3 
= 0 ; 
5086     PyObject 
* obj4 
= 0 ; 
5087     PyObject 
* obj5 
= 0 ; 
5088     PyObject 
* obj6 
= 0 ; 
5090         (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
5093     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
5094     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
5095     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5097         arg2 
= (int)SWIG_As_int(obj1
);  
5098         if (PyErr_Occurred()) SWIG_fail
; 
5102             arg3 
= wxString_in_helper(obj2
); 
5103             if (arg3 
== NULL
) SWIG_fail
; 
5110             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
5116             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
5120         arg6 
= (long)SWIG_As_long(obj5
);  
5121         if (PyErr_Occurred()) SWIG_fail
; 
5125             arg7 
= wxString_in_helper(obj6
); 
5126             if (arg7 
== NULL
) SWIG_fail
; 
5131         if (!wxPyCheckForApp()) SWIG_fail
; 
5132         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5133         result 
= (wxStaticText 
*)new wxStaticText(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
5135         wxPyEndAllowThreads(__tstate
); 
5136         if (PyErr_Occurred()) SWIG_fail
; 
5138     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1); 
5161 static PyObject 
*_wrap_new_PreStaticText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5162     PyObject 
*resultobj
; 
5163     wxStaticText 
*result
; 
5168     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
; 
5170         if (!wxPyCheckForApp()) SWIG_fail
; 
5171         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5172         result 
= (wxStaticText 
*)new wxStaticText(); 
5174         wxPyEndAllowThreads(__tstate
); 
5175         if (PyErr_Occurred()) SWIG_fail
; 
5177     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1); 
5184 static PyObject 
*_wrap_StaticText_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5185     PyObject 
*resultobj
; 
5186     wxStaticText 
*arg1 
= (wxStaticText 
*) 0 ; 
5187     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
5188     int arg3 
= (int) -1 ; 
5189     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
5190     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
5191     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
5192     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
5193     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
5194     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
5195     long arg7 
= (long) 0 ; 
5196     wxString 
const &arg8_defvalue 
= wxPyStaticTextNameStr 
; 
5197     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
5199     bool temp4 
= false ; 
5202     bool temp8 
= false ; 
5203     PyObject 
* obj0 
= 0 ; 
5204     PyObject 
* obj1 
= 0 ; 
5205     PyObject 
* obj2 
= 0 ; 
5206     PyObject 
* obj3 
= 0 ; 
5207     PyObject 
* obj4 
= 0 ; 
5208     PyObject 
* obj5 
= 0 ; 
5209     PyObject 
* obj6 
= 0 ; 
5210     PyObject 
* obj7 
= 0 ; 
5212         (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
5215     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
5216     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
, 
5217     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5218     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
5219     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5221         arg3 
= (int)SWIG_As_int(obj2
);  
5222         if (PyErr_Occurred()) SWIG_fail
; 
5226             arg4 
= wxString_in_helper(obj3
); 
5227             if (arg4 
== NULL
) SWIG_fail
; 
5234             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
5240             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
5244         arg7 
= (long)SWIG_As_long(obj6
);  
5245         if (PyErr_Occurred()) SWIG_fail
; 
5249             arg8 
= wxString_in_helper(obj7
); 
5250             if (arg8 
== NULL
) SWIG_fail
; 
5255         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5256         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxString 
const &)*arg8
); 
5258         wxPyEndAllowThreads(__tstate
); 
5259         if (PyErr_Occurred()) SWIG_fail
; 
5262         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5286 static PyObject 
*_wrap_StaticText_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5287     PyObject 
*resultobj
; 
5288     int arg1 
= (int) wxWINDOW_VARIANT_NORMAL 
; 
5289     wxVisualAttributes result
; 
5290     PyObject 
* obj0 
= 0 ; 
5292         (char *) "variant", NULL 
 
5295     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
5297         arg1 
= (int)SWIG_As_int(obj0
);  
5298         if (PyErr_Occurred()) SWIG_fail
; 
5301         if (!wxPyCheckForApp()) SWIG_fail
; 
5302         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5303         result 
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
5305         wxPyEndAllowThreads(__tstate
); 
5306         if (PyErr_Occurred()) SWIG_fail
; 
5309         wxVisualAttributes 
* resultptr
; 
5310         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&) result
); 
5311         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
5319 static PyObject 
* StaticText_swigregister(PyObject 
*, PyObject 
*args
) { 
5321     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5322     SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
); 
5324     return Py_BuildValue((char *)""); 
5326 static PyObject 
*_wrap_new_StaticBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5327     PyObject 
*resultobj
; 
5328     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
5329     int arg2 
= (int) -1 ; 
5330     wxBitmap 
const &arg3_defvalue 
= wxNullBitmap 
; 
5331     wxBitmap 
*arg3 
= (wxBitmap 
*) &arg3_defvalue 
; 
5332     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
5333     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
5334     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
5335     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
5336     long arg6 
= (long) 0 ; 
5337     wxString 
const &arg7_defvalue 
= wxPyStaticBitmapNameStr 
; 
5338     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
5339     wxStaticBitmap 
*result
; 
5342     bool temp7 
= false ; 
5343     PyObject 
* obj0 
= 0 ; 
5344     PyObject 
* obj1 
= 0 ; 
5345     PyObject 
* obj2 
= 0 ; 
5346     PyObject 
* obj3 
= 0 ; 
5347     PyObject 
* obj4 
= 0 ; 
5348     PyObject 
* obj5 
= 0 ; 
5349     PyObject 
* obj6 
= 0 ; 
5351         (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
5354     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
5355     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
5356     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5358         arg2 
= (int)SWIG_As_int(obj1
);  
5359         if (PyErr_Occurred()) SWIG_fail
; 
5362         if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
, 
5363         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
5366             PyErr_SetString(PyExc_TypeError
,"null reference"); 
5373             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
5379             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
5383         arg6 
= (long)SWIG_As_long(obj5
);  
5384         if (PyErr_Occurred()) SWIG_fail
; 
5388             arg7 
= wxString_in_helper(obj6
); 
5389             if (arg7 
== NULL
) SWIG_fail
; 
5394         if (!wxPyCheckForApp()) SWIG_fail
; 
5395         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5396         result 
= (wxStaticBitmap 
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
5398         wxPyEndAllowThreads(__tstate
); 
5399         if (PyErr_Occurred()) SWIG_fail
; 
5401     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1); 
5416 static PyObject 
*_wrap_new_PreStaticBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5417     PyObject 
*resultobj
; 
5418     wxStaticBitmap 
*result
; 
5423     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
; 
5425         if (!wxPyCheckForApp()) SWIG_fail
; 
5426         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5427         result 
= (wxStaticBitmap 
*)new wxStaticBitmap(); 
5429         wxPyEndAllowThreads(__tstate
); 
5430         if (PyErr_Occurred()) SWIG_fail
; 
5432     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1); 
5439 static PyObject 
*_wrap_StaticBitmap_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5440     PyObject 
*resultobj
; 
5441     wxStaticBitmap 
*arg1 
= (wxStaticBitmap 
*) 0 ; 
5442     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
5443     int arg3 
= (int) -1 ; 
5444     wxBitmap 
const &arg4_defvalue 
= wxNullBitmap 
; 
5445     wxBitmap 
*arg4 
= (wxBitmap 
*) &arg4_defvalue 
; 
5446     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
5447     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
5448     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
5449     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
5450     long arg7 
= (long) 0 ; 
5451     wxString 
const &arg8_defvalue 
= wxPyStaticBitmapNameStr 
; 
5452     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
5456     bool temp8 
= false ; 
5457     PyObject 
* obj0 
= 0 ; 
5458     PyObject 
* obj1 
= 0 ; 
5459     PyObject 
* obj2 
= 0 ; 
5460     PyObject 
* obj3 
= 0 ; 
5461     PyObject 
* obj4 
= 0 ; 
5462     PyObject 
* obj5 
= 0 ; 
5463     PyObject 
* obj6 
= 0 ; 
5464     PyObject 
* obj7 
= 0 ; 
5466         (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
5469     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
5470     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
, 
5471     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5472     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
5473     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5475         arg3 
= (int)SWIG_As_int(obj2
);  
5476         if (PyErr_Occurred()) SWIG_fail
; 
5479         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
, 
5480         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
5483             PyErr_SetString(PyExc_TypeError
,"null reference"); 
5490             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
5496             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
5500         arg7 
= (long)SWIG_As_long(obj6
);  
5501         if (PyErr_Occurred()) SWIG_fail
; 
5505             arg8 
= wxString_in_helper(obj7
); 
5506             if (arg8 
== NULL
) SWIG_fail
; 
5511         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5512         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxString 
const &)*arg8
); 
5514         wxPyEndAllowThreads(__tstate
); 
5515         if (PyErr_Occurred()) SWIG_fail
; 
5518         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5534 static PyObject 
*_wrap_StaticBitmap_GetBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5535     PyObject 
*resultobj
; 
5536     wxStaticBitmap 
*arg1 
= (wxStaticBitmap 
*) 0 ; 
5538     PyObject 
* obj0 
= 0 ; 
5540         (char *) "self", NULL 
 
5543     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
; 
5544     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
, 
5545     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5547         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5548         result 
= (arg1
)->GetBitmap(); 
5550         wxPyEndAllowThreads(__tstate
); 
5551         if (PyErr_Occurred()) SWIG_fail
; 
5554         wxBitmap 
* resultptr
; 
5555         resultptr 
= new wxBitmap((wxBitmap 
&) result
); 
5556         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
5564 static PyObject 
*_wrap_StaticBitmap_SetBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5565     PyObject 
*resultobj
; 
5566     wxStaticBitmap 
*arg1 
= (wxStaticBitmap 
*) 0 ; 
5567     wxBitmap 
*arg2 
= 0 ; 
5568     PyObject 
* obj0 
= 0 ; 
5569     PyObject 
* obj1 
= 0 ; 
5571         (char *) "self",(char *) "bitmap", NULL 
 
5574     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
5575     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
, 
5576     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5577     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
5578     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
5581         PyErr_SetString(PyExc_TypeError
,"null reference"); 
5585         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5586         (arg1
)->SetBitmap((wxBitmap 
const &)*arg2
); 
5588         wxPyEndAllowThreads(__tstate
); 
5589         if (PyErr_Occurred()) SWIG_fail
; 
5591     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5598 static PyObject 
*_wrap_StaticBitmap_SetIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5599     PyObject 
*resultobj
; 
5600     wxStaticBitmap 
*arg1 
= (wxStaticBitmap 
*) 0 ; 
5602     PyObject 
* obj0 
= 0 ; 
5603     PyObject 
* obj1 
= 0 ; 
5605         (char *) "self",(char *) "icon", NULL 
 
5608     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
; 
5609     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
, 
5610     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5611     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
, 
5612     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
5615         PyErr_SetString(PyExc_TypeError
,"null reference"); 
5619         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5620         (arg1
)->SetIcon((wxIcon 
const &)*arg2
); 
5622         wxPyEndAllowThreads(__tstate
); 
5623         if (PyErr_Occurred()) SWIG_fail
; 
5625     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5632 static PyObject 
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5633     PyObject 
*resultobj
; 
5634     int arg1 
= (int) wxWINDOW_VARIANT_NORMAL 
; 
5635     wxVisualAttributes result
; 
5636     PyObject 
* obj0 
= 0 ; 
5638         (char *) "variant", NULL 
 
5641     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
5643         arg1 
= (int)SWIG_As_int(obj0
);  
5644         if (PyErr_Occurred()) SWIG_fail
; 
5647         if (!wxPyCheckForApp()) SWIG_fail
; 
5648         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5649         result 
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
5651         wxPyEndAllowThreads(__tstate
); 
5652         if (PyErr_Occurred()) SWIG_fail
; 
5655         wxVisualAttributes 
* resultptr
; 
5656         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&) result
); 
5657         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
5665 static PyObject 
* StaticBitmap_swigregister(PyObject 
*, PyObject 
*args
) { 
5667     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5668     SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
); 
5670     return Py_BuildValue((char *)""); 
5672 static int _wrap_ListBoxNameStr_set(PyObject 
*) { 
5673     PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only."); 
5678 static PyObject 
*_wrap_ListBoxNameStr_get() { 
5683         pyobj 
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len()); 
5685         pyobj 
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len()); 
5692 static PyObject 
*_wrap_new_ListBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5693     PyObject 
*resultobj
; 
5694     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
5695     int arg2 
= (int) -1 ; 
5696     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
5697     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
5698     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
5699     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
5700     wxArrayString 
const &arg5_defvalue 
= wxPyEmptyStringArray 
; 
5701     wxArrayString 
*arg5 
= (wxArrayString 
*) &arg5_defvalue 
; 
5702     long arg6 
= (long) 0 ; 
5703     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
5704     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
5705     wxString 
const &arg8_defvalue 
= wxPyListBoxNameStr 
; 
5706     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
5710     bool temp5 
= false ; 
5711     bool temp8 
= false ; 
5712     PyObject 
* obj0 
= 0 ; 
5713     PyObject 
* obj1 
= 0 ; 
5714     PyObject 
* obj2 
= 0 ; 
5715     PyObject 
* obj3 
= 0 ; 
5716     PyObject 
* obj4 
= 0 ; 
5717     PyObject 
* obj5 
= 0 ; 
5718     PyObject 
* obj6 
= 0 ; 
5719     PyObject 
* obj7 
= 0 ; 
5721         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
5724     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
5725     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
5726     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5728         arg2 
= (int)SWIG_As_int(obj1
);  
5729         if (PyErr_Occurred()) SWIG_fail
; 
5734             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
5740             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
5745             if (! PySequence_Check(obj4
)) { 
5746                 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
5749             arg5 
= new wxArrayString
; 
5751             int i
, len
=PySequence_Length(obj4
); 
5752             for (i
=0; i
<len
; i
++) { 
5753                 PyObject
* item 
= PySequence_GetItem(obj4
, i
); 
5755                 PyObject
* str  
= PyObject_Unicode(item
); 
5757                 PyObject
* str  
= PyObject_Str(item
); 
5759                 if (PyErr_Occurred())  SWIG_fail
; 
5760                 arg5
->Add(Py2wxString(str
)); 
5767         arg6 
= (long)SWIG_As_long(obj5
);  
5768         if (PyErr_Occurred()) SWIG_fail
; 
5771         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
, 
5772         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
5775             PyErr_SetString(PyExc_TypeError
,"null reference"); 
5781             arg8 
= wxString_in_helper(obj7
); 
5782             if (arg8 
== NULL
) SWIG_fail
; 
5787         if (!wxPyCheckForApp()) SWIG_fail
; 
5788         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5789         result 
= (wxListBox 
*)new wxListBox(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,(wxArrayString 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
5791         wxPyEndAllowThreads(__tstate
); 
5792         if (PyErr_Occurred()) SWIG_fail
; 
5794     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1); 
5796         if (temp5
) delete arg5
; 
5805         if (temp5
) delete arg5
; 
5815 static PyObject 
*_wrap_new_PreListBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5816     PyObject 
*resultobj
; 
5822     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
; 
5824         if (!wxPyCheckForApp()) SWIG_fail
; 
5825         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5826         result 
= (wxListBox 
*)new wxListBox(); 
5828         wxPyEndAllowThreads(__tstate
); 
5829         if (PyErr_Occurred()) SWIG_fail
; 
5831     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1); 
5838 static PyObject 
*_wrap_ListBox_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5839     PyObject 
*resultobj
; 
5840     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
5841     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
5842     int arg3 
= (int) -1 ; 
5843     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
5844     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
5845     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
5846     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
5847     wxArrayString 
const &arg6_defvalue 
= wxPyEmptyStringArray 
; 
5848     wxArrayString 
*arg6 
= (wxArrayString 
*) &arg6_defvalue 
; 
5849     long arg7 
= (long) 0 ; 
5850     wxValidator 
const &arg8_defvalue 
= wxDefaultValidator 
; 
5851     wxValidator 
*arg8 
= (wxValidator 
*) &arg8_defvalue 
; 
5852     wxString 
const &arg9_defvalue 
= wxPyListBoxNameStr 
; 
5853     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
5857     bool temp6 
= false ; 
5858     bool temp9 
= false ; 
5859     PyObject 
* obj0 
= 0 ; 
5860     PyObject 
* obj1 
= 0 ; 
5861     PyObject 
* obj2 
= 0 ; 
5862     PyObject 
* obj3 
= 0 ; 
5863     PyObject 
* obj4 
= 0 ; 
5864     PyObject 
* obj5 
= 0 ; 
5865     PyObject 
* obj6 
= 0 ; 
5866     PyObject 
* obj7 
= 0 ; 
5867     PyObject 
* obj8 
= 0 ; 
5869         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
5872     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
5873     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
5874     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5875     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
5876     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5878         arg3 
= (int)SWIG_As_int(obj2
);  
5879         if (PyErr_Occurred()) SWIG_fail
; 
5884             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
5890             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
5895             if (! PySequence_Check(obj5
)) { 
5896                 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
5899             arg6 
= new wxArrayString
; 
5901             int i
, len
=PySequence_Length(obj5
); 
5902             for (i
=0; i
<len
; i
++) { 
5903                 PyObject
* item 
= PySequence_GetItem(obj5
, i
); 
5905                 PyObject
* str  
= PyObject_Unicode(item
); 
5907                 PyObject
* str  
= PyObject_Str(item
); 
5909                 if (PyErr_Occurred())  SWIG_fail
; 
5910                 arg6
->Add(Py2wxString(str
)); 
5917         arg7 
= (long)SWIG_As_long(obj6
);  
5918         if (PyErr_Occurred()) SWIG_fail
; 
5921         if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
, 
5922         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
5925             PyErr_SetString(PyExc_TypeError
,"null reference"); 
5931             arg9 
= wxString_in_helper(obj8
); 
5932             if (arg9 
== NULL
) SWIG_fail
; 
5937         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5938         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,(wxArrayString 
const &)*arg6
,arg7
,(wxValidator 
const &)*arg8
,(wxString 
const &)*arg9
); 
5940         wxPyEndAllowThreads(__tstate
); 
5941         if (PyErr_Occurred()) SWIG_fail
; 
5944         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5947         if (temp6
) delete arg6
; 
5956         if (temp6
) delete arg6
; 
5966 static PyObject 
*_wrap_ListBox_Insert(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5967     PyObject 
*resultobj
; 
5968     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
5969     wxString 
*arg2 
= 0 ; 
5971     PyObject 
*arg4 
= (PyObject 
*) NULL 
; 
5972     bool temp2 
= false ; 
5973     PyObject 
* obj0 
= 0 ; 
5974     PyObject 
* obj1 
= 0 ; 
5975     PyObject 
* obj2 
= 0 ; 
5976     PyObject 
* obj3 
= 0 ; 
5978         (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL 
 
5981     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
5982     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
5983     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5985         arg2 
= wxString_in_helper(obj1
); 
5986         if (arg2 
== NULL
) SWIG_fail
; 
5989     arg3 
= (int)SWIG_As_int(obj2
);  
5990     if (PyErr_Occurred()) SWIG_fail
; 
5995         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5996         wxListBox_Insert(arg1
,(wxString 
const &)*arg2
,arg3
,arg4
); 
5998         wxPyEndAllowThreads(__tstate
); 
5999         if (PyErr_Occurred()) SWIG_fail
; 
6001     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6016 static PyObject 
*_wrap_ListBox_InsertItems(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6017     PyObject 
*resultobj
; 
6018     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
6019     wxArrayString 
*arg2 
= 0 ; 
6021     bool temp2 
= false ; 
6022     PyObject 
* obj0 
= 0 ; 
6023     PyObject 
* obj1 
= 0 ; 
6024     PyObject 
* obj2 
= 0 ; 
6026         (char *) "self",(char *) "items",(char *) "pos", NULL 
 
6029     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6030     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
6031     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6033         if (! PySequence_Check(obj1
)) { 
6034             PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
6037         arg2 
= new wxArrayString
; 
6039         int i
, len
=PySequence_Length(obj1
); 
6040         for (i
=0; i
<len
; i
++) { 
6041             PyObject
* item 
= PySequence_GetItem(obj1
, i
); 
6043             PyObject
* str  
= PyObject_Unicode(item
); 
6045             PyObject
* str  
= PyObject_Str(item
); 
6047             if (PyErr_Occurred())  SWIG_fail
; 
6048             arg2
->Add(Py2wxString(str
)); 
6053     arg3 
= (int)SWIG_As_int(obj2
);  
6054     if (PyErr_Occurred()) SWIG_fail
; 
6056         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6057         (arg1
)->InsertItems((wxArrayString 
const &)*arg2
,arg3
); 
6059         wxPyEndAllowThreads(__tstate
); 
6060         if (PyErr_Occurred()) SWIG_fail
; 
6062     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6064         if (temp2
) delete arg2
; 
6069         if (temp2
) delete arg2
; 
6075 static PyObject 
*_wrap_ListBox_Set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6076     PyObject 
*resultobj
; 
6077     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
6078     wxArrayString 
*arg2 
= 0 ; 
6079     bool temp2 
= false ; 
6080     PyObject 
* obj0 
= 0 ; 
6081     PyObject 
* obj1 
= 0 ; 
6083         (char *) "self",(char *) "items", NULL 
 
6086     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
; 
6087     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
6088     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6090         if (! PySequence_Check(obj1
)) { 
6091             PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
6094         arg2 
= new wxArrayString
; 
6096         int i
, len
=PySequence_Length(obj1
); 
6097         for (i
=0; i
<len
; i
++) { 
6098             PyObject
* item 
= PySequence_GetItem(obj1
, i
); 
6100             PyObject
* str  
= PyObject_Unicode(item
); 
6102             PyObject
* str  
= PyObject_Str(item
); 
6104             if (PyErr_Occurred())  SWIG_fail
; 
6105             arg2
->Add(Py2wxString(str
)); 
6111         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6112         (arg1
)->Set((wxArrayString 
const &)*arg2
); 
6114         wxPyEndAllowThreads(__tstate
); 
6115         if (PyErr_Occurred()) SWIG_fail
; 
6117     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6119         if (temp2
) delete arg2
; 
6124         if (temp2
) delete arg2
; 
6130 static PyObject 
*_wrap_ListBox_IsSelected(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6131     PyObject 
*resultobj
; 
6132     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
6135     PyObject 
* obj0 
= 0 ; 
6136     PyObject 
* obj1 
= 0 ; 
6138         (char *) "self",(char *) "n", NULL 
 
6141     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
; 
6142     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
6143     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6144     arg2 
= (int)SWIG_As_int(obj1
);  
6145     if (PyErr_Occurred()) SWIG_fail
; 
6147         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6148         result 
= (bool)((wxListBox 
const *)arg1
)->IsSelected(arg2
); 
6150         wxPyEndAllowThreads(__tstate
); 
6151         if (PyErr_Occurred()) SWIG_fail
; 
6154         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6162 static PyObject 
*_wrap_ListBox_SetSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6163     PyObject 
*resultobj
; 
6164     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
6166     bool arg3 
= (bool) true ; 
6167     PyObject 
* obj0 
= 0 ; 
6168     PyObject 
* obj1 
= 0 ; 
6169     PyObject 
* obj2 
= 0 ; 
6171         (char *) "self",(char *) "n",(char *) "select", NULL 
 
6174     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6175     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
6176     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6177     arg2 
= (int)SWIG_As_int(obj1
);  
6178     if (PyErr_Occurred()) SWIG_fail
; 
6180         arg3 
= (bool)SWIG_As_bool(obj2
);  
6181         if (PyErr_Occurred()) SWIG_fail
; 
6184         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6185         (arg1
)->SetSelection(arg2
,arg3
); 
6187         wxPyEndAllowThreads(__tstate
); 
6188         if (PyErr_Occurred()) SWIG_fail
; 
6190     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6197 static PyObject 
*_wrap_ListBox_Select(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6198     PyObject 
*resultobj
; 
6199     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
6201     PyObject 
* obj0 
= 0 ; 
6202     PyObject 
* obj1 
= 0 ; 
6204         (char *) "self",(char *) "n", NULL 
 
6207     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
; 
6208     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
6209     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6210     arg2 
= (int)SWIG_As_int(obj1
);  
6211     if (PyErr_Occurred()) SWIG_fail
; 
6213         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6214         (arg1
)->Select(arg2
); 
6216         wxPyEndAllowThreads(__tstate
); 
6217         if (PyErr_Occurred()) SWIG_fail
; 
6219     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6226 static PyObject 
*_wrap_ListBox_Deselect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6227     PyObject 
*resultobj
; 
6228     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
6230     PyObject 
* obj0 
= 0 ; 
6231     PyObject 
* obj1 
= 0 ; 
6233         (char *) "self",(char *) "n", NULL 
 
6236     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
; 
6237     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
6238     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6239     arg2 
= (int)SWIG_As_int(obj1
);  
6240     if (PyErr_Occurred()) SWIG_fail
; 
6242         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6243         (arg1
)->Deselect(arg2
); 
6245         wxPyEndAllowThreads(__tstate
); 
6246         if (PyErr_Occurred()) SWIG_fail
; 
6248     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6255 static PyObject 
*_wrap_ListBox_DeselectAll(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6256     PyObject 
*resultobj
; 
6257     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
6258     int arg2 
= (int) -1 ; 
6259     PyObject 
* obj0 
= 0 ; 
6260     PyObject 
* obj1 
= 0 ; 
6262         (char *) "self",(char *) "itemToLeaveSelected", NULL 
 
6265     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
; 
6266     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
6267     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6269         arg2 
= (int)SWIG_As_int(obj1
);  
6270         if (PyErr_Occurred()) SWIG_fail
; 
6273         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6274         (arg1
)->DeselectAll(arg2
); 
6276         wxPyEndAllowThreads(__tstate
); 
6277         if (PyErr_Occurred()) SWIG_fail
; 
6279     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6286 static PyObject 
*_wrap_ListBox_SetStringSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6287     PyObject 
*resultobj
; 
6288     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
6289     wxString 
*arg2 
= 0 ; 
6290     bool arg3 
= (bool) true ; 
6292     bool temp2 
= false ; 
6293     PyObject 
* obj0 
= 0 ; 
6294     PyObject 
* obj1 
= 0 ; 
6295     PyObject 
* obj2 
= 0 ; 
6297         (char *) "self",(char *) "s",(char *) "select", NULL 
 
6300     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6301     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
6302     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6304         arg2 
= wxString_in_helper(obj1
); 
6305         if (arg2 
== NULL
) SWIG_fail
; 
6309         arg3 
= (bool)SWIG_As_bool(obj2
);  
6310         if (PyErr_Occurred()) SWIG_fail
; 
6313         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6314         result 
= (bool)(arg1
)->SetStringSelection((wxString 
const &)*arg2
,arg3
); 
6316         wxPyEndAllowThreads(__tstate
); 
6317         if (PyErr_Occurred()) SWIG_fail
; 
6320         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6336 static PyObject 
*_wrap_ListBox_GetSelections(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6337     PyObject 
*resultobj
; 
6338     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
6340     PyObject 
* obj0 
= 0 ; 
6342         (char *) "self", NULL 
 
6345     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
; 
6346     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
6347     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6349         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6350         result 
= (PyObject 
*)wxListBox_GetSelections(arg1
); 
6352         wxPyEndAllowThreads(__tstate
); 
6353         if (PyErr_Occurred()) SWIG_fail
; 
6362 static PyObject 
*_wrap_ListBox_SetFirstItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6363     PyObject 
*resultobj
; 
6364     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
6366     PyObject 
* obj0 
= 0 ; 
6367     PyObject 
* obj1 
= 0 ; 
6369         (char *) "self",(char *) "n", NULL 
 
6372     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
6373     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
6374     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6375     arg2 
= (int)SWIG_As_int(obj1
);  
6376     if (PyErr_Occurred()) SWIG_fail
; 
6378         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6379         (arg1
)->SetFirstItem(arg2
); 
6381         wxPyEndAllowThreads(__tstate
); 
6382         if (PyErr_Occurred()) SWIG_fail
; 
6384     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6391 static PyObject 
*_wrap_ListBox_SetFirstItemStr(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6392     PyObject 
*resultobj
; 
6393     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
6394     wxString 
*arg2 
= 0 ; 
6395     bool temp2 
= false ; 
6396     PyObject 
* obj0 
= 0 ; 
6397     PyObject 
* obj1 
= 0 ; 
6399         (char *) "self",(char *) "s", NULL 
 
6402     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
; 
6403     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
6404     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6406         arg2 
= wxString_in_helper(obj1
); 
6407         if (arg2 
== NULL
) SWIG_fail
; 
6411         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6412         (arg1
)->SetFirstItem((wxString 
const &)*arg2
); 
6414         wxPyEndAllowThreads(__tstate
); 
6415         if (PyErr_Occurred()) SWIG_fail
; 
6417     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6432 static PyObject 
*_wrap_ListBox_EnsureVisible(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6433     PyObject 
*resultobj
; 
6434     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
6436     PyObject 
* obj0 
= 0 ; 
6437     PyObject 
* obj1 
= 0 ; 
6439         (char *) "self",(char *) "n", NULL 
 
6442     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
; 
6443     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
6444     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6445     arg2 
= (int)SWIG_As_int(obj1
);  
6446     if (PyErr_Occurred()) SWIG_fail
; 
6448         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6449         (arg1
)->EnsureVisible(arg2
); 
6451         wxPyEndAllowThreads(__tstate
); 
6452         if (PyErr_Occurred()) SWIG_fail
; 
6454     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6461 static PyObject 
*_wrap_ListBox_AppendAndEnsureVisible(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6462     PyObject 
*resultobj
; 
6463     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
6464     wxString 
*arg2 
= 0 ; 
6465     bool temp2 
= false ; 
6466     PyObject 
* obj0 
= 0 ; 
6467     PyObject 
* obj1 
= 0 ; 
6469         (char *) "self",(char *) "s", NULL 
 
6472     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
; 
6473     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
6474     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6476         arg2 
= wxString_in_helper(obj1
); 
6477         if (arg2 
== NULL
) SWIG_fail
; 
6481         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6482         (arg1
)->AppendAndEnsureVisible((wxString 
const &)*arg2
); 
6484         wxPyEndAllowThreads(__tstate
); 
6485         if (PyErr_Occurred()) SWIG_fail
; 
6487     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6502 static PyObject 
*_wrap_ListBox_IsSorted(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6503     PyObject 
*resultobj
; 
6504     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
6506     PyObject 
* obj0 
= 0 ; 
6508         (char *) "self", NULL 
 
6511     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
; 
6512     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
6513     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6515         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6516         result 
= (bool)((wxListBox 
const *)arg1
)->IsSorted(); 
6518         wxPyEndAllowThreads(__tstate
); 
6519         if (PyErr_Occurred()) SWIG_fail
; 
6522         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6530 static PyObject 
*_wrap_ListBox_SetItemForegroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6531     PyObject 
*resultobj
; 
6532     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
6534     wxColour 
*arg3 
= 0 ; 
6536     PyObject 
* obj0 
= 0 ; 
6537     PyObject 
* obj1 
= 0 ; 
6538     PyObject 
* obj2 
= 0 ; 
6540         (char *) "self",(char *) "item",(char *) "c", NULL 
 
6543     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6544     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
6545     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6546     arg2 
= (int)SWIG_As_int(obj1
);  
6547     if (PyErr_Occurred()) SWIG_fail
; 
6550         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
6553         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6554         wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour 
const &)*arg3
); 
6556         wxPyEndAllowThreads(__tstate
); 
6557         if (PyErr_Occurred()) SWIG_fail
; 
6559     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6566 static PyObject 
*_wrap_ListBox_SetItemBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6567     PyObject 
*resultobj
; 
6568     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
6570     wxColour 
*arg3 
= 0 ; 
6572     PyObject 
* obj0 
= 0 ; 
6573     PyObject 
* obj1 
= 0 ; 
6574     PyObject 
* obj2 
= 0 ; 
6576         (char *) "self",(char *) "item",(char *) "c", NULL 
 
6579     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6580     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
6581     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6582     arg2 
= (int)SWIG_As_int(obj1
);  
6583     if (PyErr_Occurred()) SWIG_fail
; 
6586         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
6589         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6590         wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour 
const &)*arg3
); 
6592         wxPyEndAllowThreads(__tstate
); 
6593         if (PyErr_Occurred()) SWIG_fail
; 
6595     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6602 static PyObject 
*_wrap_ListBox_SetItemFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6603     PyObject 
*resultobj
; 
6604     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
6607     PyObject 
* obj0 
= 0 ; 
6608     PyObject 
* obj1 
= 0 ; 
6609     PyObject 
* obj2 
= 0 ; 
6611         (char *) "self",(char *) "item",(char *) "f", NULL 
 
6614     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6615     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
6616     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6617     arg2 
= (int)SWIG_As_int(obj1
);  
6618     if (PyErr_Occurred()) SWIG_fail
; 
6619     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
, 
6620     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6623         PyErr_SetString(PyExc_TypeError
,"null reference"); 
6627         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6628         wxListBox_SetItemFont(arg1
,arg2
,(wxFont 
const &)*arg3
); 
6630         wxPyEndAllowThreads(__tstate
); 
6631         if (PyErr_Occurred()) SWIG_fail
; 
6633     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6640 static PyObject 
*_wrap_ListBox_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6641     PyObject 
*resultobj
; 
6642     int arg1 
= (int) wxWINDOW_VARIANT_NORMAL 
; 
6643     wxVisualAttributes result
; 
6644     PyObject 
* obj0 
= 0 ; 
6646         (char *) "variant", NULL 
 
6649     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
6651         arg1 
= (int)SWIG_As_int(obj0
);  
6652         if (PyErr_Occurred()) SWIG_fail
; 
6655         if (!wxPyCheckForApp()) SWIG_fail
; 
6656         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6657         result 
= wxListBox::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
6659         wxPyEndAllowThreads(__tstate
); 
6660         if (PyErr_Occurred()) SWIG_fail
; 
6663         wxVisualAttributes 
* resultptr
; 
6664         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&) result
); 
6665         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
6673 static PyObject 
* ListBox_swigregister(PyObject 
*, PyObject 
*args
) { 
6675     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6676     SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
); 
6678     return Py_BuildValue((char *)""); 
6680 static PyObject 
*_wrap_new_CheckListBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6681     PyObject 
*resultobj
; 
6682     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
6683     int arg2 
= (int) -1 ; 
6684     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
6685     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
6686     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
6687     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
6688     wxArrayString 
const &arg5_defvalue 
= wxPyEmptyStringArray 
; 
6689     wxArrayString 
*arg5 
= (wxArrayString 
*) &arg5_defvalue 
; 
6690     long arg6 
= (long) 0 ; 
6691     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
6692     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
6693     wxString 
const &arg8_defvalue 
= wxPyListBoxNameStr 
; 
6694     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
6695     wxCheckListBox 
*result
; 
6698     bool temp5 
= false ; 
6699     bool temp8 
= false ; 
6700     PyObject 
* obj0 
= 0 ; 
6701     PyObject 
* obj1 
= 0 ; 
6702     PyObject 
* obj2 
= 0 ; 
6703     PyObject 
* obj3 
= 0 ; 
6704     PyObject 
* obj4 
= 0 ; 
6705     PyObject 
* obj5 
= 0 ; 
6706     PyObject 
* obj6 
= 0 ; 
6707     PyObject 
* obj7 
= 0 ; 
6709         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
6712     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
6713     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
6714     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6716         arg2 
= (int)SWIG_As_int(obj1
);  
6717         if (PyErr_Occurred()) SWIG_fail
; 
6722             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
6728             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
6733             if (! PySequence_Check(obj4
)) { 
6734                 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
6737             arg5 
= new wxArrayString
; 
6739             int i
, len
=PySequence_Length(obj4
); 
6740             for (i
=0; i
<len
; i
++) { 
6741                 PyObject
* item 
= PySequence_GetItem(obj4
, i
); 
6743                 PyObject
* str  
= PyObject_Unicode(item
); 
6745                 PyObject
* str  
= PyObject_Str(item
); 
6747                 if (PyErr_Occurred())  SWIG_fail
; 
6748                 arg5
->Add(Py2wxString(str
)); 
6755         arg6 
= (long)SWIG_As_long(obj5
);  
6756         if (PyErr_Occurred()) SWIG_fail
; 
6759         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
, 
6760         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6763             PyErr_SetString(PyExc_TypeError
,"null reference"); 
6769             arg8 
= wxString_in_helper(obj7
); 
6770             if (arg8 
== NULL
) SWIG_fail
; 
6775         if (!wxPyCheckForApp()) SWIG_fail
; 
6776         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6777         result 
= (wxCheckListBox 
*)new wxCheckListBox(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,(wxArrayString 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
6779         wxPyEndAllowThreads(__tstate
); 
6780         if (PyErr_Occurred()) SWIG_fail
; 
6782     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1); 
6784         if (temp5
) delete arg5
; 
6793         if (temp5
) delete arg5
; 
6803 static PyObject 
*_wrap_new_PreCheckListBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6804     PyObject 
*resultobj
; 
6805     wxCheckListBox 
*result
; 
6810     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
; 
6812         if (!wxPyCheckForApp()) SWIG_fail
; 
6813         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6814         result 
= (wxCheckListBox 
*)new wxCheckListBox(); 
6816         wxPyEndAllowThreads(__tstate
); 
6817         if (PyErr_Occurred()) SWIG_fail
; 
6819     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1); 
6826 static PyObject 
*_wrap_CheckListBox_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6827     PyObject 
*resultobj
; 
6828     wxCheckListBox 
*arg1 
= (wxCheckListBox 
*) 0 ; 
6829     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
6830     int arg3 
= (int) -1 ; 
6831     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
6832     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
6833     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
6834     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
6835     wxArrayString 
const &arg6_defvalue 
= wxPyEmptyStringArray 
; 
6836     wxArrayString 
*arg6 
= (wxArrayString 
*) &arg6_defvalue 
; 
6837     long arg7 
= (long) 0 ; 
6838     wxValidator 
const &arg8_defvalue 
= wxDefaultValidator 
; 
6839     wxValidator 
*arg8 
= (wxValidator 
*) &arg8_defvalue 
; 
6840     wxString 
const &arg9_defvalue 
= wxPyListBoxNameStr 
; 
6841     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
6845     bool temp6 
= false ; 
6846     bool temp9 
= false ; 
6847     PyObject 
* obj0 
= 0 ; 
6848     PyObject 
* obj1 
= 0 ; 
6849     PyObject 
* obj2 
= 0 ; 
6850     PyObject 
* obj3 
= 0 ; 
6851     PyObject 
* obj4 
= 0 ; 
6852     PyObject 
* obj5 
= 0 ; 
6853     PyObject 
* obj6 
= 0 ; 
6854     PyObject 
* obj7 
= 0 ; 
6855     PyObject 
* obj8 
= 0 ; 
6857         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
6860     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
6861     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
, 
6862     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6863     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
6864     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6866         arg3 
= (int)SWIG_As_int(obj2
);  
6867         if (PyErr_Occurred()) SWIG_fail
; 
6872             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
6878             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
6883             if (! PySequence_Check(obj5
)) { 
6884                 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
6887             arg6 
= new wxArrayString
; 
6889             int i
, len
=PySequence_Length(obj5
); 
6890             for (i
=0; i
<len
; i
++) { 
6891                 PyObject
* item 
= PySequence_GetItem(obj5
, i
); 
6893                 PyObject
* str  
= PyObject_Unicode(item
); 
6895                 PyObject
* str  
= PyObject_Str(item
); 
6897                 if (PyErr_Occurred())  SWIG_fail
; 
6898                 arg6
->Add(Py2wxString(str
)); 
6905         arg7 
= (long)SWIG_As_long(obj6
);  
6906         if (PyErr_Occurred()) SWIG_fail
; 
6909         if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
, 
6910         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6913             PyErr_SetString(PyExc_TypeError
,"null reference"); 
6919             arg9 
= wxString_in_helper(obj8
); 
6920             if (arg9 
== NULL
) SWIG_fail
; 
6925         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6926         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,(wxArrayString 
const &)*arg6
,arg7
,(wxValidator 
const &)*arg8
,(wxString 
const &)*arg9
); 
6928         wxPyEndAllowThreads(__tstate
); 
6929         if (PyErr_Occurred()) SWIG_fail
; 
6932         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6935         if (temp6
) delete arg6
; 
6944         if (temp6
) delete arg6
; 
6954 static PyObject 
*_wrap_CheckListBox_IsChecked(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6955     PyObject 
*resultobj
; 
6956     wxCheckListBox 
*arg1 
= (wxCheckListBox 
*) 0 ; 
6959     PyObject 
* obj0 
= 0 ; 
6960     PyObject 
* obj1 
= 0 ; 
6962         (char *) "self",(char *) "index", NULL 
 
6965     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
; 
6966     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
, 
6967     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6968     arg2 
= (int)SWIG_As_int(obj1
);  
6969     if (PyErr_Occurred()) SWIG_fail
; 
6971         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6972         result 
= (bool)(arg1
)->IsChecked(arg2
); 
6974         wxPyEndAllowThreads(__tstate
); 
6975         if (PyErr_Occurred()) SWIG_fail
; 
6978         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6986 static PyObject 
*_wrap_CheckListBox_Check(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6987     PyObject 
*resultobj
; 
6988     wxCheckListBox 
*arg1 
= (wxCheckListBox 
*) 0 ; 
6990     int arg3 
= (int) true ; 
6991     PyObject 
* obj0 
= 0 ; 
6992     PyObject 
* obj1 
= 0 ; 
6993     PyObject 
* obj2 
= 0 ; 
6995         (char *) "self",(char *) "index",(char *) "check", NULL 
 
6998     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6999     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
, 
7000     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7001     arg2 
= (int)SWIG_As_int(obj1
);  
7002     if (PyErr_Occurred()) SWIG_fail
; 
7004         arg3 
= (int)SWIG_As_int(obj2
);  
7005         if (PyErr_Occurred()) SWIG_fail
; 
7008         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7009         (arg1
)->Check(arg2
,arg3
); 
7011         wxPyEndAllowThreads(__tstate
); 
7012         if (PyErr_Occurred()) SWIG_fail
; 
7014     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7021 static PyObject 
*_wrap_CheckListBox_GetItemHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7022     PyObject 
*resultobj
; 
7023     wxCheckListBox 
*arg1 
= (wxCheckListBox 
*) 0 ; 
7025     PyObject 
* obj0 
= 0 ; 
7027         (char *) "self", NULL 
 
7030     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
; 
7031     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
, 
7032     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7034         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7035         result 
= (int)(arg1
)->GetItemHeight(); 
7037         wxPyEndAllowThreads(__tstate
); 
7038         if (PyErr_Occurred()) SWIG_fail
; 
7040     resultobj 
= SWIG_From_int((int)result
); 
7047 static PyObject 
*_wrap_CheckListBox_HitTest(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7048     PyObject 
*resultobj
; 
7049     wxCheckListBox 
*arg1 
= (wxCheckListBox 
*) 0 ; 
7053     PyObject 
* obj0 
= 0 ; 
7054     PyObject 
* obj1 
= 0 ; 
7056         (char *) "self",(char *) "pt", NULL 
 
7059     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
; 
7060     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
, 
7061     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7064         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
7067         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7068         result 
= (int)((wxCheckListBox 
const *)arg1
)->HitTest((wxPoint 
const &)*arg2
); 
7070         wxPyEndAllowThreads(__tstate
); 
7071         if (PyErr_Occurred()) SWIG_fail
; 
7073     resultobj 
= SWIG_From_int((int)result
); 
7080 static PyObject 
*_wrap_CheckListBox_HitTestXY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7081     PyObject 
*resultobj
; 
7082     wxCheckListBox 
*arg1 
= (wxCheckListBox 
*) 0 ; 
7086     PyObject 
* obj0 
= 0 ; 
7087     PyObject 
* obj1 
= 0 ; 
7088     PyObject 
* obj2 
= 0 ; 
7090         (char *) "self",(char *) "x",(char *) "y", NULL 
 
7093     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
7094     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
, 
7095     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7096     arg2 
= (int)SWIG_As_int(obj1
);  
7097     if (PyErr_Occurred()) SWIG_fail
; 
7098     arg3 
= (int)SWIG_As_int(obj2
);  
7099     if (PyErr_Occurred()) SWIG_fail
; 
7101         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7102         result 
= (int)((wxCheckListBox 
const *)arg1
)->HitTest(arg2
,arg3
); 
7104         wxPyEndAllowThreads(__tstate
); 
7105         if (PyErr_Occurred()) SWIG_fail
; 
7107     resultobj 
= SWIG_From_int((int)result
); 
7114 static PyObject 
* CheckListBox_swigregister(PyObject 
*, PyObject 
*args
) { 
7116     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7117     SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
); 
7119     return Py_BuildValue((char *)""); 
7121 static int _wrap_TextCtrlNameStr_set(PyObject 
*) { 
7122     PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only."); 
7127 static PyObject 
*_wrap_TextCtrlNameStr_get() { 
7132         pyobj 
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len()); 
7134         pyobj 
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len()); 
7141 static PyObject 
*_wrap_new_TextAttr(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7142     PyObject 
*resultobj
; 
7143     wxColour 
const &arg1_defvalue 
= wxNullColour 
; 
7144     wxColour 
*arg1 
= (wxColour 
*) &arg1_defvalue 
; 
7145     wxColour 
const &arg2_defvalue 
= wxNullColour 
; 
7146     wxColour 
*arg2 
= (wxColour 
*) &arg2_defvalue 
; 
7147     wxFont 
const &arg3_defvalue 
= wxNullFont 
; 
7148     wxFont 
*arg3 
= (wxFont 
*) &arg3_defvalue 
; 
7149     int arg4 
= (int) wxTEXT_ALIGNMENT_DEFAULT 
; 
7153     PyObject 
* obj0 
= 0 ; 
7154     PyObject 
* obj1 
= 0 ; 
7155     PyObject 
* obj2 
= 0 ; 
7156     PyObject 
* obj3 
= 0 ; 
7158         (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL 
 
7161     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
7165             if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
; 
7171             if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
7175         if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
, 
7176         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
7179             PyErr_SetString(PyExc_TypeError
,"null reference"); 
7184         arg4 
= (int)SWIG_As_int(obj3
);  
7185         if (PyErr_Occurred()) SWIG_fail
; 
7188         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7189         result 
= (wxTextAttr 
*)new wxTextAttr((wxColour 
const &)*arg1
,(wxColour 
const &)*arg2
,(wxFont 
const &)*arg3
,(wxTextAttrAlignment 
)arg4
); 
7191         wxPyEndAllowThreads(__tstate
); 
7192         if (PyErr_Occurred()) SWIG_fail
; 
7194     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1); 
7201 static PyObject 
*_wrap_delete_TextAttr(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7202     PyObject 
*resultobj
; 
7203     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7204     PyObject 
* obj0 
= 0 ; 
7206         (char *) "self", NULL 
 
7209     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
; 
7210     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7211     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7213         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7216         wxPyEndAllowThreads(__tstate
); 
7217         if (PyErr_Occurred()) SWIG_fail
; 
7219     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7226 static PyObject 
*_wrap_TextAttr_Init(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7227     PyObject 
*resultobj
; 
7228     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7229     PyObject 
* obj0 
= 0 ; 
7231         (char *) "self", NULL 
 
7234     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
; 
7235     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7236     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7238         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7241         wxPyEndAllowThreads(__tstate
); 
7242         if (PyErr_Occurred()) SWIG_fail
; 
7244     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7251 static PyObject 
*_wrap_TextAttr_SetTextColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7252     PyObject 
*resultobj
; 
7253     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7254     wxColour 
*arg2 
= 0 ; 
7256     PyObject 
* obj0 
= 0 ; 
7257     PyObject 
* obj1 
= 0 ; 
7259         (char *) "self",(char *) "colText", NULL 
 
7262     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
7263     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7264     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7267         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
7270         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7271         (arg1
)->SetTextColour((wxColour 
const &)*arg2
); 
7273         wxPyEndAllowThreads(__tstate
); 
7274         if (PyErr_Occurred()) SWIG_fail
; 
7276     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7283 static PyObject 
*_wrap_TextAttr_SetBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7284     PyObject 
*resultobj
; 
7285     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7286     wxColour 
*arg2 
= 0 ; 
7288     PyObject 
* obj0 
= 0 ; 
7289     PyObject 
* obj1 
= 0 ; 
7291         (char *) "self",(char *) "colBack", NULL 
 
7294     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
7295     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7296     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7299         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
7302         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7303         (arg1
)->SetBackgroundColour((wxColour 
const &)*arg2
); 
7305         wxPyEndAllowThreads(__tstate
); 
7306         if (PyErr_Occurred()) SWIG_fail
; 
7308     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7315 static PyObject 
*_wrap_TextAttr_SetFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7316     PyObject 
*resultobj
; 
7317     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7319     long arg3 
= (long) wxTEXT_ATTR_FONT 
; 
7320     PyObject 
* obj0 
= 0 ; 
7321     PyObject 
* obj1 
= 0 ; 
7322     PyObject 
* obj2 
= 0 ; 
7324         (char *) "self",(char *) "font",(char *) "flags", NULL 
 
7327     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
7328     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7329     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7330     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
, 
7331     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
7334         PyErr_SetString(PyExc_TypeError
,"null reference"); 
7338         arg3 
= (long)SWIG_As_long(obj2
);  
7339         if (PyErr_Occurred()) SWIG_fail
; 
7342         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7343         (arg1
)->SetFont((wxFont 
const &)*arg2
,arg3
); 
7345         wxPyEndAllowThreads(__tstate
); 
7346         if (PyErr_Occurred()) SWIG_fail
; 
7348     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7355 static PyObject 
*_wrap_TextAttr_SetAlignment(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7356     PyObject 
*resultobj
; 
7357     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7359     PyObject 
* obj0 
= 0 ; 
7360     PyObject 
* obj1 
= 0 ; 
7362         (char *) "self",(char *) "alignment", NULL 
 
7365     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
; 
7366     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7367     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7368     arg2 
= (int)SWIG_As_int(obj1
);  
7369     if (PyErr_Occurred()) SWIG_fail
; 
7371         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7372         (arg1
)->SetAlignment((wxTextAttrAlignment 
)arg2
); 
7374         wxPyEndAllowThreads(__tstate
); 
7375         if (PyErr_Occurred()) SWIG_fail
; 
7377     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7384 static PyObject 
*_wrap_TextAttr_SetTabs(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7385     PyObject 
*resultobj
; 
7386     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7387     wxArrayInt 
*arg2 
= 0 ; 
7388     bool temp2 
= false ; 
7389     PyObject 
* obj0 
= 0 ; 
7390     PyObject 
* obj1 
= 0 ; 
7392         (char *) "self",(char *) "tabs", NULL 
 
7395     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
; 
7396     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7397     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7399         if (! PySequence_Check(obj1
)) { 
7400             PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected."); 
7403         arg2 
= new wxArrayInt
; 
7405         int i
, len
=PySequence_Length(obj1
); 
7406         for (i
=0; i
<len
; i
++) { 
7407             PyObject
* item 
= PySequence_GetItem(obj1
, i
); 
7408             PyObject
* number  
= PyNumber_Int(item
); 
7409             arg2
->Add(PyInt_AS_LONG(number
)); 
7415         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7416         (arg1
)->SetTabs((wxArrayInt 
const &)*arg2
); 
7418         wxPyEndAllowThreads(__tstate
); 
7419         if (PyErr_Occurred()) SWIG_fail
; 
7421     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7423         if (temp2
) delete arg2
; 
7428         if (temp2
) delete arg2
; 
7434 static PyObject 
*_wrap_TextAttr_SetLeftIndent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7435     PyObject 
*resultobj
; 
7436     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7438     int arg3 
= (int) 0 ; 
7439     PyObject 
* obj0 
= 0 ; 
7440     PyObject 
* obj1 
= 0 ; 
7441     PyObject 
* obj2 
= 0 ; 
7443         (char *) "self",(char *) "indent",(char *) "subIndent", NULL 
 
7446     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
7447     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7448     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7449     arg2 
= (int)SWIG_As_int(obj1
);  
7450     if (PyErr_Occurred()) SWIG_fail
; 
7452         arg3 
= (int)SWIG_As_int(obj2
);  
7453         if (PyErr_Occurred()) SWIG_fail
; 
7456         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7457         (arg1
)->SetLeftIndent(arg2
,arg3
); 
7459         wxPyEndAllowThreads(__tstate
); 
7460         if (PyErr_Occurred()) SWIG_fail
; 
7462     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7469 static PyObject 
*_wrap_TextAttr_SetRightIndent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7470     PyObject 
*resultobj
; 
7471     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7473     PyObject 
* obj0 
= 0 ; 
7474     PyObject 
* obj1 
= 0 ; 
7476         (char *) "self",(char *) "indent", NULL 
 
7479     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
; 
7480     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7481     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7482     arg2 
= (int)SWIG_As_int(obj1
);  
7483     if (PyErr_Occurred()) SWIG_fail
; 
7485         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7486         (arg1
)->SetRightIndent(arg2
); 
7488         wxPyEndAllowThreads(__tstate
); 
7489         if (PyErr_Occurred()) SWIG_fail
; 
7491     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7498 static PyObject 
*_wrap_TextAttr_SetFlags(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7499     PyObject 
*resultobj
; 
7500     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7502     PyObject 
* obj0 
= 0 ; 
7503     PyObject 
* obj1 
= 0 ; 
7505         (char *) "self",(char *) "flags", NULL 
 
7508     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
; 
7509     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7510     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7511     arg2 
= (long)SWIG_As_long(obj1
);  
7512     if (PyErr_Occurred()) SWIG_fail
; 
7514         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7515         (arg1
)->SetFlags(arg2
); 
7517         wxPyEndAllowThreads(__tstate
); 
7518         if (PyErr_Occurred()) SWIG_fail
; 
7520     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7527 static PyObject 
*_wrap_TextAttr_HasTextColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7528     PyObject 
*resultobj
; 
7529     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7531     PyObject 
* obj0 
= 0 ; 
7533         (char *) "self", NULL 
 
7536     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
; 
7537     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7538     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7540         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7541         result 
= (bool)((wxTextAttr 
const *)arg1
)->HasTextColour(); 
7543         wxPyEndAllowThreads(__tstate
); 
7544         if (PyErr_Occurred()) SWIG_fail
; 
7547         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7555 static PyObject 
*_wrap_TextAttr_HasBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7556     PyObject 
*resultobj
; 
7557     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7559     PyObject 
* obj0 
= 0 ; 
7561         (char *) "self", NULL 
 
7564     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
; 
7565     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7566     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7568         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7569         result 
= (bool)((wxTextAttr 
const *)arg1
)->HasBackgroundColour(); 
7571         wxPyEndAllowThreads(__tstate
); 
7572         if (PyErr_Occurred()) SWIG_fail
; 
7575         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7583 static PyObject 
*_wrap_TextAttr_HasFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7584     PyObject 
*resultobj
; 
7585     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7587     PyObject 
* obj0 
= 0 ; 
7589         (char *) "self", NULL 
 
7592     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
; 
7593     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7594     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7596         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7597         result 
= (bool)((wxTextAttr 
const *)arg1
)->HasFont(); 
7599         wxPyEndAllowThreads(__tstate
); 
7600         if (PyErr_Occurred()) SWIG_fail
; 
7603         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7611 static PyObject 
*_wrap_TextAttr_HasAlignment(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7612     PyObject 
*resultobj
; 
7613     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7615     PyObject 
* obj0 
= 0 ; 
7617         (char *) "self", NULL 
 
7620     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
; 
7621     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7622     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7624         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7625         result 
= (bool)((wxTextAttr 
const *)arg1
)->HasAlignment(); 
7627         wxPyEndAllowThreads(__tstate
); 
7628         if (PyErr_Occurred()) SWIG_fail
; 
7631         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7639 static PyObject 
*_wrap_TextAttr_HasTabs(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7640     PyObject 
*resultobj
; 
7641     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7643     PyObject 
* obj0 
= 0 ; 
7645         (char *) "self", NULL 
 
7648     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
; 
7649     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7650     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7652         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7653         result 
= (bool)((wxTextAttr 
const *)arg1
)->HasTabs(); 
7655         wxPyEndAllowThreads(__tstate
); 
7656         if (PyErr_Occurred()) SWIG_fail
; 
7659         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7667 static PyObject 
*_wrap_TextAttr_HasLeftIndent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7668     PyObject 
*resultobj
; 
7669     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7671     PyObject 
* obj0 
= 0 ; 
7673         (char *) "self", NULL 
 
7676     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
; 
7677     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7678     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7680         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7681         result 
= (bool)((wxTextAttr 
const *)arg1
)->HasLeftIndent(); 
7683         wxPyEndAllowThreads(__tstate
); 
7684         if (PyErr_Occurred()) SWIG_fail
; 
7687         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7695 static PyObject 
*_wrap_TextAttr_HasRightIndent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7696     PyObject 
*resultobj
; 
7697     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7699     PyObject 
* obj0 
= 0 ; 
7701         (char *) "self", NULL 
 
7704     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
; 
7705     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7706     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7708         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7709         result 
= (bool)((wxTextAttr 
const *)arg1
)->HasRightIndent(); 
7711         wxPyEndAllowThreads(__tstate
); 
7712         if (PyErr_Occurred()) SWIG_fail
; 
7715         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7723 static PyObject 
*_wrap_TextAttr_HasFlag(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7724     PyObject 
*resultobj
; 
7725     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7728     PyObject 
* obj0 
= 0 ; 
7729     PyObject 
* obj1 
= 0 ; 
7731         (char *) "self",(char *) "flag", NULL 
 
7734     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
; 
7735     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7736     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7737     arg2 
= (long)SWIG_As_long(obj1
);  
7738     if (PyErr_Occurred()) SWIG_fail
; 
7740         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7741         result 
= (bool)((wxTextAttr 
const *)arg1
)->HasFlag(arg2
); 
7743         wxPyEndAllowThreads(__tstate
); 
7744         if (PyErr_Occurred()) SWIG_fail
; 
7747         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7755 static PyObject 
*_wrap_TextAttr_GetTextColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7756     PyObject 
*resultobj
; 
7757     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7759     PyObject 
* obj0 
= 0 ; 
7761         (char *) "self", NULL 
 
7764     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
; 
7765     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7766     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7768         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7770             wxColour 
const &_result_ref 
= ((wxTextAttr 
const *)arg1
)->GetTextColour(); 
7771             result 
= (wxColour 
*) &_result_ref
; 
7774         wxPyEndAllowThreads(__tstate
); 
7775         if (PyErr_Occurred()) SWIG_fail
; 
7777     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0); 
7784 static PyObject 
*_wrap_TextAttr_GetBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7785     PyObject 
*resultobj
; 
7786     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7788     PyObject 
* obj0 
= 0 ; 
7790         (char *) "self", NULL 
 
7793     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
; 
7794     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7795     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7797         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7799             wxColour 
const &_result_ref 
= ((wxTextAttr 
const *)arg1
)->GetBackgroundColour(); 
7800             result 
= (wxColour 
*) &_result_ref
; 
7803         wxPyEndAllowThreads(__tstate
); 
7804         if (PyErr_Occurred()) SWIG_fail
; 
7806     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0); 
7813 static PyObject 
*_wrap_TextAttr_GetFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7814     PyObject 
*resultobj
; 
7815     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7817     PyObject 
* obj0 
= 0 ; 
7819         (char *) "self", NULL 
 
7822     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
; 
7823     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7824     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7826         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7828             wxFont 
const &_result_ref 
= ((wxTextAttr 
const *)arg1
)->GetFont(); 
7829             result 
= (wxFont 
*) &_result_ref
; 
7832         wxPyEndAllowThreads(__tstate
); 
7833         if (PyErr_Occurred()) SWIG_fail
; 
7836         wxFont
* resultptr 
= new wxFont(*result
); 
7837         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
7845 static PyObject 
*_wrap_TextAttr_GetAlignment(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7846     PyObject 
*resultobj
; 
7847     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7849     PyObject 
* obj0 
= 0 ; 
7851         (char *) "self", NULL 
 
7854     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
; 
7855     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7856     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7858         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7859         result 
= (int)((wxTextAttr 
const *)arg1
)->GetAlignment(); 
7861         wxPyEndAllowThreads(__tstate
); 
7862         if (PyErr_Occurred()) SWIG_fail
; 
7864     resultobj 
= SWIG_From_int((int)result
); 
7871 static PyObject 
*_wrap_TextAttr_GetTabs(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7872     PyObject 
*resultobj
; 
7873     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7875     PyObject 
* obj0 
= 0 ; 
7877         (char *) "self", NULL 
 
7880     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
; 
7881     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7882     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7884         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7886             wxArrayInt 
const &_result_ref 
= ((wxTextAttr 
const *)arg1
)->GetTabs(); 
7887             result 
= (wxArrayInt 
*) &_result_ref
; 
7890         wxPyEndAllowThreads(__tstate
); 
7891         if (PyErr_Occurred()) SWIG_fail
; 
7894         resultobj 
= PyList_New(0); 
7896         for (idx 
= 0; idx 
< result
->GetCount(); idx 
+= 1) { 
7897             PyObject
* val 
= PyInt_FromLong( result
->Item(idx
) ); 
7898             PyList_Append(resultobj
, val
); 
7908 static PyObject 
*_wrap_TextAttr_GetLeftIndent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7909     PyObject 
*resultobj
; 
7910     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7912     PyObject 
* obj0 
= 0 ; 
7914         (char *) "self", NULL 
 
7917     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
; 
7918     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7919     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7921         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7922         result 
= (long)((wxTextAttr 
const *)arg1
)->GetLeftIndent(); 
7924         wxPyEndAllowThreads(__tstate
); 
7925         if (PyErr_Occurred()) SWIG_fail
; 
7927     resultobj 
= SWIG_From_long((long)result
); 
7934 static PyObject 
*_wrap_TextAttr_GetLeftSubIndent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7935     PyObject 
*resultobj
; 
7936     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7938     PyObject 
* obj0 
= 0 ; 
7940         (char *) "self", NULL 
 
7943     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
; 
7944     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7945     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7947         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7948         result 
= (long)((wxTextAttr 
const *)arg1
)->GetLeftSubIndent(); 
7950         wxPyEndAllowThreads(__tstate
); 
7951         if (PyErr_Occurred()) SWIG_fail
; 
7953     resultobj 
= SWIG_From_long((long)result
); 
7960 static PyObject 
*_wrap_TextAttr_GetRightIndent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7961     PyObject 
*resultobj
; 
7962     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7964     PyObject 
* obj0 
= 0 ; 
7966         (char *) "self", NULL 
 
7969     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
; 
7970     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7971     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7973         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7974         result 
= (long)((wxTextAttr 
const *)arg1
)->GetRightIndent(); 
7976         wxPyEndAllowThreads(__tstate
); 
7977         if (PyErr_Occurred()) SWIG_fail
; 
7979     resultobj 
= SWIG_From_long((long)result
); 
7986 static PyObject 
*_wrap_TextAttr_GetFlags(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7987     PyObject 
*resultobj
; 
7988     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7990     PyObject 
* obj0 
= 0 ; 
7992         (char *) "self", NULL 
 
7995     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
; 
7996     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7997     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7999         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8000         result 
= (long)((wxTextAttr 
const *)arg1
)->GetFlags(); 
8002         wxPyEndAllowThreads(__tstate
); 
8003         if (PyErr_Occurred()) SWIG_fail
; 
8005     resultobj 
= SWIG_From_long((long)result
); 
8012 static PyObject 
*_wrap_TextAttr_IsDefault(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8013     PyObject 
*resultobj
; 
8014     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
8016     PyObject 
* obj0 
= 0 ; 
8018         (char *) "self", NULL 
 
8021     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
; 
8022     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
8023     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8025         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8026         result 
= (bool)((wxTextAttr 
const *)arg1
)->IsDefault(); 
8028         wxPyEndAllowThreads(__tstate
); 
8029         if (PyErr_Occurred()) SWIG_fail
; 
8032         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8040 static PyObject 
*_wrap_TextAttr_Combine(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8041     PyObject 
*resultobj
; 
8042     wxTextAttr 
*arg1 
= 0 ; 
8043     wxTextAttr 
*arg2 
= 0 ; 
8044     wxTextCtrl 
*arg3 
= (wxTextCtrl 
*) 0 ; 
8046     PyObject 
* obj0 
= 0 ; 
8047     PyObject 
* obj1 
= 0 ; 
8048     PyObject 
* obj2 
= 0 ; 
8050         (char *) "attr",(char *) "attrDef",(char *) "text", NULL 
 
8053     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8054     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
8055     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
8058         PyErr_SetString(PyExc_TypeError
,"null reference"); 
8061     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
, 
8062     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
8065         PyErr_SetString(PyExc_TypeError
,"null reference"); 
8068     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
, 
8069     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8071         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8072         result 
= wxTextAttr::Combine((wxTextAttr 
const &)*arg1
,(wxTextAttr 
const &)*arg2
,(wxTextCtrl 
const *)arg3
); 
8074         wxPyEndAllowThreads(__tstate
); 
8075         if (PyErr_Occurred()) SWIG_fail
; 
8078         wxTextAttr 
* resultptr
; 
8079         resultptr 
= new wxTextAttr((wxTextAttr 
&) result
); 
8080         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1); 
8088 static PyObject 
* TextAttr_swigregister(PyObject 
*, PyObject 
*args
) { 
8090     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
8091     SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
); 
8093     return Py_BuildValue((char *)""); 
8095 static PyObject 
*_wrap_new_TextCtrl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8096     PyObject 
*resultobj
; 
8097     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
8098     int arg2 
= (int) -1 ; 
8099     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
8100     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
8101     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
8102     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
8103     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
8104     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
8105     long arg6 
= (long) 0 ; 
8106     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
8107     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
8108     wxString 
const &arg8_defvalue 
= wxPyTextCtrlNameStr 
; 
8109     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
8111     bool temp3 
= false ; 
8114     bool temp8 
= false ; 
8115     PyObject 
* obj0 
= 0 ; 
8116     PyObject 
* obj1 
= 0 ; 
8117     PyObject 
* obj2 
= 0 ; 
8118     PyObject 
* obj3 
= 0 ; 
8119     PyObject 
* obj4 
= 0 ; 
8120     PyObject 
* obj5 
= 0 ; 
8121     PyObject 
* obj6 
= 0 ; 
8122     PyObject 
* obj7 
= 0 ; 
8124         (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
8127     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
8128     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
8129     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8131         arg2 
= (int)SWIG_As_int(obj1
);  
8132         if (PyErr_Occurred()) SWIG_fail
; 
8136             arg3 
= wxString_in_helper(obj2
); 
8137             if (arg3 
== NULL
) SWIG_fail
; 
8144             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
8150             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
8154         arg6 
= (long)SWIG_As_long(obj5
);  
8155         if (PyErr_Occurred()) SWIG_fail
; 
8158         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
, 
8159         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
8162             PyErr_SetString(PyExc_TypeError
,"null reference"); 
8168             arg8 
= wxString_in_helper(obj7
); 
8169             if (arg8 
== NULL
) SWIG_fail
; 
8174         if (!wxPyCheckForApp()) SWIG_fail
; 
8175         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8176         result 
= (wxTextCtrl 
*)new wxTextCtrl(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
8178         wxPyEndAllowThreads(__tstate
); 
8179         if (PyErr_Occurred()) SWIG_fail
; 
8181     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1); 
8204 static PyObject 
*_wrap_new_PreTextCtrl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8205     PyObject 
*resultobj
; 
8211     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
; 
8213         if (!wxPyCheckForApp()) SWIG_fail
; 
8214         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8215         result 
= (wxTextCtrl 
*)new wxTextCtrl(); 
8217         wxPyEndAllowThreads(__tstate
); 
8218         if (PyErr_Occurred()) SWIG_fail
; 
8220     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1); 
8227 static PyObject 
*_wrap_TextCtrl_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8228     PyObject 
*resultobj
; 
8229     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8230     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
8231     int arg3 
= (int) -1 ; 
8232     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
8233     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
8234     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
8235     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
8236     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
8237     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
8238     long arg7 
= (long) 0 ; 
8239     wxValidator 
const &arg8_defvalue 
= wxDefaultValidator 
; 
8240     wxValidator 
*arg8 
= (wxValidator 
*) &arg8_defvalue 
; 
8241     wxString 
const &arg9_defvalue 
= wxPyTextCtrlNameStr 
; 
8242     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
8244     bool temp4 
= false ; 
8247     bool temp9 
= false ; 
8248     PyObject 
* obj0 
= 0 ; 
8249     PyObject 
* obj1 
= 0 ; 
8250     PyObject 
* obj2 
= 0 ; 
8251     PyObject 
* obj3 
= 0 ; 
8252     PyObject 
* obj4 
= 0 ; 
8253     PyObject 
* obj5 
= 0 ; 
8254     PyObject 
* obj6 
= 0 ; 
8255     PyObject 
* obj7 
= 0 ; 
8256     PyObject 
* obj8 
= 0 ; 
8258         (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
8261     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
8262     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8263     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8264     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
8265     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8267         arg3 
= (int)SWIG_As_int(obj2
);  
8268         if (PyErr_Occurred()) SWIG_fail
; 
8272             arg4 
= wxString_in_helper(obj3
); 
8273             if (arg4 
== NULL
) SWIG_fail
; 
8280             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
8286             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
8290         arg7 
= (long)SWIG_As_long(obj6
);  
8291         if (PyErr_Occurred()) SWIG_fail
; 
8294         if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
, 
8295         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
8298             PyErr_SetString(PyExc_TypeError
,"null reference"); 
8304             arg9 
= wxString_in_helper(obj8
); 
8305             if (arg9 
== NULL
) SWIG_fail
; 
8310         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8311         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxValidator 
const &)*arg8
,(wxString 
const &)*arg9
); 
8313         wxPyEndAllowThreads(__tstate
); 
8314         if (PyErr_Occurred()) SWIG_fail
; 
8317         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8341 static PyObject 
*_wrap_TextCtrl_GetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8342     PyObject 
*resultobj
; 
8343     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8345     PyObject 
* obj0 
= 0 ; 
8347         (char *) "self", NULL 
 
8350     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
; 
8351     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8352     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8354         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8355         result 
= ((wxTextCtrl 
const *)arg1
)->GetValue(); 
8357         wxPyEndAllowThreads(__tstate
); 
8358         if (PyErr_Occurred()) SWIG_fail
; 
8362         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8364         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8373 static PyObject 
*_wrap_TextCtrl_SetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8374     PyObject 
*resultobj
; 
8375     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8376     wxString 
*arg2 
= 0 ; 
8377     bool temp2 
= false ; 
8378     PyObject 
* obj0 
= 0 ; 
8379     PyObject 
* obj1 
= 0 ; 
8381         (char *) "self",(char *) "value", NULL 
 
8384     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
8385     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8386     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8388         arg2 
= wxString_in_helper(obj1
); 
8389         if (arg2 
== NULL
) SWIG_fail
; 
8393         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8394         (arg1
)->SetValue((wxString 
const &)*arg2
); 
8396         wxPyEndAllowThreads(__tstate
); 
8397         if (PyErr_Occurred()) SWIG_fail
; 
8399     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8414 static PyObject 
*_wrap_TextCtrl_GetRange(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8415     PyObject 
*resultobj
; 
8416     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8420     PyObject 
* obj0 
= 0 ; 
8421     PyObject 
* obj1 
= 0 ; 
8422     PyObject 
* obj2 
= 0 ; 
8424         (char *) "self",(char *) "from",(char *) "to", NULL 
 
8427     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8428     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8429     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8430     arg2 
= (long)SWIG_As_long(obj1
);  
8431     if (PyErr_Occurred()) SWIG_fail
; 
8432     arg3 
= (long)SWIG_As_long(obj2
);  
8433     if (PyErr_Occurred()) SWIG_fail
; 
8435         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8436         result 
= ((wxTextCtrl 
const *)arg1
)->GetRange(arg2
,arg3
); 
8438         wxPyEndAllowThreads(__tstate
); 
8439         if (PyErr_Occurred()) SWIG_fail
; 
8443         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8445         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8454 static PyObject 
*_wrap_TextCtrl_GetLineLength(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8455     PyObject 
*resultobj
; 
8456     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8459     PyObject 
* obj0 
= 0 ; 
8460     PyObject 
* obj1 
= 0 ; 
8462         (char *) "self",(char *) "lineNo", NULL 
 
8465     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
; 
8466     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8467     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8468     arg2 
= (long)SWIG_As_long(obj1
);  
8469     if (PyErr_Occurred()) SWIG_fail
; 
8471         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8472         result 
= (int)((wxTextCtrl 
const *)arg1
)->GetLineLength(arg2
); 
8474         wxPyEndAllowThreads(__tstate
); 
8475         if (PyErr_Occurred()) SWIG_fail
; 
8477     resultobj 
= SWIG_From_int((int)result
); 
8484 static PyObject 
*_wrap_TextCtrl_GetLineText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8485     PyObject 
*resultobj
; 
8486     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8489     PyObject 
* obj0 
= 0 ; 
8490     PyObject 
* obj1 
= 0 ; 
8492         (char *) "self",(char *) "lineNo", NULL 
 
8495     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
; 
8496     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8497     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8498     arg2 
= (long)SWIG_As_long(obj1
);  
8499     if (PyErr_Occurred()) SWIG_fail
; 
8501         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8502         result 
= ((wxTextCtrl 
const *)arg1
)->GetLineText(arg2
); 
8504         wxPyEndAllowThreads(__tstate
); 
8505         if (PyErr_Occurred()) SWIG_fail
; 
8509         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8511         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8520 static PyObject 
*_wrap_TextCtrl_GetNumberOfLines(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8521     PyObject 
*resultobj
; 
8522     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8524     PyObject 
* obj0 
= 0 ; 
8526         (char *) "self", NULL 
 
8529     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
; 
8530     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8531     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8533         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8534         result 
= (int)((wxTextCtrl 
const *)arg1
)->GetNumberOfLines(); 
8536         wxPyEndAllowThreads(__tstate
); 
8537         if (PyErr_Occurred()) SWIG_fail
; 
8539     resultobj 
= SWIG_From_int((int)result
); 
8546 static PyObject 
*_wrap_TextCtrl_IsModified(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8547     PyObject 
*resultobj
; 
8548     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8550     PyObject 
* obj0 
= 0 ; 
8552         (char *) "self", NULL 
 
8555     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
; 
8556     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8557     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8559         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8560         result 
= (bool)((wxTextCtrl 
const *)arg1
)->IsModified(); 
8562         wxPyEndAllowThreads(__tstate
); 
8563         if (PyErr_Occurred()) SWIG_fail
; 
8566         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8574 static PyObject 
*_wrap_TextCtrl_IsEditable(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8575     PyObject 
*resultobj
; 
8576     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8578     PyObject 
* obj0 
= 0 ; 
8580         (char *) "self", NULL 
 
8583     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
; 
8584     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8585     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8587         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8588         result 
= (bool)((wxTextCtrl 
const *)arg1
)->IsEditable(); 
8590         wxPyEndAllowThreads(__tstate
); 
8591         if (PyErr_Occurred()) SWIG_fail
; 
8594         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8602 static PyObject 
*_wrap_TextCtrl_IsSingleLine(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8603     PyObject 
*resultobj
; 
8604     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8606     PyObject 
* obj0 
= 0 ; 
8608         (char *) "self", NULL 
 
8611     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
; 
8612     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8613     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8615         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8616         result 
= (bool)((wxTextCtrl 
const *)arg1
)->IsSingleLine(); 
8618         wxPyEndAllowThreads(__tstate
); 
8619         if (PyErr_Occurred()) SWIG_fail
; 
8622         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8630 static PyObject 
*_wrap_TextCtrl_IsMultiLine(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8631     PyObject 
*resultobj
; 
8632     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8634     PyObject 
* obj0 
= 0 ; 
8636         (char *) "self", NULL 
 
8639     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
; 
8640     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8641     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8643         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8644         result 
= (bool)((wxTextCtrl 
const *)arg1
)->IsMultiLine(); 
8646         wxPyEndAllowThreads(__tstate
); 
8647         if (PyErr_Occurred()) SWIG_fail
; 
8650         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8658 static PyObject 
*_wrap_TextCtrl_GetSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8659     PyObject 
*resultobj
; 
8660     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8661     long *arg2 
= (long *) 0 ; 
8662     long *arg3 
= (long *) 0 ; 
8667     PyObject 
* obj0 
= 0 ; 
8669         (char *) "self", NULL 
 
8672     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
8673     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
8674     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
; 
8675     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8676     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8678         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8679         ((wxTextCtrl 
const *)arg1
)->GetSelection(arg2
,arg3
); 
8681         wxPyEndAllowThreads(__tstate
); 
8682         if (PyErr_Occurred()) SWIG_fail
; 
8684     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8685     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
8686     SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0))); 
8687     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
8688     SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0))); 
8695 static PyObject 
*_wrap_TextCtrl_GetStringSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8696     PyObject 
*resultobj
; 
8697     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8699     PyObject 
* obj0 
= 0 ; 
8701         (char *) "self", NULL 
 
8704     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
; 
8705     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8706     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8708         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8709         result 
= ((wxTextCtrl 
const *)arg1
)->GetStringSelection(); 
8711         wxPyEndAllowThreads(__tstate
); 
8712         if (PyErr_Occurred()) SWIG_fail
; 
8716         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8718         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8727 static PyObject 
*_wrap_TextCtrl_Clear(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8728     PyObject 
*resultobj
; 
8729     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8730     PyObject 
* obj0 
= 0 ; 
8732         (char *) "self", NULL 
 
8735     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
; 
8736     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8737     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8739         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8742         wxPyEndAllowThreads(__tstate
); 
8743         if (PyErr_Occurred()) SWIG_fail
; 
8745     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8752 static PyObject 
*_wrap_TextCtrl_Replace(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8753     PyObject 
*resultobj
; 
8754     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8757     wxString 
*arg4 
= 0 ; 
8758     bool temp4 
= false ; 
8759     PyObject 
* obj0 
= 0 ; 
8760     PyObject 
* obj1 
= 0 ; 
8761     PyObject 
* obj2 
= 0 ; 
8762     PyObject 
* obj3 
= 0 ; 
8764         (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL 
 
8767     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
8768     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8769     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8770     arg2 
= (long)SWIG_As_long(obj1
);  
8771     if (PyErr_Occurred()) SWIG_fail
; 
8772     arg3 
= (long)SWIG_As_long(obj2
);  
8773     if (PyErr_Occurred()) SWIG_fail
; 
8775         arg4 
= wxString_in_helper(obj3
); 
8776         if (arg4 
== NULL
) SWIG_fail
; 
8780         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8781         (arg1
)->Replace(arg2
,arg3
,(wxString 
const &)*arg4
); 
8783         wxPyEndAllowThreads(__tstate
); 
8784         if (PyErr_Occurred()) SWIG_fail
; 
8786     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8801 static PyObject 
*_wrap_TextCtrl_Remove(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8802     PyObject 
*resultobj
; 
8803     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8806     PyObject 
* obj0 
= 0 ; 
8807     PyObject 
* obj1 
= 0 ; 
8808     PyObject 
* obj2 
= 0 ; 
8810         (char *) "self",(char *) "from",(char *) "to", NULL 
 
8813     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8814     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8815     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8816     arg2 
= (long)SWIG_As_long(obj1
);  
8817     if (PyErr_Occurred()) SWIG_fail
; 
8818     arg3 
= (long)SWIG_As_long(obj2
);  
8819     if (PyErr_Occurred()) SWIG_fail
; 
8821         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8822         (arg1
)->Remove(arg2
,arg3
); 
8824         wxPyEndAllowThreads(__tstate
); 
8825         if (PyErr_Occurred()) SWIG_fail
; 
8827     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8834 static PyObject 
*_wrap_TextCtrl_LoadFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8835     PyObject 
*resultobj
; 
8836     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8837     wxString 
*arg2 
= 0 ; 
8839     bool temp2 
= false ; 
8840     PyObject 
* obj0 
= 0 ; 
8841     PyObject 
* obj1 
= 0 ; 
8843         (char *) "self",(char *) "file", NULL 
 
8846     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
; 
8847     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8848     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8850         arg2 
= wxString_in_helper(obj1
); 
8851         if (arg2 
== NULL
) SWIG_fail
; 
8855         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8856         result 
= (bool)(arg1
)->LoadFile((wxString 
const &)*arg2
); 
8858         wxPyEndAllowThreads(__tstate
); 
8859         if (PyErr_Occurred()) SWIG_fail
; 
8862         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8878 static PyObject 
*_wrap_TextCtrl_SaveFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8879     PyObject 
*resultobj
; 
8880     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8881     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
8882     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
8884     bool temp2 
= false ; 
8885     PyObject 
* obj0 
= 0 ; 
8886     PyObject 
* obj1 
= 0 ; 
8888         (char *) "self",(char *) "file", NULL 
 
8891     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
; 
8892     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8893     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8896             arg2 
= wxString_in_helper(obj1
); 
8897             if (arg2 
== NULL
) SWIG_fail
; 
8902         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8903         result 
= (bool)(arg1
)->SaveFile((wxString 
const &)*arg2
); 
8905         wxPyEndAllowThreads(__tstate
); 
8906         if (PyErr_Occurred()) SWIG_fail
; 
8909         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8925 static PyObject 
*_wrap_TextCtrl_MarkDirty(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8926     PyObject 
*resultobj
; 
8927     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8928     PyObject 
* obj0 
= 0 ; 
8930         (char *) "self", NULL 
 
8933     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
; 
8934     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8935     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8937         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8938         (arg1
)->MarkDirty(); 
8940         wxPyEndAllowThreads(__tstate
); 
8941         if (PyErr_Occurred()) SWIG_fail
; 
8943     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8950 static PyObject 
*_wrap_TextCtrl_DiscardEdits(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8951     PyObject 
*resultobj
; 
8952     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8953     PyObject 
* obj0 
= 0 ; 
8955         (char *) "self", NULL 
 
8958     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
; 
8959     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8960     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8962         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8963         (arg1
)->DiscardEdits(); 
8965         wxPyEndAllowThreads(__tstate
); 
8966         if (PyErr_Occurred()) SWIG_fail
; 
8968     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8975 static PyObject 
*_wrap_TextCtrl_SetMaxLength(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8976     PyObject 
*resultobj
; 
8977     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8978     unsigned long arg2 
; 
8979     PyObject 
* obj0 
= 0 ; 
8980     PyObject 
* obj1 
= 0 ; 
8982         (char *) "self",(char *) "len", NULL 
 
8985     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
; 
8986     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8987     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8988     arg2 
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);  
8989     if (PyErr_Occurred()) SWIG_fail
; 
8991         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8992         (arg1
)->SetMaxLength(arg2
); 
8994         wxPyEndAllowThreads(__tstate
); 
8995         if (PyErr_Occurred()) SWIG_fail
; 
8997     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9004 static PyObject 
*_wrap_TextCtrl_WriteText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9005     PyObject 
*resultobj
; 
9006     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9007     wxString 
*arg2 
= 0 ; 
9008     bool temp2 
= false ; 
9009     PyObject 
* obj0 
= 0 ; 
9010     PyObject 
* obj1 
= 0 ; 
9012         (char *) "self",(char *) "text", NULL 
 
9015     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
; 
9016     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9017     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9019         arg2 
= wxString_in_helper(obj1
); 
9020         if (arg2 
== NULL
) SWIG_fail
; 
9024         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9025         (arg1
)->WriteText((wxString 
const &)*arg2
); 
9027         wxPyEndAllowThreads(__tstate
); 
9028         if (PyErr_Occurred()) SWIG_fail
; 
9030     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9045 static PyObject 
*_wrap_TextCtrl_AppendText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9046     PyObject 
*resultobj
; 
9047     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9048     wxString 
*arg2 
= 0 ; 
9049     bool temp2 
= false ; 
9050     PyObject 
* obj0 
= 0 ; 
9051     PyObject 
* obj1 
= 0 ; 
9053         (char *) "self",(char *) "text", NULL 
 
9056     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
; 
9057     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9058     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9060         arg2 
= wxString_in_helper(obj1
); 
9061         if (arg2 
== NULL
) SWIG_fail
; 
9065         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9066         (arg1
)->AppendText((wxString 
const &)*arg2
); 
9068         wxPyEndAllowThreads(__tstate
); 
9069         if (PyErr_Occurred()) SWIG_fail
; 
9071     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9086 static PyObject 
*_wrap_TextCtrl_EmulateKeyPress(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9087     PyObject 
*resultobj
; 
9088     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9089     wxKeyEvent 
*arg2 
= 0 ; 
9091     PyObject 
* obj0 
= 0 ; 
9092     PyObject 
* obj1 
= 0 ; 
9094         (char *) "self",(char *) "event", NULL 
 
9097     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
; 
9098     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9099     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9100     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
, 
9101     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
9104         PyErr_SetString(PyExc_TypeError
,"null reference"); 
9108         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9109         result 
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent 
const &)*arg2
); 
9111         wxPyEndAllowThreads(__tstate
); 
9112         if (PyErr_Occurred()) SWIG_fail
; 
9115         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9123 static PyObject 
*_wrap_TextCtrl_SetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9124     PyObject 
*resultobj
; 
9125     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9128     wxTextAttr 
*arg4 
= 0 ; 
9130     PyObject 
* obj0 
= 0 ; 
9131     PyObject 
* obj1 
= 0 ; 
9132     PyObject 
* obj2 
= 0 ; 
9133     PyObject 
* obj3 
= 0 ; 
9135         (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL 
 
9138     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
9139     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9140     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9141     arg2 
= (long)SWIG_As_long(obj1
);  
9142     if (PyErr_Occurred()) SWIG_fail
; 
9143     arg3 
= (long)SWIG_As_long(obj2
);  
9144     if (PyErr_Occurred()) SWIG_fail
; 
9145     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
, 
9146     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
9149         PyErr_SetString(PyExc_TypeError
,"null reference"); 
9153         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9154         result 
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr 
const &)*arg4
); 
9156         wxPyEndAllowThreads(__tstate
); 
9157         if (PyErr_Occurred()) SWIG_fail
; 
9160         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9168 static PyObject 
*_wrap_TextCtrl_GetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9169     PyObject 
*resultobj
; 
9170     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9172     wxTextAttr 
*arg3 
= 0 ; 
9174     PyObject 
* obj0 
= 0 ; 
9175     PyObject 
* obj1 
= 0 ; 
9176     PyObject 
* obj2 
= 0 ; 
9178         (char *) "self",(char *) "position",(char *) "style", NULL 
 
9181     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9182     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9183     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9184     arg2 
= (long)SWIG_As_long(obj1
);  
9185     if (PyErr_Occurred()) SWIG_fail
; 
9186     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
, 
9187     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
9190         PyErr_SetString(PyExc_TypeError
,"null reference"); 
9194         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9195         result 
= (bool)(arg1
)->GetStyle(arg2
,*arg3
); 
9197         wxPyEndAllowThreads(__tstate
); 
9198         if (PyErr_Occurred()) SWIG_fail
; 
9201         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9209 static PyObject 
*_wrap_TextCtrl_SetDefaultStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9210     PyObject 
*resultobj
; 
9211     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9212     wxTextAttr 
*arg2 
= 0 ; 
9214     PyObject 
* obj0 
= 0 ; 
9215     PyObject 
* obj1 
= 0 ; 
9217         (char *) "self",(char *) "style", NULL 
 
9220     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
; 
9221     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9222     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9223     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
, 
9224     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
9227         PyErr_SetString(PyExc_TypeError
,"null reference"); 
9231         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9232         result 
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr 
const &)*arg2
); 
9234         wxPyEndAllowThreads(__tstate
); 
9235         if (PyErr_Occurred()) SWIG_fail
; 
9238         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9246 static PyObject 
*_wrap_TextCtrl_GetDefaultStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9247     PyObject 
*resultobj
; 
9248     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9250     PyObject 
* obj0 
= 0 ; 
9252         (char *) "self", NULL 
 
9255     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
; 
9256     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9257     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9259         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9261             wxTextAttr 
const &_result_ref 
= ((wxTextCtrl 
const *)arg1
)->GetDefaultStyle(); 
9262             result 
= (wxTextAttr 
*) &_result_ref
; 
9265         wxPyEndAllowThreads(__tstate
); 
9266         if (PyErr_Occurred()) SWIG_fail
; 
9268     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0); 
9275 static PyObject 
*_wrap_TextCtrl_XYToPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9276     PyObject 
*resultobj
; 
9277     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9281     PyObject 
* obj0 
= 0 ; 
9282     PyObject 
* obj1 
= 0 ; 
9283     PyObject 
* obj2 
= 0 ; 
9285         (char *) "self",(char *) "x",(char *) "y", NULL 
 
9288     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9289     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9290     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9291     arg2 
= (long)SWIG_As_long(obj1
);  
9292     if (PyErr_Occurred()) SWIG_fail
; 
9293     arg3 
= (long)SWIG_As_long(obj2
);  
9294     if (PyErr_Occurred()) SWIG_fail
; 
9296         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9297         result 
= (long)((wxTextCtrl 
const *)arg1
)->XYToPosition(arg2
,arg3
); 
9299         wxPyEndAllowThreads(__tstate
); 
9300         if (PyErr_Occurred()) SWIG_fail
; 
9302     resultobj 
= SWIG_From_long((long)result
); 
9309 static PyObject 
*_wrap_TextCtrl_PositionToXY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9310     PyObject 
*resultobj
; 
9311     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9313     long *arg3 
= (long *) 0 ; 
9314     long *arg4 
= (long *) 0 ; 
9319     PyObject 
* obj0 
= 0 ; 
9320     PyObject 
* obj1 
= 0 ; 
9322         (char *) "self",(char *) "pos", NULL 
 
9325     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
9326     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
9327     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
; 
9328     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9329     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9330     arg2 
= (long)SWIG_As_long(obj1
);  
9331     if (PyErr_Occurred()) SWIG_fail
; 
9333         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9334         ((wxTextCtrl 
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
); 
9336         wxPyEndAllowThreads(__tstate
); 
9337         if (PyErr_Occurred()) SWIG_fail
; 
9339     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9340     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
9341     SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0))); 
9342     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
9343     SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0))); 
9350 static PyObject 
*_wrap_TextCtrl_ShowPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9351     PyObject 
*resultobj
; 
9352     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9354     PyObject 
* obj0 
= 0 ; 
9355     PyObject 
* obj1 
= 0 ; 
9357         (char *) "self",(char *) "pos", NULL 
 
9360     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
9361     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9362     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9363     arg2 
= (long)SWIG_As_long(obj1
);  
9364     if (PyErr_Occurred()) SWIG_fail
; 
9366         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9367         (arg1
)->ShowPosition(arg2
); 
9369         wxPyEndAllowThreads(__tstate
); 
9370         if (PyErr_Occurred()) SWIG_fail
; 
9372     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9379 static PyObject 
*_wrap_TextCtrl_HitTest(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9380     PyObject 
*resultobj
; 
9381     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9383     long *arg3 
= (long *) 0 ; 
9384     long *arg4 
= (long *) 0 ; 
9391     PyObject 
* obj0 
= 0 ; 
9392     PyObject 
* obj1 
= 0 ; 
9394         (char *) "self",(char *) "pt", NULL 
 
9397     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
9398     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
9399     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
; 
9400     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9401     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9404         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
9407         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9408         result 
= (int)((wxTextCtrl 
const *)arg1
)->HitTest((wxPoint 
const &)*arg2
,arg3
,arg4
); 
9410         wxPyEndAllowThreads(__tstate
); 
9411         if (PyErr_Occurred()) SWIG_fail
; 
9413     resultobj 
= SWIG_From_int((int)result
); 
9414     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
9415     SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0))); 
9416     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
9417     SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0))); 
9424 static PyObject 
*_wrap_TextCtrl_HitTestPos(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9425     PyObject 
*resultobj
; 
9426     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9428     long *arg3 
= (long *) 0 ; 
9433     PyObject 
* obj0 
= 0 ; 
9434     PyObject 
* obj1 
= 0 ; 
9436         (char *) "self",(char *) "pt", NULL 
 
9439     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
9440     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
; 
9441     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9442     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9445         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
9448         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9449         result 
= (int)((wxTextCtrl 
const *)arg1
)->HitTest((wxPoint 
const &)*arg2
,arg3
); 
9451         wxPyEndAllowThreads(__tstate
); 
9452         if (PyErr_Occurred()) SWIG_fail
; 
9454     resultobj 
= SWIG_From_int((int)result
); 
9455     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
9456     SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0))); 
9463 static PyObject 
*_wrap_TextCtrl_Copy(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9464     PyObject 
*resultobj
; 
9465     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9466     PyObject 
* obj0 
= 0 ; 
9468         (char *) "self", NULL 
 
9471     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
; 
9472     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9473     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9475         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9478         wxPyEndAllowThreads(__tstate
); 
9479         if (PyErr_Occurred()) SWIG_fail
; 
9481     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9488 static PyObject 
*_wrap_TextCtrl_Cut(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9489     PyObject 
*resultobj
; 
9490     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9491     PyObject 
* obj0 
= 0 ; 
9493         (char *) "self", NULL 
 
9496     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
; 
9497     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9498     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9500         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9503         wxPyEndAllowThreads(__tstate
); 
9504         if (PyErr_Occurred()) SWIG_fail
; 
9506     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9513 static PyObject 
*_wrap_TextCtrl_Paste(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9514     PyObject 
*resultobj
; 
9515     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9516     PyObject 
* obj0 
= 0 ; 
9518         (char *) "self", NULL 
 
9521     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
; 
9522     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9523     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9525         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9528         wxPyEndAllowThreads(__tstate
); 
9529         if (PyErr_Occurred()) SWIG_fail
; 
9531     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9538 static PyObject 
*_wrap_TextCtrl_CanCopy(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9539     PyObject 
*resultobj
; 
9540     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9542     PyObject 
* obj0 
= 0 ; 
9544         (char *) "self", NULL 
 
9547     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
; 
9548     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9549     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9551         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9552         result 
= (bool)((wxTextCtrl 
const *)arg1
)->CanCopy(); 
9554         wxPyEndAllowThreads(__tstate
); 
9555         if (PyErr_Occurred()) SWIG_fail
; 
9558         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9566 static PyObject 
*_wrap_TextCtrl_CanCut(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9567     PyObject 
*resultobj
; 
9568     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9570     PyObject 
* obj0 
= 0 ; 
9572         (char *) "self", NULL 
 
9575     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
; 
9576     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9577     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9579         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9580         result 
= (bool)((wxTextCtrl 
const *)arg1
)->CanCut(); 
9582         wxPyEndAllowThreads(__tstate
); 
9583         if (PyErr_Occurred()) SWIG_fail
; 
9586         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9594 static PyObject 
*_wrap_TextCtrl_CanPaste(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9595     PyObject 
*resultobj
; 
9596     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9598     PyObject 
* obj0 
= 0 ; 
9600         (char *) "self", NULL 
 
9603     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
; 
9604     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9605     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9607         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9608         result 
= (bool)((wxTextCtrl 
const *)arg1
)->CanPaste(); 
9610         wxPyEndAllowThreads(__tstate
); 
9611         if (PyErr_Occurred()) SWIG_fail
; 
9614         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9622 static PyObject 
*_wrap_TextCtrl_Undo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9623     PyObject 
*resultobj
; 
9624     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9625     PyObject 
* obj0 
= 0 ; 
9627         (char *) "self", NULL 
 
9630     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
; 
9631     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9632     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9634         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9637         wxPyEndAllowThreads(__tstate
); 
9638         if (PyErr_Occurred()) SWIG_fail
; 
9640     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9647 static PyObject 
*_wrap_TextCtrl_Redo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9648     PyObject 
*resultobj
; 
9649     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9650     PyObject 
* obj0 
= 0 ; 
9652         (char *) "self", NULL 
 
9655     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
; 
9656     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9657     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9659         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9662         wxPyEndAllowThreads(__tstate
); 
9663         if (PyErr_Occurred()) SWIG_fail
; 
9665     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9672 static PyObject 
*_wrap_TextCtrl_CanUndo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9673     PyObject 
*resultobj
; 
9674     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9676     PyObject 
* obj0 
= 0 ; 
9678         (char *) "self", NULL 
 
9681     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
; 
9682     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9683     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9685         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9686         result 
= (bool)((wxTextCtrl 
const *)arg1
)->CanUndo(); 
9688         wxPyEndAllowThreads(__tstate
); 
9689         if (PyErr_Occurred()) SWIG_fail
; 
9692         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9700 static PyObject 
*_wrap_TextCtrl_CanRedo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9701     PyObject 
*resultobj
; 
9702     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9704     PyObject 
* obj0 
= 0 ; 
9706         (char *) "self", NULL 
 
9709     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
; 
9710     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9711     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9713         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9714         result 
= (bool)((wxTextCtrl 
const *)arg1
)->CanRedo(); 
9716         wxPyEndAllowThreads(__tstate
); 
9717         if (PyErr_Occurred()) SWIG_fail
; 
9720         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9728 static PyObject 
*_wrap_TextCtrl_SetInsertionPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9729     PyObject 
*resultobj
; 
9730     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9732     PyObject 
* obj0 
= 0 ; 
9733     PyObject 
* obj1 
= 0 ; 
9735         (char *) "self",(char *) "pos", NULL 
 
9738     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
9739     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9740     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9741     arg2 
= (long)SWIG_As_long(obj1
);  
9742     if (PyErr_Occurred()) SWIG_fail
; 
9744         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9745         (arg1
)->SetInsertionPoint(arg2
); 
9747         wxPyEndAllowThreads(__tstate
); 
9748         if (PyErr_Occurred()) SWIG_fail
; 
9750     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9757 static PyObject 
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9758     PyObject 
*resultobj
; 
9759     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9760     PyObject 
* obj0 
= 0 ; 
9762         (char *) "self", NULL 
 
9765     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
; 
9766     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9767     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9769         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9770         (arg1
)->SetInsertionPointEnd(); 
9772         wxPyEndAllowThreads(__tstate
); 
9773         if (PyErr_Occurred()) SWIG_fail
; 
9775     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9782 static PyObject 
*_wrap_TextCtrl_GetInsertionPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9783     PyObject 
*resultobj
; 
9784     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9786     PyObject 
* obj0 
= 0 ; 
9788         (char *) "self", NULL 
 
9791     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
; 
9792     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9793     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9795         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9796         result 
= (long)((wxTextCtrl 
const *)arg1
)->GetInsertionPoint(); 
9798         wxPyEndAllowThreads(__tstate
); 
9799         if (PyErr_Occurred()) SWIG_fail
; 
9801     resultobj 
= SWIG_From_long((long)result
); 
9808 static PyObject 
*_wrap_TextCtrl_GetLastPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9809     PyObject 
*resultobj
; 
9810     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9812     PyObject 
* obj0 
= 0 ; 
9814         (char *) "self", NULL 
 
9817     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
; 
9818     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9819     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9821         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9822         result 
= (long)((wxTextCtrl 
const *)arg1
)->GetLastPosition(); 
9824         wxPyEndAllowThreads(__tstate
); 
9825         if (PyErr_Occurred()) SWIG_fail
; 
9827     resultobj 
= SWIG_From_long((long)result
); 
9834 static PyObject 
*_wrap_TextCtrl_SetSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9835     PyObject 
*resultobj
; 
9836     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9839     PyObject 
* obj0 
= 0 ; 
9840     PyObject 
* obj1 
= 0 ; 
9841     PyObject 
* obj2 
= 0 ; 
9843         (char *) "self",(char *) "from",(char *) "to", NULL 
 
9846     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9847     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9848     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9849     arg2 
= (long)SWIG_As_long(obj1
);  
9850     if (PyErr_Occurred()) SWIG_fail
; 
9851     arg3 
= (long)SWIG_As_long(obj2
);  
9852     if (PyErr_Occurred()) SWIG_fail
; 
9854         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9855         (arg1
)->SetSelection(arg2
,arg3
); 
9857         wxPyEndAllowThreads(__tstate
); 
9858         if (PyErr_Occurred()) SWIG_fail
; 
9860     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9867 static PyObject 
*_wrap_TextCtrl_SelectAll(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9868     PyObject 
*resultobj
; 
9869     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9870     PyObject 
* obj0 
= 0 ; 
9872         (char *) "self", NULL 
 
9875     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
; 
9876     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9877     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9879         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9880         (arg1
)->SelectAll(); 
9882         wxPyEndAllowThreads(__tstate
); 
9883         if (PyErr_Occurred()) SWIG_fail
; 
9885     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9892 static PyObject 
*_wrap_TextCtrl_SetEditable(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9893     PyObject 
*resultobj
; 
9894     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9896     PyObject 
* obj0 
= 0 ; 
9897     PyObject 
* obj1 
= 0 ; 
9899         (char *) "self",(char *) "editable", NULL 
 
9902     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
; 
9903     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9904     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9905     arg2 
= (bool)SWIG_As_bool(obj1
);  
9906     if (PyErr_Occurred()) SWIG_fail
; 
9908         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9909         (arg1
)->SetEditable(arg2
); 
9911         wxPyEndAllowThreads(__tstate
); 
9912         if (PyErr_Occurred()) SWIG_fail
; 
9914     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9921 static PyObject 
*_wrap_TextCtrl_write(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9922     PyObject 
*resultobj
; 
9923     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9924     wxString 
*arg2 
= 0 ; 
9925     bool temp2 
= false ; 
9926     PyObject 
* obj0 
= 0 ; 
9927     PyObject 
* obj1 
= 0 ; 
9929         (char *) "self",(char *) "text", NULL 
 
9932     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
; 
9933     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9934     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9936         arg2 
= wxString_in_helper(obj1
); 
9937         if (arg2 
== NULL
) SWIG_fail
; 
9941         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9942         wxTextCtrl_write(arg1
,(wxString 
const &)*arg2
); 
9944         wxPyEndAllowThreads(__tstate
); 
9945         if (PyErr_Occurred()) SWIG_fail
; 
9947     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9962 static PyObject 
*_wrap_TextCtrl_GetString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9963     PyObject 
*resultobj
; 
9964     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9968     PyObject 
* obj0 
= 0 ; 
9969     PyObject 
* obj1 
= 0 ; 
9970     PyObject 
* obj2 
= 0 ; 
9972         (char *) "self",(char *) "from",(char *) "to", NULL 
 
9975     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9976     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9977     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9978     arg2 
= (long)SWIG_As_long(obj1
);  
9979     if (PyErr_Occurred()) SWIG_fail
; 
9980     arg3 
= (long)SWIG_As_long(obj2
);  
9981     if (PyErr_Occurred()) SWIG_fail
; 
9983         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9984         result 
= wxTextCtrl_GetString(arg1
,arg2
,arg3
); 
9986         wxPyEndAllowThreads(__tstate
); 
9987         if (PyErr_Occurred()) SWIG_fail
; 
9991         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9993         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10002 static PyObject 
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10003     PyObject 
*resultobj
; 
10004     int arg1 
= (int) wxWINDOW_VARIANT_NORMAL 
; 
10005     wxVisualAttributes result
; 
10006     PyObject 
* obj0 
= 0 ; 
10007     char *kwnames
[] = { 
10008         (char *) "variant", NULL 
 
10011     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
10013         arg1 
= (int)SWIG_As_int(obj0
);  
10014         if (PyErr_Occurred()) SWIG_fail
; 
10017         if (!wxPyCheckForApp()) SWIG_fail
; 
10018         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10019         result 
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
10021         wxPyEndAllowThreads(__tstate
); 
10022         if (PyErr_Occurred()) SWIG_fail
; 
10025         wxVisualAttributes 
* resultptr
; 
10026         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&) result
); 
10027         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
10035 static PyObject 
* TextCtrl_swigregister(PyObject 
*, PyObject 
*args
) { 
10037     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
10038     SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
); 
10040     return Py_BuildValue((char *)""); 
10042 static PyObject 
*_wrap_new_TextUrlEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10043     PyObject 
*resultobj
; 
10045     wxMouseEvent 
*arg2 
= 0 ; 
10048     wxTextUrlEvent 
*result
; 
10049     PyObject 
* obj0 
= 0 ; 
10050     PyObject 
* obj1 
= 0 ; 
10051     PyObject 
* obj2 
= 0 ; 
10052     PyObject 
* obj3 
= 0 ; 
10053     char *kwnames
[] = { 
10054         (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL 
 
10057     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
10058     arg1 
= (int)SWIG_As_int(obj0
);  
10059     if (PyErr_Occurred()) SWIG_fail
; 
10060     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
, 
10061     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
10063     if (arg2 
== NULL
) { 
10064         PyErr_SetString(PyExc_TypeError
,"null reference"); 
10067     arg3 
= (long)SWIG_As_long(obj2
);  
10068     if (PyErr_Occurred()) SWIG_fail
; 
10069     arg4 
= (long)SWIG_As_long(obj3
);  
10070     if (PyErr_Occurred()) SWIG_fail
; 
10072         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10073         result 
= (wxTextUrlEvent 
*)new wxTextUrlEvent(arg1
,(wxMouseEvent 
const &)*arg2
,arg3
,arg4
); 
10075         wxPyEndAllowThreads(__tstate
); 
10076         if (PyErr_Occurred()) SWIG_fail
; 
10078     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1); 
10085 static PyObject 
*_wrap_TextUrlEvent_GetMouseEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10086     PyObject 
*resultobj
; 
10087     wxTextUrlEvent 
*arg1 
= (wxTextUrlEvent 
*) 0 ; 
10088     wxMouseEvent 
*result
; 
10089     PyObject 
* obj0 
= 0 ; 
10090     char *kwnames
[] = { 
10091         (char *) "self", NULL 
 
10094     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
; 
10095     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
, 
10096     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10098         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10100             wxMouseEvent 
const &_result_ref 
= (arg1
)->GetMouseEvent(); 
10101             result 
= (wxMouseEvent 
*) &_result_ref
; 
10104         wxPyEndAllowThreads(__tstate
); 
10105         if (PyErr_Occurred()) SWIG_fail
; 
10107     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0); 
10114 static PyObject 
*_wrap_TextUrlEvent_GetURLStart(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10115     PyObject 
*resultobj
; 
10116     wxTextUrlEvent 
*arg1 
= (wxTextUrlEvent 
*) 0 ; 
10118     PyObject 
* obj0 
= 0 ; 
10119     char *kwnames
[] = { 
10120         (char *) "self", NULL 
 
10123     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
; 
10124     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
, 
10125     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10127         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10128         result 
= (long)((wxTextUrlEvent 
const *)arg1
)->GetURLStart(); 
10130         wxPyEndAllowThreads(__tstate
); 
10131         if (PyErr_Occurred()) SWIG_fail
; 
10133     resultobj 
= SWIG_From_long((long)result
); 
10140 static PyObject 
*_wrap_TextUrlEvent_GetURLEnd(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10141     PyObject 
*resultobj
; 
10142     wxTextUrlEvent 
*arg1 
= (wxTextUrlEvent 
*) 0 ; 
10144     PyObject 
* obj0 
= 0 ; 
10145     char *kwnames
[] = { 
10146         (char *) "self", NULL 
 
10149     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
; 
10150     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
, 
10151     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10153         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10154         result 
= (long)((wxTextUrlEvent 
const *)arg1
)->GetURLEnd(); 
10156         wxPyEndAllowThreads(__tstate
); 
10157         if (PyErr_Occurred()) SWIG_fail
; 
10159     resultobj 
= SWIG_From_long((long)result
); 
10166 static PyObject 
* TextUrlEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
10168     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
10169     SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
); 
10171     return Py_BuildValue((char *)""); 
10173 static int _wrap_ScrollBarNameStr_set(PyObject 
*) { 
10174     PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only."); 
10179 static PyObject 
*_wrap_ScrollBarNameStr_get() { 
10184         pyobj 
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len()); 
10186         pyobj 
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len()); 
10193 static PyObject 
*_wrap_new_ScrollBar(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10194     PyObject 
*resultobj
; 
10195     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
10196     int arg2 
= (int) -1 ; 
10197     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
10198     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
10199     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
10200     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
10201     long arg5 
= (long) wxSB_HORIZONTAL 
; 
10202     wxValidator 
const &arg6_defvalue 
= wxDefaultValidator 
; 
10203     wxValidator 
*arg6 
= (wxValidator 
*) &arg6_defvalue 
; 
10204     wxString 
const &arg7_defvalue 
= wxPyScrollBarNameStr 
; 
10205     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
10206     wxScrollBar 
*result
; 
10209     bool temp7 
= false ; 
10210     PyObject 
* obj0 
= 0 ; 
10211     PyObject 
* obj1 
= 0 ; 
10212     PyObject 
* obj2 
= 0 ; 
10213     PyObject 
* obj3 
= 0 ; 
10214     PyObject 
* obj4 
= 0 ; 
10215     PyObject 
* obj5 
= 0 ; 
10216     PyObject 
* obj6 
= 0 ; 
10217     char *kwnames
[] = { 
10218         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
10221     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
10222     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
10223     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10225         arg2 
= (int)SWIG_As_int(obj1
);  
10226         if (PyErr_Occurred()) SWIG_fail
; 
10231             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
10237             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
10241         arg5 
= (long)SWIG_As_long(obj4
);  
10242         if (PyErr_Occurred()) SWIG_fail
; 
10245         if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
, 
10246         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
10248         if (arg6 
== NULL
) { 
10249             PyErr_SetString(PyExc_TypeError
,"null reference"); 
10255             arg7 
= wxString_in_helper(obj6
); 
10256             if (arg7 
== NULL
) SWIG_fail
; 
10261         if (!wxPyCheckForApp()) SWIG_fail
; 
10262         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10263         result 
= (wxScrollBar 
*)new wxScrollBar(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxValidator 
const &)*arg6
,(wxString 
const &)*arg7
); 
10265         wxPyEndAllowThreads(__tstate
); 
10266         if (PyErr_Occurred()) SWIG_fail
; 
10268     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1); 
10283 static PyObject 
*_wrap_new_PreScrollBar(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10284     PyObject 
*resultobj
; 
10285     wxScrollBar 
*result
; 
10286     char *kwnames
[] = { 
10290     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
; 
10292         if (!wxPyCheckForApp()) SWIG_fail
; 
10293         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10294         result 
= (wxScrollBar 
*)new wxScrollBar(); 
10296         wxPyEndAllowThreads(__tstate
); 
10297         if (PyErr_Occurred()) SWIG_fail
; 
10299     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1); 
10306 static PyObject 
*_wrap_ScrollBar_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10307     PyObject 
*resultobj
; 
10308     wxScrollBar 
*arg1 
= (wxScrollBar 
*) 0 ; 
10309     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
10310     int arg3 
= (int) -1 ; 
10311     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
10312     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
10313     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
10314     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
10315     long arg6 
= (long) wxSB_HORIZONTAL 
; 
10316     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
10317     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
10318     wxString 
const &arg8_defvalue 
= wxPyScrollBarNameStr 
; 
10319     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
10323     bool temp8 
= false ; 
10324     PyObject 
* obj0 
= 0 ; 
10325     PyObject 
* obj1 
= 0 ; 
10326     PyObject 
* obj2 
= 0 ; 
10327     PyObject 
* obj3 
= 0 ; 
10328     PyObject 
* obj4 
= 0 ; 
10329     PyObject 
* obj5 
= 0 ; 
10330     PyObject 
* obj6 
= 0 ; 
10331     PyObject 
* obj7 
= 0 ; 
10332     char *kwnames
[] = { 
10333         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
10336     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
10337     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
, 
10338     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10339     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
10340     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10342         arg3 
= (int)SWIG_As_int(obj2
);  
10343         if (PyErr_Occurred()) SWIG_fail
; 
10348             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
10354             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
10358         arg6 
= (long)SWIG_As_long(obj5
);  
10359         if (PyErr_Occurred()) SWIG_fail
; 
10362         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
, 
10363         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
10365         if (arg7 
== NULL
) { 
10366             PyErr_SetString(PyExc_TypeError
,"null reference"); 
10372             arg8 
= wxString_in_helper(obj7
); 
10373             if (arg8 
== NULL
) SWIG_fail
; 
10378         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10379         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
10381         wxPyEndAllowThreads(__tstate
); 
10382         if (PyErr_Occurred()) SWIG_fail
; 
10385         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10401 static PyObject 
*_wrap_ScrollBar_GetThumbPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10402     PyObject 
*resultobj
; 
10403     wxScrollBar 
*arg1 
= (wxScrollBar 
*) 0 ; 
10405     PyObject 
* obj0 
= 0 ; 
10406     char *kwnames
[] = { 
10407         (char *) "self", NULL 
 
10410     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
; 
10411     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
, 
10412     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10414         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10415         result 
= (int)((wxScrollBar 
const *)arg1
)->GetThumbPosition(); 
10417         wxPyEndAllowThreads(__tstate
); 
10418         if (PyErr_Occurred()) SWIG_fail
; 
10420     resultobj 
= SWIG_From_int((int)result
); 
10427 static PyObject 
*_wrap_ScrollBar_GetThumbSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10428     PyObject 
*resultobj
; 
10429     wxScrollBar 
*arg1 
= (wxScrollBar 
*) 0 ; 
10431     PyObject 
* obj0 
= 0 ; 
10432     char *kwnames
[] = { 
10433         (char *) "self", NULL 
 
10436     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
; 
10437     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
, 
10438     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10440         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10441         result 
= (int)((wxScrollBar 
const *)arg1
)->GetThumbSize(); 
10443         wxPyEndAllowThreads(__tstate
); 
10444         if (PyErr_Occurred()) SWIG_fail
; 
10446     resultobj 
= SWIG_From_int((int)result
); 
10453 static PyObject 
*_wrap_ScrollBar_GetPageSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10454     PyObject 
*resultobj
; 
10455     wxScrollBar 
*arg1 
= (wxScrollBar 
*) 0 ; 
10457     PyObject 
* obj0 
= 0 ; 
10458     char *kwnames
[] = { 
10459         (char *) "self", NULL 
 
10462     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
; 
10463     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
, 
10464     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10466         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10467         result 
= (int)((wxScrollBar 
const *)arg1
)->GetPageSize(); 
10469         wxPyEndAllowThreads(__tstate
); 
10470         if (PyErr_Occurred()) SWIG_fail
; 
10472     resultobj 
= SWIG_From_int((int)result
); 
10479 static PyObject 
*_wrap_ScrollBar_GetRange(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10480     PyObject 
*resultobj
; 
10481     wxScrollBar 
*arg1 
= (wxScrollBar 
*) 0 ; 
10483     PyObject 
* obj0 
= 0 ; 
10484     char *kwnames
[] = { 
10485         (char *) "self", NULL 
 
10488     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
; 
10489     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
, 
10490     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10492         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10493         result 
= (int)((wxScrollBar 
const *)arg1
)->GetRange(); 
10495         wxPyEndAllowThreads(__tstate
); 
10496         if (PyErr_Occurred()) SWIG_fail
; 
10498     resultobj 
= SWIG_From_int((int)result
); 
10505 static PyObject 
*_wrap_ScrollBar_IsVertical(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10506     PyObject 
*resultobj
; 
10507     wxScrollBar 
*arg1 
= (wxScrollBar 
*) 0 ; 
10509     PyObject 
* obj0 
= 0 ; 
10510     char *kwnames
[] = { 
10511         (char *) "self", NULL 
 
10514     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
; 
10515     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
, 
10516     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10518         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10519         result 
= (bool)((wxScrollBar 
const *)arg1
)->IsVertical(); 
10521         wxPyEndAllowThreads(__tstate
); 
10522         if (PyErr_Occurred()) SWIG_fail
; 
10525         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10533 static PyObject 
*_wrap_ScrollBar_SetThumbPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10534     PyObject 
*resultobj
; 
10535     wxScrollBar 
*arg1 
= (wxScrollBar 
*) 0 ; 
10537     PyObject 
* obj0 
= 0 ; 
10538     PyObject 
* obj1 
= 0 ; 
10539     char *kwnames
[] = { 
10540         (char *) "self",(char *) "viewStart", NULL 
 
10543     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
10544     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
, 
10545     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10546     arg2 
= (int)SWIG_As_int(obj1
);  
10547     if (PyErr_Occurred()) SWIG_fail
; 
10549         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10550         (arg1
)->SetThumbPosition(arg2
); 
10552         wxPyEndAllowThreads(__tstate
); 
10553         if (PyErr_Occurred()) SWIG_fail
; 
10555     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10562 static PyObject 
*_wrap_ScrollBar_SetScrollbar(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10563     PyObject 
*resultobj
; 
10564     wxScrollBar 
*arg1 
= (wxScrollBar 
*) 0 ; 
10569     bool arg6 
= (bool) true ; 
10570     PyObject 
* obj0 
= 0 ; 
10571     PyObject 
* obj1 
= 0 ; 
10572     PyObject 
* obj2 
= 0 ; 
10573     PyObject 
* obj3 
= 0 ; 
10574     PyObject 
* obj4 
= 0 ; 
10575     PyObject 
* obj5 
= 0 ; 
10576     char *kwnames
[] = { 
10577         (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL 
 
10580     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
10581     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
, 
10582     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10583     arg2 
= (int)SWIG_As_int(obj1
);  
10584     if (PyErr_Occurred()) SWIG_fail
; 
10585     arg3 
= (int)SWIG_As_int(obj2
);  
10586     if (PyErr_Occurred()) SWIG_fail
; 
10587     arg4 
= (int)SWIG_As_int(obj3
);  
10588     if (PyErr_Occurred()) SWIG_fail
; 
10589     arg5 
= (int)SWIG_As_int(obj4
);  
10590     if (PyErr_Occurred()) SWIG_fail
; 
10592         arg6 
= (bool)SWIG_As_bool(obj5
);  
10593         if (PyErr_Occurred()) SWIG_fail
; 
10596         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10597         (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
); 
10599         wxPyEndAllowThreads(__tstate
); 
10600         if (PyErr_Occurred()) SWIG_fail
; 
10602     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10609 static PyObject 
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10610     PyObject 
*resultobj
; 
10611     int arg1 
= (int) wxWINDOW_VARIANT_NORMAL 
; 
10612     wxVisualAttributes result
; 
10613     PyObject 
* obj0 
= 0 ; 
10614     char *kwnames
[] = { 
10615         (char *) "variant", NULL 
 
10618     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
10620         arg1 
= (int)SWIG_As_int(obj0
);  
10621         if (PyErr_Occurred()) SWIG_fail
; 
10624         if (!wxPyCheckForApp()) SWIG_fail
; 
10625         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10626         result 
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
10628         wxPyEndAllowThreads(__tstate
); 
10629         if (PyErr_Occurred()) SWIG_fail
; 
10632         wxVisualAttributes 
* resultptr
; 
10633         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&) result
); 
10634         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
10642 static PyObject 
* ScrollBar_swigregister(PyObject 
*, PyObject 
*args
) { 
10644     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
10645     SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
); 
10647     return Py_BuildValue((char *)""); 
10649 static int _wrap_SPIN_BUTTON_NAME_set(PyObject 
*) { 
10650     PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only."); 
10655 static PyObject 
*_wrap_SPIN_BUTTON_NAME_get() { 
10660         pyobj 
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len()); 
10662         pyobj 
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len()); 
10669 static int _wrap_SpinCtrlNameStr_set(PyObject 
*) { 
10670     PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only."); 
10675 static PyObject 
*_wrap_SpinCtrlNameStr_get() { 
10680         pyobj 
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len()); 
10682         pyobj 
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len()); 
10689 static PyObject 
*_wrap_new_SpinButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10690     PyObject 
*resultobj
; 
10691     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
10692     int arg2 
= (int) -1 ; 
10693     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
10694     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
10695     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
10696     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
10697     long arg5 
= (long) wxSP_HORIZONTAL 
; 
10698     wxString 
const &arg6_defvalue 
= wxPySPIN_BUTTON_NAME 
; 
10699     wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
10700     wxSpinButton 
*result
; 
10703     bool temp6 
= false ; 
10704     PyObject 
* obj0 
= 0 ; 
10705     PyObject 
* obj1 
= 0 ; 
10706     PyObject 
* obj2 
= 0 ; 
10707     PyObject 
* obj3 
= 0 ; 
10708     PyObject 
* obj4 
= 0 ; 
10709     PyObject 
* obj5 
= 0 ; 
10710     char *kwnames
[] = { 
10711         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
10714     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
10715     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
10716     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10718         arg2 
= (int)SWIG_As_int(obj1
);  
10719         if (PyErr_Occurred()) SWIG_fail
; 
10724             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
10730             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
10734         arg5 
= (long)SWIG_As_long(obj4
);  
10735         if (PyErr_Occurred()) SWIG_fail
; 
10739             arg6 
= wxString_in_helper(obj5
); 
10740             if (arg6 
== NULL
) SWIG_fail
; 
10745         if (!wxPyCheckForApp()) SWIG_fail
; 
10746         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10747         result 
= (wxSpinButton 
*)new wxSpinButton(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
10749         wxPyEndAllowThreads(__tstate
); 
10750         if (PyErr_Occurred()) SWIG_fail
; 
10752     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1); 
10767 static PyObject 
*_wrap_new_PreSpinButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10768     PyObject 
*resultobj
; 
10769     wxSpinButton 
*result
; 
10770     char *kwnames
[] = { 
10774     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
; 
10776         if (!wxPyCheckForApp()) SWIG_fail
; 
10777         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10778         result 
= (wxSpinButton 
*)new wxSpinButton(); 
10780         wxPyEndAllowThreads(__tstate
); 
10781         if (PyErr_Occurred()) SWIG_fail
; 
10783     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1); 
10790 static PyObject 
*_wrap_SpinButton_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10791     PyObject 
*resultobj
; 
10792     wxSpinButton 
*arg1 
= (wxSpinButton 
*) 0 ; 
10793     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
10794     int arg3 
= (int) -1 ; 
10795     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
10796     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
10797     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
10798     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
10799     long arg6 
= (long) wxSP_HORIZONTAL 
; 
10800     wxString 
const &arg7_defvalue 
= wxPySPIN_BUTTON_NAME 
; 
10801     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
10805     bool temp7 
= false ; 
10806     PyObject 
* obj0 
= 0 ; 
10807     PyObject 
* obj1 
= 0 ; 
10808     PyObject 
* obj2 
= 0 ; 
10809     PyObject 
* obj3 
= 0 ; 
10810     PyObject 
* obj4 
= 0 ; 
10811     PyObject 
* obj5 
= 0 ; 
10812     PyObject 
* obj6 
= 0 ; 
10813     char *kwnames
[] = { 
10814         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
10817     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
10818     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
, 
10819     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10820     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
10821     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10823         arg3 
= (int)SWIG_As_int(obj2
);  
10824         if (PyErr_Occurred()) SWIG_fail
; 
10829             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
10835             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
10839         arg6 
= (long)SWIG_As_long(obj5
);  
10840         if (PyErr_Occurred()) SWIG_fail
; 
10844             arg7 
= wxString_in_helper(obj6
); 
10845             if (arg7 
== NULL
) SWIG_fail
; 
10850         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10851         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
10853         wxPyEndAllowThreads(__tstate
); 
10854         if (PyErr_Occurred()) SWIG_fail
; 
10857         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10873 static PyObject 
*_wrap_SpinButton_GetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10874     PyObject 
*resultobj
; 
10875     wxSpinButton 
*arg1 
= (wxSpinButton 
*) 0 ; 
10877     PyObject 
* obj0 
= 0 ; 
10878     char *kwnames
[] = { 
10879         (char *) "self", NULL 
 
10882     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
; 
10883     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
, 
10884     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10886         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10887         result 
= (int)((wxSpinButton 
const *)arg1
)->GetValue(); 
10889         wxPyEndAllowThreads(__tstate
); 
10890         if (PyErr_Occurred()) SWIG_fail
; 
10892     resultobj 
= SWIG_From_int((int)result
); 
10899 static PyObject 
*_wrap_SpinButton_GetMin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10900     PyObject 
*resultobj
; 
10901     wxSpinButton 
*arg1 
= (wxSpinButton 
*) 0 ; 
10903     PyObject 
* obj0 
= 0 ; 
10904     char *kwnames
[] = { 
10905         (char *) "self", NULL 
 
10908     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
; 
10909     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
, 
10910     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10912         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10913         result 
= (int)((wxSpinButton 
const *)arg1
)->GetMin(); 
10915         wxPyEndAllowThreads(__tstate
); 
10916         if (PyErr_Occurred()) SWIG_fail
; 
10918     resultobj 
= SWIG_From_int((int)result
); 
10925 static PyObject 
*_wrap_SpinButton_GetMax(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10926     PyObject 
*resultobj
; 
10927     wxSpinButton 
*arg1 
= (wxSpinButton 
*) 0 ; 
10929     PyObject 
* obj0 
= 0 ; 
10930     char *kwnames
[] = { 
10931         (char *) "self", NULL 
 
10934     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
; 
10935     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
, 
10936     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10938         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10939         result 
= (int)((wxSpinButton 
const *)arg1
)->GetMax(); 
10941         wxPyEndAllowThreads(__tstate
); 
10942         if (PyErr_Occurred()) SWIG_fail
; 
10944     resultobj 
= SWIG_From_int((int)result
); 
10951 static PyObject 
*_wrap_SpinButton_SetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10952     PyObject 
*resultobj
; 
10953     wxSpinButton 
*arg1 
= (wxSpinButton 
*) 0 ; 
10955     PyObject 
* obj0 
= 0 ; 
10956     PyObject 
* obj1 
= 0 ; 
10957     char *kwnames
[] = { 
10958         (char *) "self",(char *) "val", NULL 
 
10961     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
10962     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
, 
10963     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10964     arg2 
= (int)SWIG_As_int(obj1
);  
10965     if (PyErr_Occurred()) SWIG_fail
; 
10967         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10968         (arg1
)->SetValue(arg2
); 
10970         wxPyEndAllowThreads(__tstate
); 
10971         if (PyErr_Occurred()) SWIG_fail
; 
10973     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10980 static PyObject 
*_wrap_SpinButton_SetMin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10981     PyObject 
*resultobj
; 
10982     wxSpinButton 
*arg1 
= (wxSpinButton 
*) 0 ; 
10984     PyObject 
* obj0 
= 0 ; 
10985     PyObject 
* obj1 
= 0 ; 
10986     char *kwnames
[] = { 
10987         (char *) "self",(char *) "minVal", NULL 
 
10990     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
; 
10991     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
, 
10992     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10993     arg2 
= (int)SWIG_As_int(obj1
);  
10994     if (PyErr_Occurred()) SWIG_fail
; 
10996         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10997         (arg1
)->SetMin(arg2
); 
10999         wxPyEndAllowThreads(__tstate
); 
11000         if (PyErr_Occurred()) SWIG_fail
; 
11002     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11009 static PyObject 
*_wrap_SpinButton_SetMax(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11010     PyObject 
*resultobj
; 
11011     wxSpinButton 
*arg1 
= (wxSpinButton 
*) 0 ; 
11013     PyObject 
* obj0 
= 0 ; 
11014     PyObject 
* obj1 
= 0 ; 
11015     char *kwnames
[] = { 
11016         (char *) "self",(char *) "maxVal", NULL 
 
11019     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
; 
11020     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
, 
11021     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11022     arg2 
= (int)SWIG_As_int(obj1
);  
11023     if (PyErr_Occurred()) SWIG_fail
; 
11025         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11026         (arg1
)->SetMax(arg2
); 
11028         wxPyEndAllowThreads(__tstate
); 
11029         if (PyErr_Occurred()) SWIG_fail
; 
11031     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11038 static PyObject 
*_wrap_SpinButton_SetRange(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11039     PyObject 
*resultobj
; 
11040     wxSpinButton 
*arg1 
= (wxSpinButton 
*) 0 ; 
11043     PyObject 
* obj0 
= 0 ; 
11044     PyObject 
* obj1 
= 0 ; 
11045     PyObject 
* obj2 
= 0 ; 
11046     char *kwnames
[] = { 
11047         (char *) "self",(char *) "minVal",(char *) "maxVal", NULL 
 
11050     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11051     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
, 
11052     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11053     arg2 
= (int)SWIG_As_int(obj1
);  
11054     if (PyErr_Occurred()) SWIG_fail
; 
11055     arg3 
= (int)SWIG_As_int(obj2
);  
11056     if (PyErr_Occurred()) SWIG_fail
; 
11058         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11059         (arg1
)->SetRange(arg2
,arg3
); 
11061         wxPyEndAllowThreads(__tstate
); 
11062         if (PyErr_Occurred()) SWIG_fail
; 
11064     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11071 static PyObject 
*_wrap_SpinButton_IsVertical(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11072     PyObject 
*resultobj
; 
11073     wxSpinButton 
*arg1 
= (wxSpinButton 
*) 0 ; 
11075     PyObject 
* obj0 
= 0 ; 
11076     char *kwnames
[] = { 
11077         (char *) "self", NULL 
 
11080     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
; 
11081     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
, 
11082     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11084         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11085         result 
= (bool)((wxSpinButton 
const *)arg1
)->IsVertical(); 
11087         wxPyEndAllowThreads(__tstate
); 
11088         if (PyErr_Occurred()) SWIG_fail
; 
11091         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11099 static PyObject 
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11100     PyObject 
*resultobj
; 
11101     int arg1 
= (int) wxWINDOW_VARIANT_NORMAL 
; 
11102     wxVisualAttributes result
; 
11103     PyObject 
* obj0 
= 0 ; 
11104     char *kwnames
[] = { 
11105         (char *) "variant", NULL 
 
11108     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
11110         arg1 
= (int)SWIG_As_int(obj0
);  
11111         if (PyErr_Occurred()) SWIG_fail
; 
11114         if (!wxPyCheckForApp()) SWIG_fail
; 
11115         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11116         result 
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
11118         wxPyEndAllowThreads(__tstate
); 
11119         if (PyErr_Occurred()) SWIG_fail
; 
11122         wxVisualAttributes 
* resultptr
; 
11123         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&) result
); 
11124         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
11132 static PyObject 
* SpinButton_swigregister(PyObject 
*, PyObject 
*args
) { 
11134     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
11135     SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
); 
11137     return Py_BuildValue((char *)""); 
11139 static PyObject 
*_wrap_new_SpinCtrl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11140     PyObject 
*resultobj
; 
11141     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
11142     int arg2 
= (int) -1 ; 
11143     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
11144     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
11145     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
11146     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
11147     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
11148     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
11149     long arg6 
= (long) wxSP_ARROW_KEYS 
; 
11150     int arg7 
= (int) 0 ; 
11151     int arg8 
= (int) 100 ; 
11152     int arg9 
= (int) 0 ; 
11153     wxString 
const &arg10_defvalue 
= wxPySpinCtrlNameStr 
; 
11154     wxString 
*arg10 
= (wxString 
*) &arg10_defvalue 
; 
11155     wxSpinCtrl 
*result
; 
11156     bool temp3 
= false ; 
11159     bool temp10 
= false ; 
11160     PyObject 
* obj0 
= 0 ; 
11161     PyObject 
* obj1 
= 0 ; 
11162     PyObject 
* obj2 
= 0 ; 
11163     PyObject 
* obj3 
= 0 ; 
11164     PyObject 
* obj4 
= 0 ; 
11165     PyObject 
* obj5 
= 0 ; 
11166     PyObject 
* obj6 
= 0 ; 
11167     PyObject 
* obj7 
= 0 ; 
11168     PyObject 
* obj8 
= 0 ; 
11169     PyObject 
* obj9 
= 0 ; 
11170     char *kwnames
[] = { 
11171         (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL 
 
11174     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
; 
11175     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
11176     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11178         arg2 
= (int)SWIG_As_int(obj1
);  
11179         if (PyErr_Occurred()) SWIG_fail
; 
11183             arg3 
= wxString_in_helper(obj2
); 
11184             if (arg3 
== NULL
) SWIG_fail
; 
11191             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
11197             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
11201         arg6 
= (long)SWIG_As_long(obj5
);  
11202         if (PyErr_Occurred()) SWIG_fail
; 
11205         arg7 
= (int)SWIG_As_int(obj6
);  
11206         if (PyErr_Occurred()) SWIG_fail
; 
11209         arg8 
= (int)SWIG_As_int(obj7
);  
11210         if (PyErr_Occurred()) SWIG_fail
; 
11213         arg9 
= (int)SWIG_As_int(obj8
);  
11214         if (PyErr_Occurred()) SWIG_fail
; 
11218             arg10 
= wxString_in_helper(obj9
); 
11219             if (arg10 
== NULL
) SWIG_fail
; 
11224         if (!wxPyCheckForApp()) SWIG_fail
; 
11225         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11226         result 
= (wxSpinCtrl 
*)new wxSpinCtrl(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString 
const &)*arg10
); 
11228         wxPyEndAllowThreads(__tstate
); 
11229         if (PyErr_Occurred()) SWIG_fail
; 
11231     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1); 
11254 static PyObject 
*_wrap_new_PreSpinCtrl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11255     PyObject 
*resultobj
; 
11256     wxSpinCtrl 
*result
; 
11257     char *kwnames
[] = { 
11261     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
; 
11263         if (!wxPyCheckForApp()) SWIG_fail
; 
11264         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11265         result 
= (wxSpinCtrl 
*)new wxSpinCtrl(); 
11267         wxPyEndAllowThreads(__tstate
); 
11268         if (PyErr_Occurred()) SWIG_fail
; 
11270     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1); 
11277 static PyObject 
*_wrap_SpinCtrl_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11278     PyObject 
*resultobj
; 
11279     wxSpinCtrl 
*arg1 
= (wxSpinCtrl 
*) 0 ; 
11280     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
11281     int arg3 
= (int) -1 ; 
11282     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
11283     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
11284     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
11285     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
11286     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
11287     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
11288     long arg7 
= (long) wxSP_ARROW_KEYS 
; 
11289     int arg8 
= (int) 0 ; 
11290     int arg9 
= (int) 100 ; 
11291     int arg10 
= (int) 0 ; 
11292     wxString 
const &arg11_defvalue 
= wxPySpinCtrlNameStr 
; 
11293     wxString 
*arg11 
= (wxString 
*) &arg11_defvalue 
; 
11295     bool temp4 
= false ; 
11298     bool temp11 
= false ; 
11299     PyObject 
* obj0 
= 0 ; 
11300     PyObject 
* obj1 
= 0 ; 
11301     PyObject 
* obj2 
= 0 ; 
11302     PyObject 
* obj3 
= 0 ; 
11303     PyObject 
* obj4 
= 0 ; 
11304     PyObject 
* obj5 
= 0 ; 
11305     PyObject 
* obj6 
= 0 ; 
11306     PyObject 
* obj7 
= 0 ; 
11307     PyObject 
* obj8 
= 0 ; 
11308     PyObject 
* obj9 
= 0 ; 
11309     PyObject 
* obj10 
= 0 ; 
11310     char *kwnames
[] = { 
11311         (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL 
 
11314     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
; 
11315     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
, 
11316     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11317     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
11318     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11320         arg3 
= (int)SWIG_As_int(obj2
);  
11321         if (PyErr_Occurred()) SWIG_fail
; 
11325             arg4 
= wxString_in_helper(obj3
); 
11326             if (arg4 
== NULL
) SWIG_fail
; 
11333             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
11339             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
11343         arg7 
= (long)SWIG_As_long(obj6
);  
11344         if (PyErr_Occurred()) SWIG_fail
; 
11347         arg8 
= (int)SWIG_As_int(obj7
);  
11348         if (PyErr_Occurred()) SWIG_fail
; 
11351         arg9 
= (int)SWIG_As_int(obj8
);  
11352         if (PyErr_Occurred()) SWIG_fail
; 
11355         arg10 
= (int)SWIG_As_int(obj9
);  
11356         if (PyErr_Occurred()) SWIG_fail
; 
11360             arg11 
= wxString_in_helper(obj10
); 
11361             if (arg11 
== NULL
) SWIG_fail
; 
11366         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11367         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString 
const &)*arg11
); 
11369         wxPyEndAllowThreads(__tstate
); 
11370         if (PyErr_Occurred()) SWIG_fail
; 
11373         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11397 static PyObject 
*_wrap_SpinCtrl_GetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11398     PyObject 
*resultobj
; 
11399     wxSpinCtrl 
*arg1 
= (wxSpinCtrl 
*) 0 ; 
11401     PyObject 
* obj0 
= 0 ; 
11402     char *kwnames
[] = { 
11403         (char *) "self", NULL 
 
11406     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
; 
11407     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
, 
11408     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11410         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11411         result 
= (int)((wxSpinCtrl 
const *)arg1
)->GetValue(); 
11413         wxPyEndAllowThreads(__tstate
); 
11414         if (PyErr_Occurred()) SWIG_fail
; 
11416     resultobj 
= SWIG_From_int((int)result
); 
11423 static PyObject 
*_wrap_SpinCtrl_SetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11424     PyObject 
*resultobj
; 
11425     wxSpinCtrl 
*arg1 
= (wxSpinCtrl 
*) 0 ; 
11427     PyObject 
* obj0 
= 0 ; 
11428     PyObject 
* obj1 
= 0 ; 
11429     char *kwnames
[] = { 
11430         (char *) "self",(char *) "value", NULL 
 
11433     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
11434     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
, 
11435     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11436     arg2 
= (int)SWIG_As_int(obj1
);  
11437     if (PyErr_Occurred()) SWIG_fail
; 
11439         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11440         (arg1
)->SetValue(arg2
); 
11442         wxPyEndAllowThreads(__tstate
); 
11443         if (PyErr_Occurred()) SWIG_fail
; 
11445     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11452 static PyObject 
*_wrap_SpinCtrl_SetValueString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11453     PyObject 
*resultobj
; 
11454     wxSpinCtrl 
*arg1 
= (wxSpinCtrl 
*) 0 ; 
11455     wxString 
*arg2 
= 0 ; 
11456     bool temp2 
= false ; 
11457     PyObject 
* obj0 
= 0 ; 
11458     PyObject 
* obj1 
= 0 ; 
11459     char *kwnames
[] = { 
11460         (char *) "self",(char *) "text", NULL 
 
11463     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
; 
11464     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
, 
11465     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11467         arg2 
= wxString_in_helper(obj1
); 
11468         if (arg2 
== NULL
) SWIG_fail
; 
11472         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11473         (arg1
)->SetValue((wxString 
const &)*arg2
); 
11475         wxPyEndAllowThreads(__tstate
); 
11476         if (PyErr_Occurred()) SWIG_fail
; 
11478     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11493 static PyObject 
*_wrap_SpinCtrl_SetRange(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11494     PyObject 
*resultobj
; 
11495     wxSpinCtrl 
*arg1 
= (wxSpinCtrl 
*) 0 ; 
11498     PyObject 
* obj0 
= 0 ; 
11499     PyObject 
* obj1 
= 0 ; 
11500     PyObject 
* obj2 
= 0 ; 
11501     char *kwnames
[] = { 
11502         (char *) "self",(char *) "minVal",(char *) "maxVal", NULL 
 
11505     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11506     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
, 
11507     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11508     arg2 
= (int)SWIG_As_int(obj1
);  
11509     if (PyErr_Occurred()) SWIG_fail
; 
11510     arg3 
= (int)SWIG_As_int(obj2
);  
11511     if (PyErr_Occurred()) SWIG_fail
; 
11513         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11514         (arg1
)->SetRange(arg2
,arg3
); 
11516         wxPyEndAllowThreads(__tstate
); 
11517         if (PyErr_Occurred()) SWIG_fail
; 
11519     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11526 static PyObject 
*_wrap_SpinCtrl_GetMin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11527     PyObject 
*resultobj
; 
11528     wxSpinCtrl 
*arg1 
= (wxSpinCtrl 
*) 0 ; 
11530     PyObject 
* obj0 
= 0 ; 
11531     char *kwnames
[] = { 
11532         (char *) "self", NULL 
 
11535     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
; 
11536     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
, 
11537     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11539         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11540         result 
= (int)((wxSpinCtrl 
const *)arg1
)->GetMin(); 
11542         wxPyEndAllowThreads(__tstate
); 
11543         if (PyErr_Occurred()) SWIG_fail
; 
11545     resultobj 
= SWIG_From_int((int)result
); 
11552 static PyObject 
*_wrap_SpinCtrl_GetMax(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11553     PyObject 
*resultobj
; 
11554     wxSpinCtrl 
*arg1 
= (wxSpinCtrl 
*) 0 ; 
11556     PyObject 
* obj0 
= 0 ; 
11557     char *kwnames
[] = { 
11558         (char *) "self", NULL 
 
11561     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
; 
11562     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
, 
11563     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11565         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11566         result 
= (int)((wxSpinCtrl 
const *)arg1
)->GetMax(); 
11568         wxPyEndAllowThreads(__tstate
); 
11569         if (PyErr_Occurred()) SWIG_fail
; 
11571     resultobj 
= SWIG_From_int((int)result
); 
11578 static PyObject 
*_wrap_SpinCtrl_SetSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11579     PyObject 
*resultobj
; 
11580     wxSpinCtrl 
*arg1 
= (wxSpinCtrl 
*) 0 ; 
11583     PyObject 
* obj0 
= 0 ; 
11584     PyObject 
* obj1 
= 0 ; 
11585     PyObject 
* obj2 
= 0 ; 
11586     char *kwnames
[] = { 
11587         (char *) "self",(char *) "from",(char *) "to", NULL 
 
11590     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11591     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
, 
11592     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11593     arg2 
= (long)SWIG_As_long(obj1
);  
11594     if (PyErr_Occurred()) SWIG_fail
; 
11595     arg3 
= (long)SWIG_As_long(obj2
);  
11596     if (PyErr_Occurred()) SWIG_fail
; 
11598         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11599         (arg1
)->SetSelection(arg2
,arg3
); 
11601         wxPyEndAllowThreads(__tstate
); 
11602         if (PyErr_Occurred()) SWIG_fail
; 
11604     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11611 static PyObject 
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11612     PyObject 
*resultobj
; 
11613     int arg1 
= (int) wxWINDOW_VARIANT_NORMAL 
; 
11614     wxVisualAttributes result
; 
11615     PyObject 
* obj0 
= 0 ; 
11616     char *kwnames
[] = { 
11617         (char *) "variant", NULL 
 
11620     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
11622         arg1 
= (int)SWIG_As_int(obj0
);  
11623         if (PyErr_Occurred()) SWIG_fail
; 
11626         if (!wxPyCheckForApp()) SWIG_fail
; 
11627         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11628         result 
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
11630         wxPyEndAllowThreads(__tstate
); 
11631         if (PyErr_Occurred()) SWIG_fail
; 
11634         wxVisualAttributes 
* resultptr
; 
11635         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&) result
); 
11636         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
11644 static PyObject 
* SpinCtrl_swigregister(PyObject 
*, PyObject 
*args
) { 
11646     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
11647     SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
); 
11649     return Py_BuildValue((char *)""); 
11651 static PyObject 
*_wrap_new_SpinEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11652     PyObject 
*resultobj
; 
11653     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
11654     int arg2 
= (int) 0 ; 
11655     wxSpinEvent 
*result
; 
11656     PyObject 
* obj0 
= 0 ; 
11657     PyObject 
* obj1 
= 0 ; 
11658     char *kwnames
[] = { 
11659         (char *) "commandType",(char *) "winid", NULL 
 
11662     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
; 
11664         arg1 
= (wxEventType
)SWIG_As_int(obj0
);  
11665         if (PyErr_Occurred()) SWIG_fail
; 
11668         arg2 
= (int)SWIG_As_int(obj1
);  
11669         if (PyErr_Occurred()) SWIG_fail
; 
11672         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11673         result 
= (wxSpinEvent 
*)new wxSpinEvent(arg1
,arg2
); 
11675         wxPyEndAllowThreads(__tstate
); 
11676         if (PyErr_Occurred()) SWIG_fail
; 
11678     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1); 
11685 static PyObject 
*_wrap_SpinEvent_GetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11686     PyObject 
*resultobj
; 
11687     wxSpinEvent 
*arg1 
= (wxSpinEvent 
*) 0 ; 
11689     PyObject 
* obj0 
= 0 ; 
11690     char *kwnames
[] = { 
11691         (char *) "self", NULL 
 
11694     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
; 
11695     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
, 
11696     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11698         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11699         result 
= (int)((wxSpinEvent 
const *)arg1
)->GetPosition(); 
11701         wxPyEndAllowThreads(__tstate
); 
11702         if (PyErr_Occurred()) SWIG_fail
; 
11704     resultobj 
= SWIG_From_int((int)result
); 
11711 static PyObject 
*_wrap_SpinEvent_SetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11712     PyObject 
*resultobj
; 
11713     wxSpinEvent 
*arg1 
= (wxSpinEvent 
*) 0 ; 
11715     PyObject 
* obj0 
= 0 ; 
11716     PyObject 
* obj1 
= 0 ; 
11717     char *kwnames
[] = { 
11718         (char *) "self",(char *) "pos", NULL 
 
11721     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
11722     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
, 
11723     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11724     arg2 
= (int)SWIG_As_int(obj1
);  
11725     if (PyErr_Occurred()) SWIG_fail
; 
11727         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11728         (arg1
)->SetPosition(arg2
); 
11730         wxPyEndAllowThreads(__tstate
); 
11731         if (PyErr_Occurred()) SWIG_fail
; 
11733     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11740 static PyObject 
* SpinEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
11742     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
11743     SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
); 
11745     return Py_BuildValue((char *)""); 
11747 static int _wrap_RadioBoxNameStr_set(PyObject 
*) { 
11748     PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only."); 
11753 static PyObject 
*_wrap_RadioBoxNameStr_get() { 
11758         pyobj 
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len()); 
11760         pyobj 
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len()); 
11767 static int _wrap_RadioButtonNameStr_set(PyObject 
*) { 
11768     PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only."); 
11773 static PyObject 
*_wrap_RadioButtonNameStr_get() { 
11778         pyobj 
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len()); 
11780         pyobj 
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len()); 
11787 static PyObject 
*_wrap_new_RadioBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11788     PyObject 
*resultobj
; 
11789     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
11790     int arg2 
= (int) -1 ; 
11791     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
11792     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
11793     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
11794     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
11795     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
11796     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
11797     wxArrayString 
const &arg6_defvalue 
= wxPyEmptyStringArray 
; 
11798     wxArrayString 
*arg6 
= (wxArrayString 
*) &arg6_defvalue 
; 
11799     int arg7 
= (int) 0 ; 
11800     long arg8 
= (long) wxRA_HORIZONTAL 
; 
11801     wxValidator 
const &arg9_defvalue 
= wxDefaultValidator 
; 
11802     wxValidator 
*arg9 
= (wxValidator 
*) &arg9_defvalue 
; 
11803     wxString 
const &arg10_defvalue 
= wxPyRadioBoxNameStr 
; 
11804     wxString 
*arg10 
= (wxString 
*) &arg10_defvalue 
; 
11805     wxRadioBox 
*result
; 
11806     bool temp3 
= false ; 
11809     bool temp6 
= false ; 
11810     bool temp10 
= false ; 
11811     PyObject 
* obj0 
= 0 ; 
11812     PyObject 
* obj1 
= 0 ; 
11813     PyObject 
* obj2 
= 0 ; 
11814     PyObject 
* obj3 
= 0 ; 
11815     PyObject 
* obj4 
= 0 ; 
11816     PyObject 
* obj5 
= 0 ; 
11817     PyObject 
* obj6 
= 0 ; 
11818     PyObject 
* obj7 
= 0 ; 
11819     PyObject 
* obj8 
= 0 ; 
11820     PyObject 
* obj9 
= 0 ; 
11821     char *kwnames
[] = { 
11822         (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
11825     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
; 
11826     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
11827     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11829         arg2 
= (int)SWIG_As_int(obj1
);  
11830         if (PyErr_Occurred()) SWIG_fail
; 
11834             arg3 
= wxString_in_helper(obj2
); 
11835             if (arg3 
== NULL
) SWIG_fail
; 
11842             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
11848             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
11853             if (! PySequence_Check(obj5
)) { 
11854                 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
11857             arg6 
= new wxArrayString
; 
11859             int i
, len
=PySequence_Length(obj5
); 
11860             for (i
=0; i
<len
; i
++) { 
11861                 PyObject
* item 
= PySequence_GetItem(obj5
, i
); 
11863                 PyObject
* str  
= PyObject_Unicode(item
); 
11865                 PyObject
* str  
= PyObject_Str(item
); 
11867                 if (PyErr_Occurred())  SWIG_fail
; 
11868                 arg6
->Add(Py2wxString(str
)); 
11875         arg7 
= (int)SWIG_As_int(obj6
);  
11876         if (PyErr_Occurred()) SWIG_fail
; 
11879         arg8 
= (long)SWIG_As_long(obj7
);  
11880         if (PyErr_Occurred()) SWIG_fail
; 
11883         if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
, 
11884         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
11886         if (arg9 
== NULL
) { 
11887             PyErr_SetString(PyExc_TypeError
,"null reference"); 
11893             arg10 
= wxString_in_helper(obj9
); 
11894             if (arg10 
== NULL
) SWIG_fail
; 
11899         if (!wxPyCheckForApp()) SWIG_fail
; 
11900         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11901         result 
= (wxRadioBox 
*)new wxRadioBox(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,(wxArrayString 
const &)*arg6
,arg7
,arg8
,(wxValidator 
const &)*arg9
,(wxString 
const &)*arg10
); 
11903         wxPyEndAllowThreads(__tstate
); 
11904         if (PyErr_Occurred()) SWIG_fail
; 
11906     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1); 
11912         if (temp6
) delete arg6
; 
11925         if (temp6
) delete arg6
; 
11935 static PyObject 
*_wrap_new_PreRadioBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11936     PyObject 
*resultobj
; 
11937     wxRadioBox 
*result
; 
11938     char *kwnames
[] = { 
11942     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
; 
11944         if (!wxPyCheckForApp()) SWIG_fail
; 
11945         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11946         result 
= (wxRadioBox 
*)new wxRadioBox(); 
11948         wxPyEndAllowThreads(__tstate
); 
11949         if (PyErr_Occurred()) SWIG_fail
; 
11951     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1); 
11958 static PyObject 
*_wrap_RadioBox_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11959     PyObject 
*resultobj
; 
11960     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
11961     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
11962     int arg3 
= (int) -1 ; 
11963     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
11964     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
11965     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
11966     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
11967     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
11968     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
11969     wxArrayString 
const &arg7_defvalue 
= wxPyEmptyStringArray 
; 
11970     wxArrayString 
*arg7 
= (wxArrayString 
*) &arg7_defvalue 
; 
11971     int arg8 
= (int) 0 ; 
11972     long arg9 
= (long) wxRA_HORIZONTAL 
; 
11973     wxValidator 
const &arg10_defvalue 
= wxDefaultValidator 
; 
11974     wxValidator 
*arg10 
= (wxValidator 
*) &arg10_defvalue 
; 
11975     wxString 
const &arg11_defvalue 
= wxPyRadioBoxNameStr 
; 
11976     wxString 
*arg11 
= (wxString 
*) &arg11_defvalue 
; 
11978     bool temp4 
= false ; 
11981     bool temp7 
= false ; 
11982     bool temp11 
= false ; 
11983     PyObject 
* obj0 
= 0 ; 
11984     PyObject 
* obj1 
= 0 ; 
11985     PyObject 
* obj2 
= 0 ; 
11986     PyObject 
* obj3 
= 0 ; 
11987     PyObject 
* obj4 
= 0 ; 
11988     PyObject 
* obj5 
= 0 ; 
11989     PyObject 
* obj6 
= 0 ; 
11990     PyObject 
* obj7 
= 0 ; 
11991     PyObject 
* obj8 
= 0 ; 
11992     PyObject 
* obj9 
= 0 ; 
11993     PyObject 
* obj10 
= 0 ; 
11994     char *kwnames
[] = { 
11995         (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
11998     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
; 
11999     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
, 
12000     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12001     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
12002     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12004         arg3 
= (int)SWIG_As_int(obj2
);  
12005         if (PyErr_Occurred()) SWIG_fail
; 
12009             arg4 
= wxString_in_helper(obj3
); 
12010             if (arg4 
== NULL
) SWIG_fail
; 
12017             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
12023             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
12028             if (! PySequence_Check(obj6
)) { 
12029                 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
12032             arg7 
= new wxArrayString
; 
12034             int i
, len
=PySequence_Length(obj6
); 
12035             for (i
=0; i
<len
; i
++) { 
12036                 PyObject
* item 
= PySequence_GetItem(obj6
, i
); 
12038                 PyObject
* str  
= PyObject_Unicode(item
); 
12040                 PyObject
* str  
= PyObject_Str(item
); 
12042                 if (PyErr_Occurred())  SWIG_fail
; 
12043                 arg7
->Add(Py2wxString(str
)); 
12050         arg8 
= (int)SWIG_As_int(obj7
);  
12051         if (PyErr_Occurred()) SWIG_fail
; 
12054         arg9 
= (long)SWIG_As_long(obj8
);  
12055         if (PyErr_Occurred()) SWIG_fail
; 
12058         if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
, 
12059         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
12061         if (arg10 
== NULL
) { 
12062             PyErr_SetString(PyExc_TypeError
,"null reference"); 
12068             arg11 
= wxString_in_helper(obj10
); 
12069             if (arg11 
== NULL
) SWIG_fail
; 
12074         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12075         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,(wxArrayString 
const &)*arg7
,arg8
,arg9
,(wxValidator 
const &)*arg10
,(wxString 
const &)*arg11
); 
12077         wxPyEndAllowThreads(__tstate
); 
12078         if (PyErr_Occurred()) SWIG_fail
; 
12081         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12088         if (temp7
) delete arg7
; 
12101         if (temp7
) delete arg7
; 
12111 static PyObject 
*_wrap_RadioBox_SetSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12112     PyObject 
*resultobj
; 
12113     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
12115     PyObject 
* obj0 
= 0 ; 
12116     PyObject 
* obj1 
= 0 ; 
12117     char *kwnames
[] = { 
12118         (char *) "self",(char *) "n", NULL 
 
12121     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
12122     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
, 
12123     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12124     arg2 
= (int)SWIG_As_int(obj1
);  
12125     if (PyErr_Occurred()) SWIG_fail
; 
12127         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12128         (arg1
)->SetSelection(arg2
); 
12130         wxPyEndAllowThreads(__tstate
); 
12131         if (PyErr_Occurred()) SWIG_fail
; 
12133     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12140 static PyObject 
*_wrap_RadioBox_GetSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12141     PyObject 
*resultobj
; 
12142     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
12144     PyObject 
* obj0 
= 0 ; 
12145     char *kwnames
[] = { 
12146         (char *) "self", NULL 
 
12149     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
; 
12150     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
, 
12151     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12153         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12154         result 
= (int)((wxRadioBox 
const *)arg1
)->GetSelection(); 
12156         wxPyEndAllowThreads(__tstate
); 
12157         if (PyErr_Occurred()) SWIG_fail
; 
12159     resultobj 
= SWIG_From_int((int)result
); 
12166 static PyObject 
*_wrap_RadioBox_GetStringSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12167     PyObject 
*resultobj
; 
12168     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
12170     PyObject 
* obj0 
= 0 ; 
12171     char *kwnames
[] = { 
12172         (char *) "self", NULL 
 
12175     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
; 
12176     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
, 
12177     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12179         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12180         result 
= ((wxRadioBox 
const *)arg1
)->GetStringSelection(); 
12182         wxPyEndAllowThreads(__tstate
); 
12183         if (PyErr_Occurred()) SWIG_fail
; 
12187         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
12189         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
12198 static PyObject 
*_wrap_RadioBox_SetStringSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12199     PyObject 
*resultobj
; 
12200     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
12201     wxString 
*arg2 
= 0 ; 
12203     bool temp2 
= false ; 
12204     PyObject 
* obj0 
= 0 ; 
12205     PyObject 
* obj1 
= 0 ; 
12206     char *kwnames
[] = { 
12207         (char *) "self",(char *) "s", NULL 
 
12210     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
12211     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
, 
12212     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12214         arg2 
= wxString_in_helper(obj1
); 
12215         if (arg2 
== NULL
) SWIG_fail
; 
12219         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12220         result 
= (bool)(arg1
)->SetStringSelection((wxString 
const &)*arg2
); 
12222         wxPyEndAllowThreads(__tstate
); 
12223         if (PyErr_Occurred()) SWIG_fail
; 
12226         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12242 static PyObject 
*_wrap_RadioBox_GetCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12243     PyObject 
*resultobj
; 
12244     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
12246     PyObject 
* obj0 
= 0 ; 
12247     char *kwnames
[] = { 
12248         (char *) "self", NULL 
 
12251     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
; 
12252     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
, 
12253     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12255         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12256         result 
= (int)((wxRadioBox 
const *)arg1
)->GetCount(); 
12258         wxPyEndAllowThreads(__tstate
); 
12259         if (PyErr_Occurred()) SWIG_fail
; 
12261     resultobj 
= SWIG_From_int((int)result
); 
12268 static PyObject 
*_wrap_RadioBox_FindString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12269     PyObject 
*resultobj
; 
12270     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
12271     wxString 
*arg2 
= 0 ; 
12273     bool temp2 
= false ; 
12274     PyObject 
* obj0 
= 0 ; 
12275     PyObject 
* obj1 
= 0 ; 
12276     char *kwnames
[] = { 
12277         (char *) "self",(char *) "s", NULL 
 
12280     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
; 
12281     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
, 
12282     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12284         arg2 
= wxString_in_helper(obj1
); 
12285         if (arg2 
== NULL
) SWIG_fail
; 
12289         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12290         result 
= (int)((wxRadioBox 
const *)arg1
)->FindString((wxString 
const &)*arg2
); 
12292         wxPyEndAllowThreads(__tstate
); 
12293         if (PyErr_Occurred()) SWIG_fail
; 
12295     resultobj 
= SWIG_From_int((int)result
); 
12310 static PyObject 
*_wrap_RadioBox_GetString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12311     PyObject 
*resultobj
; 
12312     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
12315     PyObject 
* obj0 
= 0 ; 
12316     PyObject 
* obj1 
= 0 ; 
12317     char *kwnames
[] = { 
12318         (char *) "self",(char *) "n", NULL 
 
12321     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
; 
12322     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
, 
12323     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12324     arg2 
= (int)SWIG_As_int(obj1
);  
12325     if (PyErr_Occurred()) SWIG_fail
; 
12327         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12328         result 
= ((wxRadioBox 
const *)arg1
)->GetString(arg2
); 
12330         wxPyEndAllowThreads(__tstate
); 
12331         if (PyErr_Occurred()) SWIG_fail
; 
12335         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
12337         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
12346 static PyObject 
*_wrap_RadioBox_SetString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12347     PyObject 
*resultobj
; 
12348     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
12350     wxString 
*arg3 
= 0 ; 
12351     bool temp3 
= false ; 
12352     PyObject 
* obj0 
= 0 ; 
12353     PyObject 
* obj1 
= 0 ; 
12354     PyObject 
* obj2 
= 0 ; 
12355     char *kwnames
[] = { 
12356         (char *) "self",(char *) "n",(char *) "label", NULL 
 
12359     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12360     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
, 
12361     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12362     arg2 
= (int)SWIG_As_int(obj1
);  
12363     if (PyErr_Occurred()) SWIG_fail
; 
12365         arg3 
= wxString_in_helper(obj2
); 
12366         if (arg3 
== NULL
) SWIG_fail
; 
12370         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12371         (arg1
)->SetString(arg2
,(wxString 
const &)*arg3
); 
12373         wxPyEndAllowThreads(__tstate
); 
12374         if (PyErr_Occurred()) SWIG_fail
; 
12376     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12391 static PyObject 
*_wrap_RadioBox_EnableItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12392     PyObject 
*resultobj
; 
12393     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
12395     bool arg3 
= (bool) true ; 
12396     PyObject 
* obj0 
= 0 ; 
12397     PyObject 
* obj1 
= 0 ; 
12398     PyObject 
* obj2 
= 0 ; 
12399     char *kwnames
[] = { 
12400         (char *) "self",(char *) "n",(char *) "enable", NULL 
 
12403     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12404     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
, 
12405     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12406     arg2 
= (int)SWIG_As_int(obj1
);  
12407     if (PyErr_Occurred()) SWIG_fail
; 
12409         arg3 
= (bool)SWIG_As_bool(obj2
);  
12410         if (PyErr_Occurred()) SWIG_fail
; 
12413         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12414         (arg1
)->Enable(arg2
,arg3
); 
12416         wxPyEndAllowThreads(__tstate
); 
12417         if (PyErr_Occurred()) SWIG_fail
; 
12419     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12426 static PyObject 
*_wrap_RadioBox_ShowItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12427     PyObject 
*resultobj
; 
12428     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
12430     bool arg3 
= (bool) true ; 
12431     PyObject 
* obj0 
= 0 ; 
12432     PyObject 
* obj1 
= 0 ; 
12433     PyObject 
* obj2 
= 0 ; 
12434     char *kwnames
[] = { 
12435         (char *) "self",(char *) "n",(char *) "show", NULL 
 
12438     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12439     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
, 
12440     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12441     arg2 
= (int)SWIG_As_int(obj1
);  
12442     if (PyErr_Occurred()) SWIG_fail
; 
12444         arg3 
= (bool)SWIG_As_bool(obj2
);  
12445         if (PyErr_Occurred()) SWIG_fail
; 
12448         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12449         (arg1
)->Show(arg2
,arg3
); 
12451         wxPyEndAllowThreads(__tstate
); 
12452         if (PyErr_Occurred()) SWIG_fail
; 
12454     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12461 static PyObject 
*_wrap_RadioBox_GetColumnCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12462     PyObject 
*resultobj
; 
12463     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
12465     PyObject 
* obj0 
= 0 ; 
12466     char *kwnames
[] = { 
12467         (char *) "self", NULL 
 
12470     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
; 
12471     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
, 
12472     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12474         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12475         result 
= (int)wxRadioBox_GetColumnCount((wxRadioBox 
const *)arg1
); 
12477         wxPyEndAllowThreads(__tstate
); 
12478         if (PyErr_Occurred()) SWIG_fail
; 
12480     resultobj 
= SWIG_From_int((int)result
); 
12487 static PyObject 
*_wrap_RadioBox_GetRowCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12488     PyObject 
*resultobj
; 
12489     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
12491     PyObject 
* obj0 
= 0 ; 
12492     char *kwnames
[] = { 
12493         (char *) "self", NULL 
 
12496     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
; 
12497     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
, 
12498     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12500         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12501         result 
= (int)wxRadioBox_GetRowCount((wxRadioBox 
const *)arg1
); 
12503         wxPyEndAllowThreads(__tstate
); 
12504         if (PyErr_Occurred()) SWIG_fail
; 
12506     resultobj 
= SWIG_From_int((int)result
); 
12513 static PyObject 
*_wrap_RadioBox_GetNextItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12514     PyObject 
*resultobj
; 
12515     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
12520     PyObject 
* obj0 
= 0 ; 
12521     PyObject 
* obj1 
= 0 ; 
12522     PyObject 
* obj2 
= 0 ; 
12523     PyObject 
* obj3 
= 0 ; 
12524     char *kwnames
[] = { 
12525         (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL 
 
12528     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12529     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
, 
12530     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12531     arg2 
= (int)SWIG_As_int(obj1
);  
12532     if (PyErr_Occurred()) SWIG_fail
; 
12533     arg3 
= (int)SWIG_As_int(obj2
);  
12534     if (PyErr_Occurred()) SWIG_fail
; 
12535     arg4 
= (long)SWIG_As_long(obj3
);  
12536     if (PyErr_Occurred()) SWIG_fail
; 
12538         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12539         result 
= (int)wxRadioBox_GetNextItem((wxRadioBox 
const *)arg1
,arg2
,(wxDirection 
)arg3
,arg4
); 
12541         wxPyEndAllowThreads(__tstate
); 
12542         if (PyErr_Occurred()) SWIG_fail
; 
12544     resultobj 
= SWIG_From_int((int)result
); 
12551 static PyObject 
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12552     PyObject 
*resultobj
; 
12553     int arg1 
= (int) wxWINDOW_VARIANT_NORMAL 
; 
12554     wxVisualAttributes result
; 
12555     PyObject 
* obj0 
= 0 ; 
12556     char *kwnames
[] = { 
12557         (char *) "variant", NULL 
 
12560     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
12562         arg1 
= (int)SWIG_As_int(obj0
);  
12563         if (PyErr_Occurred()) SWIG_fail
; 
12566         if (!wxPyCheckForApp()) SWIG_fail
; 
12567         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12568         result 
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
12570         wxPyEndAllowThreads(__tstate
); 
12571         if (PyErr_Occurred()) SWIG_fail
; 
12574         wxVisualAttributes 
* resultptr
; 
12575         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&) result
); 
12576         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
12584 static PyObject 
* RadioBox_swigregister(PyObject 
*, PyObject 
*args
) { 
12586     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
12587     SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
); 
12589     return Py_BuildValue((char *)""); 
12591 static PyObject 
*_wrap_new_RadioButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12592     PyObject 
*resultobj
; 
12593     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
12594     int arg2 
= (int) -1 ; 
12595     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
12596     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
12597     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
12598     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
12599     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
12600     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
12601     long arg6 
= (long) 0 ; 
12602     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
12603     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
12604     wxString 
const &arg8_defvalue 
= wxPyRadioButtonNameStr 
; 
12605     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
12606     wxRadioButton 
*result
; 
12607     bool temp3 
= false ; 
12610     bool temp8 
= false ; 
12611     PyObject 
* obj0 
= 0 ; 
12612     PyObject 
* obj1 
= 0 ; 
12613     PyObject 
* obj2 
= 0 ; 
12614     PyObject 
* obj3 
= 0 ; 
12615     PyObject 
* obj4 
= 0 ; 
12616     PyObject 
* obj5 
= 0 ; 
12617     PyObject 
* obj6 
= 0 ; 
12618     PyObject 
* obj7 
= 0 ; 
12619     char *kwnames
[] = { 
12620         (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
12623     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
12624     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
12625     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12627         arg2 
= (int)SWIG_As_int(obj1
);  
12628         if (PyErr_Occurred()) SWIG_fail
; 
12632             arg3 
= wxString_in_helper(obj2
); 
12633             if (arg3 
== NULL
) SWIG_fail
; 
12640             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
12646             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
12650         arg6 
= (long)SWIG_As_long(obj5
);  
12651         if (PyErr_Occurred()) SWIG_fail
; 
12654         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
, 
12655         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
12657         if (arg7 
== NULL
) { 
12658             PyErr_SetString(PyExc_TypeError
,"null reference"); 
12664             arg8 
= wxString_in_helper(obj7
); 
12665             if (arg8 
== NULL
) SWIG_fail
; 
12670         if (!wxPyCheckForApp()) SWIG_fail
; 
12671         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12672         result 
= (wxRadioButton 
*)new wxRadioButton(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
12674         wxPyEndAllowThreads(__tstate
); 
12675         if (PyErr_Occurred()) SWIG_fail
; 
12677     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1); 
12700 static PyObject 
*_wrap_new_PreRadioButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12701     PyObject 
*resultobj
; 
12702     wxRadioButton 
*result
; 
12703     char *kwnames
[] = { 
12707     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
; 
12709         if (!wxPyCheckForApp()) SWIG_fail
; 
12710         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12711         result 
= (wxRadioButton 
*)new wxRadioButton(); 
12713         wxPyEndAllowThreads(__tstate
); 
12714         if (PyErr_Occurred()) SWIG_fail
; 
12716     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1); 
12723 static PyObject 
*_wrap_RadioButton_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12724     PyObject 
*resultobj
; 
12725     wxRadioButton 
*arg1 
= (wxRadioButton 
*) 0 ; 
12726     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
12727     int arg3 
= (int) -1 ; 
12728     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
12729     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
12730     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
12731     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
12732     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
12733     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
12734     long arg7 
= (long) 0 ; 
12735     wxValidator 
const &arg8_defvalue 
= wxDefaultValidator 
; 
12736     wxValidator 
*arg8 
= (wxValidator 
*) &arg8_defvalue 
; 
12737     wxString 
const &arg9_defvalue 
= wxPyRadioButtonNameStr 
; 
12738     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
12740     bool temp4 
= false ; 
12743     bool temp9 
= false ; 
12744     PyObject 
* obj0 
= 0 ; 
12745     PyObject 
* obj1 
= 0 ; 
12746     PyObject 
* obj2 
= 0 ; 
12747     PyObject 
* obj3 
= 0 ; 
12748     PyObject 
* obj4 
= 0 ; 
12749     PyObject 
* obj5 
= 0 ; 
12750     PyObject 
* obj6 
= 0 ; 
12751     PyObject 
* obj7 
= 0 ; 
12752     PyObject 
* obj8 
= 0 ; 
12753     char *kwnames
[] = { 
12754         (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
12757     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
12758     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
, 
12759     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12760     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
12761     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12763         arg3 
= (int)SWIG_As_int(obj2
);  
12764         if (PyErr_Occurred()) SWIG_fail
; 
12768             arg4 
= wxString_in_helper(obj3
); 
12769             if (arg4 
== NULL
) SWIG_fail
; 
12776             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
12782             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
12786         arg7 
= (long)SWIG_As_long(obj6
);  
12787         if (PyErr_Occurred()) SWIG_fail
; 
12790         if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
, 
12791         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
12793         if (arg8 
== NULL
) { 
12794             PyErr_SetString(PyExc_TypeError
,"null reference"); 
12800             arg9 
= wxString_in_helper(obj8
); 
12801             if (arg9 
== NULL
) SWIG_fail
; 
12806         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12807         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxValidator 
const &)*arg8
,(wxString 
const &)*arg9
); 
12809         wxPyEndAllowThreads(__tstate
); 
12810         if (PyErr_Occurred()) SWIG_fail
; 
12813         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12837 static PyObject 
*_wrap_RadioButton_GetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12838     PyObject 
*resultobj
; 
12839     wxRadioButton 
*arg1 
= (wxRadioButton 
*) 0 ; 
12841     PyObject 
* obj0 
= 0 ; 
12842     char *kwnames
[] = { 
12843         (char *) "self", NULL 
 
12846     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
; 
12847     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
, 
12848     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12850         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12851         result 
= (bool)(arg1
)->GetValue(); 
12853         wxPyEndAllowThreads(__tstate
); 
12854         if (PyErr_Occurred()) SWIG_fail
; 
12857         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12865 static PyObject 
*_wrap_RadioButton_SetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12866     PyObject 
*resultobj
; 
12867     wxRadioButton 
*arg1 
= (wxRadioButton 
*) 0 ; 
12869     PyObject 
* obj0 
= 0 ; 
12870     PyObject 
* obj1 
= 0 ; 
12871     char *kwnames
[] = { 
12872         (char *) "self",(char *) "value", NULL 
 
12875     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
12876     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
, 
12877     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12878     arg2 
= (bool)SWIG_As_bool(obj1
);  
12879     if (PyErr_Occurred()) SWIG_fail
; 
12881         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12882         (arg1
)->SetValue(arg2
); 
12884         wxPyEndAllowThreads(__tstate
); 
12885         if (PyErr_Occurred()) SWIG_fail
; 
12887     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12894 static PyObject 
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12895     PyObject 
*resultobj
; 
12896     int arg1 
= (int) wxWINDOW_VARIANT_NORMAL 
; 
12897     wxVisualAttributes result
; 
12898     PyObject 
* obj0 
= 0 ; 
12899     char *kwnames
[] = { 
12900         (char *) "variant", NULL 
 
12903     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
12905         arg1 
= (int)SWIG_As_int(obj0
);  
12906         if (PyErr_Occurred()) SWIG_fail
; 
12909         if (!wxPyCheckForApp()) SWIG_fail
; 
12910         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12911         result 
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
12913         wxPyEndAllowThreads(__tstate
); 
12914         if (PyErr_Occurred()) SWIG_fail
; 
12917         wxVisualAttributes 
* resultptr
; 
12918         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&) result
); 
12919         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
12927 static PyObject 
* RadioButton_swigregister(PyObject 
*, PyObject 
*args
) { 
12929     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
12930     SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
); 
12932     return Py_BuildValue((char *)""); 
12934 static int _wrap_SliderNameStr_set(PyObject 
*) { 
12935     PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only."); 
12940 static PyObject 
*_wrap_SliderNameStr_get() { 
12945         pyobj 
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len()); 
12947         pyobj 
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len()); 
12954 static PyObject 
*_wrap_new_Slider(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12955     PyObject 
*resultobj
; 
12956     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
12957     int arg2 
= (int) -1 ; 
12958     int arg3 
= (int) 0 ; 
12959     int arg4 
= (int) 0 ; 
12960     int arg5 
= (int) 100 ; 
12961     wxPoint 
const &arg6_defvalue 
= wxDefaultPosition 
; 
12962     wxPoint 
*arg6 
= (wxPoint 
*) &arg6_defvalue 
; 
12963     wxSize 
const &arg7_defvalue 
= wxDefaultSize 
; 
12964     wxSize 
*arg7 
= (wxSize 
*) &arg7_defvalue 
; 
12965     long arg8 
= (long) wxSL_HORIZONTAL 
; 
12966     wxValidator 
const &arg9_defvalue 
= wxDefaultValidator 
; 
12967     wxValidator 
*arg9 
= (wxValidator 
*) &arg9_defvalue 
; 
12968     wxString 
const &arg10_defvalue 
= wxPySliderNameStr 
; 
12969     wxString 
*arg10 
= (wxString 
*) &arg10_defvalue 
; 
12973     bool temp10 
= false ; 
12974     PyObject 
* obj0 
= 0 ; 
12975     PyObject 
* obj1 
= 0 ; 
12976     PyObject 
* obj2 
= 0 ; 
12977     PyObject 
* obj3 
= 0 ; 
12978     PyObject 
* obj4 
= 0 ; 
12979     PyObject 
* obj5 
= 0 ; 
12980     PyObject 
* obj6 
= 0 ; 
12981     PyObject 
* obj7 
= 0 ; 
12982     PyObject 
* obj8 
= 0 ; 
12983     PyObject 
* obj9 
= 0 ; 
12984     char *kwnames
[] = { 
12985         (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
12988     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
; 
12989     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
12990     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12992         arg2 
= (int)SWIG_As_int(obj1
);  
12993         if (PyErr_Occurred()) SWIG_fail
; 
12996         arg3 
= (int)SWIG_As_int(obj2
);  
12997         if (PyErr_Occurred()) SWIG_fail
; 
13000         arg4 
= (int)SWIG_As_int(obj3
);  
13001         if (PyErr_Occurred()) SWIG_fail
; 
13004         arg5 
= (int)SWIG_As_int(obj4
);  
13005         if (PyErr_Occurred()) SWIG_fail
; 
13010             if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
; 
13016             if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
; 
13020         arg8 
= (long)SWIG_As_long(obj7
);  
13021         if (PyErr_Occurred()) SWIG_fail
; 
13024         if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
, 
13025         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
13027         if (arg9 
== NULL
) { 
13028             PyErr_SetString(PyExc_TypeError
,"null reference"); 
13034             arg10 
= wxString_in_helper(obj9
); 
13035             if (arg10 
== NULL
) SWIG_fail
; 
13040         if (!wxPyCheckForApp()) SWIG_fail
; 
13041         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13042         result 
= (wxSlider 
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint 
const &)*arg6
,(wxSize 
const &)*arg7
,arg8
,(wxValidator 
const &)*arg9
,(wxString 
const &)*arg10
); 
13044         wxPyEndAllowThreads(__tstate
); 
13045         if (PyErr_Occurred()) SWIG_fail
; 
13047     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1); 
13062 static PyObject 
*_wrap_new_PreSlider(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13063     PyObject 
*resultobj
; 
13065     char *kwnames
[] = { 
13069     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
; 
13071         if (!wxPyCheckForApp()) SWIG_fail
; 
13072         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13073         result 
= (wxSlider 
*)new wxSlider(); 
13075         wxPyEndAllowThreads(__tstate
); 
13076         if (PyErr_Occurred()) SWIG_fail
; 
13078     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1); 
13085 static PyObject 
*_wrap_Slider_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13086     PyObject 
*resultobj
; 
13087     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
13088     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
13089     int arg3 
= (int) -1 ; 
13090     int arg4 
= (int) 0 ; 
13091     int arg5 
= (int) 0 ; 
13092     int arg6 
= (int) 100 ; 
13093     wxPoint 
const &arg7_defvalue 
= wxDefaultPosition 
; 
13094     wxPoint 
*arg7 
= (wxPoint 
*) &arg7_defvalue 
; 
13095     wxSize 
const &arg8_defvalue 
= wxDefaultSize 
; 
13096     wxSize 
*arg8 
= (wxSize 
*) &arg8_defvalue 
; 
13097     long arg9 
= (long) wxSL_HORIZONTAL 
; 
13098     wxValidator 
const &arg10_defvalue 
= wxDefaultValidator 
; 
13099     wxValidator 
*arg10 
= (wxValidator 
*) &arg10_defvalue 
; 
13100     wxString 
const &arg11_defvalue 
= wxPySliderNameStr 
; 
13101     wxString 
*arg11 
= (wxString 
*) &arg11_defvalue 
; 
13105     bool temp11 
= false ; 
13106     PyObject 
* obj0 
= 0 ; 
13107     PyObject 
* obj1 
= 0 ; 
13108     PyObject 
* obj2 
= 0 ; 
13109     PyObject 
* obj3 
= 0 ; 
13110     PyObject 
* obj4 
= 0 ; 
13111     PyObject 
* obj5 
= 0 ; 
13112     PyObject 
* obj6 
= 0 ; 
13113     PyObject 
* obj7 
= 0 ; 
13114     PyObject 
* obj8 
= 0 ; 
13115     PyObject 
* obj9 
= 0 ; 
13116     PyObject 
* obj10 
= 0 ; 
13117     char *kwnames
[] = { 
13118         (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
13121     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
; 
13122     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
13123     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13124     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
13125     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13127         arg3 
= (int)SWIG_As_int(obj2
);  
13128         if (PyErr_Occurred()) SWIG_fail
; 
13131         arg4 
= (int)SWIG_As_int(obj3
);  
13132         if (PyErr_Occurred()) SWIG_fail
; 
13135         arg5 
= (int)SWIG_As_int(obj4
);  
13136         if (PyErr_Occurred()) SWIG_fail
; 
13139         arg6 
= (int)SWIG_As_int(obj5
);  
13140         if (PyErr_Occurred()) SWIG_fail
; 
13145             if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
; 
13151             if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
; 
13155         arg9 
= (long)SWIG_As_long(obj8
);  
13156         if (PyErr_Occurred()) SWIG_fail
; 
13159         if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
, 
13160         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
13162         if (arg10 
== NULL
) { 
13163             PyErr_SetString(PyExc_TypeError
,"null reference"); 
13169             arg11 
= wxString_in_helper(obj10
); 
13170             if (arg11 
== NULL
) SWIG_fail
; 
13175         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13176         result 
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint 
const &)*arg7
,(wxSize 
const &)*arg8
,arg9
,(wxValidator 
const &)*arg10
,(wxString 
const &)*arg11
); 
13178         wxPyEndAllowThreads(__tstate
); 
13179         if (PyErr_Occurred()) SWIG_fail
; 
13182         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13198 static PyObject 
*_wrap_Slider_GetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13199     PyObject 
*resultobj
; 
13200     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
13202     PyObject 
* obj0 
= 0 ; 
13203     char *kwnames
[] = { 
13204         (char *) "self", NULL 
 
13207     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
; 
13208     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
13209     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13211         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13212         result 
= (int)((wxSlider 
const *)arg1
)->GetValue(); 
13214         wxPyEndAllowThreads(__tstate
); 
13215         if (PyErr_Occurred()) SWIG_fail
; 
13217     resultobj 
= SWIG_From_int((int)result
); 
13224 static PyObject 
*_wrap_Slider_SetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13225     PyObject 
*resultobj
; 
13226     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
13228     PyObject 
* obj0 
= 0 ; 
13229     PyObject 
* obj1 
= 0 ; 
13230     char *kwnames
[] = { 
13231         (char *) "self",(char *) "value", NULL 
 
13234     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
13235     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
13236     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13237     arg2 
= (int)SWIG_As_int(obj1
);  
13238     if (PyErr_Occurred()) SWIG_fail
; 
13240         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13241         (arg1
)->SetValue(arg2
); 
13243         wxPyEndAllowThreads(__tstate
); 
13244         if (PyErr_Occurred()) SWIG_fail
; 
13246     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13253 static PyObject 
*_wrap_Slider_SetRange(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13254     PyObject 
*resultobj
; 
13255     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
13258     PyObject 
* obj0 
= 0 ; 
13259     PyObject 
* obj1 
= 0 ; 
13260     PyObject 
* obj2 
= 0 ; 
13261     char *kwnames
[] = { 
13262         (char *) "self",(char *) "minValue",(char *) "maxValue", NULL 
 
13265     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13266     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
13267     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13268     arg2 
= (int)SWIG_As_int(obj1
);  
13269     if (PyErr_Occurred()) SWIG_fail
; 
13270     arg3 
= (int)SWIG_As_int(obj2
);  
13271     if (PyErr_Occurred()) SWIG_fail
; 
13273         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13274         (arg1
)->SetRange(arg2
,arg3
); 
13276         wxPyEndAllowThreads(__tstate
); 
13277         if (PyErr_Occurred()) SWIG_fail
; 
13279     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13286 static PyObject 
*_wrap_Slider_GetMin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13287     PyObject 
*resultobj
; 
13288     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
13290     PyObject 
* obj0 
= 0 ; 
13291     char *kwnames
[] = { 
13292         (char *) "self", NULL 
 
13295     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
; 
13296     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
13297     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13299         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13300         result 
= (int)((wxSlider 
const *)arg1
)->GetMin(); 
13302         wxPyEndAllowThreads(__tstate
); 
13303         if (PyErr_Occurred()) SWIG_fail
; 
13305     resultobj 
= SWIG_From_int((int)result
); 
13312 static PyObject 
*_wrap_Slider_GetMax(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13313     PyObject 
*resultobj
; 
13314     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
13316     PyObject 
* obj0 
= 0 ; 
13317     char *kwnames
[] = { 
13318         (char *) "self", NULL 
 
13321     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
; 
13322     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
13323     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13325         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13326         result 
= (int)((wxSlider 
const *)arg1
)->GetMax(); 
13328         wxPyEndAllowThreads(__tstate
); 
13329         if (PyErr_Occurred()) SWIG_fail
; 
13331     resultobj 
= SWIG_From_int((int)result
); 
13338 static PyObject 
*_wrap_Slider_SetMin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13339     PyObject 
*resultobj
; 
13340     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
13342     PyObject 
* obj0 
= 0 ; 
13343     PyObject 
* obj1 
= 0 ; 
13344     char *kwnames
[] = { 
13345         (char *) "self",(char *) "minValue", NULL 
 
13348     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
; 
13349     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
13350     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13351     arg2 
= (int)SWIG_As_int(obj1
);  
13352     if (PyErr_Occurred()) SWIG_fail
; 
13354         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13355         (arg1
)->SetMin(arg2
); 
13357         wxPyEndAllowThreads(__tstate
); 
13358         if (PyErr_Occurred()) SWIG_fail
; 
13360     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13367 static PyObject 
*_wrap_Slider_SetMax(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13368     PyObject 
*resultobj
; 
13369     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
13371     PyObject 
* obj0 
= 0 ; 
13372     PyObject 
* obj1 
= 0 ; 
13373     char *kwnames
[] = { 
13374         (char *) "self",(char *) "maxValue", NULL 
 
13377     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
; 
13378     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
13379     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13380     arg2 
= (int)SWIG_As_int(obj1
);  
13381     if (PyErr_Occurred()) SWIG_fail
; 
13383         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13384         (arg1
)->SetMax(arg2
); 
13386         wxPyEndAllowThreads(__tstate
); 
13387         if (PyErr_Occurred()) SWIG_fail
; 
13389     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13396 static PyObject 
*_wrap_Slider_SetLineSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13397     PyObject 
*resultobj
; 
13398     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
13400     PyObject 
* obj0 
= 0 ; 
13401     PyObject 
* obj1 
= 0 ; 
13402     char *kwnames
[] = { 
13403         (char *) "self",(char *) "lineSize", NULL 
 
13406     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
13407     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
13408     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13409     arg2 
= (int)SWIG_As_int(obj1
);  
13410     if (PyErr_Occurred()) SWIG_fail
; 
13412         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13413         (arg1
)->SetLineSize(arg2
); 
13415         wxPyEndAllowThreads(__tstate
); 
13416         if (PyErr_Occurred()) SWIG_fail
; 
13418     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13425 static PyObject 
*_wrap_Slider_SetPageSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13426     PyObject 
*resultobj
; 
13427     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
13429     PyObject 
* obj0 
= 0 ; 
13430     PyObject 
* obj1 
= 0 ; 
13431     char *kwnames
[] = { 
13432         (char *) "self",(char *) "pageSize", NULL 
 
13435     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
13436     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
13437     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13438     arg2 
= (int)SWIG_As_int(obj1
);  
13439     if (PyErr_Occurred()) SWIG_fail
; 
13441         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13442         (arg1
)->SetPageSize(arg2
); 
13444         wxPyEndAllowThreads(__tstate
); 
13445         if (PyErr_Occurred()) SWIG_fail
; 
13447     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13454 static PyObject 
*_wrap_Slider_GetLineSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13455     PyObject 
*resultobj
; 
13456     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
13458     PyObject 
* obj0 
= 0 ; 
13459     char *kwnames
[] = { 
13460         (char *) "self", NULL 
 
13463     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
; 
13464     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
13465     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13467         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13468         result 
= (int)((wxSlider 
const *)arg1
)->GetLineSize(); 
13470         wxPyEndAllowThreads(__tstate
); 
13471         if (PyErr_Occurred()) SWIG_fail
; 
13473     resultobj 
= SWIG_From_int((int)result
); 
13480 static PyObject 
*_wrap_Slider_GetPageSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13481     PyObject 
*resultobj
; 
13482     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
13484     PyObject 
* obj0 
= 0 ; 
13485     char *kwnames
[] = { 
13486         (char *) "self", NULL 
 
13489     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
; 
13490     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
13491     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13493         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13494         result 
= (int)((wxSlider 
const *)arg1
)->GetPageSize(); 
13496         wxPyEndAllowThreads(__tstate
); 
13497         if (PyErr_Occurred()) SWIG_fail
; 
13499     resultobj 
= SWIG_From_int((int)result
); 
13506 static PyObject 
*_wrap_Slider_SetThumbLength(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13507     PyObject 
*resultobj
; 
13508     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
13510     PyObject 
* obj0 
= 0 ; 
13511     PyObject 
* obj1 
= 0 ; 
13512     char *kwnames
[] = { 
13513         (char *) "self",(char *) "lenPixels", NULL 
 
13516     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
; 
13517     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
13518     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13519     arg2 
= (int)SWIG_As_int(obj1
);  
13520     if (PyErr_Occurred()) SWIG_fail
; 
13522         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13523         (arg1
)->SetThumbLength(arg2
); 
13525         wxPyEndAllowThreads(__tstate
); 
13526         if (PyErr_Occurred()) SWIG_fail
; 
13528     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13535 static PyObject 
*_wrap_Slider_GetThumbLength(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13536     PyObject 
*resultobj
; 
13537     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
13539     PyObject 
* obj0 
= 0 ; 
13540     char *kwnames
[] = { 
13541         (char *) "self", NULL 
 
13544     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
; 
13545     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
13546     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13548         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13549         result 
= (int)((wxSlider 
const *)arg1
)->GetThumbLength(); 
13551         wxPyEndAllowThreads(__tstate
); 
13552         if (PyErr_Occurred()) SWIG_fail
; 
13554     resultobj 
= SWIG_From_int((int)result
); 
13561 static PyObject 
*_wrap_Slider_SetTickFreq(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13562     PyObject 
*resultobj
; 
13563     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
13565     int arg3 
= (int) 1 ; 
13566     PyObject 
* obj0 
= 0 ; 
13567     PyObject 
* obj1 
= 0 ; 
13568     PyObject 
* obj2 
= 0 ; 
13569     char *kwnames
[] = { 
13570         (char *) "self",(char *) "n",(char *) "pos", NULL 
 
13573     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13574     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
13575     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13576     arg2 
= (int)SWIG_As_int(obj1
);  
13577     if (PyErr_Occurred()) SWIG_fail
; 
13579         arg3 
= (int)SWIG_As_int(obj2
);  
13580         if (PyErr_Occurred()) SWIG_fail
; 
13583         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13584         (arg1
)->SetTickFreq(arg2
,arg3
); 
13586         wxPyEndAllowThreads(__tstate
); 
13587         if (PyErr_Occurred()) SWIG_fail
; 
13589     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13596 static PyObject 
*_wrap_Slider_GetTickFreq(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13597     PyObject 
*resultobj
; 
13598     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
13600     PyObject 
* obj0 
= 0 ; 
13601     char *kwnames
[] = { 
13602         (char *) "self", NULL 
 
13605     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
; 
13606     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
13607     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13609         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13610         result 
= (int)((wxSlider 
const *)arg1
)->GetTickFreq(); 
13612         wxPyEndAllowThreads(__tstate
); 
13613         if (PyErr_Occurred()) SWIG_fail
; 
13615     resultobj 
= SWIG_From_int((int)result
); 
13622 static PyObject 
*_wrap_Slider_ClearTicks(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13623     PyObject 
*resultobj
; 
13624     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
13625     PyObject 
* obj0 
= 0 ; 
13626     char *kwnames
[] = { 
13627         (char *) "self", NULL 
 
13630     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
; 
13631     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
13632     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13634         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13635         (arg1
)->ClearTicks(); 
13637         wxPyEndAllowThreads(__tstate
); 
13638         if (PyErr_Occurred()) SWIG_fail
; 
13640     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13647 static PyObject 
*_wrap_Slider_SetTick(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13648     PyObject 
*resultobj
; 
13649     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
13651     PyObject 
* obj0 
= 0 ; 
13652     PyObject 
* obj1 
= 0 ; 
13653     char *kwnames
[] = { 
13654         (char *) "self",(char *) "tickPos", NULL 
 
13657     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
; 
13658     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
13659     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13660     arg2 
= (int)SWIG_As_int(obj1
);  
13661     if (PyErr_Occurred()) SWIG_fail
; 
13663         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13664         (arg1
)->SetTick(arg2
); 
13666         wxPyEndAllowThreads(__tstate
); 
13667         if (PyErr_Occurred()) SWIG_fail
; 
13669     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13676 static PyObject 
*_wrap_Slider_ClearSel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13677     PyObject 
*resultobj
; 
13678     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
13679     PyObject 
* obj0 
= 0 ; 
13680     char *kwnames
[] = { 
13681         (char *) "self", NULL 
 
13684     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
; 
13685     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
13686     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13688         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13689         (arg1
)->ClearSel(); 
13691         wxPyEndAllowThreads(__tstate
); 
13692         if (PyErr_Occurred()) SWIG_fail
; 
13694     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13701 static PyObject 
*_wrap_Slider_GetSelEnd(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13702     PyObject 
*resultobj
; 
13703     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
13705     PyObject 
* obj0 
= 0 ; 
13706     char *kwnames
[] = { 
13707         (char *) "self", NULL 
 
13710     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
; 
13711     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
13712     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13714         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13715         result 
= (int)((wxSlider 
const *)arg1
)->GetSelEnd(); 
13717         wxPyEndAllowThreads(__tstate
); 
13718         if (PyErr_Occurred()) SWIG_fail
; 
13720     resultobj 
= SWIG_From_int((int)result
); 
13727 static PyObject 
*_wrap_Slider_GetSelStart(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13728     PyObject 
*resultobj
; 
13729     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
13731     PyObject 
* obj0 
= 0 ; 
13732     char *kwnames
[] = { 
13733         (char *) "self", NULL 
 
13736     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
; 
13737     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
13738     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13740         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13741         result 
= (int)((wxSlider 
const *)arg1
)->GetSelStart(); 
13743         wxPyEndAllowThreads(__tstate
); 
13744         if (PyErr_Occurred()) SWIG_fail
; 
13746     resultobj 
= SWIG_From_int((int)result
); 
13753 static PyObject 
*_wrap_Slider_SetSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13754     PyObject 
*resultobj
; 
13755     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
13758     PyObject 
* obj0 
= 0 ; 
13759     PyObject 
* obj1 
= 0 ; 
13760     PyObject 
* obj2 
= 0 ; 
13761     char *kwnames
[] = { 
13762         (char *) "self",(char *) "min",(char *) "max", NULL 
 
13765     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13766     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
13767     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13768     arg2 
= (int)SWIG_As_int(obj1
);  
13769     if (PyErr_Occurred()) SWIG_fail
; 
13770     arg3 
= (int)SWIG_As_int(obj2
);  
13771     if (PyErr_Occurred()) SWIG_fail
; 
13773         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13774         (arg1
)->SetSelection(arg2
,arg3
); 
13776         wxPyEndAllowThreads(__tstate
); 
13777         if (PyErr_Occurred()) SWIG_fail
; 
13779     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13786 static PyObject 
*_wrap_Slider_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13787     PyObject 
*resultobj
; 
13788     int arg1 
= (int) wxWINDOW_VARIANT_NORMAL 
; 
13789     wxVisualAttributes result
; 
13790     PyObject 
* obj0 
= 0 ; 
13791     char *kwnames
[] = { 
13792         (char *) "variant", NULL 
 
13795     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
13797         arg1 
= (int)SWIG_As_int(obj0
);  
13798         if (PyErr_Occurred()) SWIG_fail
; 
13801         if (!wxPyCheckForApp()) SWIG_fail
; 
13802         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13803         result 
= wxSlider::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
13805         wxPyEndAllowThreads(__tstate
); 
13806         if (PyErr_Occurred()) SWIG_fail
; 
13809         wxVisualAttributes 
* resultptr
; 
13810         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&) result
); 
13811         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
13819 static PyObject 
* Slider_swigregister(PyObject 
*, PyObject 
*args
) { 
13821     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
13822     SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
); 
13824     return Py_BuildValue((char *)""); 
13826 static int _wrap_ToggleButtonNameStr_set(PyObject 
*) { 
13827     PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only."); 
13832 static PyObject 
*_wrap_ToggleButtonNameStr_get() { 
13837         pyobj 
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len()); 
13839         pyobj 
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len()); 
13846 static PyObject 
*_wrap_new_ToggleButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13847     PyObject 
*resultobj
; 
13848     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
13849     int arg2 
= (int) -1 ; 
13850     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
13851     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
13852     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
13853     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
13854     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
13855     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
13856     long arg6 
= (long) 0 ; 
13857     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
13858     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
13859     wxString 
const &arg8_defvalue 
= wxPyToggleButtonNameStr 
; 
13860     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
13861     wxToggleButton 
*result
; 
13862     bool temp3 
= false ; 
13865     bool temp8 
= false ; 
13866     PyObject 
* obj0 
= 0 ; 
13867     PyObject 
* obj1 
= 0 ; 
13868     PyObject 
* obj2 
= 0 ; 
13869     PyObject 
* obj3 
= 0 ; 
13870     PyObject 
* obj4 
= 0 ; 
13871     PyObject 
* obj5 
= 0 ; 
13872     PyObject 
* obj6 
= 0 ; 
13873     PyObject 
* obj7 
= 0 ; 
13874     char *kwnames
[] = { 
13875         (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
13878     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
13879     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
13880     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13882         arg2 
= (int)SWIG_As_int(obj1
);  
13883         if (PyErr_Occurred()) SWIG_fail
; 
13887             arg3 
= wxString_in_helper(obj2
); 
13888             if (arg3 
== NULL
) SWIG_fail
; 
13895             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
13901             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
13905         arg6 
= (long)SWIG_As_long(obj5
);  
13906         if (PyErr_Occurred()) SWIG_fail
; 
13909         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
, 
13910         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
13912         if (arg7 
== NULL
) { 
13913             PyErr_SetString(PyExc_TypeError
,"null reference"); 
13919             arg8 
= wxString_in_helper(obj7
); 
13920             if (arg8 
== NULL
) SWIG_fail
; 
13925         if (!wxPyCheckForApp()) SWIG_fail
; 
13926         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13927         result 
= (wxToggleButton 
*)new wxToggleButton(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
13929         wxPyEndAllowThreads(__tstate
); 
13930         if (PyErr_Occurred()) SWIG_fail
; 
13932     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1); 
13955 static PyObject 
*_wrap_new_PreToggleButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13956     PyObject 
*resultobj
; 
13957     wxToggleButton 
*result
; 
13958     char *kwnames
[] = { 
13962     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
; 
13964         if (!wxPyCheckForApp()) SWIG_fail
; 
13965         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13966         result 
= (wxToggleButton 
*)new wxToggleButton(); 
13968         wxPyEndAllowThreads(__tstate
); 
13969         if (PyErr_Occurred()) SWIG_fail
; 
13971     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1); 
13978 static PyObject 
*_wrap_ToggleButton_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13979     PyObject 
*resultobj
; 
13980     wxToggleButton 
*arg1 
= (wxToggleButton 
*) 0 ; 
13981     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
13982     int arg3 
= (int) -1 ; 
13983     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
13984     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
13985     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
13986     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
13987     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
13988     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
13989     long arg7 
= (long) 0 ; 
13990     wxValidator 
const &arg8_defvalue 
= wxDefaultValidator 
; 
13991     wxValidator 
*arg8 
= (wxValidator 
*) &arg8_defvalue 
; 
13992     wxString 
const &arg9_defvalue 
= wxPyToggleButtonNameStr 
; 
13993     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
13995     bool temp4 
= false ; 
13998     bool temp9 
= false ; 
13999     PyObject 
* obj0 
= 0 ; 
14000     PyObject 
* obj1 
= 0 ; 
14001     PyObject 
* obj2 
= 0 ; 
14002     PyObject 
* obj3 
= 0 ; 
14003     PyObject 
* obj4 
= 0 ; 
14004     PyObject 
* obj5 
= 0 ; 
14005     PyObject 
* obj6 
= 0 ; 
14006     PyObject 
* obj7 
= 0 ; 
14007     PyObject 
* obj8 
= 0 ; 
14008     char *kwnames
[] = { 
14009         (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
14012     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
14013     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
, 
14014     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14015     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
14016     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14018         arg3 
= (int)SWIG_As_int(obj2
);  
14019         if (PyErr_Occurred()) SWIG_fail
; 
14023             arg4 
= wxString_in_helper(obj3
); 
14024             if (arg4 
== NULL
) SWIG_fail
; 
14031             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
14037             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
14041         arg7 
= (long)SWIG_As_long(obj6
);  
14042         if (PyErr_Occurred()) SWIG_fail
; 
14045         if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
, 
14046         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
14048         if (arg8 
== NULL
) { 
14049             PyErr_SetString(PyExc_TypeError
,"null reference"); 
14055             arg9 
= wxString_in_helper(obj8
); 
14056             if (arg9 
== NULL
) SWIG_fail
; 
14061         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14062         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxValidator 
const &)*arg8
,(wxString 
const &)*arg9
); 
14064         wxPyEndAllowThreads(__tstate
); 
14065         if (PyErr_Occurred()) SWIG_fail
; 
14068         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14092 static PyObject 
*_wrap_ToggleButton_SetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14093     PyObject 
*resultobj
; 
14094     wxToggleButton 
*arg1 
= (wxToggleButton 
*) 0 ; 
14096     PyObject 
* obj0 
= 0 ; 
14097     PyObject 
* obj1 
= 0 ; 
14098     char *kwnames
[] = { 
14099         (char *) "self",(char *) "value", NULL 
 
14102     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
14103     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
, 
14104     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14105     arg2 
= (bool)SWIG_As_bool(obj1
);  
14106     if (PyErr_Occurred()) SWIG_fail
; 
14108         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14109         (arg1
)->SetValue(arg2
); 
14111         wxPyEndAllowThreads(__tstate
); 
14112         if (PyErr_Occurred()) SWIG_fail
; 
14114     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14121 static PyObject 
*_wrap_ToggleButton_GetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14122     PyObject 
*resultobj
; 
14123     wxToggleButton 
*arg1 
= (wxToggleButton 
*) 0 ; 
14125     PyObject 
* obj0 
= 0 ; 
14126     char *kwnames
[] = { 
14127         (char *) "self", NULL 
 
14130     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
; 
14131     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
, 
14132     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14134         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14135         result 
= (bool)((wxToggleButton 
const *)arg1
)->GetValue(); 
14137         wxPyEndAllowThreads(__tstate
); 
14138         if (PyErr_Occurred()) SWIG_fail
; 
14141         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14149 static PyObject 
*_wrap_ToggleButton_SetLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14150     PyObject 
*resultobj
; 
14151     wxToggleButton 
*arg1 
= (wxToggleButton 
*) 0 ; 
14152     wxString 
*arg2 
= 0 ; 
14153     bool temp2 
= false ; 
14154     PyObject 
* obj0 
= 0 ; 
14155     PyObject 
* obj1 
= 0 ; 
14156     char *kwnames
[] = { 
14157         (char *) "self",(char *) "label", NULL 
 
14160     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
; 
14161     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
, 
14162     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14164         arg2 
= wxString_in_helper(obj1
); 
14165         if (arg2 
== NULL
) SWIG_fail
; 
14169         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14170         (arg1
)->SetLabel((wxString 
const &)*arg2
); 
14172         wxPyEndAllowThreads(__tstate
); 
14173         if (PyErr_Occurred()) SWIG_fail
; 
14175     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14190 static PyObject 
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14191     PyObject 
*resultobj
; 
14192     int arg1 
= (int) wxWINDOW_VARIANT_NORMAL 
; 
14193     wxVisualAttributes result
; 
14194     PyObject 
* obj0 
= 0 ; 
14195     char *kwnames
[] = { 
14196         (char *) "variant", NULL 
 
14199     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
14201         arg1 
= (int)SWIG_As_int(obj0
);  
14202         if (PyErr_Occurred()) SWIG_fail
; 
14205         if (!wxPyCheckForApp()) SWIG_fail
; 
14206         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14207         result 
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
14209         wxPyEndAllowThreads(__tstate
); 
14210         if (PyErr_Occurred()) SWIG_fail
; 
14213         wxVisualAttributes 
* resultptr
; 
14214         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&) result
); 
14215         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
14223 static PyObject 
* ToggleButton_swigregister(PyObject 
*, PyObject 
*args
) { 
14225     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14226     SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
); 
14228     return Py_BuildValue((char *)""); 
14230 static int _wrap_NOTEBOOK_NAME_set(PyObject 
*) { 
14231     PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only."); 
14236 static PyObject 
*_wrap_NOTEBOOK_NAME_get() { 
14241         pyobj 
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len()); 
14243         pyobj 
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len()); 
14250 static PyObject 
*_wrap_BookCtrl_GetPageCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14251     PyObject 
*resultobj
; 
14252     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
14254     PyObject 
* obj0 
= 0 ; 
14255     char *kwnames
[] = { 
14256         (char *) "self", NULL 
 
14259     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
; 
14260     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
14261     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14263         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14264         result 
= (size_t)((wxBookCtrl 
const *)arg1
)->GetPageCount(); 
14266         wxPyEndAllowThreads(__tstate
); 
14267         if (PyErr_Occurred()) SWIG_fail
; 
14269     resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)result
); 
14276 static PyObject 
*_wrap_BookCtrl_GetPage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14277     PyObject 
*resultobj
; 
14278     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
14281     PyObject 
* obj0 
= 0 ; 
14282     PyObject 
* obj1 
= 0 ; 
14283     char *kwnames
[] = { 
14284         (char *) "self",(char *) "n", NULL 
 
14287     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
; 
14288     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
14289     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14290     arg2 
= (size_t)SWIG_As_unsigned_SS_long(obj1
);  
14291     if (PyErr_Occurred()) SWIG_fail
; 
14293         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14294         result 
= (wxWindow 
*)(arg1
)->GetPage(arg2
); 
14296         wxPyEndAllowThreads(__tstate
); 
14297         if (PyErr_Occurred()) SWIG_fail
; 
14300         resultobj 
= wxPyMake_wxObject(result
, 0);  
14308 static PyObject 
*_wrap_BookCtrl_GetSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14309     PyObject 
*resultobj
; 
14310     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
14312     PyObject 
* obj0 
= 0 ; 
14313     char *kwnames
[] = { 
14314         (char *) "self", NULL 
 
14317     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
; 
14318     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
14319     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14321         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14322         result 
= (int)((wxBookCtrl 
const *)arg1
)->GetSelection(); 
14324         wxPyEndAllowThreads(__tstate
); 
14325         if (PyErr_Occurred()) SWIG_fail
; 
14327     resultobj 
= SWIG_From_int((int)result
); 
14334 static PyObject 
*_wrap_BookCtrl_SetPageText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14335     PyObject 
*resultobj
; 
14336     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
14338     wxString 
*arg3 
= 0 ; 
14340     bool temp3 
= false ; 
14341     PyObject 
* obj0 
= 0 ; 
14342     PyObject 
* obj1 
= 0 ; 
14343     PyObject 
* obj2 
= 0 ; 
14344     char *kwnames
[] = { 
14345         (char *) "self",(char *) "n",(char *) "strText", NULL 
 
14348     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14349     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
14350     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14351     arg2 
= (size_t)SWIG_As_unsigned_SS_long(obj1
);  
14352     if (PyErr_Occurred()) SWIG_fail
; 
14354         arg3 
= wxString_in_helper(obj2
); 
14355         if (arg3 
== NULL
) SWIG_fail
; 
14359         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14360         result 
= (bool)(arg1
)->SetPageText(arg2
,(wxString 
const &)*arg3
); 
14362         wxPyEndAllowThreads(__tstate
); 
14363         if (PyErr_Occurred()) SWIG_fail
; 
14366         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14382 static PyObject 
*_wrap_BookCtrl_GetPageText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14383     PyObject 
*resultobj
; 
14384     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
14387     PyObject 
* obj0 
= 0 ; 
14388     PyObject 
* obj1 
= 0 ; 
14389     char *kwnames
[] = { 
14390         (char *) "self",(char *) "n", NULL 
 
14393     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
; 
14394     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
14395     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14396     arg2 
= (size_t)SWIG_As_unsigned_SS_long(obj1
);  
14397     if (PyErr_Occurred()) SWIG_fail
; 
14399         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14400         result 
= ((wxBookCtrl 
const *)arg1
)->GetPageText(arg2
); 
14402         wxPyEndAllowThreads(__tstate
); 
14403         if (PyErr_Occurred()) SWIG_fail
; 
14407         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
14409         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
14418 static PyObject 
*_wrap_BookCtrl_SetImageList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14419     PyObject 
*resultobj
; 
14420     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
14421     wxImageList 
*arg2 
= (wxImageList 
*) 0 ; 
14422     PyObject 
* obj0 
= 0 ; 
14423     PyObject 
* obj1 
= 0 ; 
14424     char *kwnames
[] = { 
14425         (char *) "self",(char *) "imageList", NULL 
 
14428     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
; 
14429     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
14430     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14431     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
, 
14432     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14434         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14435         (arg1
)->SetImageList(arg2
); 
14437         wxPyEndAllowThreads(__tstate
); 
14438         if (PyErr_Occurred()) SWIG_fail
; 
14440     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14447 static PyObject 
*_wrap_BookCtrl_AssignImageList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14448     PyObject 
*resultobj
; 
14449     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
14450     wxImageList 
*arg2 
= (wxImageList 
*) 0 ; 
14451     PyObject 
* obj0 
= 0 ; 
14452     PyObject 
* obj1 
= 0 ; 
14453     char *kwnames
[] = { 
14454         (char *) "self",(char *) "imageList", NULL 
 
14457     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
; 
14458     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
14459     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14460     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
, 
14461     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
14463         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14464         (arg1
)->AssignImageList(arg2
); 
14466         wxPyEndAllowThreads(__tstate
); 
14467         if (PyErr_Occurred()) SWIG_fail
; 
14469     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14476 static PyObject 
*_wrap_BookCtrl_GetImageList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14477     PyObject 
*resultobj
; 
14478     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
14479     wxImageList 
*result
; 
14480     PyObject 
* obj0 
= 0 ; 
14481     char *kwnames
[] = { 
14482         (char *) "self", NULL 
 
14485     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
; 
14486     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
14487     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14489         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14490         result 
= (wxImageList 
*)((wxBookCtrl 
const *)arg1
)->GetImageList(); 
14492         wxPyEndAllowThreads(__tstate
); 
14493         if (PyErr_Occurred()) SWIG_fail
; 
14496         resultobj 
= wxPyMake_wxObject(result
, 0);  
14504 static PyObject 
*_wrap_BookCtrl_GetPageImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14505     PyObject 
*resultobj
; 
14506     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
14509     PyObject 
* obj0 
= 0 ; 
14510     PyObject 
* obj1 
= 0 ; 
14511     char *kwnames
[] = { 
14512         (char *) "self",(char *) "n", NULL 
 
14515     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
; 
14516     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
14517     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14518     arg2 
= (size_t)SWIG_As_unsigned_SS_long(obj1
);  
14519     if (PyErr_Occurred()) SWIG_fail
; 
14521         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14522         result 
= (int)((wxBookCtrl 
const *)arg1
)->GetPageImage(arg2
); 
14524         wxPyEndAllowThreads(__tstate
); 
14525         if (PyErr_Occurred()) SWIG_fail
; 
14527     resultobj 
= SWIG_From_int((int)result
); 
14534 static PyObject 
*_wrap_BookCtrl_SetPageImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14535     PyObject 
*resultobj
; 
14536     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
14540     PyObject 
* obj0 
= 0 ; 
14541     PyObject 
* obj1 
= 0 ; 
14542     PyObject 
* obj2 
= 0 ; 
14543     char *kwnames
[] = { 
14544         (char *) "self",(char *) "n",(char *) "imageId", NULL 
 
14547     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14548     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
14549     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14550     arg2 
= (size_t)SWIG_As_unsigned_SS_long(obj1
);  
14551     if (PyErr_Occurred()) SWIG_fail
; 
14552     arg3 
= (int)SWIG_As_int(obj2
);  
14553     if (PyErr_Occurred()) SWIG_fail
; 
14555         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14556         result 
= (bool)(arg1
)->SetPageImage(arg2
,arg3
); 
14558         wxPyEndAllowThreads(__tstate
); 
14559         if (PyErr_Occurred()) SWIG_fail
; 
14562         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14570 static PyObject 
*_wrap_BookCtrl_SetPageSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14571     PyObject 
*resultobj
; 
14572     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
14575     PyObject 
* obj0 
= 0 ; 
14576     PyObject 
* obj1 
= 0 ; 
14577     char *kwnames
[] = { 
14578         (char *) "self",(char *) "size", NULL 
 
14581     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
14582     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
14583     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14586         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
14589         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14590         (arg1
)->SetPageSize((wxSize 
const &)*arg2
); 
14592         wxPyEndAllowThreads(__tstate
); 
14593         if (PyErr_Occurred()) SWIG_fail
; 
14595     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14602 static PyObject 
*_wrap_BookCtrl_CalcSizeFromPage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14603     PyObject 
*resultobj
; 
14604     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
14608     PyObject 
* obj0 
= 0 ; 
14609     PyObject 
* obj1 
= 0 ; 
14610     char *kwnames
[] = { 
14611         (char *) "self",(char *) "sizePage", NULL 
 
14614     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
; 
14615     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
14616     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14619         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
14622         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14623         result 
= ((wxBookCtrl 
const *)arg1
)->CalcSizeFromPage((wxSize 
const &)*arg2
); 
14625         wxPyEndAllowThreads(__tstate
); 
14626         if (PyErr_Occurred()) SWIG_fail
; 
14629         wxSize 
* resultptr
; 
14630         resultptr 
= new wxSize((wxSize 
&) result
); 
14631         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
14639 static PyObject 
*_wrap_BookCtrl_DeletePage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14640     PyObject 
*resultobj
; 
14641     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
14644     PyObject 
* obj0 
= 0 ; 
14645     PyObject 
* obj1 
= 0 ; 
14646     char *kwnames
[] = { 
14647         (char *) "self",(char *) "n", NULL 
 
14650     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
; 
14651     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
14652     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14653     arg2 
= (size_t)SWIG_As_unsigned_SS_long(obj1
);  
14654     if (PyErr_Occurred()) SWIG_fail
; 
14656         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14657         result 
= (bool)(arg1
)->DeletePage(arg2
); 
14659         wxPyEndAllowThreads(__tstate
); 
14660         if (PyErr_Occurred()) SWIG_fail
; 
14663         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14671 static PyObject 
*_wrap_BookCtrl_RemovePage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14672     PyObject 
*resultobj
; 
14673     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
14676     PyObject 
* obj0 
= 0 ; 
14677     PyObject 
* obj1 
= 0 ; 
14678     char *kwnames
[] = { 
14679         (char *) "self",(char *) "n", NULL 
 
14682     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
; 
14683     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
14684     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14685     arg2 
= (size_t)SWIG_As_unsigned_SS_long(obj1
);  
14686     if (PyErr_Occurred()) SWIG_fail
; 
14688         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14689         result 
= (bool)(arg1
)->RemovePage(arg2
); 
14691         wxPyEndAllowThreads(__tstate
); 
14692         if (PyErr_Occurred()) SWIG_fail
; 
14695         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14703 static PyObject 
*_wrap_BookCtrl_DeleteAllPages(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14704     PyObject 
*resultobj
; 
14705     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
14707     PyObject 
* obj0 
= 0 ; 
14708     char *kwnames
[] = { 
14709         (char *) "self", NULL 
 
14712     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
; 
14713     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
14714     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14716         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14717         result 
= (bool)(arg1
)->DeleteAllPages(); 
14719         wxPyEndAllowThreads(__tstate
); 
14720         if (PyErr_Occurred()) SWIG_fail
; 
14723         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14731 static PyObject 
*_wrap_BookCtrl_AddPage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14732     PyObject 
*resultobj
; 
14733     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
14734     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
14735     wxString 
*arg3 
= 0 ; 
14736     bool arg4 
= (bool) false ; 
14737     int arg5 
= (int) -1 ; 
14739     bool temp3 
= false ; 
14740     PyObject 
* obj0 
= 0 ; 
14741     PyObject 
* obj1 
= 0 ; 
14742     PyObject 
* obj2 
= 0 ; 
14743     PyObject 
* obj3 
= 0 ; 
14744     PyObject 
* obj4 
= 0 ; 
14745     char *kwnames
[] = { 
14746         (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL 
 
14749     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
14750     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
14751     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14752     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
14753     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14755         arg3 
= wxString_in_helper(obj2
); 
14756         if (arg3 
== NULL
) SWIG_fail
; 
14760         arg4 
= (bool)SWIG_As_bool(obj3
);  
14761         if (PyErr_Occurred()) SWIG_fail
; 
14764         arg5 
= (int)SWIG_As_int(obj4
);  
14765         if (PyErr_Occurred()) SWIG_fail
; 
14768         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14769         result 
= (bool)(arg1
)->AddPage(arg2
,(wxString 
const &)*arg3
,arg4
,arg5
); 
14771         wxPyEndAllowThreads(__tstate
); 
14772         if (PyErr_Occurred()) SWIG_fail
; 
14775         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14791 static PyObject 
*_wrap_BookCtrl_InsertPage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14792     PyObject 
*resultobj
; 
14793     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
14795     wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
14796     wxString 
*arg4 
= 0 ; 
14797     bool arg5 
= (bool) false ; 
14798     int arg6 
= (int) -1 ; 
14800     bool temp4 
= false ; 
14801     PyObject 
* obj0 
= 0 ; 
14802     PyObject 
* obj1 
= 0 ; 
14803     PyObject 
* obj2 
= 0 ; 
14804     PyObject 
* obj3 
= 0 ; 
14805     PyObject 
* obj4 
= 0 ; 
14806     PyObject 
* obj5 
= 0 ; 
14807     char *kwnames
[] = { 
14808         (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL 
 
14811     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
14812     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
14813     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14814     arg2 
= (size_t)SWIG_As_unsigned_SS_long(obj1
);  
14815     if (PyErr_Occurred()) SWIG_fail
; 
14816     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
, 
14817     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14819         arg4 
= wxString_in_helper(obj3
); 
14820         if (arg4 
== NULL
) SWIG_fail
; 
14824         arg5 
= (bool)SWIG_As_bool(obj4
);  
14825         if (PyErr_Occurred()) SWIG_fail
; 
14828         arg6 
= (int)SWIG_As_int(obj5
);  
14829         if (PyErr_Occurred()) SWIG_fail
; 
14832         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14833         result 
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString 
const &)*arg4
,arg5
,arg6
); 
14835         wxPyEndAllowThreads(__tstate
); 
14836         if (PyErr_Occurred()) SWIG_fail
; 
14839         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14855 static PyObject 
*_wrap_BookCtrl_SetSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14856     PyObject 
*resultobj
; 
14857     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
14860     PyObject 
* obj0 
= 0 ; 
14861     PyObject 
* obj1 
= 0 ; 
14862     char *kwnames
[] = { 
14863         (char *) "self",(char *) "n", NULL 
 
14866     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
14867     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
14868     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14869     arg2 
= (size_t)SWIG_As_unsigned_SS_long(obj1
);  
14870     if (PyErr_Occurred()) SWIG_fail
; 
14872         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14873         result 
= (int)(arg1
)->SetSelection(arg2
); 
14875         wxPyEndAllowThreads(__tstate
); 
14876         if (PyErr_Occurred()) SWIG_fail
; 
14878     resultobj 
= SWIG_From_int((int)result
); 
14885 static PyObject 
*_wrap_BookCtrl_AdvanceSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14886     PyObject 
*resultobj
; 
14887     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
14888     bool arg2 
= (bool) true ; 
14889     PyObject 
* obj0 
= 0 ; 
14890     PyObject 
* obj1 
= 0 ; 
14891     char *kwnames
[] = { 
14892         (char *) "self",(char *) "forward", NULL 
 
14895     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
14896     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
14897     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14899         arg2 
= (bool)SWIG_As_bool(obj1
);  
14900         if (PyErr_Occurred()) SWIG_fail
; 
14903         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14904         (arg1
)->AdvanceSelection(arg2
); 
14906         wxPyEndAllowThreads(__tstate
); 
14907         if (PyErr_Occurred()) SWIG_fail
; 
14909     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14916 static PyObject 
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14917     PyObject 
*resultobj
; 
14918     int arg1 
= (int) wxWINDOW_VARIANT_NORMAL 
; 
14919     wxVisualAttributes result
; 
14920     PyObject 
* obj0 
= 0 ; 
14921     char *kwnames
[] = { 
14922         (char *) "variant", NULL 
 
14925     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
14927         arg1 
= (int)SWIG_As_int(obj0
);  
14928         if (PyErr_Occurred()) SWIG_fail
; 
14931         if (!wxPyCheckForApp()) SWIG_fail
; 
14932         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14933         result 
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
14935         wxPyEndAllowThreads(__tstate
); 
14936         if (PyErr_Occurred()) SWIG_fail
; 
14939         wxVisualAttributes 
* resultptr
; 
14940         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&) result
); 
14941         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
14949 static PyObject 
* BookCtrl_swigregister(PyObject 
*, PyObject 
*args
) { 
14951     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14952     SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
); 
14954     return Py_BuildValue((char *)""); 
14956 static PyObject 
*_wrap_new_BookCtrlEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14957     PyObject 
*resultobj
; 
14958     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
14959     int arg2 
= (int) 0 ; 
14960     int arg3 
= (int) -1 ; 
14961     int arg4 
= (int) -1 ; 
14962     wxBookCtrlEvent 
*result
; 
14963     PyObject 
* obj0 
= 0 ; 
14964     PyObject 
* obj1 
= 0 ; 
14965     PyObject 
* obj2 
= 0 ; 
14966     PyObject 
* obj3 
= 0 ; 
14967     char *kwnames
[] = { 
14968         (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL 
 
14971     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
14973         arg1 
= (wxEventType
)SWIG_As_int(obj0
);  
14974         if (PyErr_Occurred()) SWIG_fail
; 
14977         arg2 
= (int)SWIG_As_int(obj1
);  
14978         if (PyErr_Occurred()) SWIG_fail
; 
14981         arg3 
= (int)SWIG_As_int(obj2
);  
14982         if (PyErr_Occurred()) SWIG_fail
; 
14985         arg4 
= (int)SWIG_As_int(obj3
);  
14986         if (PyErr_Occurred()) SWIG_fail
; 
14989         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14990         result 
= (wxBookCtrlEvent 
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
); 
14992         wxPyEndAllowThreads(__tstate
); 
14993         if (PyErr_Occurred()) SWIG_fail
; 
14995     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1); 
15002 static PyObject 
*_wrap_BookCtrlEvent_GetSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15003     PyObject 
*resultobj
; 
15004     wxBookCtrlEvent 
*arg1 
= (wxBookCtrlEvent 
*) 0 ; 
15006     PyObject 
* obj0 
= 0 ; 
15007     char *kwnames
[] = { 
15008         (char *) "self", NULL 
 
15011     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
; 
15012     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
, 
15013     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15015         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15016         result 
= (int)((wxBookCtrlEvent 
const *)arg1
)->GetSelection(); 
15018         wxPyEndAllowThreads(__tstate
); 
15019         if (PyErr_Occurred()) SWIG_fail
; 
15021     resultobj 
= SWIG_From_int((int)result
); 
15028 static PyObject 
*_wrap_BookCtrlEvent_SetSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15029     PyObject 
*resultobj
; 
15030     wxBookCtrlEvent 
*arg1 
= (wxBookCtrlEvent 
*) 0 ; 
15032     PyObject 
* obj0 
= 0 ; 
15033     PyObject 
* obj1 
= 0 ; 
15034     char *kwnames
[] = { 
15035         (char *) "self",(char *) "nSel", NULL 
 
15038     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
15039     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
, 
15040     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15041     arg2 
= (int)SWIG_As_int(obj1
);  
15042     if (PyErr_Occurred()) SWIG_fail
; 
15044         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15045         (arg1
)->SetSelection(arg2
); 
15047         wxPyEndAllowThreads(__tstate
); 
15048         if (PyErr_Occurred()) SWIG_fail
; 
15050     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15057 static PyObject 
*_wrap_BookCtrlEvent_GetOldSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15058     PyObject 
*resultobj
; 
15059     wxBookCtrlEvent 
*arg1 
= (wxBookCtrlEvent 
*) 0 ; 
15061     PyObject 
* obj0 
= 0 ; 
15062     char *kwnames
[] = { 
15063         (char *) "self", NULL 
 
15066     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
; 
15067     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
, 
15068     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15070         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15071         result 
= (int)((wxBookCtrlEvent 
const *)arg1
)->GetOldSelection(); 
15073         wxPyEndAllowThreads(__tstate
); 
15074         if (PyErr_Occurred()) SWIG_fail
; 
15076     resultobj 
= SWIG_From_int((int)result
); 
15083 static PyObject 
*_wrap_BookCtrlEvent_SetOldSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15084     PyObject 
*resultobj
; 
15085     wxBookCtrlEvent 
*arg1 
= (wxBookCtrlEvent 
*) 0 ; 
15087     PyObject 
* obj0 
= 0 ; 
15088     PyObject 
* obj1 
= 0 ; 
15089     char *kwnames
[] = { 
15090         (char *) "self",(char *) "nOldSel", NULL 
 
15093     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
15094     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
, 
15095     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15096     arg2 
= (int)SWIG_As_int(obj1
);  
15097     if (PyErr_Occurred()) SWIG_fail
; 
15099         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15100         (arg1
)->SetOldSelection(arg2
); 
15102         wxPyEndAllowThreads(__tstate
); 
15103         if (PyErr_Occurred()) SWIG_fail
; 
15105     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15112 static PyObject 
* BookCtrlEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
15114     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
15115     SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
); 
15117     return Py_BuildValue((char *)""); 
15119 static PyObject 
*_wrap_new_Notebook(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15120     PyObject 
*resultobj
; 
15121     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
15122     int arg2 
= (int) -1 ; 
15123     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
15124     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
15125     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
15126     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
15127     long arg5 
= (long) 0 ; 
15128     wxString 
const &arg6_defvalue 
= wxPyNOTEBOOK_NAME 
; 
15129     wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
15130     wxNotebook 
*result
; 
15133     bool temp6 
= false ; 
15134     PyObject 
* obj0 
= 0 ; 
15135     PyObject 
* obj1 
= 0 ; 
15136     PyObject 
* obj2 
= 0 ; 
15137     PyObject 
* obj3 
= 0 ; 
15138     PyObject 
* obj4 
= 0 ; 
15139     PyObject 
* obj5 
= 0 ; 
15140     char *kwnames
[] = { 
15141         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
15144     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
15145     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
15146     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15148         arg2 
= (int)SWIG_As_int(obj1
);  
15149         if (PyErr_Occurred()) SWIG_fail
; 
15154             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
15160             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
15164         arg5 
= (long)SWIG_As_long(obj4
);  
15165         if (PyErr_Occurred()) SWIG_fail
; 
15169             arg6 
= wxString_in_helper(obj5
); 
15170             if (arg6 
== NULL
) SWIG_fail
; 
15175         if (!wxPyCheckForApp()) SWIG_fail
; 
15176         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15177         result 
= (wxNotebook 
*)new wxNotebook(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
15179         wxPyEndAllowThreads(__tstate
); 
15180         if (PyErr_Occurred()) SWIG_fail
; 
15182     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1); 
15197 static PyObject 
*_wrap_new_PreNotebook(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15198     PyObject 
*resultobj
; 
15199     wxNotebook 
*result
; 
15200     char *kwnames
[] = { 
15204     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
; 
15206         if (!wxPyCheckForApp()) SWIG_fail
; 
15207         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15208         result 
= (wxNotebook 
*)new wxNotebook(); 
15210         wxPyEndAllowThreads(__tstate
); 
15211         if (PyErr_Occurred()) SWIG_fail
; 
15213     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1); 
15220 static PyObject 
*_wrap_Notebook_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15221     PyObject 
*resultobj
; 
15222     wxNotebook 
*arg1 
= (wxNotebook 
*) 0 ; 
15223     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
15224     int arg3 
= (int) -1 ; 
15225     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
15226     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
15227     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
15228     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
15229     long arg6 
= (long) 0 ; 
15230     wxString 
const &arg7_defvalue 
= wxPyNOTEBOOK_NAME 
; 
15231     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
15235     bool temp7 
= false ; 
15236     PyObject 
* obj0 
= 0 ; 
15237     PyObject 
* obj1 
= 0 ; 
15238     PyObject 
* obj2 
= 0 ; 
15239     PyObject 
* obj3 
= 0 ; 
15240     PyObject 
* obj4 
= 0 ; 
15241     PyObject 
* obj5 
= 0 ; 
15242     PyObject 
* obj6 
= 0 ; 
15243     char *kwnames
[] = { 
15244         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
15247     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
15248     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
, 
15249     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15250     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
15251     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15253         arg3 
= (int)SWIG_As_int(obj2
);  
15254         if (PyErr_Occurred()) SWIG_fail
; 
15259             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
15265             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
15269         arg6 
= (long)SWIG_As_long(obj5
);  
15270         if (PyErr_Occurred()) SWIG_fail
; 
15274             arg7 
= wxString_in_helper(obj6
); 
15275             if (arg7 
== NULL
) SWIG_fail
; 
15280         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15281         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
15283         wxPyEndAllowThreads(__tstate
); 
15284         if (PyErr_Occurred()) SWIG_fail
; 
15287         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15303 static PyObject 
*_wrap_Notebook_GetRowCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15304     PyObject 
*resultobj
; 
15305     wxNotebook 
*arg1 
= (wxNotebook 
*) 0 ; 
15307     PyObject 
* obj0 
= 0 ; 
15308     char *kwnames
[] = { 
15309         (char *) "self", NULL 
 
15312     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
; 
15313     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
, 
15314     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15316         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15317         result 
= (int)((wxNotebook 
const *)arg1
)->GetRowCount(); 
15319         wxPyEndAllowThreads(__tstate
); 
15320         if (PyErr_Occurred()) SWIG_fail
; 
15322     resultobj 
= SWIG_From_int((int)result
); 
15329 static PyObject 
*_wrap_Notebook_SetPadding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15330     PyObject 
*resultobj
; 
15331     wxNotebook 
*arg1 
= (wxNotebook 
*) 0 ; 
15334     PyObject 
* obj0 
= 0 ; 
15335     PyObject 
* obj1 
= 0 ; 
15336     char *kwnames
[] = { 
15337         (char *) "self",(char *) "padding", NULL 
 
15340     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
; 
15341     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
, 
15342     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15345         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
15348         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15349         (arg1
)->SetPadding((wxSize 
const &)*arg2
); 
15351         wxPyEndAllowThreads(__tstate
); 
15352         if (PyErr_Occurred()) SWIG_fail
; 
15354     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15361 static PyObject 
*_wrap_Notebook_SetTabSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15362     PyObject 
*resultobj
; 
15363     wxNotebook 
*arg1 
= (wxNotebook 
*) 0 ; 
15366     PyObject 
* obj0 
= 0 ; 
15367     PyObject 
* obj1 
= 0 ; 
15368     char *kwnames
[] = { 
15369         (char *) "self",(char *) "sz", NULL 
 
15372     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
15373     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
, 
15374     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15377         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
15380         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15381         (arg1
)->SetTabSize((wxSize 
const &)*arg2
); 
15383         wxPyEndAllowThreads(__tstate
); 
15384         if (PyErr_Occurred()) SWIG_fail
; 
15386     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15393 static PyObject 
*_wrap_Notebook_HitTest(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15394     PyObject 
*resultobj
; 
15395     wxNotebook 
*arg1 
= (wxNotebook 
*) 0 ; 
15396     wxPoint 
*arg2 
= 0 ; 
15397     long *arg3 
= (long *) 0 ; 
15402     PyObject 
* obj0 
= 0 ; 
15403     PyObject 
* obj1 
= 0 ; 
15404     char *kwnames
[] = { 
15405         (char *) "self",(char *) "pt", NULL 
 
15408     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
15409     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
; 
15410     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
, 
15411     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15414         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
15417         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15418         result 
= (int)((wxNotebook 
const *)arg1
)->HitTest((wxPoint 
const &)*arg2
,arg3
); 
15420         wxPyEndAllowThreads(__tstate
); 
15421         if (PyErr_Occurred()) SWIG_fail
; 
15423     resultobj 
= SWIG_From_int((int)result
); 
15424     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
15425     SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0))); 
15432 static PyObject 
*_wrap_Notebook_CalcSizeFromPage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15433     PyObject 
*resultobj
; 
15434     wxNotebook 
*arg1 
= (wxNotebook 
*) 0 ; 
15438     PyObject 
* obj0 
= 0 ; 
15439     PyObject 
* obj1 
= 0 ; 
15440     char *kwnames
[] = { 
15441         (char *) "self",(char *) "sizePage", NULL 
 
15444     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
; 
15445     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
, 
15446     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15449         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
15452         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15453         result 
= ((wxNotebook 
const *)arg1
)->CalcSizeFromPage((wxSize 
const &)*arg2
); 
15455         wxPyEndAllowThreads(__tstate
); 
15456         if (PyErr_Occurred()) SWIG_fail
; 
15459         wxSize 
* resultptr
; 
15460         resultptr 
= new wxSize((wxSize 
&) result
); 
15461         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
15469 static PyObject 
*_wrap_Notebook_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15470     PyObject 
*resultobj
; 
15471     int arg1 
= (int) wxWINDOW_VARIANT_NORMAL 
; 
15472     wxVisualAttributes result
; 
15473     PyObject 
* obj0 
= 0 ; 
15474     char *kwnames
[] = { 
15475         (char *) "variant", NULL 
 
15478     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
15480         arg1 
= (int)SWIG_As_int(obj0
);  
15481         if (PyErr_Occurred()) SWIG_fail
; 
15484         if (!wxPyCheckForApp()) SWIG_fail
; 
15485         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15486         result 
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
15488         wxPyEndAllowThreads(__tstate
); 
15489         if (PyErr_Occurred()) SWIG_fail
; 
15492         wxVisualAttributes 
* resultptr
; 
15493         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&) result
); 
15494         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
15502 static PyObject 
* Notebook_swigregister(PyObject 
*, PyObject 
*args
) { 
15504     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
15505     SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
); 
15507     return Py_BuildValue((char *)""); 
15509 static PyObject 
*_wrap_new_NotebookEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15510     PyObject 
*resultobj
; 
15511     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
15512     int arg2 
= (int) 0 ; 
15513     int arg3 
= (int) -1 ; 
15514     int arg4 
= (int) -1 ; 
15515     wxNotebookEvent 
*result
; 
15516     PyObject 
* obj0 
= 0 ; 
15517     PyObject 
* obj1 
= 0 ; 
15518     PyObject 
* obj2 
= 0 ; 
15519     PyObject 
* obj3 
= 0 ; 
15520     char *kwnames
[] = { 
15521         (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL 
 
15524     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
15526         arg1 
= (wxEventType
)SWIG_As_int(obj0
);  
15527         if (PyErr_Occurred()) SWIG_fail
; 
15530         arg2 
= (int)SWIG_As_int(obj1
);  
15531         if (PyErr_Occurred()) SWIG_fail
; 
15534         arg3 
= (int)SWIG_As_int(obj2
);  
15535         if (PyErr_Occurred()) SWIG_fail
; 
15538         arg4 
= (int)SWIG_As_int(obj3
);  
15539         if (PyErr_Occurred()) SWIG_fail
; 
15542         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15543         result 
= (wxNotebookEvent 
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
); 
15545         wxPyEndAllowThreads(__tstate
); 
15546         if (PyErr_Occurred()) SWIG_fail
; 
15548     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1); 
15555 static PyObject 
* NotebookEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
15557     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
15558     SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
); 
15560     return Py_BuildValue((char *)""); 
15562 static PyObject 
*_wrap_new_Listbook(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15563     PyObject 
*resultobj
; 
15564     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
15565     int arg2 
= (int) -1 ; 
15566     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
15567     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
15568     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
15569     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
15570     long arg5 
= (long) 0 ; 
15571     wxString 
const &arg6_defvalue 
= wxPyEmptyString 
; 
15572     wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
15573     wxListbook 
*result
; 
15576     bool temp6 
= false ; 
15577     PyObject 
* obj0 
= 0 ; 
15578     PyObject 
* obj1 
= 0 ; 
15579     PyObject 
* obj2 
= 0 ; 
15580     PyObject 
* obj3 
= 0 ; 
15581     PyObject 
* obj4 
= 0 ; 
15582     PyObject 
* obj5 
= 0 ; 
15583     char *kwnames
[] = { 
15584         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
15587     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
15588     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
15589     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15591         arg2 
= (int)SWIG_As_int(obj1
);  
15592         if (PyErr_Occurred()) SWIG_fail
; 
15597             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
15603             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
15607         arg5 
= (long)SWIG_As_long(obj4
);  
15608         if (PyErr_Occurred()) SWIG_fail
; 
15612             arg6 
= wxString_in_helper(obj5
); 
15613             if (arg6 
== NULL
) SWIG_fail
; 
15618         if (!wxPyCheckForApp()) SWIG_fail
; 
15619         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15620         result 
= (wxListbook 
*)new wxListbook(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
15622         wxPyEndAllowThreads(__tstate
); 
15623         if (PyErr_Occurred()) SWIG_fail
; 
15625     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1); 
15640 static PyObject 
*_wrap_new_PreListbook(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15641     PyObject 
*resultobj
; 
15642     wxListbook 
*result
; 
15643     char *kwnames
[] = { 
15647     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
; 
15649         if (!wxPyCheckForApp()) SWIG_fail
; 
15650         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15651         result 
= (wxListbook 
*)new wxListbook(); 
15653         wxPyEndAllowThreads(__tstate
); 
15654         if (PyErr_Occurred()) SWIG_fail
; 
15656     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1); 
15663 static PyObject 
*_wrap_Listbook_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15664     PyObject 
*resultobj
; 
15665     wxListbook 
*arg1 
= (wxListbook 
*) 0 ; 
15666     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
15667     int arg3 
= (int) -1 ; 
15668     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
15669     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
15670     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
15671     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
15672     long arg6 
= (long) 0 ; 
15673     wxString 
const &arg7_defvalue 
= wxPyEmptyString 
; 
15674     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
15678     bool temp7 
= false ; 
15679     PyObject 
* obj0 
= 0 ; 
15680     PyObject 
* obj1 
= 0 ; 
15681     PyObject 
* obj2 
= 0 ; 
15682     PyObject 
* obj3 
= 0 ; 
15683     PyObject 
* obj4 
= 0 ; 
15684     PyObject 
* obj5 
= 0 ; 
15685     PyObject 
* obj6 
= 0 ; 
15686     char *kwnames
[] = { 
15687         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
15690     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
15691     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
, 
15692     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15693     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
15694     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15696         arg3 
= (int)SWIG_As_int(obj2
);  
15697         if (PyErr_Occurred()) SWIG_fail
; 
15702             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
15708             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
15712         arg6 
= (long)SWIG_As_long(obj5
);  
15713         if (PyErr_Occurred()) SWIG_fail
; 
15717             arg7 
= wxString_in_helper(obj6
); 
15718             if (arg7 
== NULL
) SWIG_fail
; 
15723         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15724         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
15726         wxPyEndAllowThreads(__tstate
); 
15727         if (PyErr_Occurred()) SWIG_fail
; 
15730         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15746 static PyObject 
*_wrap_Listbook_IsVertical(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15747     PyObject 
*resultobj
; 
15748     wxListbook 
*arg1 
= (wxListbook 
*) 0 ; 
15750     PyObject 
* obj0 
= 0 ; 
15751     char *kwnames
[] = { 
15752         (char *) "self", NULL 
 
15755     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
; 
15756     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
, 
15757     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15759         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15760         result 
= (bool)((wxListbook 
const *)arg1
)->IsVertical(); 
15762         wxPyEndAllowThreads(__tstate
); 
15763         if (PyErr_Occurred()) SWIG_fail
; 
15766         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15774 static PyObject 
*_wrap_Listbook_GetListView(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15775     PyObject 
*resultobj
; 
15776     wxListbook 
*arg1 
= (wxListbook 
*) 0 ; 
15777     wxListView 
*result
; 
15778     PyObject 
* obj0 
= 0 ; 
15779     char *kwnames
[] = { 
15780         (char *) "self", NULL 
 
15783     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
; 
15784     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
, 
15785     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15787         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15788         result 
= (wxListView 
*)(arg1
)->GetListView(); 
15790         wxPyEndAllowThreads(__tstate
); 
15791         if (PyErr_Occurred()) SWIG_fail
; 
15793     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0); 
15800 static PyObject 
* Listbook_swigregister(PyObject 
*, PyObject 
*args
) { 
15802     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
15803     SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
); 
15805     return Py_BuildValue((char *)""); 
15807 static PyObject 
*_wrap_new_ListbookEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15808     PyObject 
*resultobj
; 
15809     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
15810     int arg2 
= (int) 0 ; 
15811     int arg3 
= (int) -1 ; 
15812     int arg4 
= (int) -1 ; 
15813     wxListbookEvent 
*result
; 
15814     PyObject 
* obj0 
= 0 ; 
15815     PyObject 
* obj1 
= 0 ; 
15816     PyObject 
* obj2 
= 0 ; 
15817     PyObject 
* obj3 
= 0 ; 
15818     char *kwnames
[] = { 
15819         (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL 
 
15822     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
15824         arg1 
= (wxEventType
)SWIG_As_int(obj0
);  
15825         if (PyErr_Occurred()) SWIG_fail
; 
15828         arg2 
= (int)SWIG_As_int(obj1
);  
15829         if (PyErr_Occurred()) SWIG_fail
; 
15832         arg3 
= (int)SWIG_As_int(obj2
);  
15833         if (PyErr_Occurred()) SWIG_fail
; 
15836         arg4 
= (int)SWIG_As_int(obj3
);  
15837         if (PyErr_Occurred()) SWIG_fail
; 
15840         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15841         result 
= (wxListbookEvent 
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
); 
15843         wxPyEndAllowThreads(__tstate
); 
15844         if (PyErr_Occurred()) SWIG_fail
; 
15846     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1); 
15853 static PyObject 
* ListbookEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
15855     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
15856     SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
); 
15858     return Py_BuildValue((char *)""); 
15860 static PyObject 
*_wrap_new_Choicebook(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15861     PyObject 
*resultobj
; 
15862     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
15864     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
15865     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
15866     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
15867     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
15868     long arg5 
= (long) 0 ; 
15869     wxString 
const &arg6_defvalue 
= wxPyEmptyString 
; 
15870     wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
15871     wxChoicebook 
*result
; 
15874     bool temp6 
= false ; 
15875     PyObject 
* obj0 
= 0 ; 
15876     PyObject 
* obj1 
= 0 ; 
15877     PyObject 
* obj2 
= 0 ; 
15878     PyObject 
* obj3 
= 0 ; 
15879     PyObject 
* obj4 
= 0 ; 
15880     PyObject 
* obj5 
= 0 ; 
15881     char *kwnames
[] = { 
15882         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
15885     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
15886     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
15887     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15888     arg2 
= (int)SWIG_As_int(obj1
);  
15889     if (PyErr_Occurred()) SWIG_fail
; 
15893             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
15899             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
15903         arg5 
= (long)SWIG_As_long(obj4
);  
15904         if (PyErr_Occurred()) SWIG_fail
; 
15908             arg6 
= wxString_in_helper(obj5
); 
15909             if (arg6 
== NULL
) SWIG_fail
; 
15914         if (!wxPyCheckForApp()) SWIG_fail
; 
15915         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15916         result 
= (wxChoicebook 
*)new wxChoicebook(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
15918         wxPyEndAllowThreads(__tstate
); 
15919         if (PyErr_Occurred()) SWIG_fail
; 
15921     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1); 
15936 static PyObject 
*_wrap_new_PreChoicebook(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15937     PyObject 
*resultobj
; 
15938     wxChoicebook 
*result
; 
15939     char *kwnames
[] = { 
15943     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
; 
15945         if (!wxPyCheckForApp()) SWIG_fail
; 
15946         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15947         result 
= (wxChoicebook 
*)new wxChoicebook(); 
15949         wxPyEndAllowThreads(__tstate
); 
15950         if (PyErr_Occurred()) SWIG_fail
; 
15952     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1); 
15959 static PyObject 
*_wrap_Choicebook_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15960     PyObject 
*resultobj
; 
15961     wxChoicebook 
*arg1 
= (wxChoicebook 
*) 0 ; 
15962     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
15964     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
15965     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
15966     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
15967     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
15968     long arg6 
= (long) 0 ; 
15969     wxString 
const &arg7_defvalue 
= wxPyEmptyString 
; 
15970     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
15974     bool temp7 
= false ; 
15975     PyObject 
* obj0 
= 0 ; 
15976     PyObject 
* obj1 
= 0 ; 
15977     PyObject 
* obj2 
= 0 ; 
15978     PyObject 
* obj3 
= 0 ; 
15979     PyObject 
* obj4 
= 0 ; 
15980     PyObject 
* obj5 
= 0 ; 
15981     PyObject 
* obj6 
= 0 ; 
15982     char *kwnames
[] = { 
15983         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
15986     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
15987     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoicebook
, 
15988     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15989     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
15990     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15991     arg3 
= (int)SWIG_As_int(obj2
);  
15992     if (PyErr_Occurred()) SWIG_fail
; 
15996             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
16002             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
16006         arg6 
= (long)SWIG_As_long(obj5
);  
16007         if (PyErr_Occurred()) SWIG_fail
; 
16011             arg7 
= wxString_in_helper(obj6
); 
16012             if (arg7 
== NULL
) SWIG_fail
; 
16017         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16018         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
16020         wxPyEndAllowThreads(__tstate
); 
16021         if (PyErr_Occurred()) SWIG_fail
; 
16024         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16040 static PyObject 
*_wrap_Choicebook_IsVertical(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16041     PyObject 
*resultobj
; 
16042     wxChoicebook 
*arg1 
= (wxChoicebook 
*) 0 ; 
16044     PyObject 
* obj0 
= 0 ; 
16045     char *kwnames
[] = { 
16046         (char *) "self", NULL 
 
16049     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
; 
16050     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoicebook
, 
16051     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16053         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16054         result 
= (bool)((wxChoicebook 
const *)arg1
)->IsVertical(); 
16056         wxPyEndAllowThreads(__tstate
); 
16057         if (PyErr_Occurred()) SWIG_fail
; 
16060         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16068 static PyObject 
*_wrap_Choicebook_DeleteAllPages(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16069     PyObject 
*resultobj
; 
16070     wxChoicebook 
*arg1 
= (wxChoicebook 
*) 0 ; 
16072     PyObject 
* obj0 
= 0 ; 
16073     char *kwnames
[] = { 
16074         (char *) "self", NULL 
 
16077     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
; 
16078     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoicebook
, 
16079     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16081         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16082         result 
= (bool)(arg1
)->DeleteAllPages(); 
16084         wxPyEndAllowThreads(__tstate
); 
16085         if (PyErr_Occurred()) SWIG_fail
; 
16088         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16096 static PyObject 
* Choicebook_swigregister(PyObject 
*, PyObject 
*args
) { 
16098     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16099     SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
); 
16101     return Py_BuildValue((char *)""); 
16103 static PyObject 
*_wrap_new_ChoicebookEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16104     PyObject 
*resultobj
; 
16105     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
16106     int arg2 
= (int) 0 ; 
16107     int arg3 
= (int) -1 ; 
16108     int arg4 
= (int) -1 ; 
16109     wxChoicebookEvent 
*result
; 
16110     PyObject 
* obj0 
= 0 ; 
16111     PyObject 
* obj1 
= 0 ; 
16112     PyObject 
* obj2 
= 0 ; 
16113     PyObject 
* obj3 
= 0 ; 
16114     char *kwnames
[] = { 
16115         (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL 
 
16118     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
16120         arg1 
= (wxEventType
)SWIG_As_int(obj0
);  
16121         if (PyErr_Occurred()) SWIG_fail
; 
16124         arg2 
= (int)SWIG_As_int(obj1
);  
16125         if (PyErr_Occurred()) SWIG_fail
; 
16128         arg3 
= (int)SWIG_As_int(obj2
);  
16129         if (PyErr_Occurred()) SWIG_fail
; 
16132         arg4 
= (int)SWIG_As_int(obj3
);  
16133         if (PyErr_Occurred()) SWIG_fail
; 
16136         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16137         result 
= (wxChoicebookEvent 
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
); 
16139         wxPyEndAllowThreads(__tstate
); 
16140         if (PyErr_Occurred()) SWIG_fail
; 
16142     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1); 
16149 static PyObject 
* ChoicebookEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
16151     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16152     SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
); 
16154     return Py_BuildValue((char *)""); 
16156 static PyObject 
*_wrap_new_BookCtrlSizer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16157     PyObject 
*resultobj
; 
16158     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
16159     wxBookCtrlSizer 
*result
; 
16160     PyObject 
* obj0 
= 0 ; 
16161     char *kwnames
[] = { 
16162         (char *) "nb", NULL 
 
16165     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
; 
16166     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
16167     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16169         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16170         result 
= (wxBookCtrlSizer 
*)new wxBookCtrlSizer(arg1
); 
16172         wxPyEndAllowThreads(__tstate
); 
16173         if (PyErr_Occurred()) SWIG_fail
; 
16175     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1); 
16182 static PyObject 
*_wrap_BookCtrlSizer_RecalcSizes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16183     PyObject 
*resultobj
; 
16184     wxBookCtrlSizer 
*arg1 
= (wxBookCtrlSizer 
*) 0 ; 
16185     PyObject 
* obj0 
= 0 ; 
16186     char *kwnames
[] = { 
16187         (char *) "self", NULL 
 
16190     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
; 
16191     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
, 
16192     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16194         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16195         (arg1
)->RecalcSizes(); 
16197         wxPyEndAllowThreads(__tstate
); 
16198         if (PyErr_Occurred()) SWIG_fail
; 
16200     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16207 static PyObject 
*_wrap_BookCtrlSizer_CalcMin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16208     PyObject 
*resultobj
; 
16209     wxBookCtrlSizer 
*arg1 
= (wxBookCtrlSizer 
*) 0 ; 
16211     PyObject 
* obj0 
= 0 ; 
16212     char *kwnames
[] = { 
16213         (char *) "self", NULL 
 
16216     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
; 
16217     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
, 
16218     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16220         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16221         result 
= (arg1
)->CalcMin(); 
16223         wxPyEndAllowThreads(__tstate
); 
16224         if (PyErr_Occurred()) SWIG_fail
; 
16227         wxSize 
* resultptr
; 
16228         resultptr 
= new wxSize((wxSize 
&) result
); 
16229         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
16237 static PyObject 
*_wrap_BookCtrlSizer_GetControl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16238     PyObject 
*resultobj
; 
16239     wxBookCtrlSizer 
*arg1 
= (wxBookCtrlSizer 
*) 0 ; 
16240     wxBookCtrl 
*result
; 
16241     PyObject 
* obj0 
= 0 ; 
16242     char *kwnames
[] = { 
16243         (char *) "self", NULL 
 
16246     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
; 
16247     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
, 
16248     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16250         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16251         result 
= (wxBookCtrl 
*)(arg1
)->GetControl(); 
16253         wxPyEndAllowThreads(__tstate
); 
16254         if (PyErr_Occurred()) SWIG_fail
; 
16256     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0); 
16263 static PyObject 
* BookCtrlSizer_swigregister(PyObject 
*, PyObject 
*args
) { 
16265     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16266     SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
); 
16268     return Py_BuildValue((char *)""); 
16270 static PyObject 
*_wrap_new_NotebookSizer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16271     PyObject 
*resultobj
; 
16272     wxNotebook 
*arg1 
= (wxNotebook 
*) 0 ; 
16273     wxNotebookSizer 
*result
; 
16274     PyObject 
* obj0 
= 0 ; 
16275     char *kwnames
[] = { 
16276         (char *) "nb", NULL 
 
16279     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
; 
16280     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
, 
16281     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16283         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16284         result 
= (wxNotebookSizer 
*)new wxNotebookSizer(arg1
); 
16286         wxPyEndAllowThreads(__tstate
); 
16287         if (PyErr_Occurred()) SWIG_fail
; 
16289     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1); 
16296 static PyObject 
*_wrap_NotebookSizer_RecalcSizes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16297     PyObject 
*resultobj
; 
16298     wxNotebookSizer 
*arg1 
= (wxNotebookSizer 
*) 0 ; 
16299     PyObject 
* obj0 
= 0 ; 
16300     char *kwnames
[] = { 
16301         (char *) "self", NULL 
 
16304     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
; 
16305     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
, 
16306     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16308         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16309         (arg1
)->RecalcSizes(); 
16311         wxPyEndAllowThreads(__tstate
); 
16312         if (PyErr_Occurred()) SWIG_fail
; 
16314     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16321 static PyObject 
*_wrap_NotebookSizer_CalcMin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16322     PyObject 
*resultobj
; 
16323     wxNotebookSizer 
*arg1 
= (wxNotebookSizer 
*) 0 ; 
16325     PyObject 
* obj0 
= 0 ; 
16326     char *kwnames
[] = { 
16327         (char *) "self", NULL 
 
16330     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
; 
16331     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
, 
16332     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16334         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16335         result 
= (arg1
)->CalcMin(); 
16337         wxPyEndAllowThreads(__tstate
); 
16338         if (PyErr_Occurred()) SWIG_fail
; 
16341         wxSize 
* resultptr
; 
16342         resultptr 
= new wxSize((wxSize 
&) result
); 
16343         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
16351 static PyObject 
*_wrap_NotebookSizer_GetNotebook(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16352     PyObject 
*resultobj
; 
16353     wxNotebookSizer 
*arg1 
= (wxNotebookSizer 
*) 0 ; 
16354     wxNotebook 
*result
; 
16355     PyObject 
* obj0 
= 0 ; 
16356     char *kwnames
[] = { 
16357         (char *) "self", NULL 
 
16360     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
; 
16361     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
, 
16362     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16364         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16365         result 
= (wxNotebook 
*)(arg1
)->GetNotebook(); 
16367         wxPyEndAllowThreads(__tstate
); 
16368         if (PyErr_Occurred()) SWIG_fail
; 
16371         resultobj 
= wxPyMake_wxObject(result
, 0);  
16379 static PyObject 
* NotebookSizer_swigregister(PyObject 
*, PyObject 
*args
) { 
16381     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16382     SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
); 
16384     return Py_BuildValue((char *)""); 
16386 static PyObject 
*_wrap_ToolBarToolBase_GetId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16387     PyObject 
*resultobj
; 
16388     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
16390     PyObject 
* obj0 
= 0 ; 
16391     char *kwnames
[] = { 
16392         (char *) "self", NULL 
 
16395     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
; 
16396     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
16397     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16399         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16400         result 
= (int)(arg1
)->GetId(); 
16402         wxPyEndAllowThreads(__tstate
); 
16403         if (PyErr_Occurred()) SWIG_fail
; 
16405     resultobj 
= SWIG_From_int((int)result
); 
16412 static PyObject 
*_wrap_ToolBarToolBase_GetControl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16413     PyObject 
*resultobj
; 
16414     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
16416     PyObject 
* obj0 
= 0 ; 
16417     char *kwnames
[] = { 
16418         (char *) "self", NULL 
 
16421     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
; 
16422     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
16423     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16425         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16426         result 
= (wxControl 
*)(arg1
)->GetControl(); 
16428         wxPyEndAllowThreads(__tstate
); 
16429         if (PyErr_Occurred()) SWIG_fail
; 
16432         resultobj 
= wxPyMake_wxObject(result
, 0);  
16440 static PyObject 
*_wrap_ToolBarToolBase_GetToolBar(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16441     PyObject 
*resultobj
; 
16442     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
16443     wxToolBarBase 
*result
; 
16444     PyObject 
* obj0 
= 0 ; 
16445     char *kwnames
[] = { 
16446         (char *) "self", NULL 
 
16449     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
; 
16450     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
16451     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16453         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16454         result 
= (wxToolBarBase 
*)(arg1
)->GetToolBar(); 
16456         wxPyEndAllowThreads(__tstate
); 
16457         if (PyErr_Occurred()) SWIG_fail
; 
16460         resultobj 
= wxPyMake_wxObject(result
, 0);  
16468 static PyObject 
*_wrap_ToolBarToolBase_IsButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16469     PyObject 
*resultobj
; 
16470     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
16472     PyObject 
* obj0 
= 0 ; 
16473     char *kwnames
[] = { 
16474         (char *) "self", NULL 
 
16477     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
; 
16478     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
16479     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16481         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16482         result 
= (int)(arg1
)->IsButton(); 
16484         wxPyEndAllowThreads(__tstate
); 
16485         if (PyErr_Occurred()) SWIG_fail
; 
16487     resultobj 
= SWIG_From_int((int)result
); 
16494 static PyObject 
*_wrap_ToolBarToolBase_IsControl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16495     PyObject 
*resultobj
; 
16496     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
16498     PyObject 
* obj0 
= 0 ; 
16499     char *kwnames
[] = { 
16500         (char *) "self", NULL 
 
16503     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
; 
16504     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
16505     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16507         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16508         result 
= (int)(arg1
)->IsControl(); 
16510         wxPyEndAllowThreads(__tstate
); 
16511         if (PyErr_Occurred()) SWIG_fail
; 
16513     resultobj 
= SWIG_From_int((int)result
); 
16520 static PyObject 
*_wrap_ToolBarToolBase_IsSeparator(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16521     PyObject 
*resultobj
; 
16522     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
16524     PyObject 
* obj0 
= 0 ; 
16525     char *kwnames
[] = { 
16526         (char *) "self", NULL 
 
16529     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
; 
16530     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
16531     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16533         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16534         result 
= (int)(arg1
)->IsSeparator(); 
16536         wxPyEndAllowThreads(__tstate
); 
16537         if (PyErr_Occurred()) SWIG_fail
; 
16539     resultobj 
= SWIG_From_int((int)result
); 
16546 static PyObject 
*_wrap_ToolBarToolBase_GetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16547     PyObject 
*resultobj
; 
16548     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
16550     PyObject 
* obj0 
= 0 ; 
16551     char *kwnames
[] = { 
16552         (char *) "self", NULL 
 
16555     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
; 
16556     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
16557     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16559         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16560         result 
= (int)(arg1
)->GetStyle(); 
16562         wxPyEndAllowThreads(__tstate
); 
16563         if (PyErr_Occurred()) SWIG_fail
; 
16565     resultobj 
= SWIG_From_int((int)result
); 
16572 static PyObject 
*_wrap_ToolBarToolBase_GetKind(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16573     PyObject 
*resultobj
; 
16574     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
16576     PyObject 
* obj0 
= 0 ; 
16577     char *kwnames
[] = { 
16578         (char *) "self", NULL 
 
16581     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
; 
16582     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
16583     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16585         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16586         result 
= (int)(arg1
)->GetKind(); 
16588         wxPyEndAllowThreads(__tstate
); 
16589         if (PyErr_Occurred()) SWIG_fail
; 
16591     resultobj 
= SWIG_From_int((int)result
); 
16598 static PyObject 
*_wrap_ToolBarToolBase_IsEnabled(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16599     PyObject 
*resultobj
; 
16600     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
16602     PyObject 
* obj0 
= 0 ; 
16603     char *kwnames
[] = { 
16604         (char *) "self", NULL 
 
16607     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
; 
16608     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
16609     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16611         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16612         result 
= (bool)(arg1
)->IsEnabled(); 
16614         wxPyEndAllowThreads(__tstate
); 
16615         if (PyErr_Occurred()) SWIG_fail
; 
16618         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16626 static PyObject 
*_wrap_ToolBarToolBase_IsToggled(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16627     PyObject 
*resultobj
; 
16628     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
16630     PyObject 
* obj0 
= 0 ; 
16631     char *kwnames
[] = { 
16632         (char *) "self", NULL 
 
16635     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
; 
16636     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
16637     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16639         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16640         result 
= (bool)(arg1
)->IsToggled(); 
16642         wxPyEndAllowThreads(__tstate
); 
16643         if (PyErr_Occurred()) SWIG_fail
; 
16646         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16654 static PyObject 
*_wrap_ToolBarToolBase_CanBeToggled(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16655     PyObject 
*resultobj
; 
16656     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
16658     PyObject 
* obj0 
= 0 ; 
16659     char *kwnames
[] = { 
16660         (char *) "self", NULL 
 
16663     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
; 
16664     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
16665     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16667         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16668         result 
= (bool)(arg1
)->CanBeToggled(); 
16670         wxPyEndAllowThreads(__tstate
); 
16671         if (PyErr_Occurred()) SWIG_fail
; 
16674         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16682 static PyObject 
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16683     PyObject 
*resultobj
; 
16684     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
16686     PyObject 
* obj0 
= 0 ; 
16687     char *kwnames
[] = { 
16688         (char *) "self", NULL 
 
16691     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
; 
16692     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
16693     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16695         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16697             wxBitmap 
const &_result_ref 
= (arg1
)->GetNormalBitmap(); 
16698             result 
= (wxBitmap 
*) &_result_ref
; 
16701         wxPyEndAllowThreads(__tstate
); 
16702         if (PyErr_Occurred()) SWIG_fail
; 
16705         wxBitmap
* resultptr 
= new wxBitmap(*result
); 
16706         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
16714 static PyObject 
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16715     PyObject 
*resultobj
; 
16716     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
16718     PyObject 
* obj0 
= 0 ; 
16719     char *kwnames
[] = { 
16720         (char *) "self", NULL 
 
16723     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
; 
16724     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
16725     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16727         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16729             wxBitmap 
const &_result_ref 
= (arg1
)->GetDisabledBitmap(); 
16730             result 
= (wxBitmap 
*) &_result_ref
; 
16733         wxPyEndAllowThreads(__tstate
); 
16734         if (PyErr_Occurred()) SWIG_fail
; 
16737         wxBitmap
* resultptr 
= new wxBitmap(*result
); 
16738         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
16746 static PyObject 
*_wrap_ToolBarToolBase_GetBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16747     PyObject 
*resultobj
; 
16748     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
16750     PyObject 
* obj0 
= 0 ; 
16751     char *kwnames
[] = { 
16752         (char *) "self", NULL 
 
16755     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
; 
16756     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
16757     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16759         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16760         result 
= (arg1
)->GetBitmap(); 
16762         wxPyEndAllowThreads(__tstate
); 
16763         if (PyErr_Occurred()) SWIG_fail
; 
16766         wxBitmap 
* resultptr
; 
16767         resultptr 
= new wxBitmap((wxBitmap 
&) result
); 
16768         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
16776 static PyObject 
*_wrap_ToolBarToolBase_GetLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16777     PyObject 
*resultobj
; 
16778     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
16780     PyObject 
* obj0 
= 0 ; 
16781     char *kwnames
[] = { 
16782         (char *) "self", NULL 
 
16785     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
; 
16786     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
16787     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16789         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16790         result 
= (arg1
)->GetLabel(); 
16792         wxPyEndAllowThreads(__tstate
); 
16793         if (PyErr_Occurred()) SWIG_fail
; 
16797         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
16799         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
16808 static PyObject 
*_wrap_ToolBarToolBase_GetShortHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16809     PyObject 
*resultobj
; 
16810     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
16812     PyObject 
* obj0 
= 0 ; 
16813     char *kwnames
[] = { 
16814         (char *) "self", NULL 
 
16817     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
; 
16818     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
16819     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16821         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16822         result 
= (arg1
)->GetShortHelp(); 
16824         wxPyEndAllowThreads(__tstate
); 
16825         if (PyErr_Occurred()) SWIG_fail
; 
16829         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
16831         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
16840 static PyObject 
*_wrap_ToolBarToolBase_GetLongHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16841     PyObject 
*resultobj
; 
16842     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
16844     PyObject 
* obj0 
= 0 ; 
16845     char *kwnames
[] = { 
16846         (char *) "self", NULL 
 
16849     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
; 
16850     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
16851     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16853         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16854         result 
= (arg1
)->GetLongHelp(); 
16856         wxPyEndAllowThreads(__tstate
); 
16857         if (PyErr_Occurred()) SWIG_fail
; 
16861         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
16863         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
16872 static PyObject 
*_wrap_ToolBarToolBase_Enable(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16873     PyObject 
*resultobj
; 
16874     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
16877     PyObject 
* obj0 
= 0 ; 
16878     PyObject 
* obj1 
= 0 ; 
16879     char *kwnames
[] = { 
16880         (char *) "self",(char *) "enable", NULL 
 
16883     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
; 
16884     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
16885     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16886     arg2 
= (bool)SWIG_As_bool(obj1
);  
16887     if (PyErr_Occurred()) SWIG_fail
; 
16889         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16890         result 
= (bool)(arg1
)->Enable(arg2
); 
16892         wxPyEndAllowThreads(__tstate
); 
16893         if (PyErr_Occurred()) SWIG_fail
; 
16896         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16904 static PyObject 
*_wrap_ToolBarToolBase_Toggle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16905     PyObject 
*resultobj
; 
16906     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
16907     PyObject 
* obj0 
= 0 ; 
16908     char *kwnames
[] = { 
16909         (char *) "self", NULL 
 
16912     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
; 
16913     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
16914     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16916         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16919         wxPyEndAllowThreads(__tstate
); 
16920         if (PyErr_Occurred()) SWIG_fail
; 
16922     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16929 static PyObject 
*_wrap_ToolBarToolBase_SetToggle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16930     PyObject 
*resultobj
; 
16931     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
16934     PyObject 
* obj0 
= 0 ; 
16935     PyObject 
* obj1 
= 0 ; 
16936     char *kwnames
[] = { 
16937         (char *) "self",(char *) "toggle", NULL 
 
16940     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
; 
16941     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
16942     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16943     arg2 
= (bool)SWIG_As_bool(obj1
);  
16944     if (PyErr_Occurred()) SWIG_fail
; 
16946         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16947         result 
= (bool)(arg1
)->SetToggle(arg2
); 
16949         wxPyEndAllowThreads(__tstate
); 
16950         if (PyErr_Occurred()) SWIG_fail
; 
16953         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16961 static PyObject 
*_wrap_ToolBarToolBase_SetShortHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16962     PyObject 
*resultobj
; 
16963     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
16964     wxString 
*arg2 
= 0 ; 
16966     bool temp2 
= false ; 
16967     PyObject 
* obj0 
= 0 ; 
16968     PyObject 
* obj1 
= 0 ; 
16969     char *kwnames
[] = { 
16970         (char *) "self",(char *) "help", NULL 
 
16973     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
; 
16974     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
16975     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16977         arg2 
= wxString_in_helper(obj1
); 
16978         if (arg2 
== NULL
) SWIG_fail
; 
16982         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16983         result 
= (bool)(arg1
)->SetShortHelp((wxString 
const &)*arg2
); 
16985         wxPyEndAllowThreads(__tstate
); 
16986         if (PyErr_Occurred()) SWIG_fail
; 
16989         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17005 static PyObject 
*_wrap_ToolBarToolBase_SetLongHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17006     PyObject 
*resultobj
; 
17007     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
17008     wxString 
*arg2 
= 0 ; 
17010     bool temp2 
= false ; 
17011     PyObject 
* obj0 
= 0 ; 
17012     PyObject 
* obj1 
= 0 ; 
17013     char *kwnames
[] = { 
17014         (char *) "self",(char *) "help", NULL 
 
17017     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
; 
17018     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
17019     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17021         arg2 
= wxString_in_helper(obj1
); 
17022         if (arg2 
== NULL
) SWIG_fail
; 
17026         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17027         result 
= (bool)(arg1
)->SetLongHelp((wxString 
const &)*arg2
); 
17029         wxPyEndAllowThreads(__tstate
); 
17030         if (PyErr_Occurred()) SWIG_fail
; 
17033         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17049 static PyObject 
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17050     PyObject 
*resultobj
; 
17051     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
17052     wxBitmap 
*arg2 
= 0 ; 
17053     PyObject 
* obj0 
= 0 ; 
17054     PyObject 
* obj1 
= 0 ; 
17055     char *kwnames
[] = { 
17056         (char *) "self",(char *) "bmp", NULL 
 
17059     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
17060     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
17061     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17062     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
17063     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
17065     if (arg2 
== NULL
) { 
17066         PyErr_SetString(PyExc_TypeError
,"null reference"); 
17070         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17071         (arg1
)->SetNormalBitmap((wxBitmap 
const &)*arg2
); 
17073         wxPyEndAllowThreads(__tstate
); 
17074         if (PyErr_Occurred()) SWIG_fail
; 
17076     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17083 static PyObject 
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17084     PyObject 
*resultobj
; 
17085     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
17086     wxBitmap 
*arg2 
= 0 ; 
17087     PyObject 
* obj0 
= 0 ; 
17088     PyObject 
* obj1 
= 0 ; 
17089     char *kwnames
[] = { 
17090         (char *) "self",(char *) "bmp", NULL 
 
17093     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
17094     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
17095     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17096     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
17097     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
17099     if (arg2 
== NULL
) { 
17100         PyErr_SetString(PyExc_TypeError
,"null reference"); 
17104         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17105         (arg1
)->SetDisabledBitmap((wxBitmap 
const &)*arg2
); 
17107         wxPyEndAllowThreads(__tstate
); 
17108         if (PyErr_Occurred()) SWIG_fail
; 
17110     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17117 static PyObject 
*_wrap_ToolBarToolBase_SetLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17118     PyObject 
*resultobj
; 
17119     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
17120     wxString 
*arg2 
= 0 ; 
17121     bool temp2 
= false ; 
17122     PyObject 
* obj0 
= 0 ; 
17123     PyObject 
* obj1 
= 0 ; 
17124     char *kwnames
[] = { 
17125         (char *) "self",(char *) "label", NULL 
 
17128     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
; 
17129     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
17130     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17132         arg2 
= wxString_in_helper(obj1
); 
17133         if (arg2 
== NULL
) SWIG_fail
; 
17137         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17138         (arg1
)->SetLabel((wxString 
const &)*arg2
); 
17140         wxPyEndAllowThreads(__tstate
); 
17141         if (PyErr_Occurred()) SWIG_fail
; 
17143     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17158 static PyObject 
*_wrap_ToolBarToolBase_Detach(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17159     PyObject 
*resultobj
; 
17160     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
17161     PyObject 
* obj0 
= 0 ; 
17162     char *kwnames
[] = { 
17163         (char *) "self", NULL 
 
17166     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
; 
17167     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
17168     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17170         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17173         wxPyEndAllowThreads(__tstate
); 
17174         if (PyErr_Occurred()) SWIG_fail
; 
17176     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17183 static PyObject 
*_wrap_ToolBarToolBase_Attach(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17184     PyObject 
*resultobj
; 
17185     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
17186     wxToolBarBase 
*arg2 
= (wxToolBarBase 
*) 0 ; 
17187     PyObject 
* obj0 
= 0 ; 
17188     PyObject 
* obj1 
= 0 ; 
17189     char *kwnames
[] = { 
17190         (char *) "self",(char *) "tbar", NULL 
 
17193     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
; 
17194     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
17195     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17196     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
, 
17197     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17199         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17200         (arg1
)->Attach(arg2
); 
17202         wxPyEndAllowThreads(__tstate
); 
17203         if (PyErr_Occurred()) SWIG_fail
; 
17205     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17212 static PyObject 
*_wrap_ToolBarToolBase_GetClientData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17213     PyObject 
*resultobj
; 
17214     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
17216     PyObject 
* obj0 
= 0 ; 
17217     char *kwnames
[] = { 
17218         (char *) "self", NULL 
 
17221     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
; 
17222     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
17223     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17225         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17226         result 
= (PyObject 
*)wxToolBarToolBase_GetClientData(arg1
); 
17228         wxPyEndAllowThreads(__tstate
); 
17229         if (PyErr_Occurred()) SWIG_fail
; 
17231     resultobj 
= result
; 
17238 static PyObject 
*_wrap_ToolBarToolBase_SetClientData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17239     PyObject 
*resultobj
; 
17240     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
17241     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
17242     PyObject 
* obj0 
= 0 ; 
17243     PyObject 
* obj1 
= 0 ; 
17244     char *kwnames
[] = { 
17245         (char *) "self",(char *) "clientData", NULL 
 
17248     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
; 
17249     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
17250     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17253         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17254         wxToolBarToolBase_SetClientData(arg1
,arg2
); 
17256         wxPyEndAllowThreads(__tstate
); 
17257         if (PyErr_Occurred()) SWIG_fail
; 
17259     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17266 static PyObject 
* ToolBarToolBase_swigregister(PyObject 
*, PyObject 
*args
) { 
17268     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
17269     SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
); 
17271     return Py_BuildValue((char *)""); 
17273 static PyObject 
*_wrap_ToolBarBase_DoAddTool(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17274     PyObject 
*resultobj
; 
17275     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17277     wxString 
*arg3 
= 0 ; 
17278     wxBitmap 
*arg4 
= 0 ; 
17279     wxBitmap 
const &arg5_defvalue 
= wxNullBitmap 
; 
17280     wxBitmap 
*arg5 
= (wxBitmap 
*) &arg5_defvalue 
; 
17281     int arg6 
= (int) wxITEM_NORMAL 
; 
17282     wxString 
const &arg7_defvalue 
= wxPyEmptyString 
; 
17283     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
17284     wxString 
const &arg8_defvalue 
= wxPyEmptyString 
; 
17285     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
17286     PyObject 
*arg9 
= (PyObject 
*) NULL 
; 
17287     wxToolBarToolBase 
*result
; 
17288     bool temp3 
= false ; 
17289     bool temp7 
= false ; 
17290     bool temp8 
= false ; 
17291     PyObject 
* obj0 
= 0 ; 
17292     PyObject 
* obj1 
= 0 ; 
17293     PyObject 
* obj2 
= 0 ; 
17294     PyObject 
* obj3 
= 0 ; 
17295     PyObject 
* obj4 
= 0 ; 
17296     PyObject 
* obj5 
= 0 ; 
17297     PyObject 
* obj6 
= 0 ; 
17298     PyObject 
* obj7 
= 0 ; 
17299     PyObject 
* obj8 
= 0 ; 
17300     char *kwnames
[] = { 
17301         (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL 
 
17304     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
17305     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17306     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17307     arg2 
= (int)SWIG_As_int(obj1
);  
17308     if (PyErr_Occurred()) SWIG_fail
; 
17310         arg3 
= wxString_in_helper(obj2
); 
17311         if (arg3 
== NULL
) SWIG_fail
; 
17314     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
, 
17315     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
17317     if (arg4 
== NULL
) { 
17318         PyErr_SetString(PyExc_TypeError
,"null reference"); 
17322         if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
, 
17323         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
17325         if (arg5 
== NULL
) { 
17326             PyErr_SetString(PyExc_TypeError
,"null reference"); 
17331         arg6 
= (int)SWIG_As_int(obj5
);  
17332         if (PyErr_Occurred()) SWIG_fail
; 
17336             arg7 
= wxString_in_helper(obj6
); 
17337             if (arg7 
== NULL
) SWIG_fail
; 
17343             arg8 
= wxString_in_helper(obj7
); 
17344             if (arg8 
== NULL
) SWIG_fail
; 
17352         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17353         result 
= (wxToolBarToolBase 
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString 
const &)*arg3
,(wxBitmap 
const &)*arg4
,(wxBitmap 
const &)*arg5
,(wxItemKind 
)arg6
,(wxString 
const &)*arg7
,(wxString 
const &)*arg8
,arg9
); 
17355         wxPyEndAllowThreads(__tstate
); 
17356         if (PyErr_Occurred()) SWIG_fail
; 
17359         resultobj 
= wxPyMake_wxObject(result
, 0);  
17391 static PyObject 
*_wrap_ToolBarBase_DoInsertTool(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17392     PyObject 
*resultobj
; 
17393     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17396     wxString 
*arg4 
= 0 ; 
17397     wxBitmap 
*arg5 
= 0 ; 
17398     wxBitmap 
const &arg6_defvalue 
= wxNullBitmap 
; 
17399     wxBitmap 
*arg6 
= (wxBitmap 
*) &arg6_defvalue 
; 
17400     int arg7 
= (int) wxITEM_NORMAL 
; 
17401     wxString 
const &arg8_defvalue 
= wxPyEmptyString 
; 
17402     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
17403     wxString 
const &arg9_defvalue 
= wxPyEmptyString 
; 
17404     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
17405     PyObject 
*arg10 
= (PyObject 
*) NULL 
; 
17406     wxToolBarToolBase 
*result
; 
17407     bool temp4 
= false ; 
17408     bool temp8 
= false ; 
17409     bool temp9 
= false ; 
17410     PyObject 
* obj0 
= 0 ; 
17411     PyObject 
* obj1 
= 0 ; 
17412     PyObject 
* obj2 
= 0 ; 
17413     PyObject 
* obj3 
= 0 ; 
17414     PyObject 
* obj4 
= 0 ; 
17415     PyObject 
* obj5 
= 0 ; 
17416     PyObject 
* obj6 
= 0 ; 
17417     PyObject 
* obj7 
= 0 ; 
17418     PyObject 
* obj8 
= 0 ; 
17419     PyObject 
* obj9 
= 0 ; 
17420     char *kwnames
[] = { 
17421         (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL 
 
17424     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
; 
17425     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17426     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17427     arg2 
= (size_t)SWIG_As_unsigned_SS_long(obj1
);  
17428     if (PyErr_Occurred()) SWIG_fail
; 
17429     arg3 
= (int)SWIG_As_int(obj2
);  
17430     if (PyErr_Occurred()) SWIG_fail
; 
17432         arg4 
= wxString_in_helper(obj3
); 
17433         if (arg4 
== NULL
) SWIG_fail
; 
17436     if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
, 
17437     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
17439     if (arg5 
== NULL
) { 
17440         PyErr_SetString(PyExc_TypeError
,"null reference"); 
17444         if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
, 
17445         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
17447         if (arg6 
== NULL
) { 
17448             PyErr_SetString(PyExc_TypeError
,"null reference"); 
17453         arg7 
= (int)SWIG_As_int(obj6
);  
17454         if (PyErr_Occurred()) SWIG_fail
; 
17458             arg8 
= wxString_in_helper(obj7
); 
17459             if (arg8 
== NULL
) SWIG_fail
; 
17465             arg9 
= wxString_in_helper(obj8
); 
17466             if (arg9 
== NULL
) SWIG_fail
; 
17474         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17475         result 
= (wxToolBarToolBase 
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString 
const &)*arg4
,(wxBitmap 
const &)*arg5
,(wxBitmap 
const &)*arg6
,(wxItemKind 
)arg7
,(wxString 
const &)*arg8
,(wxString 
const &)*arg9
,arg10
); 
17477         wxPyEndAllowThreads(__tstate
); 
17478         if (PyErr_Occurred()) SWIG_fail
; 
17481         resultobj 
= wxPyMake_wxObject(result
, 0);  
17513 static PyObject 
*_wrap_ToolBarBase_AddToolItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17514     PyObject 
*resultobj
; 
17515     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17516     wxToolBarToolBase 
*arg2 
= (wxToolBarToolBase 
*) 0 ; 
17517     wxToolBarToolBase 
*result
; 
17518     PyObject 
* obj0 
= 0 ; 
17519     PyObject 
* obj1 
= 0 ; 
17520     char *kwnames
[] = { 
17521         (char *) "self",(char *) "tool", NULL 
 
17524     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
17525     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17526     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17527     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
, 
17528     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17530         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17531         result 
= (wxToolBarToolBase 
*)(arg1
)->AddTool(arg2
); 
17533         wxPyEndAllowThreads(__tstate
); 
17534         if (PyErr_Occurred()) SWIG_fail
; 
17537         resultobj 
= wxPyMake_wxObject(result
, 0);  
17545 static PyObject 
*_wrap_ToolBarBase_InsertToolItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17546     PyObject 
*resultobj
; 
17547     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17549     wxToolBarToolBase 
*arg3 
= (wxToolBarToolBase 
*) 0 ; 
17550     wxToolBarToolBase 
*result
; 
17551     PyObject 
* obj0 
= 0 ; 
17552     PyObject 
* obj1 
= 0 ; 
17553     PyObject 
* obj2 
= 0 ; 
17554     char *kwnames
[] = { 
17555         (char *) "self",(char *) "pos",(char *) "tool", NULL 
 
17558     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
17559     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17560     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17561     arg2 
= (size_t)SWIG_As_unsigned_SS_long(obj1
);  
17562     if (PyErr_Occurred()) SWIG_fail
; 
17563     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
, 
17564     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17566         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17567         result 
= (wxToolBarToolBase 
*)(arg1
)->InsertTool(arg2
,arg3
); 
17569         wxPyEndAllowThreads(__tstate
); 
17570         if (PyErr_Occurred()) SWIG_fail
; 
17573         resultobj 
= wxPyMake_wxObject(result
, 0);  
17581 static PyObject 
*_wrap_ToolBarBase_AddControl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17582     PyObject 
*resultobj
; 
17583     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17584     wxControl 
*arg2 
= (wxControl 
*) 0 ; 
17585     wxToolBarToolBase 
*result
; 
17586     PyObject 
* obj0 
= 0 ; 
17587     PyObject 
* obj1 
= 0 ; 
17588     char *kwnames
[] = { 
17589         (char *) "self",(char *) "control", NULL 
 
17592     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
; 
17593     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17594     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17595     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
, 
17596     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17598         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17599         result 
= (wxToolBarToolBase 
*)(arg1
)->AddControl(arg2
); 
17601         wxPyEndAllowThreads(__tstate
); 
17602         if (PyErr_Occurred()) SWIG_fail
; 
17605         resultobj 
= wxPyMake_wxObject(result
, 0);  
17613 static PyObject 
*_wrap_ToolBarBase_InsertControl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17614     PyObject 
*resultobj
; 
17615     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17617     wxControl 
*arg3 
= (wxControl 
*) 0 ; 
17618     wxToolBarToolBase 
*result
; 
17619     PyObject 
* obj0 
= 0 ; 
17620     PyObject 
* obj1 
= 0 ; 
17621     PyObject 
* obj2 
= 0 ; 
17622     char *kwnames
[] = { 
17623         (char *) "self",(char *) "pos",(char *) "control", NULL 
 
17626     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
17627     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17628     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17629     arg2 
= (size_t)SWIG_As_unsigned_SS_long(obj1
);  
17630     if (PyErr_Occurred()) SWIG_fail
; 
17631     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
, 
17632     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17634         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17635         result 
= (wxToolBarToolBase 
*)(arg1
)->InsertControl(arg2
,arg3
); 
17637         wxPyEndAllowThreads(__tstate
); 
17638         if (PyErr_Occurred()) SWIG_fail
; 
17641         resultobj 
= wxPyMake_wxObject(result
, 0);  
17649 static PyObject 
*_wrap_ToolBarBase_FindControl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17650     PyObject 
*resultobj
; 
17651     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17654     PyObject 
* obj0 
= 0 ; 
17655     PyObject 
* obj1 
= 0 ; 
17656     char *kwnames
[] = { 
17657         (char *) "self",(char *) "id", NULL 
 
17660     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
; 
17661     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17662     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17663     arg2 
= (int)SWIG_As_int(obj1
);  
17664     if (PyErr_Occurred()) SWIG_fail
; 
17666         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17667         result 
= (wxControl 
*)(arg1
)->FindControl(arg2
); 
17669         wxPyEndAllowThreads(__tstate
); 
17670         if (PyErr_Occurred()) SWIG_fail
; 
17673         resultobj 
= wxPyMake_wxObject(result
, 0);  
17681 static PyObject 
*_wrap_ToolBarBase_AddSeparator(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17682     PyObject 
*resultobj
; 
17683     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17684     wxToolBarToolBase 
*result
; 
17685     PyObject 
* obj0 
= 0 ; 
17686     char *kwnames
[] = { 
17687         (char *) "self", NULL 
 
17690     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
; 
17691     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17692     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17694         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17695         result 
= (wxToolBarToolBase 
*)(arg1
)->AddSeparator(); 
17697         wxPyEndAllowThreads(__tstate
); 
17698         if (PyErr_Occurred()) SWIG_fail
; 
17701         resultobj 
= wxPyMake_wxObject(result
, 0);  
17709 static PyObject 
*_wrap_ToolBarBase_InsertSeparator(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17710     PyObject 
*resultobj
; 
17711     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17713     wxToolBarToolBase 
*result
; 
17714     PyObject 
* obj0 
= 0 ; 
17715     PyObject 
* obj1 
= 0 ; 
17716     char *kwnames
[] = { 
17717         (char *) "self",(char *) "pos", NULL 
 
17720     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
; 
17721     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17722     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17723     arg2 
= (size_t)SWIG_As_unsigned_SS_long(obj1
);  
17724     if (PyErr_Occurred()) SWIG_fail
; 
17726         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17727         result 
= (wxToolBarToolBase 
*)(arg1
)->InsertSeparator(arg2
); 
17729         wxPyEndAllowThreads(__tstate
); 
17730         if (PyErr_Occurred()) SWIG_fail
; 
17733         resultobj 
= wxPyMake_wxObject(result
, 0);  
17741 static PyObject 
*_wrap_ToolBarBase_RemoveTool(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17742     PyObject 
*resultobj
; 
17743     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17745     wxToolBarToolBase 
*result
; 
17746     PyObject 
* obj0 
= 0 ; 
17747     PyObject 
* obj1 
= 0 ; 
17748     char *kwnames
[] = { 
17749         (char *) "self",(char *) "id", NULL 
 
17752     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
; 
17753     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17754     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17755     arg2 
= (int)SWIG_As_int(obj1
);  
17756     if (PyErr_Occurred()) SWIG_fail
; 
17758         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17759         result 
= (wxToolBarToolBase 
*)(arg1
)->RemoveTool(arg2
); 
17761         wxPyEndAllowThreads(__tstate
); 
17762         if (PyErr_Occurred()) SWIG_fail
; 
17765         resultobj 
= wxPyMake_wxObject(result
, 0);  
17773 static PyObject 
*_wrap_ToolBarBase_DeleteToolByPos(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17774     PyObject 
*resultobj
; 
17775     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17778     PyObject 
* obj0 
= 0 ; 
17779     PyObject 
* obj1 
= 0 ; 
17780     char *kwnames
[] = { 
17781         (char *) "self",(char *) "pos", NULL 
 
17784     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
; 
17785     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17786     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17787     arg2 
= (size_t)SWIG_As_unsigned_SS_long(obj1
);  
17788     if (PyErr_Occurred()) SWIG_fail
; 
17790         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17791         result 
= (bool)(arg1
)->DeleteToolByPos(arg2
); 
17793         wxPyEndAllowThreads(__tstate
); 
17794         if (PyErr_Occurred()) SWIG_fail
; 
17797         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17805 static PyObject 
*_wrap_ToolBarBase_DeleteTool(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17806     PyObject 
*resultobj
; 
17807     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17810     PyObject 
* obj0 
= 0 ; 
17811     PyObject 
* obj1 
= 0 ; 
17812     char *kwnames
[] = { 
17813         (char *) "self",(char *) "id", NULL 
 
17816     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
; 
17817     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17818     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17819     arg2 
= (int)SWIG_As_int(obj1
);  
17820     if (PyErr_Occurred()) SWIG_fail
; 
17822         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17823         result 
= (bool)(arg1
)->DeleteTool(arg2
); 
17825         wxPyEndAllowThreads(__tstate
); 
17826         if (PyErr_Occurred()) SWIG_fail
; 
17829         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17837 static PyObject 
*_wrap_ToolBarBase_ClearTools(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17838     PyObject 
*resultobj
; 
17839     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17840     PyObject 
* obj0 
= 0 ; 
17841     char *kwnames
[] = { 
17842         (char *) "self", NULL 
 
17845     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
; 
17846     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17847     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17849         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17850         (arg1
)->ClearTools(); 
17852         wxPyEndAllowThreads(__tstate
); 
17853         if (PyErr_Occurred()) SWIG_fail
; 
17855     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17862 static PyObject 
*_wrap_ToolBarBase_Realize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17863     PyObject 
*resultobj
; 
17864     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17866     PyObject 
* obj0 
= 0 ; 
17867     char *kwnames
[] = { 
17868         (char *) "self", NULL 
 
17871     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
; 
17872     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17873     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17875         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17876         result 
= (bool)(arg1
)->Realize(); 
17878         wxPyEndAllowThreads(__tstate
); 
17879         if (PyErr_Occurred()) SWIG_fail
; 
17882         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17890 static PyObject 
*_wrap_ToolBarBase_EnableTool(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17891     PyObject 
*resultobj
; 
17892     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17895     PyObject 
* obj0 
= 0 ; 
17896     PyObject 
* obj1 
= 0 ; 
17897     PyObject 
* obj2 
= 0 ; 
17898     char *kwnames
[] = { 
17899         (char *) "self",(char *) "id",(char *) "enable", NULL 
 
17902     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
17903     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17904     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17905     arg2 
= (int)SWIG_As_int(obj1
);  
17906     if (PyErr_Occurred()) SWIG_fail
; 
17907     arg3 
= (bool)SWIG_As_bool(obj2
);  
17908     if (PyErr_Occurred()) SWIG_fail
; 
17910         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17911         (arg1
)->EnableTool(arg2
,arg3
); 
17913         wxPyEndAllowThreads(__tstate
); 
17914         if (PyErr_Occurred()) SWIG_fail
; 
17916     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17923 static PyObject 
*_wrap_ToolBarBase_ToggleTool(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17924     PyObject 
*resultobj
; 
17925     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17928     PyObject 
* obj0 
= 0 ; 
17929     PyObject 
* obj1 
= 0 ; 
17930     PyObject 
* obj2 
= 0 ; 
17931     char *kwnames
[] = { 
17932         (char *) "self",(char *) "id",(char *) "toggle", NULL 
 
17935     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
17936     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17937     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17938     arg2 
= (int)SWIG_As_int(obj1
);  
17939     if (PyErr_Occurred()) SWIG_fail
; 
17940     arg3 
= (bool)SWIG_As_bool(obj2
);  
17941     if (PyErr_Occurred()) SWIG_fail
; 
17943         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17944         (arg1
)->ToggleTool(arg2
,arg3
); 
17946         wxPyEndAllowThreads(__tstate
); 
17947         if (PyErr_Occurred()) SWIG_fail
; 
17949     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17956 static PyObject 
*_wrap_ToolBarBase_SetToggle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17957     PyObject 
*resultobj
; 
17958     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17961     PyObject 
* obj0 
= 0 ; 
17962     PyObject 
* obj1 
= 0 ; 
17963     PyObject 
* obj2 
= 0 ; 
17964     char *kwnames
[] = { 
17965         (char *) "self",(char *) "id",(char *) "toggle", NULL 
 
17968     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
17969     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17970     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17971     arg2 
= (int)SWIG_As_int(obj1
);  
17972     if (PyErr_Occurred()) SWIG_fail
; 
17973     arg3 
= (bool)SWIG_As_bool(obj2
);  
17974     if (PyErr_Occurred()) SWIG_fail
; 
17976         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17977         (arg1
)->SetToggle(arg2
,arg3
); 
17979         wxPyEndAllowThreads(__tstate
); 
17980         if (PyErr_Occurred()) SWIG_fail
; 
17982     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17989 static PyObject 
*_wrap_ToolBarBase_GetToolClientData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17990     PyObject 
*resultobj
; 
17991     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17994     PyObject 
* obj0 
= 0 ; 
17995     PyObject 
* obj1 
= 0 ; 
17996     char *kwnames
[] = { 
17997         (char *) "self",(char *) "id", NULL 
 
18000     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
; 
18001     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
18002     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18003     arg2 
= (int)SWIG_As_int(obj1
);  
18004     if (PyErr_Occurred()) SWIG_fail
; 
18006         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18007         result 
= (PyObject 
*)wxToolBarBase_GetToolClientData(arg1
,arg2
); 
18009         wxPyEndAllowThreads(__tstate
); 
18010         if (PyErr_Occurred()) SWIG_fail
; 
18012     resultobj 
= result
; 
18019 static PyObject 
*_wrap_ToolBarBase_SetToolClientData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18020     PyObject 
*resultobj
; 
18021     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
18023     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
18024     PyObject 
* obj0 
= 0 ; 
18025     PyObject 
* obj1 
= 0 ; 
18026     PyObject 
* obj2 
= 0 ; 
18027     char *kwnames
[] = { 
18028         (char *) "self",(char *) "id",(char *) "clientData", NULL 
 
18031     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18032     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
18033     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18034     arg2 
= (int)SWIG_As_int(obj1
);  
18035     if (PyErr_Occurred()) SWIG_fail
; 
18038         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18039         wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
); 
18041         wxPyEndAllowThreads(__tstate
); 
18042         if (PyErr_Occurred()) SWIG_fail
; 
18044     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18051 static PyObject 
*_wrap_ToolBarBase_GetToolPos(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18052     PyObject 
*resultobj
; 
18053     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
18056     PyObject 
* obj0 
= 0 ; 
18057     PyObject 
* obj1 
= 0 ; 
18058     char *kwnames
[] = { 
18059         (char *) "self",(char *) "id", NULL 
 
18062     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
; 
18063     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
18064     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18065     arg2 
= (int)SWIG_As_int(obj1
);  
18066     if (PyErr_Occurred()) SWIG_fail
; 
18068         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18069         result 
= (int)((wxToolBarBase 
const *)arg1
)->GetToolPos(arg2
); 
18071         wxPyEndAllowThreads(__tstate
); 
18072         if (PyErr_Occurred()) SWIG_fail
; 
18074     resultobj 
= SWIG_From_int((int)result
); 
18081 static PyObject 
*_wrap_ToolBarBase_GetToolState(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18082     PyObject 
*resultobj
; 
18083     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
18086     PyObject 
* obj0 
= 0 ; 
18087     PyObject 
* obj1 
= 0 ; 
18088     char *kwnames
[] = { 
18089         (char *) "self",(char *) "id", NULL 
 
18092     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
; 
18093     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
18094     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18095     arg2 
= (int)SWIG_As_int(obj1
);  
18096     if (PyErr_Occurred()) SWIG_fail
; 
18098         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18099         result 
= (bool)(arg1
)->GetToolState(arg2
); 
18101         wxPyEndAllowThreads(__tstate
); 
18102         if (PyErr_Occurred()) SWIG_fail
; 
18105         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18113 static PyObject 
*_wrap_ToolBarBase_GetToolEnabled(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18114     PyObject 
*resultobj
; 
18115     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
18118     PyObject 
* obj0 
= 0 ; 
18119     PyObject 
* obj1 
= 0 ; 
18120     char *kwnames
[] = { 
18121         (char *) "self",(char *) "id", NULL 
 
18124     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
; 
18125     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
18126     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18127     arg2 
= (int)SWIG_As_int(obj1
);  
18128     if (PyErr_Occurred()) SWIG_fail
; 
18130         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18131         result 
= (bool)(arg1
)->GetToolEnabled(arg2
); 
18133         wxPyEndAllowThreads(__tstate
); 
18134         if (PyErr_Occurred()) SWIG_fail
; 
18137         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18145 static PyObject 
*_wrap_ToolBarBase_SetToolShortHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18146     PyObject 
*resultobj
; 
18147     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
18149     wxString 
*arg3 
= 0 ; 
18150     bool temp3 
= false ; 
18151     PyObject 
* obj0 
= 0 ; 
18152     PyObject 
* obj1 
= 0 ; 
18153     PyObject 
* obj2 
= 0 ; 
18154     char *kwnames
[] = { 
18155         (char *) "self",(char *) "id",(char *) "helpString", NULL 
 
18158     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18159     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
18160     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18161     arg2 
= (int)SWIG_As_int(obj1
);  
18162     if (PyErr_Occurred()) SWIG_fail
; 
18164         arg3 
= wxString_in_helper(obj2
); 
18165         if (arg3 
== NULL
) SWIG_fail
; 
18169         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18170         (arg1
)->SetToolShortHelp(arg2
,(wxString 
const &)*arg3
); 
18172         wxPyEndAllowThreads(__tstate
); 
18173         if (PyErr_Occurred()) SWIG_fail
; 
18175     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18190 static PyObject 
*_wrap_ToolBarBase_GetToolShortHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18191     PyObject 
*resultobj
; 
18192     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
18195     PyObject 
* obj0 
= 0 ; 
18196     PyObject 
* obj1 
= 0 ; 
18197     char *kwnames
[] = { 
18198         (char *) "self",(char *) "id", NULL 
 
18201     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
; 
18202     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
18203     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18204     arg2 
= (int)SWIG_As_int(obj1
);  
18205     if (PyErr_Occurred()) SWIG_fail
; 
18207         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18208         result 
= (arg1
)->GetToolShortHelp(arg2
); 
18210         wxPyEndAllowThreads(__tstate
); 
18211         if (PyErr_Occurred()) SWIG_fail
; 
18215         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
18217         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
18226 static PyObject 
*_wrap_ToolBarBase_SetToolLongHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18227     PyObject 
*resultobj
; 
18228     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
18230     wxString 
*arg3 
= 0 ; 
18231     bool temp3 
= false ; 
18232     PyObject 
* obj0 
= 0 ; 
18233     PyObject 
* obj1 
= 0 ; 
18234     PyObject 
* obj2 
= 0 ; 
18235     char *kwnames
[] = { 
18236         (char *) "self",(char *) "id",(char *) "helpString", NULL 
 
18239     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18240     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
18241     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18242     arg2 
= (int)SWIG_As_int(obj1
);  
18243     if (PyErr_Occurred()) SWIG_fail
; 
18245         arg3 
= wxString_in_helper(obj2
); 
18246         if (arg3 
== NULL
) SWIG_fail
; 
18250         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18251         (arg1
)->SetToolLongHelp(arg2
,(wxString 
const &)*arg3
); 
18253         wxPyEndAllowThreads(__tstate
); 
18254         if (PyErr_Occurred()) SWIG_fail
; 
18256     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18271 static PyObject 
*_wrap_ToolBarBase_GetToolLongHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18272     PyObject 
*resultobj
; 
18273     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
18276     PyObject 
* obj0 
= 0 ; 
18277     PyObject 
* obj1 
= 0 ; 
18278     char *kwnames
[] = { 
18279         (char *) "self",(char *) "id", NULL 
 
18282     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
; 
18283     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
18284     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18285     arg2 
= (int)SWIG_As_int(obj1
);  
18286     if (PyErr_Occurred()) SWIG_fail
; 
18288         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18289         result 
= (arg1
)->GetToolLongHelp(arg2
); 
18291         wxPyEndAllowThreads(__tstate
); 
18292         if (PyErr_Occurred()) SWIG_fail
; 
18296         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
18298         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
18307 static PyObject 
*_wrap_ToolBarBase_SetMarginsXY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18308     PyObject 
*resultobj
; 
18309     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
18312     PyObject 
* obj0 
= 0 ; 
18313     PyObject 
* obj1 
= 0 ; 
18314     PyObject 
* obj2 
= 0 ; 
18315     char *kwnames
[] = { 
18316         (char *) "self",(char *) "x",(char *) "y", NULL 
 
18319     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18320     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
18321     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18322     arg2 
= (int)SWIG_As_int(obj1
);  
18323     if (PyErr_Occurred()) SWIG_fail
; 
18324     arg3 
= (int)SWIG_As_int(obj2
);  
18325     if (PyErr_Occurred()) SWIG_fail
; 
18327         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18328         (arg1
)->SetMargins(arg2
,arg3
); 
18330         wxPyEndAllowThreads(__tstate
); 
18331         if (PyErr_Occurred()) SWIG_fail
; 
18333     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18340 static PyObject 
*_wrap_ToolBarBase_SetMargins(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18341     PyObject 
*resultobj
; 
18342     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
18345     PyObject 
* obj0 
= 0 ; 
18346     PyObject 
* obj1 
= 0 ; 
18347     char *kwnames
[] = { 
18348         (char *) "self",(char *) "size", NULL 
 
18351     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
; 
18352     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
18353     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18356         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
18359         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18360         (arg1
)->SetMargins((wxSize 
const &)*arg2
); 
18362         wxPyEndAllowThreads(__tstate
); 
18363         if (PyErr_Occurred()) SWIG_fail
; 
18365     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18372 static PyObject 
*_wrap_ToolBarBase_SetToolPacking(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18373     PyObject 
*resultobj
; 
18374     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
18376     PyObject 
* obj0 
= 0 ; 
18377     PyObject 
* obj1 
= 0 ; 
18378     char *kwnames
[] = { 
18379         (char *) "self",(char *) "packing", NULL 
 
18382     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
; 
18383     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
18384     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18385     arg2 
= (int)SWIG_As_int(obj1
);  
18386     if (PyErr_Occurred()) SWIG_fail
; 
18388         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18389         (arg1
)->SetToolPacking(arg2
); 
18391         wxPyEndAllowThreads(__tstate
); 
18392         if (PyErr_Occurred()) SWIG_fail
; 
18394     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18401 static PyObject 
*_wrap_ToolBarBase_SetToolSeparation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18402     PyObject 
*resultobj
; 
18403     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
18405     PyObject 
* obj0 
= 0 ; 
18406     PyObject 
* obj1 
= 0 ; 
18407     char *kwnames
[] = { 
18408         (char *) "self",(char *) "separation", NULL 
 
18411     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
; 
18412     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
18413     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18414     arg2 
= (int)SWIG_As_int(obj1
);  
18415     if (PyErr_Occurred()) SWIG_fail
; 
18417         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18418         (arg1
)->SetToolSeparation(arg2
); 
18420         wxPyEndAllowThreads(__tstate
); 
18421         if (PyErr_Occurred()) SWIG_fail
; 
18423     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18430 static PyObject 
*_wrap_ToolBarBase_GetToolMargins(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18431     PyObject 
*resultobj
; 
18432     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
18434     PyObject 
* obj0 
= 0 ; 
18435     char *kwnames
[] = { 
18436         (char *) "self", NULL 
 
18439     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
; 
18440     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
18441     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18443         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18444         result 
= (arg1
)->GetToolMargins(); 
18446         wxPyEndAllowThreads(__tstate
); 
18447         if (PyErr_Occurred()) SWIG_fail
; 
18450         wxSize 
* resultptr
; 
18451         resultptr 
= new wxSize((wxSize 
&) result
); 
18452         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
18460 static PyObject 
*_wrap_ToolBarBase_GetMargins(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18461     PyObject 
*resultobj
; 
18462     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
18464     PyObject 
* obj0 
= 0 ; 
18465     char *kwnames
[] = { 
18466         (char *) "self", NULL 
 
18469     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
; 
18470     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
18471     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18473         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18474         result 
= (arg1
)->GetMargins(); 
18476         wxPyEndAllowThreads(__tstate
); 
18477         if (PyErr_Occurred()) SWIG_fail
; 
18480         wxSize 
* resultptr
; 
18481         resultptr 
= new wxSize((wxSize 
&) result
); 
18482         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
18490 static PyObject 
*_wrap_ToolBarBase_GetToolPacking(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18491     PyObject 
*resultobj
; 
18492     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
18494     PyObject 
* obj0 
= 0 ; 
18495     char *kwnames
[] = { 
18496         (char *) "self", NULL 
 
18499     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
; 
18500     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
18501     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18503         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18504         result 
= (int)(arg1
)->GetToolPacking(); 
18506         wxPyEndAllowThreads(__tstate
); 
18507         if (PyErr_Occurred()) SWIG_fail
; 
18509     resultobj 
= SWIG_From_int((int)result
); 
18516 static PyObject 
*_wrap_ToolBarBase_GetToolSeparation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18517     PyObject 
*resultobj
; 
18518     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
18520     PyObject 
* obj0 
= 0 ; 
18521     char *kwnames
[] = { 
18522         (char *) "self", NULL 
 
18525     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
; 
18526     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
18527     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18529         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18530         result 
= (int)(arg1
)->GetToolSeparation(); 
18532         wxPyEndAllowThreads(__tstate
); 
18533         if (PyErr_Occurred()) SWIG_fail
; 
18535     resultobj 
= SWIG_From_int((int)result
); 
18542 static PyObject 
*_wrap_ToolBarBase_SetRows(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18543     PyObject 
*resultobj
; 
18544     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
18546     PyObject 
* obj0 
= 0 ; 
18547     PyObject 
* obj1 
= 0 ; 
18548     char *kwnames
[] = { 
18549         (char *) "self",(char *) "nRows", NULL 
 
18552     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
; 
18553     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
18554     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18555     arg2 
= (int)SWIG_As_int(obj1
);  
18556     if (PyErr_Occurred()) SWIG_fail
; 
18558         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18559         (arg1
)->SetRows(arg2
); 
18561         wxPyEndAllowThreads(__tstate
); 
18562         if (PyErr_Occurred()) SWIG_fail
; 
18564     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18571 static PyObject 
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18572     PyObject 
*resultobj
; 
18573     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
18576     PyObject 
* obj0 
= 0 ; 
18577     PyObject 
* obj1 
= 0 ; 
18578     PyObject 
* obj2 
= 0 ; 
18579     char *kwnames
[] = { 
18580         (char *) "self",(char *) "rows",(char *) "cols", NULL 
 
18583     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18584     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
18585     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18586     arg2 
= (int)SWIG_As_int(obj1
);  
18587     if (PyErr_Occurred()) SWIG_fail
; 
18588     arg3 
= (int)SWIG_As_int(obj2
);  
18589     if (PyErr_Occurred()) SWIG_fail
; 
18591         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18592         (arg1
)->SetMaxRowsCols(arg2
,arg3
); 
18594         wxPyEndAllowThreads(__tstate
); 
18595         if (PyErr_Occurred()) SWIG_fail
; 
18597     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18604 static PyObject 
*_wrap_ToolBarBase_GetMaxRows(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18605     PyObject 
*resultobj
; 
18606     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
18608     PyObject 
* obj0 
= 0 ; 
18609     char *kwnames
[] = { 
18610         (char *) "self", NULL 
 
18613     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
; 
18614     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
18615     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18617         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18618         result 
= (int)(arg1
)->GetMaxRows(); 
18620         wxPyEndAllowThreads(__tstate
); 
18621         if (PyErr_Occurred()) SWIG_fail
; 
18623     resultobj 
= SWIG_From_int((int)result
); 
18630 static PyObject 
*_wrap_ToolBarBase_GetMaxCols(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18631     PyObject 
*resultobj
; 
18632     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
18634     PyObject 
* obj0 
= 0 ; 
18635     char *kwnames
[] = { 
18636         (char *) "self", NULL 
 
18639     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
; 
18640     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
18641     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18643         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18644         result 
= (int)(arg1
)->GetMaxCols(); 
18646         wxPyEndAllowThreads(__tstate
); 
18647         if (PyErr_Occurred()) SWIG_fail
; 
18649     resultobj 
= SWIG_From_int((int)result
); 
18656 static PyObject 
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18657     PyObject 
*resultobj
; 
18658     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
18661     PyObject 
* obj0 
= 0 ; 
18662     PyObject 
* obj1 
= 0 ; 
18663     char *kwnames
[] = { 
18664         (char *) "self",(char *) "size", NULL 
 
18667     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
18668     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
18669     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18672         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
18675         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18676         (arg1
)->SetToolBitmapSize((wxSize 
const &)*arg2
); 
18678         wxPyEndAllowThreads(__tstate
); 
18679         if (PyErr_Occurred()) SWIG_fail
; 
18681     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18688 static PyObject 
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18689     PyObject 
*resultobj
; 
18690     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
18692     PyObject 
* obj0 
= 0 ; 
18693     char *kwnames
[] = { 
18694         (char *) "self", NULL 
 
18697     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
; 
18698     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
18699     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18701         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18702         result 
= (arg1
)->GetToolBitmapSize(); 
18704         wxPyEndAllowThreads(__tstate
); 
18705         if (PyErr_Occurred()) SWIG_fail
; 
18708         wxSize 
* resultptr
; 
18709         resultptr 
= new wxSize((wxSize 
&) result
); 
18710         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
18718 static PyObject 
*_wrap_ToolBarBase_GetToolSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18719     PyObject 
*resultobj
; 
18720     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
18722     PyObject 
* obj0 
= 0 ; 
18723     char *kwnames
[] = { 
18724         (char *) "self", NULL 
 
18727     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
; 
18728     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
18729     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18731         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18732         result 
= (arg1
)->GetToolSize(); 
18734         wxPyEndAllowThreads(__tstate
); 
18735         if (PyErr_Occurred()) SWIG_fail
; 
18738         wxSize 
* resultptr
; 
18739         resultptr 
= new wxSize((wxSize 
&) result
); 
18740         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
18748 static PyObject 
*_wrap_ToolBarBase_FindToolForPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18749     PyObject 
*resultobj
; 
18750     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
18753     wxToolBarToolBase 
*result
; 
18754     PyObject 
* obj0 
= 0 ; 
18755     PyObject 
* obj1 
= 0 ; 
18756     PyObject 
* obj2 
= 0 ; 
18757     char *kwnames
[] = { 
18758         (char *) "self",(char *) "x",(char *) "y", NULL 
 
18761     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18762     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
18763     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18764     arg2 
= (int)SWIG_As_int(obj1
);  
18765     if (PyErr_Occurred()) SWIG_fail
; 
18766     arg3 
= (int)SWIG_As_int(obj2
);  
18767     if (PyErr_Occurred()) SWIG_fail
; 
18769         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18770         result 
= (wxToolBarToolBase 
*)(arg1
)->FindToolForPosition(arg2
,arg3
); 
18772         wxPyEndAllowThreads(__tstate
); 
18773         if (PyErr_Occurred()) SWIG_fail
; 
18776         resultobj 
= wxPyMake_wxObject(result
, 0);  
18784 static PyObject 
*_wrap_ToolBarBase_FindById(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18785     PyObject 
*resultobj
; 
18786     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
18788     wxToolBarToolBase 
*result
; 
18789     PyObject 
* obj0 
= 0 ; 
18790     PyObject 
* obj1 
= 0 ; 
18791     char *kwnames
[] = { 
18792         (char *) "self",(char *) "toolid", NULL 
 
18795     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
; 
18796     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
18797     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18798     arg2 
= (int)SWIG_As_int(obj1
);  
18799     if (PyErr_Occurred()) SWIG_fail
; 
18801         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18802         result 
= (wxToolBarToolBase 
*)((wxToolBarBase 
const *)arg1
)->FindById(arg2
); 
18804         wxPyEndAllowThreads(__tstate
); 
18805         if (PyErr_Occurred()) SWIG_fail
; 
18808         resultobj 
= wxPyMake_wxObject(result
, 0);  
18816 static PyObject 
*_wrap_ToolBarBase_IsVertical(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18817     PyObject 
*resultobj
; 
18818     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
18820     PyObject 
* obj0 
= 0 ; 
18821     char *kwnames
[] = { 
18822         (char *) "self", NULL 
 
18825     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
; 
18826     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
18827     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18829         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18830         result 
= (bool)(arg1
)->IsVertical(); 
18832         wxPyEndAllowThreads(__tstate
); 
18833         if (PyErr_Occurred()) SWIG_fail
; 
18836         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18844 static PyObject 
* ToolBarBase_swigregister(PyObject 
*, PyObject 
*args
) { 
18846     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
18847     SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
); 
18849     return Py_BuildValue((char *)""); 
18851 static PyObject 
*_wrap_new_ToolBar(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18852     PyObject 
*resultobj
; 
18853     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
18854     int arg2 
= (int) -1 ; 
18855     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
18856     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
18857     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
18858     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
18859     long arg5 
= (long) wxNO_BORDER
|wxTB_HORIZONTAL 
; 
18860     wxString 
const &arg6_defvalue 
= wxPyToolBarNameStr 
; 
18861     wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
18865     bool temp6 
= false ; 
18866     PyObject 
* obj0 
= 0 ; 
18867     PyObject 
* obj1 
= 0 ; 
18868     PyObject 
* obj2 
= 0 ; 
18869     PyObject 
* obj3 
= 0 ; 
18870     PyObject 
* obj4 
= 0 ; 
18871     PyObject 
* obj5 
= 0 ; 
18872     char *kwnames
[] = { 
18873         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
18876     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
18877     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
18878     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18880         arg2 
= (int)SWIG_As_int(obj1
);  
18881         if (PyErr_Occurred()) SWIG_fail
; 
18886             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
18892             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
18896         arg5 
= (long)SWIG_As_long(obj4
);  
18897         if (PyErr_Occurred()) SWIG_fail
; 
18901             arg6 
= wxString_in_helper(obj5
); 
18902             if (arg6 
== NULL
) SWIG_fail
; 
18907         if (!wxPyCheckForApp()) SWIG_fail
; 
18908         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18909         result 
= (wxToolBar 
*)new wxToolBar(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
18911         wxPyEndAllowThreads(__tstate
); 
18912         if (PyErr_Occurred()) SWIG_fail
; 
18914     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1); 
18929 static PyObject 
*_wrap_new_PreToolBar(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18930     PyObject 
*resultobj
; 
18932     char *kwnames
[] = { 
18936     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
; 
18938         if (!wxPyCheckForApp()) SWIG_fail
; 
18939         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18940         result 
= (wxToolBar 
*)new wxToolBar(); 
18942         wxPyEndAllowThreads(__tstate
); 
18943         if (PyErr_Occurred()) SWIG_fail
; 
18945     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1); 
18952 static PyObject 
*_wrap_ToolBar_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18953     PyObject 
*resultobj
; 
18954     wxToolBar 
*arg1 
= (wxToolBar 
*) 0 ; 
18955     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
18956     int arg3 
= (int) -1 ; 
18957     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
18958     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
18959     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
18960     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
18961     long arg6 
= (long) wxNO_BORDER
|wxTB_HORIZONTAL 
; 
18962     wxString 
const &arg7_defvalue 
= wxPyToolBarNameStr 
; 
18963     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
18967     bool temp7 
= false ; 
18968     PyObject 
* obj0 
= 0 ; 
18969     PyObject 
* obj1 
= 0 ; 
18970     PyObject 
* obj2 
= 0 ; 
18971     PyObject 
* obj3 
= 0 ; 
18972     PyObject 
* obj4 
= 0 ; 
18973     PyObject 
* obj5 
= 0 ; 
18974     PyObject 
* obj6 
= 0 ; 
18975     char *kwnames
[] = { 
18976         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
18979     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
18980     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
, 
18981     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18982     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
18983     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18985         arg3 
= (int)SWIG_As_int(obj2
);  
18986         if (PyErr_Occurred()) SWIG_fail
; 
18991             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
18997             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
19001         arg6 
= (long)SWIG_As_long(obj5
);  
19002         if (PyErr_Occurred()) SWIG_fail
; 
19006             arg7 
= wxString_in_helper(obj6
); 
19007             if (arg7 
== NULL
) SWIG_fail
; 
19012         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19013         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
19015         wxPyEndAllowThreads(__tstate
); 
19016         if (PyErr_Occurred()) SWIG_fail
; 
19019         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19035 static PyObject 
*_wrap_ToolBar_FindToolForPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19036     PyObject 
*resultobj
; 
19037     wxToolBar 
*arg1 
= (wxToolBar 
*) 0 ; 
19040     wxToolBarToolBase 
*result
; 
19041     PyObject 
* obj0 
= 0 ; 
19042     PyObject 
* obj1 
= 0 ; 
19043     PyObject 
* obj2 
= 0 ; 
19044     char *kwnames
[] = { 
19045         (char *) "self",(char *) "x",(char *) "y", NULL 
 
19048     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
19049     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
, 
19050     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19051     arg2 
= (int)SWIG_As_int(obj1
);  
19052     if (PyErr_Occurred()) SWIG_fail
; 
19053     arg3 
= (int)SWIG_As_int(obj2
);  
19054     if (PyErr_Occurred()) SWIG_fail
; 
19056         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19057         result 
= (wxToolBarToolBase 
*)(arg1
)->FindToolForPosition(arg2
,arg3
); 
19059         wxPyEndAllowThreads(__tstate
); 
19060         if (PyErr_Occurred()) SWIG_fail
; 
19063         resultobj 
= wxPyMake_wxObject(result
, 0);  
19071 static PyObject 
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19072     PyObject 
*resultobj
; 
19073     int arg1 
= (int) wxWINDOW_VARIANT_NORMAL 
; 
19074     wxVisualAttributes result
; 
19075     PyObject 
* obj0 
= 0 ; 
19076     char *kwnames
[] = { 
19077         (char *) "variant", NULL 
 
19080     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
19082         arg1 
= (int)SWIG_As_int(obj0
);  
19083         if (PyErr_Occurred()) SWIG_fail
; 
19086         if (!wxPyCheckForApp()) SWIG_fail
; 
19087         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19088         result 
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
19090         wxPyEndAllowThreads(__tstate
); 
19091         if (PyErr_Occurred()) SWIG_fail
; 
19094         wxVisualAttributes 
* resultptr
; 
19095         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&) result
); 
19096         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
19104 static PyObject 
* ToolBar_swigregister(PyObject 
*, PyObject 
*args
) { 
19106     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
19107     SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
); 
19109     return Py_BuildValue((char *)""); 
19111 static int _wrap_ListCtrlNameStr_set(PyObject 
*) { 
19112     PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only."); 
19117 static PyObject 
*_wrap_ListCtrlNameStr_get() { 
19122         pyobj 
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len()); 
19124         pyobj 
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len()); 
19131 static PyObject 
*_wrap_new_ListItemAttr(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19132     PyObject 
*resultobj
; 
19133     wxColour 
const &arg1_defvalue 
= wxNullColour 
; 
19134     wxColour 
*arg1 
= (wxColour 
*) &arg1_defvalue 
; 
19135     wxColour 
const &arg2_defvalue 
= wxNullColour 
; 
19136     wxColour 
*arg2 
= (wxColour 
*) &arg2_defvalue 
; 
19137     wxFont 
const &arg3_defvalue 
= wxNullFont 
; 
19138     wxFont 
*arg3 
= (wxFont 
*) &arg3_defvalue 
; 
19139     wxListItemAttr 
*result
; 
19142     PyObject 
* obj0 
= 0 ; 
19143     PyObject 
* obj1 
= 0 ; 
19144     PyObject 
* obj2 
= 0 ; 
19145     char *kwnames
[] = { 
19146         (char *) "colText",(char *) "colBack",(char *) "font", NULL 
 
19149     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
19153             if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
; 
19159             if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
19163         if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
, 
19164         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19166         if (arg3 
== NULL
) { 
19167             PyErr_SetString(PyExc_TypeError
,"null reference"); 
19172         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19173         result 
= (wxListItemAttr 
*)new wxListItemAttr((wxColour 
const &)*arg1
,(wxColour 
const &)*arg2
,(wxFont 
const &)*arg3
); 
19175         wxPyEndAllowThreads(__tstate
); 
19176         if (PyErr_Occurred()) SWIG_fail
; 
19178     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1); 
19185 static PyObject 
*_wrap_ListItemAttr_SetTextColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19186     PyObject 
*resultobj
; 
19187     wxListItemAttr 
*arg1 
= (wxListItemAttr 
*) 0 ; 
19188     wxColour 
*arg2 
= 0 ; 
19190     PyObject 
* obj0 
= 0 ; 
19191     PyObject 
* obj1 
= 0 ; 
19192     char *kwnames
[] = { 
19193         (char *) "self",(char *) "colText", NULL 
 
19196     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
19197     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
, 
19198     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19201         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
19204         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19205         (arg1
)->SetTextColour((wxColour 
const &)*arg2
); 
19207         wxPyEndAllowThreads(__tstate
); 
19208         if (PyErr_Occurred()) SWIG_fail
; 
19210     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19217 static PyObject 
*_wrap_ListItemAttr_SetBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19218     PyObject 
*resultobj
; 
19219     wxListItemAttr 
*arg1 
= (wxListItemAttr 
*) 0 ; 
19220     wxColour 
*arg2 
= 0 ; 
19222     PyObject 
* obj0 
= 0 ; 
19223     PyObject 
* obj1 
= 0 ; 
19224     char *kwnames
[] = { 
19225         (char *) "self",(char *) "colBack", NULL 
 
19228     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
19229     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
, 
19230     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19233         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
19236         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19237         (arg1
)->SetBackgroundColour((wxColour 
const &)*arg2
); 
19239         wxPyEndAllowThreads(__tstate
); 
19240         if (PyErr_Occurred()) SWIG_fail
; 
19242     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19249 static PyObject 
*_wrap_ListItemAttr_SetFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19250     PyObject 
*resultobj
; 
19251     wxListItemAttr 
*arg1 
= (wxListItemAttr 
*) 0 ; 
19253     PyObject 
* obj0 
= 0 ; 
19254     PyObject 
* obj1 
= 0 ; 
19255     char *kwnames
[] = { 
19256         (char *) "self",(char *) "font", NULL 
 
19259     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
19260     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
, 
19261     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19262     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
, 
19263     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19265     if (arg2 
== NULL
) { 
19266         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19270         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19271         (arg1
)->SetFont((wxFont 
const &)*arg2
); 
19273         wxPyEndAllowThreads(__tstate
); 
19274         if (PyErr_Occurred()) SWIG_fail
; 
19276     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19283 static PyObject 
*_wrap_ListItemAttr_HasTextColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19284     PyObject 
*resultobj
; 
19285     wxListItemAttr 
*arg1 
= (wxListItemAttr 
*) 0 ; 
19287     PyObject 
* obj0 
= 0 ; 
19288     char *kwnames
[] = { 
19289         (char *) "self", NULL 
 
19292     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
; 
19293     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
, 
19294     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19296         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19297         result 
= (bool)(arg1
)->HasTextColour(); 
19299         wxPyEndAllowThreads(__tstate
); 
19300         if (PyErr_Occurred()) SWIG_fail
; 
19303         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19311 static PyObject 
*_wrap_ListItemAttr_HasBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19312     PyObject 
*resultobj
; 
19313     wxListItemAttr 
*arg1 
= (wxListItemAttr 
*) 0 ; 
19315     PyObject 
* obj0 
= 0 ; 
19316     char *kwnames
[] = { 
19317         (char *) "self", NULL 
 
19320     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
; 
19321     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
, 
19322     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19324         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19325         result 
= (bool)(arg1
)->HasBackgroundColour(); 
19327         wxPyEndAllowThreads(__tstate
); 
19328         if (PyErr_Occurred()) SWIG_fail
; 
19331         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19339 static PyObject 
*_wrap_ListItemAttr_HasFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19340     PyObject 
*resultobj
; 
19341     wxListItemAttr 
*arg1 
= (wxListItemAttr 
*) 0 ; 
19343     PyObject 
* obj0 
= 0 ; 
19344     char *kwnames
[] = { 
19345         (char *) "self", NULL 
 
19348     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
; 
19349     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
, 
19350     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19352         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19353         result 
= (bool)(arg1
)->HasFont(); 
19355         wxPyEndAllowThreads(__tstate
); 
19356         if (PyErr_Occurred()) SWIG_fail
; 
19359         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19367 static PyObject 
*_wrap_ListItemAttr_GetTextColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19368     PyObject 
*resultobj
; 
19369     wxListItemAttr 
*arg1 
= (wxListItemAttr 
*) 0 ; 
19371     PyObject 
* obj0 
= 0 ; 
19372     char *kwnames
[] = { 
19373         (char *) "self", NULL 
 
19376     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
; 
19377     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
, 
19378     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19380         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19381         result 
= (arg1
)->GetTextColour(); 
19383         wxPyEndAllowThreads(__tstate
); 
19384         if (PyErr_Occurred()) SWIG_fail
; 
19387         wxColour 
* resultptr
; 
19388         resultptr 
= new wxColour((wxColour 
&) result
); 
19389         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
19397 static PyObject 
*_wrap_ListItemAttr_GetBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19398     PyObject 
*resultobj
; 
19399     wxListItemAttr 
*arg1 
= (wxListItemAttr 
*) 0 ; 
19401     PyObject 
* obj0 
= 0 ; 
19402     char *kwnames
[] = { 
19403         (char *) "self", NULL 
 
19406     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
; 
19407     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
, 
19408     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19410         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19411         result 
= (arg1
)->GetBackgroundColour(); 
19413         wxPyEndAllowThreads(__tstate
); 
19414         if (PyErr_Occurred()) SWIG_fail
; 
19417         wxColour 
* resultptr
; 
19418         resultptr 
= new wxColour((wxColour 
&) result
); 
19419         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
19427 static PyObject 
*_wrap_ListItemAttr_GetFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19428     PyObject 
*resultobj
; 
19429     wxListItemAttr 
*arg1 
= (wxListItemAttr 
*) 0 ; 
19431     PyObject 
* obj0 
= 0 ; 
19432     char *kwnames
[] = { 
19433         (char *) "self", NULL 
 
19436     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
; 
19437     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
, 
19438     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19440         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19441         result 
= (arg1
)->GetFont(); 
19443         wxPyEndAllowThreads(__tstate
); 
19444         if (PyErr_Occurred()) SWIG_fail
; 
19447         wxFont 
* resultptr
; 
19448         resultptr 
= new wxFont((wxFont 
&) result
); 
19449         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
19457 static PyObject 
*_wrap_ListItemAttr_Destroy(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19458     PyObject 
*resultobj
; 
19459     wxListItemAttr 
*arg1 
= (wxListItemAttr 
*) 0 ; 
19460     PyObject 
* obj0 
= 0 ; 
19461     char *kwnames
[] = { 
19462         (char *) "self", NULL 
 
19465     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
; 
19466     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
, 
19467     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19469         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19470         wxListItemAttr_Destroy(arg1
); 
19472         wxPyEndAllowThreads(__tstate
); 
19473         if (PyErr_Occurred()) SWIG_fail
; 
19475     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19482 static PyObject 
* ListItemAttr_swigregister(PyObject 
*, PyObject 
*args
) { 
19484     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
19485     SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
); 
19487     return Py_BuildValue((char *)""); 
19489 static PyObject 
*_wrap_new_ListItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19490     PyObject 
*resultobj
; 
19491     wxListItem 
*result
; 
19492     char *kwnames
[] = { 
19496     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
; 
19498         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19499         result 
= (wxListItem 
*)new wxListItem(); 
19501         wxPyEndAllowThreads(__tstate
); 
19502         if (PyErr_Occurred()) SWIG_fail
; 
19505         resultobj 
= wxPyMake_wxObject(result
, 1);  
19513 static PyObject 
*_wrap_delete_ListItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19514     PyObject 
*resultobj
; 
19515     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19516     PyObject 
* obj0 
= 0 ; 
19517     char *kwnames
[] = { 
19518         (char *) "self", NULL 
 
19521     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
; 
19522     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19523     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19525         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19528         wxPyEndAllowThreads(__tstate
); 
19529         if (PyErr_Occurred()) SWIG_fail
; 
19531     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19538 static PyObject 
*_wrap_ListItem_Clear(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19539     PyObject 
*resultobj
; 
19540     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19541     PyObject 
* obj0 
= 0 ; 
19542     char *kwnames
[] = { 
19543         (char *) "self", NULL 
 
19546     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
; 
19547     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19548     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19550         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19553         wxPyEndAllowThreads(__tstate
); 
19554         if (PyErr_Occurred()) SWIG_fail
; 
19556     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19563 static PyObject 
*_wrap_ListItem_ClearAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19564     PyObject 
*resultobj
; 
19565     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19566     PyObject 
* obj0 
= 0 ; 
19567     char *kwnames
[] = { 
19568         (char *) "self", NULL 
 
19571     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
; 
19572     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19573     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19575         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19576         (arg1
)->ClearAttributes(); 
19578         wxPyEndAllowThreads(__tstate
); 
19579         if (PyErr_Occurred()) SWIG_fail
; 
19581     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19588 static PyObject 
*_wrap_ListItem_SetMask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19589     PyObject 
*resultobj
; 
19590     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19592     PyObject 
* obj0 
= 0 ; 
19593     PyObject 
* obj1 
= 0 ; 
19594     char *kwnames
[] = { 
19595         (char *) "self",(char *) "mask", NULL 
 
19598     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
; 
19599     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19600     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19601     arg2 
= (long)SWIG_As_long(obj1
);  
19602     if (PyErr_Occurred()) SWIG_fail
; 
19604         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19605         (arg1
)->SetMask(arg2
); 
19607         wxPyEndAllowThreads(__tstate
); 
19608         if (PyErr_Occurred()) SWIG_fail
; 
19610     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19617 static PyObject 
*_wrap_ListItem_SetId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19618     PyObject 
*resultobj
; 
19619     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19621     PyObject 
* obj0 
= 0 ; 
19622     PyObject 
* obj1 
= 0 ; 
19623     char *kwnames
[] = { 
19624         (char *) "self",(char *) "id", NULL 
 
19627     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
; 
19628     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19629     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19630     arg2 
= (long)SWIG_As_long(obj1
);  
19631     if (PyErr_Occurred()) SWIG_fail
; 
19633         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19634         (arg1
)->SetId(arg2
); 
19636         wxPyEndAllowThreads(__tstate
); 
19637         if (PyErr_Occurred()) SWIG_fail
; 
19639     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19646 static PyObject 
*_wrap_ListItem_SetColumn(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19647     PyObject 
*resultobj
; 
19648     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19650     PyObject 
* obj0 
= 0 ; 
19651     PyObject 
* obj1 
= 0 ; 
19652     char *kwnames
[] = { 
19653         (char *) "self",(char *) "col", NULL 
 
19656     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
; 
19657     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19658     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19659     arg2 
= (int)SWIG_As_int(obj1
);  
19660     if (PyErr_Occurred()) SWIG_fail
; 
19662         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19663         (arg1
)->SetColumn(arg2
); 
19665         wxPyEndAllowThreads(__tstate
); 
19666         if (PyErr_Occurred()) SWIG_fail
; 
19668     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19675 static PyObject 
*_wrap_ListItem_SetState(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19676     PyObject 
*resultobj
; 
19677     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19679     PyObject 
* obj0 
= 0 ; 
19680     PyObject 
* obj1 
= 0 ; 
19681     char *kwnames
[] = { 
19682         (char *) "self",(char *) "state", NULL 
 
19685     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
; 
19686     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19687     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19688     arg2 
= (long)SWIG_As_long(obj1
);  
19689     if (PyErr_Occurred()) SWIG_fail
; 
19691         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19692         (arg1
)->SetState(arg2
); 
19694         wxPyEndAllowThreads(__tstate
); 
19695         if (PyErr_Occurred()) SWIG_fail
; 
19697     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19704 static PyObject 
*_wrap_ListItem_SetStateMask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19705     PyObject 
*resultobj
; 
19706     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19708     PyObject 
* obj0 
= 0 ; 
19709     PyObject 
* obj1 
= 0 ; 
19710     char *kwnames
[] = { 
19711         (char *) "self",(char *) "stateMask", NULL 
 
19714     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
; 
19715     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19716     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19717     arg2 
= (long)SWIG_As_long(obj1
);  
19718     if (PyErr_Occurred()) SWIG_fail
; 
19720         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19721         (arg1
)->SetStateMask(arg2
); 
19723         wxPyEndAllowThreads(__tstate
); 
19724         if (PyErr_Occurred()) SWIG_fail
; 
19726     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19733 static PyObject 
*_wrap_ListItem_SetText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19734     PyObject 
*resultobj
; 
19735     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19736     wxString 
*arg2 
= 0 ; 
19737     bool temp2 
= false ; 
19738     PyObject 
* obj0 
= 0 ; 
19739     PyObject 
* obj1 
= 0 ; 
19740     char *kwnames
[] = { 
19741         (char *) "self",(char *) "text", NULL 
 
19744     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
; 
19745     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19746     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19748         arg2 
= wxString_in_helper(obj1
); 
19749         if (arg2 
== NULL
) SWIG_fail
; 
19753         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19754         (arg1
)->SetText((wxString 
const &)*arg2
); 
19756         wxPyEndAllowThreads(__tstate
); 
19757         if (PyErr_Occurred()) SWIG_fail
; 
19759     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19774 static PyObject 
*_wrap_ListItem_SetImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19775     PyObject 
*resultobj
; 
19776     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19778     PyObject 
* obj0 
= 0 ; 
19779     PyObject 
* obj1 
= 0 ; 
19780     char *kwnames
[] = { 
19781         (char *) "self",(char *) "image", NULL 
 
19784     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
; 
19785     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19786     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19787     arg2 
= (int)SWIG_As_int(obj1
);  
19788     if (PyErr_Occurred()) SWIG_fail
; 
19790         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19791         (arg1
)->SetImage(arg2
); 
19793         wxPyEndAllowThreads(__tstate
); 
19794         if (PyErr_Occurred()) SWIG_fail
; 
19796     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19803 static PyObject 
*_wrap_ListItem_SetData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19804     PyObject 
*resultobj
; 
19805     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19807     PyObject 
* obj0 
= 0 ; 
19808     PyObject 
* obj1 
= 0 ; 
19809     char *kwnames
[] = { 
19810         (char *) "self",(char *) "data", NULL 
 
19813     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
; 
19814     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19815     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19816     arg2 
= (long)SWIG_As_long(obj1
);  
19817     if (PyErr_Occurred()) SWIG_fail
; 
19819         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19820         (arg1
)->SetData(arg2
); 
19822         wxPyEndAllowThreads(__tstate
); 
19823         if (PyErr_Occurred()) SWIG_fail
; 
19825     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19832 static PyObject 
*_wrap_ListItem_SetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19833     PyObject 
*resultobj
; 
19834     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19836     PyObject 
* obj0 
= 0 ; 
19837     PyObject 
* obj1 
= 0 ; 
19838     char *kwnames
[] = { 
19839         (char *) "self",(char *) "width", NULL 
 
19842     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
19843     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19844     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19845     arg2 
= (int)SWIG_As_int(obj1
);  
19846     if (PyErr_Occurred()) SWIG_fail
; 
19848         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19849         (arg1
)->SetWidth(arg2
); 
19851         wxPyEndAllowThreads(__tstate
); 
19852         if (PyErr_Occurred()) SWIG_fail
; 
19854     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19861 static PyObject 
*_wrap_ListItem_SetAlign(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19862     PyObject 
*resultobj
; 
19863     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19865     PyObject 
* obj0 
= 0 ; 
19866     PyObject 
* obj1 
= 0 ; 
19867     char *kwnames
[] = { 
19868         (char *) "self",(char *) "align", NULL 
 
19871     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
; 
19872     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19873     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19874     arg2 
= (int)SWIG_As_int(obj1
);  
19875     if (PyErr_Occurred()) SWIG_fail
; 
19877         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19878         (arg1
)->SetAlign((wxListColumnFormat 
)arg2
); 
19880         wxPyEndAllowThreads(__tstate
); 
19881         if (PyErr_Occurred()) SWIG_fail
; 
19883     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19890 static PyObject 
*_wrap_ListItem_SetTextColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19891     PyObject 
*resultobj
; 
19892     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19893     wxColour 
*arg2 
= 0 ; 
19895     PyObject 
* obj0 
= 0 ; 
19896     PyObject 
* obj1 
= 0 ; 
19897     char *kwnames
[] = { 
19898         (char *) "self",(char *) "colText", NULL 
 
19901     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
19902     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19903     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19906         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
19909         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19910         (arg1
)->SetTextColour((wxColour 
const &)*arg2
); 
19912         wxPyEndAllowThreads(__tstate
); 
19913         if (PyErr_Occurred()) SWIG_fail
; 
19915     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19922 static PyObject 
*_wrap_ListItem_SetBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19923     PyObject 
*resultobj
; 
19924     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19925     wxColour 
*arg2 
= 0 ; 
19927     PyObject 
* obj0 
= 0 ; 
19928     PyObject 
* obj1 
= 0 ; 
19929     char *kwnames
[] = { 
19930         (char *) "self",(char *) "colBack", NULL 
 
19933     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
19934     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19935     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19938         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
19941         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19942         (arg1
)->SetBackgroundColour((wxColour 
const &)*arg2
); 
19944         wxPyEndAllowThreads(__tstate
); 
19945         if (PyErr_Occurred()) SWIG_fail
; 
19947     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19954 static PyObject 
*_wrap_ListItem_SetFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19955     PyObject 
*resultobj
; 
19956     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19958     PyObject 
* obj0 
= 0 ; 
19959     PyObject 
* obj1 
= 0 ; 
19960     char *kwnames
[] = { 
19961         (char *) "self",(char *) "font", NULL 
 
19964     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
19965     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19966     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19967     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
, 
19968     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19970     if (arg2 
== NULL
) { 
19971         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19975         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19976         (arg1
)->SetFont((wxFont 
const &)*arg2
); 
19978         wxPyEndAllowThreads(__tstate
); 
19979         if (PyErr_Occurred()) SWIG_fail
; 
19981     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19988 static PyObject 
*_wrap_ListItem_GetMask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19989     PyObject 
*resultobj
; 
19990     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19992     PyObject 
* obj0 
= 0 ; 
19993     char *kwnames
[] = { 
19994         (char *) "self", NULL 
 
19997     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
; 
19998     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19999     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20001         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20002         result 
= (long)(arg1
)->GetMask(); 
20004         wxPyEndAllowThreads(__tstate
); 
20005         if (PyErr_Occurred()) SWIG_fail
; 
20007     resultobj 
= SWIG_From_long((long)result
); 
20014 static PyObject 
*_wrap_ListItem_GetId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20015     PyObject 
*resultobj
; 
20016     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
20018     PyObject 
* obj0 
= 0 ; 
20019     char *kwnames
[] = { 
20020         (char *) "self", NULL 
 
20023     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
; 
20024     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
20025     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20027         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20028         result 
= (long)(arg1
)->GetId(); 
20030         wxPyEndAllowThreads(__tstate
); 
20031         if (PyErr_Occurred()) SWIG_fail
; 
20033     resultobj 
= SWIG_From_long((long)result
); 
20040 static PyObject 
*_wrap_ListItem_GetColumn(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20041     PyObject 
*resultobj
; 
20042     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
20044     PyObject 
* obj0 
= 0 ; 
20045     char *kwnames
[] = { 
20046         (char *) "self", NULL 
 
20049     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
; 
20050     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
20051     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20053         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20054         result 
= (int)(arg1
)->GetColumn(); 
20056         wxPyEndAllowThreads(__tstate
); 
20057         if (PyErr_Occurred()) SWIG_fail
; 
20059     resultobj 
= SWIG_From_int((int)result
); 
20066 static PyObject 
*_wrap_ListItem_GetState(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20067     PyObject 
*resultobj
; 
20068     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
20070     PyObject 
* obj0 
= 0 ; 
20071     char *kwnames
[] = { 
20072         (char *) "self", NULL 
 
20075     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
; 
20076     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
20077     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20079         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20080         result 
= (long)(arg1
)->GetState(); 
20082         wxPyEndAllowThreads(__tstate
); 
20083         if (PyErr_Occurred()) SWIG_fail
; 
20085     resultobj 
= SWIG_From_long((long)result
); 
20092 static PyObject 
*_wrap_ListItem_GetText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20093     PyObject 
*resultobj
; 
20094     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
20096     PyObject 
* obj0 
= 0 ; 
20097     char *kwnames
[] = { 
20098         (char *) "self", NULL 
 
20101     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
; 
20102     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
20103     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20105         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20107             wxString 
const &_result_ref 
= (arg1
)->GetText(); 
20108             result 
= (wxString 
*) &_result_ref
; 
20111         wxPyEndAllowThreads(__tstate
); 
20112         if (PyErr_Occurred()) SWIG_fail
; 
20116         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
20118         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
20127 static PyObject 
*_wrap_ListItem_GetImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20128     PyObject 
*resultobj
; 
20129     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
20131     PyObject 
* obj0 
= 0 ; 
20132     char *kwnames
[] = { 
20133         (char *) "self", NULL 
 
20136     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
; 
20137     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
20138     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20140         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20141         result 
= (int)(arg1
)->GetImage(); 
20143         wxPyEndAllowThreads(__tstate
); 
20144         if (PyErr_Occurred()) SWIG_fail
; 
20146     resultobj 
= SWIG_From_int((int)result
); 
20153 static PyObject 
*_wrap_ListItem_GetData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20154     PyObject 
*resultobj
; 
20155     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
20157     PyObject 
* obj0 
= 0 ; 
20158     char *kwnames
[] = { 
20159         (char *) "self", NULL 
 
20162     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
; 
20163     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
20164     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20166         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20167         result 
= (long)(arg1
)->GetData(); 
20169         wxPyEndAllowThreads(__tstate
); 
20170         if (PyErr_Occurred()) SWIG_fail
; 
20172     resultobj 
= SWIG_From_long((long)result
); 
20179 static PyObject 
*_wrap_ListItem_GetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20180     PyObject 
*resultobj
; 
20181     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
20183     PyObject 
* obj0 
= 0 ; 
20184     char *kwnames
[] = { 
20185         (char *) "self", NULL 
 
20188     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
; 
20189     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
20190     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20192         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20193         result 
= (int)(arg1
)->GetWidth(); 
20195         wxPyEndAllowThreads(__tstate
); 
20196         if (PyErr_Occurred()) SWIG_fail
; 
20198     resultobj 
= SWIG_From_int((int)result
); 
20205 static PyObject 
*_wrap_ListItem_GetAlign(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20206     PyObject 
*resultobj
; 
20207     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
20209     PyObject 
* obj0 
= 0 ; 
20210     char *kwnames
[] = { 
20211         (char *) "self", NULL 
 
20214     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
; 
20215     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
20216     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20218         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20219         result 
= (int)(arg1
)->GetAlign(); 
20221         wxPyEndAllowThreads(__tstate
); 
20222         if (PyErr_Occurred()) SWIG_fail
; 
20224     resultobj 
= SWIG_From_int((int)result
); 
20231 static PyObject 
*_wrap_ListItem_GetAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20232     PyObject 
*resultobj
; 
20233     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
20234     wxListItemAttr 
*result
; 
20235     PyObject 
* obj0 
= 0 ; 
20236     char *kwnames
[] = { 
20237         (char *) "self", NULL 
 
20240     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
; 
20241     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
20242     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20244         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20245         result 
= (wxListItemAttr 
*)(arg1
)->GetAttributes(); 
20247         wxPyEndAllowThreads(__tstate
); 
20248         if (PyErr_Occurred()) SWIG_fail
; 
20250     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0); 
20257 static PyObject 
*_wrap_ListItem_HasAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20258     PyObject 
*resultobj
; 
20259     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
20261     PyObject 
* obj0 
= 0 ; 
20262     char *kwnames
[] = { 
20263         (char *) "self", NULL 
 
20266     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
; 
20267     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
20268     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20270         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20271         result 
= (bool)(arg1
)->HasAttributes(); 
20273         wxPyEndAllowThreads(__tstate
); 
20274         if (PyErr_Occurred()) SWIG_fail
; 
20277         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20285 static PyObject 
*_wrap_ListItem_GetTextColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20286     PyObject 
*resultobj
; 
20287     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
20289     PyObject 
* obj0 
= 0 ; 
20290     char *kwnames
[] = { 
20291         (char *) "self", NULL 
 
20294     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
; 
20295     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
20296     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20298         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20299         result 
= ((wxListItem 
const *)arg1
)->GetTextColour(); 
20301         wxPyEndAllowThreads(__tstate
); 
20302         if (PyErr_Occurred()) SWIG_fail
; 
20305         wxColour 
* resultptr
; 
20306         resultptr 
= new wxColour((wxColour 
&) result
); 
20307         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
20315 static PyObject 
*_wrap_ListItem_GetBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20316     PyObject 
*resultobj
; 
20317     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
20319     PyObject 
* obj0 
= 0 ; 
20320     char *kwnames
[] = { 
20321         (char *) "self", NULL 
 
20324     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
; 
20325     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
20326     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20328         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20329         result 
= ((wxListItem 
const *)arg1
)->GetBackgroundColour(); 
20331         wxPyEndAllowThreads(__tstate
); 
20332         if (PyErr_Occurred()) SWIG_fail
; 
20335         wxColour 
* resultptr
; 
20336         resultptr 
= new wxColour((wxColour 
&) result
); 
20337         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
20345 static PyObject 
*_wrap_ListItem_GetFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20346     PyObject 
*resultobj
; 
20347     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
20349     PyObject 
* obj0 
= 0 ; 
20350     char *kwnames
[] = { 
20351         (char *) "self", NULL 
 
20354     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
; 
20355     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
20356     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20358         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20359         result 
= ((wxListItem 
const *)arg1
)->GetFont(); 
20361         wxPyEndAllowThreads(__tstate
); 
20362         if (PyErr_Occurred()) SWIG_fail
; 
20365         wxFont 
* resultptr
; 
20366         resultptr 
= new wxFont((wxFont 
&) result
); 
20367         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
20375 static PyObject 
*_wrap_ListItem_m_mask_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20376     PyObject 
*resultobj
; 
20377     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
20379     PyObject 
* obj0 
= 0 ; 
20380     PyObject 
* obj1 
= 0 ; 
20381     char *kwnames
[] = { 
20382         (char *) "self",(char *) "m_mask", NULL 
 
20385     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
20386     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
20387     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20388     arg2 
= (long)SWIG_As_long(obj1
);  
20389     if (PyErr_Occurred()) SWIG_fail
; 
20390     if (arg1
) (arg1
)->m_mask 
= arg2
; 
20392     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20399 static PyObject 
*_wrap_ListItem_m_mask_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20400     PyObject 
*resultobj
; 
20401     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
20403     PyObject 
* obj0 
= 0 ; 
20404     char *kwnames
[] = { 
20405         (char *) "self", NULL 
 
20408     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
; 
20409     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
20410     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20411     result 
= (long) ((arg1
)->m_mask
); 
20413     resultobj 
= SWIG_From_long((long)result
); 
20420 static PyObject 
*_wrap_ListItem_m_itemId_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20421     PyObject 
*resultobj
; 
20422     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
20424     PyObject 
* obj0 
= 0 ; 
20425     PyObject 
* obj1 
= 0 ; 
20426     char *kwnames
[] = { 
20427         (char *) "self",(char *) "m_itemId", NULL 
 
20430     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
20431     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
20432     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20433     arg2 
= (long)SWIG_As_long(obj1
);  
20434     if (PyErr_Occurred()) SWIG_fail
; 
20435     if (arg1
) (arg1
)->m_itemId 
= arg2
; 
20437     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20444 static PyObject 
*_wrap_ListItem_m_itemId_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20445     PyObject 
*resultobj
; 
20446     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
20448     PyObject 
* obj0 
= 0 ; 
20449     char *kwnames
[] = { 
20450         (char *) "self", NULL 
 
20453     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
; 
20454     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
20455     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20456     result 
= (long) ((arg1
)->m_itemId
); 
20458     resultobj 
= SWIG_From_long((long)result
); 
20465 static PyObject 
*_wrap_ListItem_m_col_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20466     PyObject 
*resultobj
; 
20467     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
20469     PyObject 
* obj0 
= 0 ; 
20470     PyObject 
* obj1 
= 0 ; 
20471     char *kwnames
[] = { 
20472         (char *) "self",(char *) "m_col", NULL 
 
20475     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
20476     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
20477     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20478     arg2 
= (int)SWIG_As_int(obj1
);  
20479     if (PyErr_Occurred()) SWIG_fail
; 
20480     if (arg1
) (arg1
)->m_col 
= arg2
; 
20482     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20489 static PyObject 
*_wrap_ListItem_m_col_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20490     PyObject 
*resultobj
; 
20491     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
20493     PyObject 
* obj0 
= 0 ; 
20494     char *kwnames
[] = { 
20495         (char *) "self", NULL 
 
20498     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
; 
20499     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
20500     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20501     result 
= (int) ((arg1
)->m_col
); 
20503     resultobj 
= SWIG_From_int((int)result
); 
20510 static PyObject 
*_wrap_ListItem_m_state_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20511     PyObject 
*resultobj
; 
20512     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
20514     PyObject 
* obj0 
= 0 ; 
20515     PyObject 
* obj1 
= 0 ; 
20516     char *kwnames
[] = { 
20517         (char *) "self",(char *) "m_state", NULL 
 
20520     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
20521     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
20522     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20523     arg2 
= (long)SWIG_As_long(obj1
);  
20524     if (PyErr_Occurred()) SWIG_fail
; 
20525     if (arg1
) (arg1
)->m_state 
= arg2
; 
20527     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20534 static PyObject 
*_wrap_ListItem_m_state_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20535     PyObject 
*resultobj
; 
20536     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
20538     PyObject 
* obj0 
= 0 ; 
20539     char *kwnames
[] = { 
20540         (char *) "self", NULL 
 
20543     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
; 
20544     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
20545     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20546     result 
= (long) ((arg1
)->m_state
); 
20548     resultobj 
= SWIG_From_long((long)result
); 
20555 static PyObject 
*_wrap_ListItem_m_stateMask_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20556     PyObject 
*resultobj
; 
20557     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
20559     PyObject 
* obj0 
= 0 ; 
20560     PyObject 
* obj1 
= 0 ; 
20561     char *kwnames
[] = { 
20562         (char *) "self",(char *) "m_stateMask", NULL 
 
20565     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
20566     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
20567     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20568     arg2 
= (long)SWIG_As_long(obj1
);  
20569     if (PyErr_Occurred()) SWIG_fail
; 
20570     if (arg1
) (arg1
)->m_stateMask 
= arg2
; 
20572     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20579 static PyObject 
*_wrap_ListItem_m_stateMask_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20580     PyObject 
*resultobj
; 
20581     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
20583     PyObject 
* obj0 
= 0 ; 
20584     char *kwnames
[] = { 
20585         (char *) "self", NULL 
 
20588     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
; 
20589     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
20590     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20591     result 
= (long) ((arg1
)->m_stateMask
); 
20593     resultobj 
= SWIG_From_long((long)result
); 
20600 static PyObject 
*_wrap_ListItem_m_text_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20601     PyObject 
*resultobj
; 
20602     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
20603     wxString 
*arg2 
= (wxString 
*) 0 ; 
20604     bool temp2 
= false ; 
20605     PyObject 
* obj0 
= 0 ; 
20606     PyObject 
* obj1 
= 0 ; 
20607     char *kwnames
[] = { 
20608         (char *) "self",(char *) "m_text", NULL 
 
20611     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
20612     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
20613     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20615         arg2 
= wxString_in_helper(obj1
); 
20616         if (arg2 
== NULL
) SWIG_fail
; 
20619     if (arg1
) (arg1
)->m_text 
= *arg2
; 
20621     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20636 static PyObject 
*_wrap_ListItem_m_text_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20637     PyObject 
*resultobj
; 
20638     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
20640     PyObject 
* obj0 
= 0 ; 
20641     char *kwnames
[] = { 
20642         (char *) "self", NULL 
 
20645     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
; 
20646     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
20647     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20648     result 
= (wxString 
*)& ((arg1
)->m_text
); 
20652         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
20654         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
20663 static PyObject 
*_wrap_ListItem_m_image_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20664     PyObject 
*resultobj
; 
20665     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
20667     PyObject 
* obj0 
= 0 ; 
20668     PyObject 
* obj1 
= 0 ; 
20669     char *kwnames
[] = { 
20670         (char *) "self",(char *) "m_image", NULL 
 
20673     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
20674     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
20675     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20676     arg2 
= (int)SWIG_As_int(obj1
);  
20677     if (PyErr_Occurred()) SWIG_fail
; 
20678     if (arg1
) (arg1
)->m_image 
= arg2
; 
20680     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20687 static PyObject 
*_wrap_ListItem_m_image_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20688     PyObject 
*resultobj
; 
20689     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
20691     PyObject 
* obj0 
= 0 ; 
20692     char *kwnames
[] = { 
20693         (char *) "self", NULL 
 
20696     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
; 
20697     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
20698     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20699     result 
= (int) ((arg1
)->m_image
); 
20701     resultobj 
= SWIG_From_int((int)result
); 
20708 static PyObject 
*_wrap_ListItem_m_data_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20709     PyObject 
*resultobj
; 
20710     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
20712     PyObject 
* obj0 
= 0 ; 
20713     PyObject 
* obj1 
= 0 ; 
20714     char *kwnames
[] = { 
20715         (char *) "self",(char *) "m_data", NULL 
 
20718     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
20719     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
20720     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20721     arg2 
= (long)SWIG_As_long(obj1
);  
20722     if (PyErr_Occurred()) SWIG_fail
; 
20723     if (arg1
) (arg1
)->m_data 
= arg2
; 
20725     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20732 static PyObject 
*_wrap_ListItem_m_data_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20733     PyObject 
*resultobj
; 
20734     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
20736     PyObject 
* obj0 
= 0 ; 
20737     char *kwnames
[] = { 
20738         (char *) "self", NULL 
 
20741     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
; 
20742     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
20743     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20744     result 
= (long) ((arg1
)->m_data
); 
20746     resultobj 
= SWIG_From_long((long)result
); 
20753 static PyObject 
*_wrap_ListItem_m_format_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20754     PyObject 
*resultobj
; 
20755     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
20757     PyObject 
* obj0 
= 0 ; 
20758     PyObject 
* obj1 
= 0 ; 
20759     char *kwnames
[] = { 
20760         (char *) "self",(char *) "m_format", NULL 
 
20763     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
20764     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
20765     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20766     arg2 
= (int)SWIG_As_int(obj1
);  
20767     if (PyErr_Occurred()) SWIG_fail
; 
20768     if (arg1
) (arg1
)->m_format 
= arg2
; 
20770     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20777 static PyObject 
*_wrap_ListItem_m_format_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20778     PyObject 
*resultobj
; 
20779     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
20781     PyObject 
* obj0 
= 0 ; 
20782     char *kwnames
[] = { 
20783         (char *) "self", NULL 
 
20786     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
; 
20787     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
20788     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20789     result 
= (int) ((arg1
)->m_format
); 
20791     resultobj 
= SWIG_From_int((int)result
); 
20798 static PyObject 
*_wrap_ListItem_m_width_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20799     PyObject 
*resultobj
; 
20800     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
20802     PyObject 
* obj0 
= 0 ; 
20803     PyObject 
* obj1 
= 0 ; 
20804     char *kwnames
[] = { 
20805         (char *) "self",(char *) "m_width", NULL 
 
20808     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
20809     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
20810     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20811     arg2 
= (int)SWIG_As_int(obj1
);  
20812     if (PyErr_Occurred()) SWIG_fail
; 
20813     if (arg1
) (arg1
)->m_width 
= arg2
; 
20815     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20822 static PyObject 
*_wrap_ListItem_m_width_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20823     PyObject 
*resultobj
; 
20824     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
20826     PyObject 
* obj0 
= 0 ; 
20827     char *kwnames
[] = { 
20828         (char *) "self", NULL 
 
20831     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
; 
20832     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
20833     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20834     result 
= (int) ((arg1
)->m_width
); 
20836     resultobj 
= SWIG_From_int((int)result
); 
20843 static PyObject 
* ListItem_swigregister(PyObject 
*, PyObject 
*args
) { 
20845     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
20846     SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
); 
20848     return Py_BuildValue((char *)""); 
20850 static PyObject 
*_wrap_new_ListEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20851     PyObject 
*resultobj
; 
20852     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
20853     int arg2 
= (int) 0 ; 
20854     wxListEvent 
*result
; 
20855     PyObject 
* obj0 
= 0 ; 
20856     PyObject 
* obj1 
= 0 ; 
20857     char *kwnames
[] = { 
20858         (char *) "commandType",(char *) "id", NULL 
 
20861     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
; 
20863         arg1 
= (wxEventType
)SWIG_As_int(obj0
);  
20864         if (PyErr_Occurred()) SWIG_fail
; 
20867         arg2 
= (int)SWIG_As_int(obj1
);  
20868         if (PyErr_Occurred()) SWIG_fail
; 
20871         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20872         result 
= (wxListEvent 
*)new wxListEvent(arg1
,arg2
); 
20874         wxPyEndAllowThreads(__tstate
); 
20875         if (PyErr_Occurred()) SWIG_fail
; 
20877     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1); 
20884 static PyObject 
*_wrap_ListEvent_m_code_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20885     PyObject 
*resultobj
; 
20886     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
20888     PyObject 
* obj0 
= 0 ; 
20889     PyObject 
* obj1 
= 0 ; 
20890     char *kwnames
[] = { 
20891         (char *) "self",(char *) "m_code", NULL 
 
20894     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
20895     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
20896     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20897     arg2 
= (int)SWIG_As_int(obj1
);  
20898     if (PyErr_Occurred()) SWIG_fail
; 
20899     if (arg1
) (arg1
)->m_code 
= arg2
; 
20901     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20908 static PyObject 
*_wrap_ListEvent_m_code_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20909     PyObject 
*resultobj
; 
20910     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
20912     PyObject 
* obj0 
= 0 ; 
20913     char *kwnames
[] = { 
20914         (char *) "self", NULL 
 
20917     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
; 
20918     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
20919     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20920     result 
= (int) ((arg1
)->m_code
); 
20922     resultobj 
= SWIG_From_int((int)result
); 
20929 static PyObject 
*_wrap_ListEvent_m_oldItemIndex_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20930     PyObject 
*resultobj
; 
20931     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
20933     PyObject 
* obj0 
= 0 ; 
20934     PyObject 
* obj1 
= 0 ; 
20935     char *kwnames
[] = { 
20936         (char *) "self",(char *) "m_oldItemIndex", NULL 
 
20939     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
20940     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
20941     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20942     arg2 
= (long)SWIG_As_long(obj1
);  
20943     if (PyErr_Occurred()) SWIG_fail
; 
20944     if (arg1
) (arg1
)->m_oldItemIndex 
= arg2
; 
20946     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20953 static PyObject 
*_wrap_ListEvent_m_oldItemIndex_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20954     PyObject 
*resultobj
; 
20955     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
20957     PyObject 
* obj0 
= 0 ; 
20958     char *kwnames
[] = { 
20959         (char *) "self", NULL 
 
20962     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
; 
20963     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
20964     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20965     result 
= (long) ((arg1
)->m_oldItemIndex
); 
20967     resultobj 
= SWIG_From_long((long)result
); 
20974 static PyObject 
*_wrap_ListEvent_m_itemIndex_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20975     PyObject 
*resultobj
; 
20976     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
20978     PyObject 
* obj0 
= 0 ; 
20979     PyObject 
* obj1 
= 0 ; 
20980     char *kwnames
[] = { 
20981         (char *) "self",(char *) "m_itemIndex", NULL 
 
20984     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
20985     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
20986     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20987     arg2 
= (long)SWIG_As_long(obj1
);  
20988     if (PyErr_Occurred()) SWIG_fail
; 
20989     if (arg1
) (arg1
)->m_itemIndex 
= arg2
; 
20991     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20998 static PyObject 
*_wrap_ListEvent_m_itemIndex_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20999     PyObject 
*resultobj
; 
21000     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
21002     PyObject 
* obj0 
= 0 ; 
21003     char *kwnames
[] = { 
21004         (char *) "self", NULL 
 
21007     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
; 
21008     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
21009     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21010     result 
= (long) ((arg1
)->m_itemIndex
); 
21012     resultobj 
= SWIG_From_long((long)result
); 
21019 static PyObject 
*_wrap_ListEvent_m_col_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21020     PyObject 
*resultobj
; 
21021     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
21023     PyObject 
* obj0 
= 0 ; 
21024     PyObject 
* obj1 
= 0 ; 
21025     char *kwnames
[] = { 
21026         (char *) "self",(char *) "m_col", NULL 
 
21029     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
21030     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
21031     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21032     arg2 
= (int)SWIG_As_int(obj1
);  
21033     if (PyErr_Occurred()) SWIG_fail
; 
21034     if (arg1
) (arg1
)->m_col 
= arg2
; 
21036     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21043 static PyObject 
*_wrap_ListEvent_m_col_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21044     PyObject 
*resultobj
; 
21045     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
21047     PyObject 
* obj0 
= 0 ; 
21048     char *kwnames
[] = { 
21049         (char *) "self", NULL 
 
21052     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
; 
21053     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
21054     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21055     result 
= (int) ((arg1
)->m_col
); 
21057     resultobj 
= SWIG_From_int((int)result
); 
21064 static PyObject 
*_wrap_ListEvent_m_pointDrag_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21065     PyObject 
*resultobj
; 
21066     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
21067     wxPoint 
*arg2 
= (wxPoint 
*) 0 ; 
21068     PyObject 
* obj0 
= 0 ; 
21069     PyObject 
* obj1 
= 0 ; 
21070     char *kwnames
[] = { 
21071         (char *) "self",(char *) "m_pointDrag", NULL 
 
21074     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
21075     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
21076     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21077     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
, 
21078     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21079     if (arg1
) (arg1
)->m_pointDrag 
= *arg2
; 
21081     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21088 static PyObject 
*_wrap_ListEvent_m_pointDrag_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21089     PyObject 
*resultobj
; 
21090     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
21092     PyObject 
* obj0 
= 0 ; 
21093     char *kwnames
[] = { 
21094         (char *) "self", NULL 
 
21097     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
; 
21098     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
21099     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21100     result 
= (wxPoint 
*)& ((arg1
)->m_pointDrag
); 
21102     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0); 
21109 static PyObject 
*_wrap_ListEvent_m_item_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21110     PyObject 
*resultobj
; 
21111     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
21112     wxListItem 
*result
; 
21113     PyObject 
* obj0 
= 0 ; 
21114     char *kwnames
[] = { 
21115         (char *) "self", NULL 
 
21118     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
; 
21119     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
21120     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21121     result 
= (wxListItem 
*)& ((arg1
)->m_item
); 
21124         resultobj 
= wxPyMake_wxObject(result
, 0);  
21132 static PyObject 
*_wrap_ListEvent_GetKeyCode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21133     PyObject 
*resultobj
; 
21134     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
21136     PyObject 
* obj0 
= 0 ; 
21137     char *kwnames
[] = { 
21138         (char *) "self", NULL 
 
21141     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
; 
21142     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
21143     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21145         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21146         result 
= (int)(arg1
)->GetKeyCode(); 
21148         wxPyEndAllowThreads(__tstate
); 
21149         if (PyErr_Occurred()) SWIG_fail
; 
21151     resultobj 
= SWIG_From_int((int)result
); 
21158 static PyObject 
*_wrap_ListEvent_GetIndex(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21159     PyObject 
*resultobj
; 
21160     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
21162     PyObject 
* obj0 
= 0 ; 
21163     char *kwnames
[] = { 
21164         (char *) "self", NULL 
 
21167     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
; 
21168     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
21169     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21171         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21172         result 
= (long)(arg1
)->GetIndex(); 
21174         wxPyEndAllowThreads(__tstate
); 
21175         if (PyErr_Occurred()) SWIG_fail
; 
21177     resultobj 
= SWIG_From_long((long)result
); 
21184 static PyObject 
*_wrap_ListEvent_GetColumn(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21185     PyObject 
*resultobj
; 
21186     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
21188     PyObject 
* obj0 
= 0 ; 
21189     char *kwnames
[] = { 
21190         (char *) "self", NULL 
 
21193     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
; 
21194     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
21195     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21197         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21198         result 
= (int)(arg1
)->GetColumn(); 
21200         wxPyEndAllowThreads(__tstate
); 
21201         if (PyErr_Occurred()) SWIG_fail
; 
21203     resultobj 
= SWIG_From_int((int)result
); 
21210 static PyObject 
*_wrap_ListEvent_GetPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21211     PyObject 
*resultobj
; 
21212     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
21214     PyObject 
* obj0 
= 0 ; 
21215     char *kwnames
[] = { 
21216         (char *) "self", NULL 
 
21219     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
; 
21220     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
21221     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21223         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21224         result 
= (arg1
)->GetPoint(); 
21226         wxPyEndAllowThreads(__tstate
); 
21227         if (PyErr_Occurred()) SWIG_fail
; 
21230         wxPoint 
* resultptr
; 
21231         resultptr 
= new wxPoint((wxPoint 
&) result
); 
21232         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
21240 static PyObject 
*_wrap_ListEvent_GetLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21241     PyObject 
*resultobj
; 
21242     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
21244     PyObject 
* obj0 
= 0 ; 
21245     char *kwnames
[] = { 
21246         (char *) "self", NULL 
 
21249     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
; 
21250     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
21251     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21253         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21255             wxString 
const &_result_ref 
= (arg1
)->GetLabel(); 
21256             result 
= (wxString 
*) &_result_ref
; 
21259         wxPyEndAllowThreads(__tstate
); 
21260         if (PyErr_Occurred()) SWIG_fail
; 
21264         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
21266         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
21275 static PyObject 
*_wrap_ListEvent_GetText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21276     PyObject 
*resultobj
; 
21277     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
21279     PyObject 
* obj0 
= 0 ; 
21280     char *kwnames
[] = { 
21281         (char *) "self", NULL 
 
21284     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
; 
21285     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
21286     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21288         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21290             wxString 
const &_result_ref 
= (arg1
)->GetText(); 
21291             result 
= (wxString 
*) &_result_ref
; 
21294         wxPyEndAllowThreads(__tstate
); 
21295         if (PyErr_Occurred()) SWIG_fail
; 
21299         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
21301         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
21310 static PyObject 
*_wrap_ListEvent_GetImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21311     PyObject 
*resultobj
; 
21312     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
21314     PyObject 
* obj0 
= 0 ; 
21315     char *kwnames
[] = { 
21316         (char *) "self", NULL 
 
21319     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
; 
21320     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
21321     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21323         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21324         result 
= (int)(arg1
)->GetImage(); 
21326         wxPyEndAllowThreads(__tstate
); 
21327         if (PyErr_Occurred()) SWIG_fail
; 
21329     resultobj 
= SWIG_From_int((int)result
); 
21336 static PyObject 
*_wrap_ListEvent_GetData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21337     PyObject 
*resultobj
; 
21338     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
21340     PyObject 
* obj0 
= 0 ; 
21341     char *kwnames
[] = { 
21342         (char *) "self", NULL 
 
21345     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
; 
21346     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
21347     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21349         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21350         result 
= (long)(arg1
)->GetData(); 
21352         wxPyEndAllowThreads(__tstate
); 
21353         if (PyErr_Occurred()) SWIG_fail
; 
21355     resultobj 
= SWIG_From_long((long)result
); 
21362 static PyObject 
*_wrap_ListEvent_GetMask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21363     PyObject 
*resultobj
; 
21364     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
21366     PyObject 
* obj0 
= 0 ; 
21367     char *kwnames
[] = { 
21368         (char *) "self", NULL 
 
21371     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
; 
21372     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
21373     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21375         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21376         result 
= (long)(arg1
)->GetMask(); 
21378         wxPyEndAllowThreads(__tstate
); 
21379         if (PyErr_Occurred()) SWIG_fail
; 
21381     resultobj 
= SWIG_From_long((long)result
); 
21388 static PyObject 
*_wrap_ListEvent_GetItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21389     PyObject 
*resultobj
; 
21390     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
21391     wxListItem 
*result
; 
21392     PyObject 
* obj0 
= 0 ; 
21393     char *kwnames
[] = { 
21394         (char *) "self", NULL 
 
21397     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
; 
21398     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
21399     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21401         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21403             wxListItem 
const &_result_ref 
= (arg1
)->GetItem(); 
21404             result 
= (wxListItem 
*) &_result_ref
; 
21407         wxPyEndAllowThreads(__tstate
); 
21408         if (PyErr_Occurred()) SWIG_fail
; 
21410     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0); 
21417 static PyObject 
*_wrap_ListEvent_GetCacheFrom(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21418     PyObject 
*resultobj
; 
21419     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
21421     PyObject 
* obj0 
= 0 ; 
21422     char *kwnames
[] = { 
21423         (char *) "self", NULL 
 
21426     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
; 
21427     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
21428     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21430         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21431         result 
= (long)(arg1
)->GetCacheFrom(); 
21433         wxPyEndAllowThreads(__tstate
); 
21434         if (PyErr_Occurred()) SWIG_fail
; 
21436     resultobj 
= SWIG_From_long((long)result
); 
21443 static PyObject 
*_wrap_ListEvent_GetCacheTo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21444     PyObject 
*resultobj
; 
21445     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
21447     PyObject 
* obj0 
= 0 ; 
21448     char *kwnames
[] = { 
21449         (char *) "self", NULL 
 
21452     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
; 
21453     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
21454     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21456         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21457         result 
= (long)(arg1
)->GetCacheTo(); 
21459         wxPyEndAllowThreads(__tstate
); 
21460         if (PyErr_Occurred()) SWIG_fail
; 
21462     resultobj 
= SWIG_From_long((long)result
); 
21469 static PyObject 
*_wrap_ListEvent_IsEditCancelled(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21470     PyObject 
*resultobj
; 
21471     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
21473     PyObject 
* obj0 
= 0 ; 
21474     char *kwnames
[] = { 
21475         (char *) "self", NULL 
 
21478     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
; 
21479     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
21480     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21482         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21483         result 
= (bool)((wxListEvent 
const *)arg1
)->IsEditCancelled(); 
21485         wxPyEndAllowThreads(__tstate
); 
21486         if (PyErr_Occurred()) SWIG_fail
; 
21489         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21497 static PyObject 
*_wrap_ListEvent_SetEditCanceled(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21498     PyObject 
*resultobj
; 
21499     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
21501     PyObject 
* obj0 
= 0 ; 
21502     PyObject 
* obj1 
= 0 ; 
21503     char *kwnames
[] = { 
21504         (char *) "self",(char *) "editCancelled", NULL 
 
21507     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
; 
21508     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
21509     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21510     arg2 
= (bool)SWIG_As_bool(obj1
);  
21511     if (PyErr_Occurred()) SWIG_fail
; 
21513         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21514         (arg1
)->SetEditCanceled(arg2
); 
21516         wxPyEndAllowThreads(__tstate
); 
21517         if (PyErr_Occurred()) SWIG_fail
; 
21519     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21526 static PyObject 
* ListEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
21528     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
21529     SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
); 
21531     return Py_BuildValue((char *)""); 
21533 static PyObject 
*_wrap_new_ListCtrl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21534     PyObject 
*resultobj
; 
21535     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
21536     int arg2 
= (int) -1 ; 
21537     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
21538     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
21539     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
21540     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
21541     long arg5 
= (long) wxLC_ICON 
; 
21542     wxValidator 
const &arg6_defvalue 
= wxDefaultValidator 
; 
21543     wxValidator 
*arg6 
= (wxValidator 
*) &arg6_defvalue 
; 
21544     wxString 
const &arg7_defvalue 
= wxPyListCtrlNameStr 
; 
21545     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
21546     wxPyListCtrl 
*result
; 
21549     bool temp7 
= false ; 
21550     PyObject 
* obj0 
= 0 ; 
21551     PyObject 
* obj1 
= 0 ; 
21552     PyObject 
* obj2 
= 0 ; 
21553     PyObject 
* obj3 
= 0 ; 
21554     PyObject 
* obj4 
= 0 ; 
21555     PyObject 
* obj5 
= 0 ; 
21556     PyObject 
* obj6 
= 0 ; 
21557     char *kwnames
[] = { 
21558         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
21561     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
21562     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
21563     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21565         arg2 
= (int)SWIG_As_int(obj1
);  
21566         if (PyErr_Occurred()) SWIG_fail
; 
21571             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
21577             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
21581         arg5 
= (long)SWIG_As_long(obj4
);  
21582         if (PyErr_Occurred()) SWIG_fail
; 
21585         if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
, 
21586         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
21588         if (arg6 
== NULL
) { 
21589             PyErr_SetString(PyExc_TypeError
,"null reference"); 
21595             arg7 
= wxString_in_helper(obj6
); 
21596             if (arg7 
== NULL
) SWIG_fail
; 
21601         if (!wxPyCheckForApp()) SWIG_fail
; 
21602         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21603         result 
= (wxPyListCtrl 
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxValidator 
const &)*arg6
,(wxString 
const &)*arg7
); 
21605         wxPyEndAllowThreads(__tstate
); 
21606         if (PyErr_Occurred()) SWIG_fail
; 
21608     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1); 
21623 static PyObject 
*_wrap_new_PreListCtrl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21624     PyObject 
*resultobj
; 
21625     wxPyListCtrl 
*result
; 
21626     char *kwnames
[] = { 
21630     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
; 
21632         if (!wxPyCheckForApp()) SWIG_fail
; 
21633         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21634         result 
= (wxPyListCtrl 
*)new wxPyListCtrl(); 
21636         wxPyEndAllowThreads(__tstate
); 
21637         if (PyErr_Occurred()) SWIG_fail
; 
21639     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1); 
21646 static PyObject 
*_wrap_ListCtrl_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21647     PyObject 
*resultobj
; 
21648     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21649     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
21650     int arg3 
= (int) -1 ; 
21651     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
21652     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
21653     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
21654     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
21655     long arg6 
= (long) wxLC_ICON 
; 
21656     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
21657     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
21658     wxString 
const &arg8_defvalue 
= wxPyListCtrlNameStr 
; 
21659     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
21663     bool temp8 
= false ; 
21664     PyObject 
* obj0 
= 0 ; 
21665     PyObject 
* obj1 
= 0 ; 
21666     PyObject 
* obj2 
= 0 ; 
21667     PyObject 
* obj3 
= 0 ; 
21668     PyObject 
* obj4 
= 0 ; 
21669     PyObject 
* obj5 
= 0 ; 
21670     PyObject 
* obj6 
= 0 ; 
21671     PyObject 
* obj7 
= 0 ; 
21672     char *kwnames
[] = { 
21673         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
21676     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
21677     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21678     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21679     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
21680     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21682         arg3 
= (int)SWIG_As_int(obj2
);  
21683         if (PyErr_Occurred()) SWIG_fail
; 
21688             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
21694             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
21698         arg6 
= (long)SWIG_As_long(obj5
);  
21699         if (PyErr_Occurred()) SWIG_fail
; 
21702         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
, 
21703         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
21705         if (arg7 
== NULL
) { 
21706             PyErr_SetString(PyExc_TypeError
,"null reference"); 
21712             arg8 
= wxString_in_helper(obj7
); 
21713             if (arg8 
== NULL
) SWIG_fail
; 
21718         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21719         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
21721         wxPyEndAllowThreads(__tstate
); 
21722         if (PyErr_Occurred()) SWIG_fail
; 
21725         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21741 static PyObject 
*_wrap_ListCtrl__setCallbackInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21742     PyObject 
*resultobj
; 
21743     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21744     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
21745     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
21746     PyObject 
* obj0 
= 0 ; 
21747     PyObject 
* obj1 
= 0 ; 
21748     PyObject 
* obj2 
= 0 ; 
21749     char *kwnames
[] = { 
21750         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
21753     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
21754     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21755     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21759         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21760         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
21762         wxPyEndAllowThreads(__tstate
); 
21763         if (PyErr_Occurred()) SWIG_fail
; 
21765     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21772 static PyObject 
*_wrap_ListCtrl_SetForegroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21773     PyObject 
*resultobj
; 
21774     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21775     wxColour 
*arg2 
= 0 ; 
21778     PyObject 
* obj0 
= 0 ; 
21779     PyObject 
* obj1 
= 0 ; 
21780     char *kwnames
[] = { 
21781         (char *) "self",(char *) "col", NULL 
 
21784     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
21785     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21786     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21789         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
21792         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21793         result 
= (bool)(arg1
)->SetForegroundColour((wxColour 
const &)*arg2
); 
21795         wxPyEndAllowThreads(__tstate
); 
21796         if (PyErr_Occurred()) SWIG_fail
; 
21799         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21807 static PyObject 
*_wrap_ListCtrl_SetBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21808     PyObject 
*resultobj
; 
21809     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21810     wxColour 
*arg2 
= 0 ; 
21813     PyObject 
* obj0 
= 0 ; 
21814     PyObject 
* obj1 
= 0 ; 
21815     char *kwnames
[] = { 
21816         (char *) "self",(char *) "col", NULL 
 
21819     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
21820     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21821     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21824         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
21827         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21828         result 
= (bool)(arg1
)->SetBackgroundColour((wxColour 
const &)*arg2
); 
21830         wxPyEndAllowThreads(__tstate
); 
21831         if (PyErr_Occurred()) SWIG_fail
; 
21834         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21842 static PyObject 
*_wrap_ListCtrl_GetColumn(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21843     PyObject 
*resultobj
; 
21844     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21846     wxListItem 
*result
; 
21847     PyObject 
* obj0 
= 0 ; 
21848     PyObject 
* obj1 
= 0 ; 
21849     char *kwnames
[] = { 
21850         (char *) "self",(char *) "col", NULL 
 
21853     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
; 
21854     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21855     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21856     arg2 
= (int)SWIG_As_int(obj1
);  
21857     if (PyErr_Occurred()) SWIG_fail
; 
21859         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21860         result 
= (wxListItem 
*)wxPyListCtrl_GetColumn(arg1
,arg2
); 
21862         wxPyEndAllowThreads(__tstate
); 
21863         if (PyErr_Occurred()) SWIG_fail
; 
21866         resultobj 
= wxPyMake_wxObject(result
, 0);  
21874 static PyObject 
*_wrap_ListCtrl_SetColumn(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21875     PyObject 
*resultobj
; 
21876     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21878     wxListItem 
*arg3 
= 0 ; 
21880     PyObject 
* obj0 
= 0 ; 
21881     PyObject 
* obj1 
= 0 ; 
21882     PyObject 
* obj2 
= 0 ; 
21883     char *kwnames
[] = { 
21884         (char *) "self",(char *) "col",(char *) "item", NULL 
 
21887     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
21888     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21889     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21890     arg2 
= (int)SWIG_As_int(obj1
);  
21891     if (PyErr_Occurred()) SWIG_fail
; 
21892     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
, 
21893     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
21895     if (arg3 
== NULL
) { 
21896         PyErr_SetString(PyExc_TypeError
,"null reference"); 
21900         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21901         result 
= (bool)(arg1
)->SetColumn(arg2
,*arg3
); 
21903         wxPyEndAllowThreads(__tstate
); 
21904         if (PyErr_Occurred()) SWIG_fail
; 
21907         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21915 static PyObject 
*_wrap_ListCtrl_GetColumnWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21916     PyObject 
*resultobj
; 
21917     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21920     PyObject 
* obj0 
= 0 ; 
21921     PyObject 
* obj1 
= 0 ; 
21922     char *kwnames
[] = { 
21923         (char *) "self",(char *) "col", NULL 
 
21926     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
21927     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21928     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21929     arg2 
= (int)SWIG_As_int(obj1
);  
21930     if (PyErr_Occurred()) SWIG_fail
; 
21932         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21933         result 
= (int)((wxPyListCtrl 
const *)arg1
)->GetColumnWidth(arg2
); 
21935         wxPyEndAllowThreads(__tstate
); 
21936         if (PyErr_Occurred()) SWIG_fail
; 
21938     resultobj 
= SWIG_From_int((int)result
); 
21945 static PyObject 
*_wrap_ListCtrl_SetColumnWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21946     PyObject 
*resultobj
; 
21947     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21951     PyObject 
* obj0 
= 0 ; 
21952     PyObject 
* obj1 
= 0 ; 
21953     PyObject 
* obj2 
= 0 ; 
21954     char *kwnames
[] = { 
21955         (char *) "self",(char *) "col",(char *) "width", NULL 
 
21958     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
21959     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21960     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21961     arg2 
= (int)SWIG_As_int(obj1
);  
21962     if (PyErr_Occurred()) SWIG_fail
; 
21963     arg3 
= (int)SWIG_As_int(obj2
);  
21964     if (PyErr_Occurred()) SWIG_fail
; 
21966         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21967         result 
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
); 
21969         wxPyEndAllowThreads(__tstate
); 
21970         if (PyErr_Occurred()) SWIG_fail
; 
21973         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21981 static PyObject 
*_wrap_ListCtrl_GetCountPerPage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21982     PyObject 
*resultobj
; 
21983     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21985     PyObject 
* obj0 
= 0 ; 
21986     char *kwnames
[] = { 
21987         (char *) "self", NULL 
 
21990     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
; 
21991     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21992     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21994         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21995         result 
= (int)((wxPyListCtrl 
const *)arg1
)->GetCountPerPage(); 
21997         wxPyEndAllowThreads(__tstate
); 
21998         if (PyErr_Occurred()) SWIG_fail
; 
22000     resultobj 
= SWIG_From_int((int)result
); 
22007 static PyObject 
*_wrap_ListCtrl_GetViewRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22008     PyObject 
*resultobj
; 
22009     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22011     PyObject 
* obj0 
= 0 ; 
22012     char *kwnames
[] = { 
22013         (char *) "self", NULL 
 
22016     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
; 
22017     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22018     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22020         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22021         result 
= ((wxPyListCtrl 
const *)arg1
)->GetViewRect(); 
22023         wxPyEndAllowThreads(__tstate
); 
22024         if (PyErr_Occurred()) SWIG_fail
; 
22027         wxRect 
* resultptr
; 
22028         resultptr 
= new wxRect((wxRect 
&) result
); 
22029         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
22037 static PyObject 
*_wrap_ListCtrl_GetItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22038     PyObject 
*resultobj
; 
22039     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22041     int arg3 
= (int) 0 ; 
22042     wxListItem 
*result
; 
22043     PyObject 
* obj0 
= 0 ; 
22044     PyObject 
* obj1 
= 0 ; 
22045     PyObject 
* obj2 
= 0 ; 
22046     char *kwnames
[] = { 
22047         (char *) "self",(char *) "itemId",(char *) "col", NULL 
 
22050     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
22051     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22052     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22053     arg2 
= (long)SWIG_As_long(obj1
);  
22054     if (PyErr_Occurred()) SWIG_fail
; 
22056         arg3 
= (int)SWIG_As_int(obj2
);  
22057         if (PyErr_Occurred()) SWIG_fail
; 
22060         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22061         result 
= (wxListItem 
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
); 
22063         wxPyEndAllowThreads(__tstate
); 
22064         if (PyErr_Occurred()) SWIG_fail
; 
22067         resultobj 
= wxPyMake_wxObject(result
, 0);  
22075 static PyObject 
*_wrap_ListCtrl_SetItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22076     PyObject 
*resultobj
; 
22077     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22078     wxListItem 
*arg2 
= 0 ; 
22080     PyObject 
* obj0 
= 0 ; 
22081     PyObject 
* obj1 
= 0 ; 
22082     char *kwnames
[] = { 
22083         (char *) "self",(char *) "info", NULL 
 
22086     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
22087     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22088     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22089     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
, 
22090     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
22092     if (arg2 
== NULL
) { 
22093         PyErr_SetString(PyExc_TypeError
,"null reference"); 
22097         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22098         result 
= (bool)(arg1
)->SetItem(*arg2
); 
22100         wxPyEndAllowThreads(__tstate
); 
22101         if (PyErr_Occurred()) SWIG_fail
; 
22104         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22112 static PyObject 
*_wrap_ListCtrl_SetStringItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22113     PyObject 
*resultobj
; 
22114     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22117     wxString 
*arg4 
= 0 ; 
22118     int arg5 
= (int) -1 ; 
22120     bool temp4 
= false ; 
22121     PyObject 
* obj0 
= 0 ; 
22122     PyObject 
* obj1 
= 0 ; 
22123     PyObject 
* obj2 
= 0 ; 
22124     PyObject 
* obj3 
= 0 ; 
22125     PyObject 
* obj4 
= 0 ; 
22126     char *kwnames
[] = { 
22127         (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL 
 
22130     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
22131     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22132     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22133     arg2 
= (long)SWIG_As_long(obj1
);  
22134     if (PyErr_Occurred()) SWIG_fail
; 
22135     arg3 
= (int)SWIG_As_int(obj2
);  
22136     if (PyErr_Occurred()) SWIG_fail
; 
22138         arg4 
= wxString_in_helper(obj3
); 
22139         if (arg4 
== NULL
) SWIG_fail
; 
22143         arg5 
= (int)SWIG_As_int(obj4
);  
22144         if (PyErr_Occurred()) SWIG_fail
; 
22147         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22148         result 
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString 
const &)*arg4
,arg5
); 
22150         wxPyEndAllowThreads(__tstate
); 
22151         if (PyErr_Occurred()) SWIG_fail
; 
22153     resultobj 
= SWIG_From_long((long)result
); 
22168 static PyObject 
*_wrap_ListCtrl_GetItemState(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22169     PyObject 
*resultobj
; 
22170     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22174     PyObject 
* obj0 
= 0 ; 
22175     PyObject 
* obj1 
= 0 ; 
22176     PyObject 
* obj2 
= 0 ; 
22177     char *kwnames
[] = { 
22178         (char *) "self",(char *) "item",(char *) "stateMask", NULL 
 
22181     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
22182     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22183     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22184     arg2 
= (long)SWIG_As_long(obj1
);  
22185     if (PyErr_Occurred()) SWIG_fail
; 
22186     arg3 
= (long)SWIG_As_long(obj2
);  
22187     if (PyErr_Occurred()) SWIG_fail
; 
22189         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22190         result 
= (int)((wxPyListCtrl 
const *)arg1
)->GetItemState(arg2
,arg3
); 
22192         wxPyEndAllowThreads(__tstate
); 
22193         if (PyErr_Occurred()) SWIG_fail
; 
22195     resultobj 
= SWIG_From_int((int)result
); 
22202 static PyObject 
*_wrap_ListCtrl_SetItemState(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22203     PyObject 
*resultobj
; 
22204     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22209     PyObject 
* obj0 
= 0 ; 
22210     PyObject 
* obj1 
= 0 ; 
22211     PyObject 
* obj2 
= 0 ; 
22212     PyObject 
* obj3 
= 0 ; 
22213     char *kwnames
[] = { 
22214         (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL 
 
22217     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
22218     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22219     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22220     arg2 
= (long)SWIG_As_long(obj1
);  
22221     if (PyErr_Occurred()) SWIG_fail
; 
22222     arg3 
= (long)SWIG_As_long(obj2
);  
22223     if (PyErr_Occurred()) SWIG_fail
; 
22224     arg4 
= (long)SWIG_As_long(obj3
);  
22225     if (PyErr_Occurred()) SWIG_fail
; 
22227         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22228         result 
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
); 
22230         wxPyEndAllowThreads(__tstate
); 
22231         if (PyErr_Occurred()) SWIG_fail
; 
22234         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22242 static PyObject 
*_wrap_ListCtrl_SetItemImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22243     PyObject 
*resultobj
; 
22244     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22249     PyObject 
* obj0 
= 0 ; 
22250     PyObject 
* obj1 
= 0 ; 
22251     PyObject 
* obj2 
= 0 ; 
22252     PyObject 
* obj3 
= 0 ; 
22253     char *kwnames
[] = { 
22254         (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL 
 
22257     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
22258     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22259     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22260     arg2 
= (long)SWIG_As_long(obj1
);  
22261     if (PyErr_Occurred()) SWIG_fail
; 
22262     arg3 
= (int)SWIG_As_int(obj2
);  
22263     if (PyErr_Occurred()) SWIG_fail
; 
22264     arg4 
= (int)SWIG_As_int(obj3
);  
22265     if (PyErr_Occurred()) SWIG_fail
; 
22267         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22268         result 
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
); 
22270         wxPyEndAllowThreads(__tstate
); 
22271         if (PyErr_Occurred()) SWIG_fail
; 
22274         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22282 static PyObject 
*_wrap_ListCtrl_GetItemText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22283     PyObject 
*resultobj
; 
22284     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22287     PyObject 
* obj0 
= 0 ; 
22288     PyObject 
* obj1 
= 0 ; 
22289     char *kwnames
[] = { 
22290         (char *) "self",(char *) "item", NULL 
 
22293     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
; 
22294     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22295     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22296     arg2 
= (long)SWIG_As_long(obj1
);  
22297     if (PyErr_Occurred()) SWIG_fail
; 
22299         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22300         result 
= ((wxPyListCtrl 
const *)arg1
)->GetItemText(arg2
); 
22302         wxPyEndAllowThreads(__tstate
); 
22303         if (PyErr_Occurred()) SWIG_fail
; 
22307         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
22309         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
22318 static PyObject 
*_wrap_ListCtrl_SetItemText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22319     PyObject 
*resultobj
; 
22320     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22322     wxString 
*arg3 
= 0 ; 
22323     bool temp3 
= false ; 
22324     PyObject 
* obj0 
= 0 ; 
22325     PyObject 
* obj1 
= 0 ; 
22326     PyObject 
* obj2 
= 0 ; 
22327     char *kwnames
[] = { 
22328         (char *) "self",(char *) "item",(char *) "str", NULL 
 
22331     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
22332     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22333     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22334     arg2 
= (long)SWIG_As_long(obj1
);  
22335     if (PyErr_Occurred()) SWIG_fail
; 
22337         arg3 
= wxString_in_helper(obj2
); 
22338         if (arg3 
== NULL
) SWIG_fail
; 
22342         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22343         (arg1
)->SetItemText(arg2
,(wxString 
const &)*arg3
); 
22345         wxPyEndAllowThreads(__tstate
); 
22346         if (PyErr_Occurred()) SWIG_fail
; 
22348     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22363 static PyObject 
*_wrap_ListCtrl_GetItemData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22364     PyObject 
*resultobj
; 
22365     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22368     PyObject 
* obj0 
= 0 ; 
22369     PyObject 
* obj1 
= 0 ; 
22370     char *kwnames
[] = { 
22371         (char *) "self",(char *) "item", NULL 
 
22374     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
; 
22375     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22376     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22377     arg2 
= (long)SWIG_As_long(obj1
);  
22378     if (PyErr_Occurred()) SWIG_fail
; 
22380         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22381         result 
= (long)((wxPyListCtrl 
const *)arg1
)->GetItemData(arg2
); 
22383         wxPyEndAllowThreads(__tstate
); 
22384         if (PyErr_Occurred()) SWIG_fail
; 
22386     resultobj 
= SWIG_From_long((long)result
); 
22393 static PyObject 
*_wrap_ListCtrl_SetItemData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22394     PyObject 
*resultobj
; 
22395     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22399     PyObject 
* obj0 
= 0 ; 
22400     PyObject 
* obj1 
= 0 ; 
22401     PyObject 
* obj2 
= 0 ; 
22402     char *kwnames
[] = { 
22403         (char *) "self",(char *) "item",(char *) "data", NULL 
 
22406     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
22407     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22408     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22409     arg2 
= (long)SWIG_As_long(obj1
);  
22410     if (PyErr_Occurred()) SWIG_fail
; 
22411     arg3 
= (long)SWIG_As_long(obj2
);  
22412     if (PyErr_Occurred()) SWIG_fail
; 
22414         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22415         result 
= (bool)(arg1
)->SetItemData(arg2
,arg3
); 
22417         wxPyEndAllowThreads(__tstate
); 
22418         if (PyErr_Occurred()) SWIG_fail
; 
22421         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22429 static PyObject 
*_wrap_ListCtrl_GetItemPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22430     PyObject 
*resultobj
; 
22431     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22434     PyObject 
* obj0 
= 0 ; 
22435     PyObject 
* obj1 
= 0 ; 
22436     char *kwnames
[] = { 
22437         (char *) "self",(char *) "item", NULL 
 
22440     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
22441     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22442     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22443     arg2 
= (long)SWIG_As_long(obj1
);  
22444     if (PyErr_Occurred()) SWIG_fail
; 
22446         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22447         result 
= wxPyListCtrl_GetItemPosition(arg1
,arg2
); 
22449         wxPyEndAllowThreads(__tstate
); 
22450         if (PyErr_Occurred()) SWIG_fail
; 
22453         wxPoint 
* resultptr
; 
22454         resultptr 
= new wxPoint((wxPoint 
&) result
); 
22455         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
22463 static PyObject 
*_wrap_ListCtrl_GetItemRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22464     PyObject 
*resultobj
; 
22465     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22467     int arg3 
= (int) wxLIST_RECT_BOUNDS 
; 
22469     PyObject 
* obj0 
= 0 ; 
22470     PyObject 
* obj1 
= 0 ; 
22471     PyObject 
* obj2 
= 0 ; 
22472     char *kwnames
[] = { 
22473         (char *) "self",(char *) "item",(char *) "code", NULL 
 
22476     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
22477     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22478     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22479     arg2 
= (long)SWIG_As_long(obj1
);  
22480     if (PyErr_Occurred()) SWIG_fail
; 
22482         arg3 
= (int)SWIG_As_int(obj2
);  
22483         if (PyErr_Occurred()) SWIG_fail
; 
22486         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22487         result 
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
); 
22489         wxPyEndAllowThreads(__tstate
); 
22490         if (PyErr_Occurred()) SWIG_fail
; 
22493         wxRect 
* resultptr
; 
22494         resultptr 
= new wxRect((wxRect 
&) result
); 
22495         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
22503 static PyObject 
*_wrap_ListCtrl_SetItemPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22504     PyObject 
*resultobj
; 
22505     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22507     wxPoint 
*arg3 
= 0 ; 
22510     PyObject 
* obj0 
= 0 ; 
22511     PyObject 
* obj1 
= 0 ; 
22512     PyObject 
* obj2 
= 0 ; 
22513     char *kwnames
[] = { 
22514         (char *) "self",(char *) "item",(char *) "pos", NULL 
 
22517     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
22518     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22519     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22520     arg2 
= (long)SWIG_As_long(obj1
);  
22521     if (PyErr_Occurred()) SWIG_fail
; 
22524         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
22527         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22528         result 
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint 
const &)*arg3
); 
22530         wxPyEndAllowThreads(__tstate
); 
22531         if (PyErr_Occurred()) SWIG_fail
; 
22534         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22542 static PyObject 
*_wrap_ListCtrl_GetItemCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22543     PyObject 
*resultobj
; 
22544     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22546     PyObject 
* obj0 
= 0 ; 
22547     char *kwnames
[] = { 
22548         (char *) "self", NULL 
 
22551     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
; 
22552     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22553     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22555         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22556         result 
= (int)((wxPyListCtrl 
const *)arg1
)->GetItemCount(); 
22558         wxPyEndAllowThreads(__tstate
); 
22559         if (PyErr_Occurred()) SWIG_fail
; 
22561     resultobj 
= SWIG_From_int((int)result
); 
22568 static PyObject 
*_wrap_ListCtrl_GetColumnCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22569     PyObject 
*resultobj
; 
22570     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22572     PyObject 
* obj0 
= 0 ; 
22573     char *kwnames
[] = { 
22574         (char *) "self", NULL 
 
22577     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
; 
22578     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22579     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22581         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22582         result 
= (int)((wxPyListCtrl 
const *)arg1
)->GetColumnCount(); 
22584         wxPyEndAllowThreads(__tstate
); 
22585         if (PyErr_Occurred()) SWIG_fail
; 
22587     resultobj 
= SWIG_From_int((int)result
); 
22594 static PyObject 
*_wrap_ListCtrl_GetItemSpacing(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22595     PyObject 
*resultobj
; 
22596     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22598     PyObject 
* obj0 
= 0 ; 
22599     char *kwnames
[] = { 
22600         (char *) "self", NULL 
 
22603     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
; 
22604     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22605     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22607         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22608         result 
= ((wxPyListCtrl 
const *)arg1
)->GetItemSpacing(); 
22610         wxPyEndAllowThreads(__tstate
); 
22611         if (PyErr_Occurred()) SWIG_fail
; 
22614         wxSize 
* resultptr
; 
22615         resultptr 
= new wxSize((wxSize 
&) result
); 
22616         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
22624 static PyObject 
*_wrap_ListCtrl_SetItemSpacing(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22625     PyObject 
*resultobj
; 
22626     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22628     bool arg3 
= (bool) false ; 
22629     PyObject 
* obj0 
= 0 ; 
22630     PyObject 
* obj1 
= 0 ; 
22631     PyObject 
* obj2 
= 0 ; 
22632     char *kwnames
[] = { 
22633         (char *) "self",(char *) "spacing",(char *) "isSmall", NULL 
 
22636     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
22637     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22638     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22639     arg2 
= (int)SWIG_As_int(obj1
);  
22640     if (PyErr_Occurred()) SWIG_fail
; 
22642         arg3 
= (bool)SWIG_As_bool(obj2
);  
22643         if (PyErr_Occurred()) SWIG_fail
; 
22646         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22647         (arg1
)->SetItemSpacing(arg2
,arg3
); 
22649         wxPyEndAllowThreads(__tstate
); 
22650         if (PyErr_Occurred()) SWIG_fail
; 
22652     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22659 static PyObject 
*_wrap_ListCtrl_GetSelectedItemCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22660     PyObject 
*resultobj
; 
22661     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22663     PyObject 
* obj0 
= 0 ; 
22664     char *kwnames
[] = { 
22665         (char *) "self", NULL 
 
22668     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
; 
22669     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22670     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22672         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22673         result 
= (int)((wxPyListCtrl 
const *)arg1
)->GetSelectedItemCount(); 
22675         wxPyEndAllowThreads(__tstate
); 
22676         if (PyErr_Occurred()) SWIG_fail
; 
22678     resultobj 
= SWIG_From_int((int)result
); 
22685 static PyObject 
*_wrap_ListCtrl_GetTextColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22686     PyObject 
*resultobj
; 
22687     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22689     PyObject 
* obj0 
= 0 ; 
22690     char *kwnames
[] = { 
22691         (char *) "self", NULL 
 
22694     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
; 
22695     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22696     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22698         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22699         result 
= ((wxPyListCtrl 
const *)arg1
)->GetTextColour(); 
22701         wxPyEndAllowThreads(__tstate
); 
22702         if (PyErr_Occurred()) SWIG_fail
; 
22705         wxColour 
* resultptr
; 
22706         resultptr 
= new wxColour((wxColour 
&) result
); 
22707         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
22715 static PyObject 
*_wrap_ListCtrl_SetTextColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22716     PyObject 
*resultobj
; 
22717     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22718     wxColour 
*arg2 
= 0 ; 
22720     PyObject 
* obj0 
= 0 ; 
22721     PyObject 
* obj1 
= 0 ; 
22722     char *kwnames
[] = { 
22723         (char *) "self",(char *) "col", NULL 
 
22726     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
22727     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22728     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22731         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
22734         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22735         (arg1
)->SetTextColour((wxColour 
const &)*arg2
); 
22737         wxPyEndAllowThreads(__tstate
); 
22738         if (PyErr_Occurred()) SWIG_fail
; 
22740     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22747 static PyObject 
*_wrap_ListCtrl_GetTopItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22748     PyObject 
*resultobj
; 
22749     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22751     PyObject 
* obj0 
= 0 ; 
22752     char *kwnames
[] = { 
22753         (char *) "self", NULL 
 
22756     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
; 
22757     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22758     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22760         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22761         result 
= (long)((wxPyListCtrl 
const *)arg1
)->GetTopItem(); 
22763         wxPyEndAllowThreads(__tstate
); 
22764         if (PyErr_Occurred()) SWIG_fail
; 
22766     resultobj 
= SWIG_From_long((long)result
); 
22773 static PyObject 
*_wrap_ListCtrl_SetSingleStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22774     PyObject 
*resultobj
; 
22775     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22777     bool arg3 
= (bool) true ; 
22778     PyObject 
* obj0 
= 0 ; 
22779     PyObject 
* obj1 
= 0 ; 
22780     PyObject 
* obj2 
= 0 ; 
22781     char *kwnames
[] = { 
22782         (char *) "self",(char *) "style",(char *) "add", NULL 
 
22785     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
22786     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22787     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22788     arg2 
= (long)SWIG_As_long(obj1
);  
22789     if (PyErr_Occurred()) SWIG_fail
; 
22791         arg3 
= (bool)SWIG_As_bool(obj2
);  
22792         if (PyErr_Occurred()) SWIG_fail
; 
22795         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22796         (arg1
)->SetSingleStyle(arg2
,arg3
); 
22798         wxPyEndAllowThreads(__tstate
); 
22799         if (PyErr_Occurred()) SWIG_fail
; 
22801     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22808 static PyObject 
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22809     PyObject 
*resultobj
; 
22810     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22812     PyObject 
* obj0 
= 0 ; 
22813     PyObject 
* obj1 
= 0 ; 
22814     char *kwnames
[] = { 
22815         (char *) "self",(char *) "style", NULL 
 
22818     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
; 
22819     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22820     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22821     arg2 
= (long)SWIG_As_long(obj1
);  
22822     if (PyErr_Occurred()) SWIG_fail
; 
22824         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22825         (arg1
)->SetWindowStyleFlag(arg2
); 
22827         wxPyEndAllowThreads(__tstate
); 
22828         if (PyErr_Occurred()) SWIG_fail
; 
22830     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22837 static PyObject 
*_wrap_ListCtrl_GetNextItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22838     PyObject 
*resultobj
; 
22839     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22841     int arg3 
= (int) wxLIST_NEXT_ALL 
; 
22842     int arg4 
= (int) wxLIST_STATE_DONTCARE 
; 
22844     PyObject 
* obj0 
= 0 ; 
22845     PyObject 
* obj1 
= 0 ; 
22846     PyObject 
* obj2 
= 0 ; 
22847     PyObject 
* obj3 
= 0 ; 
22848     char *kwnames
[] = { 
22849         (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL 
 
22852     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
22853     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22854     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22855     arg2 
= (long)SWIG_As_long(obj1
);  
22856     if (PyErr_Occurred()) SWIG_fail
; 
22858         arg3 
= (int)SWIG_As_int(obj2
);  
22859         if (PyErr_Occurred()) SWIG_fail
; 
22862         arg4 
= (int)SWIG_As_int(obj3
);  
22863         if (PyErr_Occurred()) SWIG_fail
; 
22866         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22867         result 
= (long)((wxPyListCtrl 
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
); 
22869         wxPyEndAllowThreads(__tstate
); 
22870         if (PyErr_Occurred()) SWIG_fail
; 
22872     resultobj 
= SWIG_From_long((long)result
); 
22879 static PyObject 
*_wrap_ListCtrl_GetImageList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22880     PyObject 
*resultobj
; 
22881     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22883     wxImageList 
*result
; 
22884     PyObject 
* obj0 
= 0 ; 
22885     PyObject 
* obj1 
= 0 ; 
22886     char *kwnames
[] = { 
22887         (char *) "self",(char *) "which", NULL 
 
22890     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
; 
22891     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22892     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22893     arg2 
= (int)SWIG_As_int(obj1
);  
22894     if (PyErr_Occurred()) SWIG_fail
; 
22896         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22897         result 
= (wxImageList 
*)((wxPyListCtrl 
const *)arg1
)->GetImageList(arg2
); 
22899         wxPyEndAllowThreads(__tstate
); 
22900         if (PyErr_Occurred()) SWIG_fail
; 
22903         resultobj 
= wxPyMake_wxObject(result
, 0);  
22911 static PyObject 
*_wrap_ListCtrl_SetImageList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22912     PyObject 
*resultobj
; 
22913     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22914     wxImageList 
*arg2 
= (wxImageList 
*) 0 ; 
22916     PyObject 
* obj0 
= 0 ; 
22917     PyObject 
* obj1 
= 0 ; 
22918     PyObject 
* obj2 
= 0 ; 
22919     char *kwnames
[] = { 
22920         (char *) "self",(char *) "imageList",(char *) "which", NULL 
 
22923     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
22924     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22925     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22926     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
, 
22927     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22928     arg3 
= (int)SWIG_As_int(obj2
);  
22929     if (PyErr_Occurred()) SWIG_fail
; 
22931         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22932         (arg1
)->SetImageList(arg2
,arg3
); 
22934         wxPyEndAllowThreads(__tstate
); 
22935         if (PyErr_Occurred()) SWIG_fail
; 
22937     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22944 static PyObject 
*_wrap_ListCtrl_AssignImageList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22945     PyObject 
*resultobj
; 
22946     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22947     wxImageList 
*arg2 
= (wxImageList 
*) 0 ; 
22949     PyObject 
* obj0 
= 0 ; 
22950     PyObject 
* obj1 
= 0 ; 
22951     PyObject 
* obj2 
= 0 ; 
22952     char *kwnames
[] = { 
22953         (char *) "self",(char *) "imageList",(char *) "which", NULL 
 
22956     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
22957     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22958     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22959     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
, 
22960     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
22961     arg3 
= (int)SWIG_As_int(obj2
);  
22962     if (PyErr_Occurred()) SWIG_fail
; 
22964         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22965         (arg1
)->AssignImageList(arg2
,arg3
); 
22967         wxPyEndAllowThreads(__tstate
); 
22968         if (PyErr_Occurred()) SWIG_fail
; 
22970     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22977 static PyObject 
*_wrap_ListCtrl_InReportView(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22978     PyObject 
*resultobj
; 
22979     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22981     PyObject 
* obj0 
= 0 ; 
22982     char *kwnames
[] = { 
22983         (char *) "self", NULL 
 
22986     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
; 
22987     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22988     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22990         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22991         result 
= (bool)((wxPyListCtrl 
const *)arg1
)->InReportView(); 
22993         wxPyEndAllowThreads(__tstate
); 
22994         if (PyErr_Occurred()) SWIG_fail
; 
22997         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23005 static PyObject 
*_wrap_ListCtrl_IsVirtual(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23006     PyObject 
*resultobj
; 
23007     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
23009     PyObject 
* obj0 
= 0 ; 
23010     char *kwnames
[] = { 
23011         (char *) "self", NULL 
 
23014     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
; 
23015     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
23016     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23018         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23019         result 
= (bool)((wxPyListCtrl 
const *)arg1
)->IsVirtual(); 
23021         wxPyEndAllowThreads(__tstate
); 
23022         if (PyErr_Occurred()) SWIG_fail
; 
23025         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23033 static PyObject 
*_wrap_ListCtrl_RefreshItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23034     PyObject 
*resultobj
; 
23035     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
23037     PyObject 
* obj0 
= 0 ; 
23038     PyObject 
* obj1 
= 0 ; 
23039     char *kwnames
[] = { 
23040         (char *) "self",(char *) "item", NULL 
 
23043     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
23044     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
23045     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23046     arg2 
= (long)SWIG_As_long(obj1
);  
23047     if (PyErr_Occurred()) SWIG_fail
; 
23049         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23050         (arg1
)->RefreshItem(arg2
); 
23052         wxPyEndAllowThreads(__tstate
); 
23053         if (PyErr_Occurred()) SWIG_fail
; 
23055     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23062 static PyObject 
*_wrap_ListCtrl_RefreshItems(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23063     PyObject 
*resultobj
; 
23064     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
23067     PyObject 
* obj0 
= 0 ; 
23068     PyObject 
* obj1 
= 0 ; 
23069     PyObject 
* obj2 
= 0 ; 
23070     char *kwnames
[] = { 
23071         (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL 
 
23074     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
23075     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
23076     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23077     arg2 
= (long)SWIG_As_long(obj1
);  
23078     if (PyErr_Occurred()) SWIG_fail
; 
23079     arg3 
= (long)SWIG_As_long(obj2
);  
23080     if (PyErr_Occurred()) SWIG_fail
; 
23082         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23083         (arg1
)->RefreshItems(arg2
,arg3
); 
23085         wxPyEndAllowThreads(__tstate
); 
23086         if (PyErr_Occurred()) SWIG_fail
; 
23088     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23095 static PyObject 
*_wrap_ListCtrl_Arrange(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23096     PyObject 
*resultobj
; 
23097     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
23098     int arg2 
= (int) wxLIST_ALIGN_DEFAULT 
; 
23100     PyObject 
* obj0 
= 0 ; 
23101     PyObject 
* obj1 
= 0 ; 
23102     char *kwnames
[] = { 
23103         (char *) "self",(char *) "flag", NULL 
 
23106     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
; 
23107     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
23108     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23110         arg2 
= (int)SWIG_As_int(obj1
);  
23111         if (PyErr_Occurred()) SWIG_fail
; 
23114         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23115         result 
= (bool)(arg1
)->Arrange(arg2
); 
23117         wxPyEndAllowThreads(__tstate
); 
23118         if (PyErr_Occurred()) SWIG_fail
; 
23121         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23129 static PyObject 
*_wrap_ListCtrl_DeleteItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23130     PyObject 
*resultobj
; 
23131     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
23134     PyObject 
* obj0 
= 0 ; 
23135     PyObject 
* obj1 
= 0 ; 
23136     char *kwnames
[] = { 
23137         (char *) "self",(char *) "item", NULL 
 
23140     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
23141     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
23142     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23143     arg2 
= (long)SWIG_As_long(obj1
);  
23144     if (PyErr_Occurred()) SWIG_fail
; 
23146         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23147         result 
= (bool)(arg1
)->DeleteItem(arg2
); 
23149         wxPyEndAllowThreads(__tstate
); 
23150         if (PyErr_Occurred()) SWIG_fail
; 
23153         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23161 static PyObject 
*_wrap_ListCtrl_DeleteAllItems(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23162     PyObject 
*resultobj
; 
23163     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
23165     PyObject 
* obj0 
= 0 ; 
23166     char *kwnames
[] = { 
23167         (char *) "self", NULL 
 
23170     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
; 
23171     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
23172     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23174         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23175         result 
= (bool)(arg1
)->DeleteAllItems(); 
23177         wxPyEndAllowThreads(__tstate
); 
23178         if (PyErr_Occurred()) SWIG_fail
; 
23181         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23189 static PyObject 
*_wrap_ListCtrl_DeleteColumn(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23190     PyObject 
*resultobj
; 
23191     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
23194     PyObject 
* obj0 
= 0 ; 
23195     PyObject 
* obj1 
= 0 ; 
23196     char *kwnames
[] = { 
23197         (char *) "self",(char *) "col", NULL 
 
23200     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
; 
23201     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
23202     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23203     arg2 
= (int)SWIG_As_int(obj1
);  
23204     if (PyErr_Occurred()) SWIG_fail
; 
23206         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23207         result 
= (bool)(arg1
)->DeleteColumn(arg2
); 
23209         wxPyEndAllowThreads(__tstate
); 
23210         if (PyErr_Occurred()) SWIG_fail
; 
23213         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23221 static PyObject 
*_wrap_ListCtrl_DeleteAllColumns(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23222     PyObject 
*resultobj
; 
23223     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
23225     PyObject 
* obj0 
= 0 ; 
23226     char *kwnames
[] = { 
23227         (char *) "self", NULL 
 
23230     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
; 
23231     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
23232     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23234         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23235         result 
= (bool)(arg1
)->DeleteAllColumns(); 
23237         wxPyEndAllowThreads(__tstate
); 
23238         if (PyErr_Occurred()) SWIG_fail
; 
23241         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23249 static PyObject 
*_wrap_ListCtrl_ClearAll(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23250     PyObject 
*resultobj
; 
23251     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
23252     PyObject 
* obj0 
= 0 ; 
23253     char *kwnames
[] = { 
23254         (char *) "self", NULL 
 
23257     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
; 
23258     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
23259     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23261         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23262         (arg1
)->ClearAll(); 
23264         wxPyEndAllowThreads(__tstate
); 
23265         if (PyErr_Occurred()) SWIG_fail
; 
23267     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23274 static PyObject 
*_wrap_ListCtrl_EditLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23275     PyObject 
*resultobj
; 
23276     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
23278     PyObject 
* obj0 
= 0 ; 
23279     PyObject 
* obj1 
= 0 ; 
23280     char *kwnames
[] = { 
23281         (char *) "self",(char *) "item", NULL 
 
23284     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
; 
23285     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
23286     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23287     arg2 
= (long)SWIG_As_long(obj1
);  
23288     if (PyErr_Occurred()) SWIG_fail
; 
23290         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23291         (arg1
)->EditLabel(arg2
); 
23293         wxPyEndAllowThreads(__tstate
); 
23294         if (PyErr_Occurred()) SWIG_fail
; 
23296     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23303 static PyObject 
*_wrap_ListCtrl_EnsureVisible(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23304     PyObject 
*resultobj
; 
23305     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
23308     PyObject 
* obj0 
= 0 ; 
23309     PyObject 
* obj1 
= 0 ; 
23310     char *kwnames
[] = { 
23311         (char *) "self",(char *) "item", NULL 
 
23314     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
; 
23315     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
23316     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23317     arg2 
= (long)SWIG_As_long(obj1
);  
23318     if (PyErr_Occurred()) SWIG_fail
; 
23320         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23321         result 
= (bool)(arg1
)->EnsureVisible(arg2
); 
23323         wxPyEndAllowThreads(__tstate
); 
23324         if (PyErr_Occurred()) SWIG_fail
; 
23327         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23335 static PyObject 
*_wrap_ListCtrl_FindItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23336     PyObject 
*resultobj
; 
23337     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
23339     wxString 
*arg3 
= 0 ; 
23340     bool arg4 
= (bool) false ; 
23342     bool temp3 
= false ; 
23343     PyObject 
* obj0 
= 0 ; 
23344     PyObject 
* obj1 
= 0 ; 
23345     PyObject 
* obj2 
= 0 ; 
23346     PyObject 
* obj3 
= 0 ; 
23347     char *kwnames
[] = { 
23348         (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL 
 
23351     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
23352     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
23353     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23354     arg2 
= (long)SWIG_As_long(obj1
);  
23355     if (PyErr_Occurred()) SWIG_fail
; 
23357         arg3 
= wxString_in_helper(obj2
); 
23358         if (arg3 
== NULL
) SWIG_fail
; 
23362         arg4 
= (bool)SWIG_As_bool(obj3
);  
23363         if (PyErr_Occurred()) SWIG_fail
; 
23366         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23367         result 
= (long)(arg1
)->FindItem(arg2
,(wxString 
const &)*arg3
,arg4
); 
23369         wxPyEndAllowThreads(__tstate
); 
23370         if (PyErr_Occurred()) SWIG_fail
; 
23372     resultobj 
= SWIG_From_long((long)result
); 
23387 static PyObject 
*_wrap_ListCtrl_FindItemData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23388     PyObject 
*resultobj
; 
23389     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
23393     PyObject 
* obj0 
= 0 ; 
23394     PyObject 
* obj1 
= 0 ; 
23395     PyObject 
* obj2 
= 0 ; 
23396     char *kwnames
[] = { 
23397         (char *) "self",(char *) "start",(char *) "data", NULL 
 
23400     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
23401     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
23402     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23403     arg2 
= (long)SWIG_As_long(obj1
);  
23404     if (PyErr_Occurred()) SWIG_fail
; 
23405     arg3 
= (long)SWIG_As_long(obj2
);  
23406     if (PyErr_Occurred()) SWIG_fail
; 
23408         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23409         result 
= (long)(arg1
)->FindItem(arg2
,arg3
); 
23411         wxPyEndAllowThreads(__tstate
); 
23412         if (PyErr_Occurred()) SWIG_fail
; 
23414     resultobj 
= SWIG_From_long((long)result
); 
23421 static PyObject 
*_wrap_ListCtrl_FindItemAtPos(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23422     PyObject 
*resultobj
; 
23423     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
23425     wxPoint 
*arg3 
= 0 ; 
23429     PyObject 
* obj0 
= 0 ; 
23430     PyObject 
* obj1 
= 0 ; 
23431     PyObject 
* obj2 
= 0 ; 
23432     PyObject 
* obj3 
= 0 ; 
23433     char *kwnames
[] = { 
23434         (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL 
 
23437     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
23438     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
23439     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23440     arg2 
= (long)SWIG_As_long(obj1
);  
23441     if (PyErr_Occurred()) SWIG_fail
; 
23444         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
23446     arg4 
= (int)SWIG_As_int(obj3
);  
23447     if (PyErr_Occurred()) SWIG_fail
; 
23449         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23450         result 
= (long)(arg1
)->FindItem(arg2
,(wxPoint 
const &)*arg3
,arg4
); 
23452         wxPyEndAllowThreads(__tstate
); 
23453         if (PyErr_Occurred()) SWIG_fail
; 
23455     resultobj 
= SWIG_From_long((long)result
); 
23462 static PyObject 
*_wrap_ListCtrl_HitTest(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23463     PyObject 
*resultobj
; 
23464     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
23465     wxPoint 
*arg2 
= 0 ; 
23471     PyObject 
* obj0 
= 0 ; 
23472     PyObject 
* obj1 
= 0 ; 
23473     char *kwnames
[] = { 
23474         (char *) "self",(char *) "point", NULL 
 
23477     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
23478     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
; 
23479     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
23480     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23483         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
23486         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23487         result 
= (long)(arg1
)->HitTest((wxPoint 
const &)*arg2
,*arg3
); 
23489         wxPyEndAllowThreads(__tstate
); 
23490         if (PyErr_Occurred()) SWIG_fail
; 
23492     resultobj 
= SWIG_From_long((long)result
); 
23493     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
23494     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
23501 static PyObject 
*_wrap_ListCtrl_InsertItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23502     PyObject 
*resultobj
; 
23503     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
23504     wxListItem 
*arg2 
= 0 ; 
23506     PyObject 
* obj0 
= 0 ; 
23507     PyObject 
* obj1 
= 0 ; 
23508     char *kwnames
[] = { 
23509         (char *) "self",(char *) "info", NULL 
 
23512     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
23513     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
23514     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23515     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
, 
23516     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
23518     if (arg2 
== NULL
) { 
23519         PyErr_SetString(PyExc_TypeError
,"null reference"); 
23523         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23524         result 
= (long)(arg1
)->InsertItem(*arg2
); 
23526         wxPyEndAllowThreads(__tstate
); 
23527         if (PyErr_Occurred()) SWIG_fail
; 
23529     resultobj 
= SWIG_From_long((long)result
); 
23536 static PyObject 
*_wrap_ListCtrl_InsertStringItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23537     PyObject 
*resultobj
; 
23538     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
23540     wxString 
*arg3 
= 0 ; 
23542     bool temp3 
= false ; 
23543     PyObject 
* obj0 
= 0 ; 
23544     PyObject 
* obj1 
= 0 ; 
23545     PyObject 
* obj2 
= 0 ; 
23546     char *kwnames
[] = { 
23547         (char *) "self",(char *) "index",(char *) "label", NULL 
 
23550     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
23551     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
23552     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23553     arg2 
= (long)SWIG_As_long(obj1
);  
23554     if (PyErr_Occurred()) SWIG_fail
; 
23556         arg3 
= wxString_in_helper(obj2
); 
23557         if (arg3 
== NULL
) SWIG_fail
; 
23561         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23562         result 
= (long)(arg1
)->InsertItem(arg2
,(wxString 
const &)*arg3
); 
23564         wxPyEndAllowThreads(__tstate
); 
23565         if (PyErr_Occurred()) SWIG_fail
; 
23567     resultobj 
= SWIG_From_long((long)result
); 
23582 static PyObject 
*_wrap_ListCtrl_InsertImageItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23583     PyObject 
*resultobj
; 
23584     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
23588     PyObject 
* obj0 
= 0 ; 
23589     PyObject 
* obj1 
= 0 ; 
23590     PyObject 
* obj2 
= 0 ; 
23591     char *kwnames
[] = { 
23592         (char *) "self",(char *) "index",(char *) "imageIndex", NULL 
 
23595     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
23596     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
23597     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23598     arg2 
= (long)SWIG_As_long(obj1
);  
23599     if (PyErr_Occurred()) SWIG_fail
; 
23600     arg3 
= (int)SWIG_As_int(obj2
);  
23601     if (PyErr_Occurred()) SWIG_fail
; 
23603         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23604         result 
= (long)(arg1
)->InsertItem(arg2
,arg3
); 
23606         wxPyEndAllowThreads(__tstate
); 
23607         if (PyErr_Occurred()) SWIG_fail
; 
23609     resultobj 
= SWIG_From_long((long)result
); 
23616 static PyObject 
*_wrap_ListCtrl_InsertImageStringItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23617     PyObject 
*resultobj
; 
23618     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
23620     wxString 
*arg3 
= 0 ; 
23623     bool temp3 
= false ; 
23624     PyObject 
* obj0 
= 0 ; 
23625     PyObject 
* obj1 
= 0 ; 
23626     PyObject 
* obj2 
= 0 ; 
23627     PyObject 
* obj3 
= 0 ; 
23628     char *kwnames
[] = { 
23629         (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL 
 
23632     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
23633     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
23634     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23635     arg2 
= (long)SWIG_As_long(obj1
);  
23636     if (PyErr_Occurred()) SWIG_fail
; 
23638         arg3 
= wxString_in_helper(obj2
); 
23639         if (arg3 
== NULL
) SWIG_fail
; 
23642     arg4 
= (int)SWIG_As_int(obj3
);  
23643     if (PyErr_Occurred()) SWIG_fail
; 
23645         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23646         result 
= (long)(arg1
)->InsertItem(arg2
,(wxString 
const &)*arg3
,arg4
); 
23648         wxPyEndAllowThreads(__tstate
); 
23649         if (PyErr_Occurred()) SWIG_fail
; 
23651     resultobj 
= SWIG_From_long((long)result
); 
23666 static PyObject 
*_wrap_ListCtrl_InsertColumnInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23667     PyObject 
*resultobj
; 
23668     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
23670     wxListItem 
*arg3 
= 0 ; 
23672     PyObject 
* obj0 
= 0 ; 
23673     PyObject 
* obj1 
= 0 ; 
23674     PyObject 
* obj2 
= 0 ; 
23675     char *kwnames
[] = { 
23676         (char *) "self",(char *) "col",(char *) "info", NULL 
 
23679     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
23680     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
23681     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23682     arg2 
= (long)SWIG_As_long(obj1
);  
23683     if (PyErr_Occurred()) SWIG_fail
; 
23684     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
, 
23685     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
23687     if (arg3 
== NULL
) { 
23688         PyErr_SetString(PyExc_TypeError
,"null reference"); 
23692         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23693         result 
= (long)(arg1
)->InsertColumn(arg2
,*arg3
); 
23695         wxPyEndAllowThreads(__tstate
); 
23696         if (PyErr_Occurred()) SWIG_fail
; 
23698     resultobj 
= SWIG_From_long((long)result
); 
23705 static PyObject 
*_wrap_ListCtrl_InsertColumn(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23706     PyObject 
*resultobj
; 
23707     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
23709     wxString 
*arg3 
= 0 ; 
23710     int arg4 
= (int) wxLIST_FORMAT_LEFT 
; 
23711     int arg5 
= (int) -1 ; 
23713     bool temp3 
= false ; 
23714     PyObject 
* obj0 
= 0 ; 
23715     PyObject 
* obj1 
= 0 ; 
23716     PyObject 
* obj2 
= 0 ; 
23717     PyObject 
* obj3 
= 0 ; 
23718     PyObject 
* obj4 
= 0 ; 
23719     char *kwnames
[] = { 
23720         (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL 
 
23723     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
23724     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
23725     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23726     arg2 
= (long)SWIG_As_long(obj1
);  
23727     if (PyErr_Occurred()) SWIG_fail
; 
23729         arg3 
= wxString_in_helper(obj2
); 
23730         if (arg3 
== NULL
) SWIG_fail
; 
23734         arg4 
= (int)SWIG_As_int(obj3
);  
23735         if (PyErr_Occurred()) SWIG_fail
; 
23738         arg5 
= (int)SWIG_As_int(obj4
);  
23739         if (PyErr_Occurred()) SWIG_fail
; 
23742         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23743         result 
= (long)(arg1
)->InsertColumn(arg2
,(wxString 
const &)*arg3
,arg4
,arg5
); 
23745         wxPyEndAllowThreads(__tstate
); 
23746         if (PyErr_Occurred()) SWIG_fail
; 
23748     resultobj 
= SWIG_From_long((long)result
); 
23763 static PyObject 
*_wrap_ListCtrl_SetItemCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23764     PyObject 
*resultobj
; 
23765     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
23767     PyObject 
* obj0 
= 0 ; 
23768     PyObject 
* obj1 
= 0 ; 
23769     char *kwnames
[] = { 
23770         (char *) "self",(char *) "count", NULL 
 
23773     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
; 
23774     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
23775     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23776     arg2 
= (long)SWIG_As_long(obj1
);  
23777     if (PyErr_Occurred()) SWIG_fail
; 
23779         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23780         (arg1
)->SetItemCount(arg2
); 
23782         wxPyEndAllowThreads(__tstate
); 
23783         if (PyErr_Occurred()) SWIG_fail
; 
23785     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23792 static PyObject 
*_wrap_ListCtrl_ScrollList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23793     PyObject 
*resultobj
; 
23794     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
23798     PyObject 
* obj0 
= 0 ; 
23799     PyObject 
* obj1 
= 0 ; 
23800     PyObject 
* obj2 
= 0 ; 
23801     char *kwnames
[] = { 
23802         (char *) "self",(char *) "dx",(char *) "dy", NULL 
 
23805     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
23806     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
23807     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23808     arg2 
= (int)SWIG_As_int(obj1
);  
23809     if (PyErr_Occurred()) SWIG_fail
; 
23810     arg3 
= (int)SWIG_As_int(obj2
);  
23811     if (PyErr_Occurred()) SWIG_fail
; 
23813         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23814         result 
= (bool)(arg1
)->ScrollList(arg2
,arg3
); 
23816         wxPyEndAllowThreads(__tstate
); 
23817         if (PyErr_Occurred()) SWIG_fail
; 
23820         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23828 static PyObject 
*_wrap_ListCtrl_SetItemTextColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23829     PyObject 
*resultobj
; 
23830     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
23832     wxColour 
*arg3 
= 0 ; 
23834     PyObject 
* obj0 
= 0 ; 
23835     PyObject 
* obj1 
= 0 ; 
23836     PyObject 
* obj2 
= 0 ; 
23837     char *kwnames
[] = { 
23838         (char *) "self",(char *) "item",(char *) "col", NULL 
 
23841     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
23842     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
23843     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23844     arg2 
= (long)SWIG_As_long(obj1
);  
23845     if (PyErr_Occurred()) SWIG_fail
; 
23848         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
23851         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23852         (arg1
)->SetItemTextColour(arg2
,(wxColour 
const &)*arg3
); 
23854         wxPyEndAllowThreads(__tstate
); 
23855         if (PyErr_Occurred()) SWIG_fail
; 
23857     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23864 static PyObject 
*_wrap_ListCtrl_GetItemTextColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23865     PyObject 
*resultobj
; 
23866     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
23869     PyObject 
* obj0 
= 0 ; 
23870     PyObject 
* obj1 
= 0 ; 
23871     char *kwnames
[] = { 
23872         (char *) "self",(char *) "item", NULL 
 
23875     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
23876     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
23877     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23878     arg2 
= (long)SWIG_As_long(obj1
);  
23879     if (PyErr_Occurred()) SWIG_fail
; 
23881         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23882         result 
= ((wxPyListCtrl 
const *)arg1
)->GetItemTextColour(arg2
); 
23884         wxPyEndAllowThreads(__tstate
); 
23885         if (PyErr_Occurred()) SWIG_fail
; 
23888         wxColour 
* resultptr
; 
23889         resultptr 
= new wxColour((wxColour 
&) result
); 
23890         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
23898 static PyObject 
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23899     PyObject 
*resultobj
; 
23900     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
23902     wxColour 
*arg3 
= 0 ; 
23904     PyObject 
* obj0 
= 0 ; 
23905     PyObject 
* obj1 
= 0 ; 
23906     PyObject 
* obj2 
= 0 ; 
23907     char *kwnames
[] = { 
23908         (char *) "self",(char *) "item",(char *) "col", NULL 
 
23911     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
23912     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
23913     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23914     arg2 
= (long)SWIG_As_long(obj1
);  
23915     if (PyErr_Occurred()) SWIG_fail
; 
23918         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
23921         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23922         (arg1
)->SetItemBackgroundColour(arg2
,(wxColour 
const &)*arg3
); 
23924         wxPyEndAllowThreads(__tstate
); 
23925         if (PyErr_Occurred()) SWIG_fail
; 
23927     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23934 static PyObject 
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23935     PyObject 
*resultobj
; 
23936     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
23939     PyObject 
* obj0 
= 0 ; 
23940     PyObject 
* obj1 
= 0 ; 
23941     char *kwnames
[] = { 
23942         (char *) "self",(char *) "item", NULL 
 
23945     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
23946     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
23947     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23948     arg2 
= (long)SWIG_As_long(obj1
);  
23949     if (PyErr_Occurred()) SWIG_fail
; 
23951         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23952         result 
= ((wxPyListCtrl 
const *)arg1
)->GetItemBackgroundColour(arg2
); 
23954         wxPyEndAllowThreads(__tstate
); 
23955         if (PyErr_Occurred()) SWIG_fail
; 
23958         wxColour 
* resultptr
; 
23959         resultptr 
= new wxColour((wxColour 
&) result
); 
23960         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
23968 static PyObject 
*_wrap_ListCtrl_SortItems(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23969     PyObject 
*resultobj
; 
23970     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
23971     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
23973     PyObject 
* obj0 
= 0 ; 
23974     PyObject 
* obj1 
= 0 ; 
23975     char *kwnames
[] = { 
23976         (char *) "self",(char *) "func", NULL 
 
23979     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
; 
23980     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
23981     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23984         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23985         result 
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
); 
23987         wxPyEndAllowThreads(__tstate
); 
23988         if (PyErr_Occurred()) SWIG_fail
; 
23991         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23999 static PyObject 
*_wrap_ListCtrl_GetMainWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24000     PyObject 
*resultobj
; 
24001     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
24003     PyObject 
* obj0 
= 0 ; 
24004     char *kwnames
[] = { 
24005         (char *) "self", NULL 
 
24008     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
; 
24009     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
24010     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24012         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24013         result 
= (wxWindow 
*)wxPyListCtrl_GetMainWindow(arg1
); 
24015         wxPyEndAllowThreads(__tstate
); 
24016         if (PyErr_Occurred()) SWIG_fail
; 
24019         resultobj 
= wxPyMake_wxObject(result
, 0);  
24027 static PyObject 
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24028     PyObject 
*resultobj
; 
24029     int arg1 
= (int) wxWINDOW_VARIANT_NORMAL 
; 
24030     wxVisualAttributes result
; 
24031     PyObject 
* obj0 
= 0 ; 
24032     char *kwnames
[] = { 
24033         (char *) "variant", NULL 
 
24036     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
24038         arg1 
= (int)SWIG_As_int(obj0
);  
24039         if (PyErr_Occurred()) SWIG_fail
; 
24042         if (!wxPyCheckForApp()) SWIG_fail
; 
24043         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24044         result 
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
24046         wxPyEndAllowThreads(__tstate
); 
24047         if (PyErr_Occurred()) SWIG_fail
; 
24050         wxVisualAttributes 
* resultptr
; 
24051         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&) result
); 
24052         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
24060 static PyObject 
* ListCtrl_swigregister(PyObject 
*, PyObject 
*args
) { 
24062     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
24063     SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
); 
24065     return Py_BuildValue((char *)""); 
24067 static PyObject 
*_wrap_new_ListView(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24068     PyObject 
*resultobj
; 
24069     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
24070     int arg2 
= (int) -1 ; 
24071     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
24072     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
24073     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
24074     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
24075     long arg5 
= (long) wxLC_REPORT 
; 
24076     wxValidator 
const &arg6_defvalue 
= wxDefaultValidator 
; 
24077     wxValidator 
*arg6 
= (wxValidator 
*) &arg6_defvalue 
; 
24078     wxString 
const &arg7_defvalue 
= wxPyListCtrlNameStr 
; 
24079     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
24080     wxListView 
*result
; 
24083     bool temp7 
= false ; 
24084     PyObject 
* obj0 
= 0 ; 
24085     PyObject 
* obj1 
= 0 ; 
24086     PyObject 
* obj2 
= 0 ; 
24087     PyObject 
* obj3 
= 0 ; 
24088     PyObject 
* obj4 
= 0 ; 
24089     PyObject 
* obj5 
= 0 ; 
24090     PyObject 
* obj6 
= 0 ; 
24091     char *kwnames
[] = { 
24092         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
24095     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
24096     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
24097     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24099         arg2 
= (int)SWIG_As_int(obj1
);  
24100         if (PyErr_Occurred()) SWIG_fail
; 
24105             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
24111             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
24115         arg5 
= (long)SWIG_As_long(obj4
);  
24116         if (PyErr_Occurred()) SWIG_fail
; 
24119         if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
, 
24120         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24122         if (arg6 
== NULL
) { 
24123             PyErr_SetString(PyExc_TypeError
,"null reference"); 
24129             arg7 
= wxString_in_helper(obj6
); 
24130             if (arg7 
== NULL
) SWIG_fail
; 
24135         if (!wxPyCheckForApp()) SWIG_fail
; 
24136         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24137         result 
= (wxListView 
*)new wxListView(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxValidator 
const &)*arg6
,(wxString 
const &)*arg7
); 
24139         wxPyEndAllowThreads(__tstate
); 
24140         if (PyErr_Occurred()) SWIG_fail
; 
24142     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1); 
24157 static PyObject 
*_wrap_new_PreListView(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24158     PyObject 
*resultobj
; 
24159     wxListView 
*result
; 
24160     char *kwnames
[] = { 
24164     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
; 
24166         if (!wxPyCheckForApp()) SWIG_fail
; 
24167         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24168         result 
= (wxListView 
*)new wxListView(); 
24170         wxPyEndAllowThreads(__tstate
); 
24171         if (PyErr_Occurred()) SWIG_fail
; 
24173     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1); 
24180 static PyObject 
*_wrap_ListView_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24181     PyObject 
*resultobj
; 
24182     wxListView 
*arg1 
= (wxListView 
*) 0 ; 
24183     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
24184     int arg3 
= (int) -1 ; 
24185     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
24186     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
24187     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
24188     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
24189     long arg6 
= (long) wxLC_REPORT 
; 
24190     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
24191     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
24192     wxString 
const &arg8_defvalue 
= wxPyListCtrlNameStr 
; 
24193     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
24197     bool temp8 
= false ; 
24198     PyObject 
* obj0 
= 0 ; 
24199     PyObject 
* obj1 
= 0 ; 
24200     PyObject 
* obj2 
= 0 ; 
24201     PyObject 
* obj3 
= 0 ; 
24202     PyObject 
* obj4 
= 0 ; 
24203     PyObject 
* obj5 
= 0 ; 
24204     PyObject 
* obj6 
= 0 ; 
24205     PyObject 
* obj7 
= 0 ; 
24206     char *kwnames
[] = { 
24207         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
24210     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
24211     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
, 
24212     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24213     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
24214     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24216         arg3 
= (int)SWIG_As_int(obj2
);  
24217         if (PyErr_Occurred()) SWIG_fail
; 
24222             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
24228             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
24232         arg6 
= (long)SWIG_As_long(obj5
);  
24233         if (PyErr_Occurred()) SWIG_fail
; 
24236         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
, 
24237         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24239         if (arg7 
== NULL
) { 
24240             PyErr_SetString(PyExc_TypeError
,"null reference"); 
24246             arg8 
= wxString_in_helper(obj7
); 
24247             if (arg8 
== NULL
) SWIG_fail
; 
24252         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24253         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
24255         wxPyEndAllowThreads(__tstate
); 
24256         if (PyErr_Occurred()) SWIG_fail
; 
24259         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24275 static PyObject 
*_wrap_ListView_Select(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24276     PyObject 
*resultobj
; 
24277     wxListView 
*arg1 
= (wxListView 
*) 0 ; 
24279     bool arg3 
= (bool) true ; 
24280     PyObject 
* obj0 
= 0 ; 
24281     PyObject 
* obj1 
= 0 ; 
24282     PyObject 
* obj2 
= 0 ; 
24283     char *kwnames
[] = { 
24284         (char *) "self",(char *) "n",(char *) "on", NULL 
 
24287     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
24288     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
, 
24289     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24290     arg2 
= (long)SWIG_As_long(obj1
);  
24291     if (PyErr_Occurred()) SWIG_fail
; 
24293         arg3 
= (bool)SWIG_As_bool(obj2
);  
24294         if (PyErr_Occurred()) SWIG_fail
; 
24297         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24298         (arg1
)->Select(arg2
,arg3
); 
24300         wxPyEndAllowThreads(__tstate
); 
24301         if (PyErr_Occurred()) SWIG_fail
; 
24303     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24310 static PyObject 
*_wrap_ListView_Focus(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24311     PyObject 
*resultobj
; 
24312     wxListView 
*arg1 
= (wxListView 
*) 0 ; 
24314     PyObject 
* obj0 
= 0 ; 
24315     PyObject 
* obj1 
= 0 ; 
24316     char *kwnames
[] = { 
24317         (char *) "self",(char *) "index", NULL 
 
24320     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
; 
24321     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
, 
24322     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24323     arg2 
= (long)SWIG_As_long(obj1
);  
24324     if (PyErr_Occurred()) SWIG_fail
; 
24326         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24327         (arg1
)->Focus(arg2
); 
24329         wxPyEndAllowThreads(__tstate
); 
24330         if (PyErr_Occurred()) SWIG_fail
; 
24332     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24339 static PyObject 
*_wrap_ListView_GetFocusedItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24340     PyObject 
*resultobj
; 
24341     wxListView 
*arg1 
= (wxListView 
*) 0 ; 
24343     PyObject 
* obj0 
= 0 ; 
24344     char *kwnames
[] = { 
24345         (char *) "self", NULL 
 
24348     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
; 
24349     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
, 
24350     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24352         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24353         result 
= (long)((wxListView 
const *)arg1
)->GetFocusedItem(); 
24355         wxPyEndAllowThreads(__tstate
); 
24356         if (PyErr_Occurred()) SWIG_fail
; 
24358     resultobj 
= SWIG_From_long((long)result
); 
24365 static PyObject 
*_wrap_ListView_GetNextSelected(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24366     PyObject 
*resultobj
; 
24367     wxListView 
*arg1 
= (wxListView 
*) 0 ; 
24370     PyObject 
* obj0 
= 0 ; 
24371     PyObject 
* obj1 
= 0 ; 
24372     char *kwnames
[] = { 
24373         (char *) "self",(char *) "item", NULL 
 
24376     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
; 
24377     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
, 
24378     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24379     arg2 
= (long)SWIG_As_long(obj1
);  
24380     if (PyErr_Occurred()) SWIG_fail
; 
24382         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24383         result 
= (long)((wxListView 
const *)arg1
)->GetNextSelected(arg2
); 
24385         wxPyEndAllowThreads(__tstate
); 
24386         if (PyErr_Occurred()) SWIG_fail
; 
24388     resultobj 
= SWIG_From_long((long)result
); 
24395 static PyObject 
*_wrap_ListView_GetFirstSelected(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24396     PyObject 
*resultobj
; 
24397     wxListView 
*arg1 
= (wxListView 
*) 0 ; 
24399     PyObject 
* obj0 
= 0 ; 
24400     char *kwnames
[] = { 
24401         (char *) "self", NULL 
 
24404     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
; 
24405     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
, 
24406     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24408         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24409         result 
= (long)((wxListView 
const *)arg1
)->GetFirstSelected(); 
24411         wxPyEndAllowThreads(__tstate
); 
24412         if (PyErr_Occurred()) SWIG_fail
; 
24414     resultobj 
= SWIG_From_long((long)result
); 
24421 static PyObject 
*_wrap_ListView_IsSelected(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24422     PyObject 
*resultobj
; 
24423     wxListView 
*arg1 
= (wxListView 
*) 0 ; 
24426     PyObject 
* obj0 
= 0 ; 
24427     PyObject 
* obj1 
= 0 ; 
24428     char *kwnames
[] = { 
24429         (char *) "self",(char *) "index", NULL 
 
24432     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
; 
24433     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
, 
24434     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24435     arg2 
= (long)SWIG_As_long(obj1
);  
24436     if (PyErr_Occurred()) SWIG_fail
; 
24438         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24439         result 
= (bool)(arg1
)->IsSelected(arg2
); 
24441         wxPyEndAllowThreads(__tstate
); 
24442         if (PyErr_Occurred()) SWIG_fail
; 
24445         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24453 static PyObject 
*_wrap_ListView_SetColumnImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24454     PyObject 
*resultobj
; 
24455     wxListView 
*arg1 
= (wxListView 
*) 0 ; 
24458     PyObject 
* obj0 
= 0 ; 
24459     PyObject 
* obj1 
= 0 ; 
24460     PyObject 
* obj2 
= 0 ; 
24461     char *kwnames
[] = { 
24462         (char *) "self",(char *) "col",(char *) "image", NULL 
 
24465     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
24466     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
, 
24467     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24468     arg2 
= (int)SWIG_As_int(obj1
);  
24469     if (PyErr_Occurred()) SWIG_fail
; 
24470     arg3 
= (int)SWIG_As_int(obj2
);  
24471     if (PyErr_Occurred()) SWIG_fail
; 
24473         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24474         (arg1
)->SetColumnImage(arg2
,arg3
); 
24476         wxPyEndAllowThreads(__tstate
); 
24477         if (PyErr_Occurred()) SWIG_fail
; 
24479     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24486 static PyObject 
*_wrap_ListView_ClearColumnImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24487     PyObject 
*resultobj
; 
24488     wxListView 
*arg1 
= (wxListView 
*) 0 ; 
24490     PyObject 
* obj0 
= 0 ; 
24491     PyObject 
* obj1 
= 0 ; 
24492     char *kwnames
[] = { 
24493         (char *) "self",(char *) "col", NULL 
 
24496     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
; 
24497     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
, 
24498     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24499     arg2 
= (int)SWIG_As_int(obj1
);  
24500     if (PyErr_Occurred()) SWIG_fail
; 
24502         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24503         (arg1
)->ClearColumnImage(arg2
); 
24505         wxPyEndAllowThreads(__tstate
); 
24506         if (PyErr_Occurred()) SWIG_fail
; 
24508     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24515 static PyObject 
* ListView_swigregister(PyObject 
*, PyObject 
*args
) { 
24517     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
24518     SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
); 
24520     return Py_BuildValue((char *)""); 
24522 static int _wrap_TreeCtrlNameStr_set(PyObject 
*) { 
24523     PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only."); 
24528 static PyObject 
*_wrap_TreeCtrlNameStr_get() { 
24533         pyobj 
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len()); 
24535         pyobj 
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len()); 
24542 static PyObject 
*_wrap_new_TreeItemId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24543     PyObject 
*resultobj
; 
24544     wxTreeItemId 
*result
; 
24545     char *kwnames
[] = { 
24549     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
; 
24551         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24552         result 
= (wxTreeItemId 
*)new wxTreeItemId(); 
24554         wxPyEndAllowThreads(__tstate
); 
24555         if (PyErr_Occurred()) SWIG_fail
; 
24557     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1); 
24564 static PyObject 
*_wrap_delete_TreeItemId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24565     PyObject 
*resultobj
; 
24566     wxTreeItemId 
*arg1 
= (wxTreeItemId 
*) 0 ; 
24567     PyObject 
* obj0 
= 0 ; 
24568     char *kwnames
[] = { 
24569         (char *) "self", NULL 
 
24572     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
; 
24573     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
, 
24574     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24576         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24579         wxPyEndAllowThreads(__tstate
); 
24580         if (PyErr_Occurred()) SWIG_fail
; 
24582     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24589 static PyObject 
*_wrap_TreeItemId_IsOk(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24590     PyObject 
*resultobj
; 
24591     wxTreeItemId 
*arg1 
= (wxTreeItemId 
*) 0 ; 
24593     PyObject 
* obj0 
= 0 ; 
24594     char *kwnames
[] = { 
24595         (char *) "self", NULL 
 
24598     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
; 
24599     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
, 
24600     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24602         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24603         result 
= (bool)((wxTreeItemId 
const *)arg1
)->IsOk(); 
24605         wxPyEndAllowThreads(__tstate
); 
24606         if (PyErr_Occurred()) SWIG_fail
; 
24609         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24617 static PyObject 
*_wrap_TreeItemId___eq__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24618     PyObject 
*resultobj
; 
24619     wxTreeItemId 
*arg1 
= (wxTreeItemId 
*) 0 ; 
24620     wxTreeItemId 
*arg2 
= (wxTreeItemId 
*) 0 ; 
24622     PyObject 
* obj0 
= 0 ; 
24623     PyObject 
* obj1 
= 0 ; 
24624     char *kwnames
[] = { 
24625         (char *) "self",(char *) "other", NULL 
 
24628     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
24629     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
, 
24630     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24631     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
24632     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24634         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24635         result 
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId 
const *)arg2
); 
24637         wxPyEndAllowThreads(__tstate
); 
24638         if (PyErr_Occurred()) SWIG_fail
; 
24641         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24649 static PyObject 
*_wrap_TreeItemId___ne__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24650     PyObject 
*resultobj
; 
24651     wxTreeItemId 
*arg1 
= (wxTreeItemId 
*) 0 ; 
24652     wxTreeItemId 
*arg2 
= (wxTreeItemId 
*) 0 ; 
24654     PyObject 
* obj0 
= 0 ; 
24655     PyObject 
* obj1 
= 0 ; 
24656     char *kwnames
[] = { 
24657         (char *) "self",(char *) "other", NULL 
 
24660     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
24661     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
, 
24662     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24663     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
24664     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24666         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24667         result 
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId 
const *)arg2
); 
24669         wxPyEndAllowThreads(__tstate
); 
24670         if (PyErr_Occurred()) SWIG_fail
; 
24673         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24681 static PyObject 
*_wrap_TreeItemId_m_pItem_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24682     PyObject 
*resultobj
; 
24683     wxTreeItemId 
*arg1 
= (wxTreeItemId 
*) 0 ; 
24684     void *arg2 
= (void *) 0 ; 
24685     PyObject 
* obj0 
= 0 ; 
24686     PyObject 
* obj1 
= 0 ; 
24687     char *kwnames
[] = { 
24688         (char *) "self",(char *) "m_pItem", NULL 
 
24691     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
24692     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
, 
24693     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24694     if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
24695     if (arg1
) (arg1
)->m_pItem 
= arg2
; 
24697     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24704 static PyObject 
*_wrap_TreeItemId_m_pItem_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24705     PyObject 
*resultobj
; 
24706     wxTreeItemId 
*arg1 
= (wxTreeItemId 
*) 0 ; 
24708     PyObject 
* obj0 
= 0 ; 
24709     char *kwnames
[] = { 
24710         (char *) "self", NULL 
 
24713     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
; 
24714     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
, 
24715     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24716     result 
= (void *) ((arg1
)->m_pItem
); 
24718     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0); 
24725 static PyObject 
* TreeItemId_swigregister(PyObject 
*, PyObject 
*args
) { 
24727     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
24728     SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
); 
24730     return Py_BuildValue((char *)""); 
24732 static PyObject 
*_wrap_new_TreeItemData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24733     PyObject 
*resultobj
; 
24734     PyObject 
*arg1 
= (PyObject 
*) NULL 
; 
24735     wxPyTreeItemData 
*result
; 
24736     PyObject 
* obj0 
= 0 ; 
24737     char *kwnames
[] = { 
24738         (char *) "obj", NULL 
 
24741     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
; 
24746         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24747         result 
= (wxPyTreeItemData 
*)new wxPyTreeItemData(arg1
); 
24749         wxPyEndAllowThreads(__tstate
); 
24750         if (PyErr_Occurred()) SWIG_fail
; 
24752     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1); 
24759 static PyObject 
*_wrap_TreeItemData_GetData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24760     PyObject 
*resultobj
; 
24761     wxPyTreeItemData 
*arg1 
= (wxPyTreeItemData 
*) 0 ; 
24763     PyObject 
* obj0 
= 0 ; 
24764     char *kwnames
[] = { 
24765         (char *) "self", NULL 
 
24768     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
; 
24769     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
, 
24770     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24772         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24773         result 
= (PyObject 
*)(arg1
)->GetData(); 
24775         wxPyEndAllowThreads(__tstate
); 
24776         if (PyErr_Occurred()) SWIG_fail
; 
24778     resultobj 
= result
; 
24785 static PyObject 
*_wrap_TreeItemData_SetData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24786     PyObject 
*resultobj
; 
24787     wxPyTreeItemData 
*arg1 
= (wxPyTreeItemData 
*) 0 ; 
24788     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
24789     PyObject 
* obj0 
= 0 ; 
24790     PyObject 
* obj1 
= 0 ; 
24791     char *kwnames
[] = { 
24792         (char *) "self",(char *) "obj", NULL 
 
24795     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
; 
24796     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
, 
24797     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24800         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24801         (arg1
)->SetData(arg2
); 
24803         wxPyEndAllowThreads(__tstate
); 
24804         if (PyErr_Occurred()) SWIG_fail
; 
24806     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24813 static PyObject 
*_wrap_TreeItemData_GetId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24814     PyObject 
*resultobj
; 
24815     wxPyTreeItemData 
*arg1 
= (wxPyTreeItemData 
*) 0 ; 
24816     wxTreeItemId 
*result
; 
24817     PyObject 
* obj0 
= 0 ; 
24818     char *kwnames
[] = { 
24819         (char *) "self", NULL 
 
24822     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
; 
24823     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
, 
24824     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24826         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24828             wxTreeItemId 
const &_result_ref 
= (arg1
)->GetId(); 
24829             result 
= (wxTreeItemId 
*) &_result_ref
; 
24832         wxPyEndAllowThreads(__tstate
); 
24833         if (PyErr_Occurred()) SWIG_fail
; 
24835     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0); 
24842 static PyObject 
*_wrap_TreeItemData_SetId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24843     PyObject 
*resultobj
; 
24844     wxPyTreeItemData 
*arg1 
= (wxPyTreeItemData 
*) 0 ; 
24845     wxTreeItemId 
*arg2 
= 0 ; 
24846     PyObject 
* obj0 
= 0 ; 
24847     PyObject 
* obj1 
= 0 ; 
24848     char *kwnames
[] = { 
24849         (char *) "self",(char *) "id", NULL 
 
24852     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
; 
24853     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
, 
24854     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24855     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
24856     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24858     if (arg2 
== NULL
) { 
24859         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24863         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24864         (arg1
)->SetId((wxTreeItemId 
const &)*arg2
); 
24866         wxPyEndAllowThreads(__tstate
); 
24867         if (PyErr_Occurred()) SWIG_fail
; 
24869     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24876 static PyObject 
*_wrap_TreeItemData_Destroy(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24877     PyObject 
*resultobj
; 
24878     wxPyTreeItemData 
*arg1 
= (wxPyTreeItemData 
*) 0 ; 
24879     PyObject 
* obj0 
= 0 ; 
24880     char *kwnames
[] = { 
24881         (char *) "self", NULL 
 
24884     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
; 
24885     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
, 
24886     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24888         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24889         wxPyTreeItemData_Destroy(arg1
); 
24891         wxPyEndAllowThreads(__tstate
); 
24892         if (PyErr_Occurred()) SWIG_fail
; 
24894     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24901 static PyObject 
* TreeItemData_swigregister(PyObject 
*, PyObject 
*args
) { 
24903     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
24904     SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
); 
24906     return Py_BuildValue((char *)""); 
24908 static PyObject 
*_wrap_new_TreeEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24909     PyObject 
*resultobj
; 
24910     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
24911     int arg2 
= (int) 0 ; 
24912     wxTreeEvent 
*result
; 
24913     PyObject 
* obj0 
= 0 ; 
24914     PyObject 
* obj1 
= 0 ; 
24915     char *kwnames
[] = { 
24916         (char *) "commandType",(char *) "id", NULL 
 
24919     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
; 
24921         arg1 
= (wxEventType
)SWIG_As_int(obj0
);  
24922         if (PyErr_Occurred()) SWIG_fail
; 
24925         arg2 
= (int)SWIG_As_int(obj1
);  
24926         if (PyErr_Occurred()) SWIG_fail
; 
24929         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24930         result 
= (wxTreeEvent 
*)new wxTreeEvent(arg1
,arg2
); 
24932         wxPyEndAllowThreads(__tstate
); 
24933         if (PyErr_Occurred()) SWIG_fail
; 
24935     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1); 
24942 static PyObject 
*_wrap_TreeEvent_GetItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24943     PyObject 
*resultobj
; 
24944     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
24945     wxTreeItemId result
; 
24946     PyObject 
* obj0 
= 0 ; 
24947     char *kwnames
[] = { 
24948         (char *) "self", NULL 
 
24951     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
; 
24952     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
, 
24953     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24955         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24956         result 
= ((wxTreeEvent 
const *)arg1
)->GetItem(); 
24958         wxPyEndAllowThreads(__tstate
); 
24959         if (PyErr_Occurred()) SWIG_fail
; 
24962         wxTreeItemId 
* resultptr
; 
24963         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
24964         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
24972 static PyObject 
*_wrap_TreeEvent_SetItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24973     PyObject 
*resultobj
; 
24974     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
24975     wxTreeItemId 
*arg2 
= 0 ; 
24976     PyObject 
* obj0 
= 0 ; 
24977     PyObject 
* obj1 
= 0 ; 
24978     char *kwnames
[] = { 
24979         (char *) "self",(char *) "item", NULL 
 
24982     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
24983     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
, 
24984     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24985     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
24986     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24988     if (arg2 
== NULL
) { 
24989         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24993         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24994         (arg1
)->SetItem((wxTreeItemId 
const &)*arg2
); 
24996         wxPyEndAllowThreads(__tstate
); 
24997         if (PyErr_Occurred()) SWIG_fail
; 
24999     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25006 static PyObject 
*_wrap_TreeEvent_GetOldItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25007     PyObject 
*resultobj
; 
25008     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
25009     wxTreeItemId result
; 
25010     PyObject 
* obj0 
= 0 ; 
25011     char *kwnames
[] = { 
25012         (char *) "self", NULL 
 
25015     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
; 
25016     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
, 
25017     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25019         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25020         result 
= ((wxTreeEvent 
const *)arg1
)->GetOldItem(); 
25022         wxPyEndAllowThreads(__tstate
); 
25023         if (PyErr_Occurred()) SWIG_fail
; 
25026         wxTreeItemId 
* resultptr
; 
25027         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
25028         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
25036 static PyObject 
*_wrap_TreeEvent_SetOldItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25037     PyObject 
*resultobj
; 
25038     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
25039     wxTreeItemId 
*arg2 
= 0 ; 
25040     PyObject 
* obj0 
= 0 ; 
25041     PyObject 
* obj1 
= 0 ; 
25042     char *kwnames
[] = { 
25043         (char *) "self",(char *) "item", NULL 
 
25046     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
25047     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
, 
25048     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25049     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
25050     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25052     if (arg2 
== NULL
) { 
25053         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25057         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25058         (arg1
)->SetOldItem((wxTreeItemId 
const &)*arg2
); 
25060         wxPyEndAllowThreads(__tstate
); 
25061         if (PyErr_Occurred()) SWIG_fail
; 
25063     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25070 static PyObject 
*_wrap_TreeEvent_GetPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25071     PyObject 
*resultobj
; 
25072     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
25074     PyObject 
* obj0 
= 0 ; 
25075     char *kwnames
[] = { 
25076         (char *) "self", NULL 
 
25079     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
; 
25080     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
, 
25081     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25083         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25084         result 
= ((wxTreeEvent 
const *)arg1
)->GetPoint(); 
25086         wxPyEndAllowThreads(__tstate
); 
25087         if (PyErr_Occurred()) SWIG_fail
; 
25090         wxPoint 
* resultptr
; 
25091         resultptr 
= new wxPoint((wxPoint 
&) result
); 
25092         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
25100 static PyObject 
*_wrap_TreeEvent_SetPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25101     PyObject 
*resultobj
; 
25102     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
25103     wxPoint 
*arg2 
= 0 ; 
25105     PyObject 
* obj0 
= 0 ; 
25106     PyObject 
* obj1 
= 0 ; 
25107     char *kwnames
[] = { 
25108         (char *) "self",(char *) "pt", NULL 
 
25111     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
25112     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
, 
25113     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25116         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
25119         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25120         (arg1
)->SetPoint((wxPoint 
const &)*arg2
); 
25122         wxPyEndAllowThreads(__tstate
); 
25123         if (PyErr_Occurred()) SWIG_fail
; 
25125     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25132 static PyObject 
*_wrap_TreeEvent_GetKeyEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25133     PyObject 
*resultobj
; 
25134     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
25135     wxKeyEvent 
*result
; 
25136     PyObject 
* obj0 
= 0 ; 
25137     char *kwnames
[] = { 
25138         (char *) "self", NULL 
 
25141     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
; 
25142     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
, 
25143     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25145         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25147             wxKeyEvent 
const &_result_ref 
= ((wxTreeEvent 
const *)arg1
)->GetKeyEvent(); 
25148             result 
= (wxKeyEvent 
*) &_result_ref
; 
25151         wxPyEndAllowThreads(__tstate
); 
25152         if (PyErr_Occurred()) SWIG_fail
; 
25154     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0); 
25161 static PyObject 
*_wrap_TreeEvent_GetKeyCode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25162     PyObject 
*resultobj
; 
25163     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
25165     PyObject 
* obj0 
= 0 ; 
25166     char *kwnames
[] = { 
25167         (char *) "self", NULL 
 
25170     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
; 
25171     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
, 
25172     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25174         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25175         result 
= (int)((wxTreeEvent 
const *)arg1
)->GetKeyCode(); 
25177         wxPyEndAllowThreads(__tstate
); 
25178         if (PyErr_Occurred()) SWIG_fail
; 
25180     resultobj 
= SWIG_From_int((int)result
); 
25187 static PyObject 
*_wrap_TreeEvent_SetKeyEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25188     PyObject 
*resultobj
; 
25189     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
25190     wxKeyEvent 
*arg2 
= 0 ; 
25191     PyObject 
* obj0 
= 0 ; 
25192     PyObject 
* obj1 
= 0 ; 
25193     char *kwnames
[] = { 
25194         (char *) "self",(char *) "evt", NULL 
 
25197     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
; 
25198     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
, 
25199     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25200     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
, 
25201     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25203     if (arg2 
== NULL
) { 
25204         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25208         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25209         (arg1
)->SetKeyEvent((wxKeyEvent 
const &)*arg2
); 
25211         wxPyEndAllowThreads(__tstate
); 
25212         if (PyErr_Occurred()) SWIG_fail
; 
25214     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25221 static PyObject 
*_wrap_TreeEvent_GetLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25222     PyObject 
*resultobj
; 
25223     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
25225     PyObject 
* obj0 
= 0 ; 
25226     char *kwnames
[] = { 
25227         (char *) "self", NULL 
 
25230     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
; 
25231     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
, 
25232     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25234         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25236             wxString 
const &_result_ref 
= ((wxTreeEvent 
const *)arg1
)->GetLabel(); 
25237             result 
= (wxString 
*) &_result_ref
; 
25240         wxPyEndAllowThreads(__tstate
); 
25241         if (PyErr_Occurred()) SWIG_fail
; 
25245         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
25247         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
25256 static PyObject 
*_wrap_TreeEvent_SetLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25257     PyObject 
*resultobj
; 
25258     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
25259     wxString 
*arg2 
= 0 ; 
25260     bool temp2 
= false ; 
25261     PyObject 
* obj0 
= 0 ; 
25262     PyObject 
* obj1 
= 0 ; 
25263     char *kwnames
[] = { 
25264         (char *) "self",(char *) "label", NULL 
 
25267     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
; 
25268     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
, 
25269     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25271         arg2 
= wxString_in_helper(obj1
); 
25272         if (arg2 
== NULL
) SWIG_fail
; 
25276         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25277         (arg1
)->SetLabel((wxString 
const &)*arg2
); 
25279         wxPyEndAllowThreads(__tstate
); 
25280         if (PyErr_Occurred()) SWIG_fail
; 
25282     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25297 static PyObject 
*_wrap_TreeEvent_IsEditCancelled(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25298     PyObject 
*resultobj
; 
25299     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
25301     PyObject 
* obj0 
= 0 ; 
25302     char *kwnames
[] = { 
25303         (char *) "self", NULL 
 
25306     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
; 
25307     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
, 
25308     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25310         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25311         result 
= (bool)((wxTreeEvent 
const *)arg1
)->IsEditCancelled(); 
25313         wxPyEndAllowThreads(__tstate
); 
25314         if (PyErr_Occurred()) SWIG_fail
; 
25317         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25325 static PyObject 
*_wrap_TreeEvent_SetEditCanceled(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25326     PyObject 
*resultobj
; 
25327     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
25329     PyObject 
* obj0 
= 0 ; 
25330     PyObject 
* obj1 
= 0 ; 
25331     char *kwnames
[] = { 
25332         (char *) "self",(char *) "editCancelled", NULL 
 
25335     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
; 
25336     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
, 
25337     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25338     arg2 
= (bool)SWIG_As_bool(obj1
);  
25339     if (PyErr_Occurred()) SWIG_fail
; 
25341         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25342         (arg1
)->SetEditCanceled(arg2
); 
25344         wxPyEndAllowThreads(__tstate
); 
25345         if (PyErr_Occurred()) SWIG_fail
; 
25347     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25354 static PyObject 
*_wrap_TreeEvent_SetToolTip(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25355     PyObject 
*resultobj
; 
25356     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
25357     wxString 
*arg2 
= 0 ; 
25358     bool temp2 
= false ; 
25359     PyObject 
* obj0 
= 0 ; 
25360     PyObject 
* obj1 
= 0 ; 
25361     char *kwnames
[] = { 
25362         (char *) "self",(char *) "toolTip", NULL 
 
25365     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
; 
25366     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
, 
25367     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25369         arg2 
= wxString_in_helper(obj1
); 
25370         if (arg2 
== NULL
) SWIG_fail
; 
25374         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25375         (arg1
)->SetToolTip((wxString 
const &)*arg2
); 
25377         wxPyEndAllowThreads(__tstate
); 
25378         if (PyErr_Occurred()) SWIG_fail
; 
25380     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25395 static PyObject 
* TreeEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
25397     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25398     SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
); 
25400     return Py_BuildValue((char *)""); 
25402 static PyObject 
*_wrap_new_TreeCtrl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25403     PyObject 
*resultobj
; 
25404     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
25405     int arg2 
= (int) -1 ; 
25406     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
25407     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
25408     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
25409     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
25410     long arg5 
= (long) wxTR_DEFAULT_STYLE 
; 
25411     wxValidator 
const &arg6_defvalue 
= wxDefaultValidator 
; 
25412     wxValidator 
*arg6 
= (wxValidator 
*) &arg6_defvalue 
; 
25413     wxString 
const &arg7_defvalue 
= wxPyTreeCtrlNameStr 
; 
25414     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
25415     wxPyTreeCtrl 
*result
; 
25418     bool temp7 
= false ; 
25419     PyObject 
* obj0 
= 0 ; 
25420     PyObject 
* obj1 
= 0 ; 
25421     PyObject 
* obj2 
= 0 ; 
25422     PyObject 
* obj3 
= 0 ; 
25423     PyObject 
* obj4 
= 0 ; 
25424     PyObject 
* obj5 
= 0 ; 
25425     PyObject 
* obj6 
= 0 ; 
25426     char *kwnames
[] = { 
25427         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
25430     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
25431     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
25432     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25434         arg2 
= (int)SWIG_As_int(obj1
);  
25435         if (PyErr_Occurred()) SWIG_fail
; 
25440             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
25446             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
25450         arg5 
= (long)SWIG_As_long(obj4
);  
25451         if (PyErr_Occurred()) SWIG_fail
; 
25454         if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
, 
25455         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25457         if (arg6 
== NULL
) { 
25458             PyErr_SetString(PyExc_TypeError
,"null reference"); 
25464             arg7 
= wxString_in_helper(obj6
); 
25465             if (arg7 
== NULL
) SWIG_fail
; 
25470         if (!wxPyCheckForApp()) SWIG_fail
; 
25471         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25472         result 
= (wxPyTreeCtrl 
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxValidator 
const &)*arg6
,(wxString 
const &)*arg7
); 
25474         wxPyEndAllowThreads(__tstate
); 
25475         if (PyErr_Occurred()) SWIG_fail
; 
25477     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1); 
25492 static PyObject 
*_wrap_new_PreTreeCtrl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25493     PyObject 
*resultobj
; 
25494     wxPyTreeCtrl 
*result
; 
25495     char *kwnames
[] = { 
25499     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
; 
25501         if (!wxPyCheckForApp()) SWIG_fail
; 
25502         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25503         result 
= (wxPyTreeCtrl 
*)new wxPyTreeCtrl(); 
25505         wxPyEndAllowThreads(__tstate
); 
25506         if (PyErr_Occurred()) SWIG_fail
; 
25508     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1); 
25515 static PyObject 
*_wrap_TreeCtrl_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25516     PyObject 
*resultobj
; 
25517     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25518     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
25519     int arg3 
= (int) -1 ; 
25520     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
25521     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
25522     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
25523     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
25524     long arg6 
= (long) wxTR_DEFAULT_STYLE 
; 
25525     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
25526     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
25527     wxString 
const &arg8_defvalue 
= wxPyTreeCtrlNameStr 
; 
25528     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
25532     bool temp8 
= false ; 
25533     PyObject 
* obj0 
= 0 ; 
25534     PyObject 
* obj1 
= 0 ; 
25535     PyObject 
* obj2 
= 0 ; 
25536     PyObject 
* obj3 
= 0 ; 
25537     PyObject 
* obj4 
= 0 ; 
25538     PyObject 
* obj5 
= 0 ; 
25539     PyObject 
* obj6 
= 0 ; 
25540     PyObject 
* obj7 
= 0 ; 
25541     char *kwnames
[] = { 
25542         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
25545     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
25546     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25547     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25548     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
25549     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25551         arg3 
= (int)SWIG_As_int(obj2
);  
25552         if (PyErr_Occurred()) SWIG_fail
; 
25557             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
25563             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
25567         arg6 
= (long)SWIG_As_long(obj5
);  
25568         if (PyErr_Occurred()) SWIG_fail
; 
25571         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
, 
25572         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25574         if (arg7 
== NULL
) { 
25575             PyErr_SetString(PyExc_TypeError
,"null reference"); 
25581             arg8 
= wxString_in_helper(obj7
); 
25582             if (arg8 
== NULL
) SWIG_fail
; 
25587         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25588         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
25590         wxPyEndAllowThreads(__tstate
); 
25591         if (PyErr_Occurred()) SWIG_fail
; 
25594         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25610 static PyObject 
*_wrap_TreeCtrl__setCallbackInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25611     PyObject 
*resultobj
; 
25612     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25613     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
25614     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
25615     PyObject 
* obj0 
= 0 ; 
25616     PyObject 
* obj1 
= 0 ; 
25617     PyObject 
* obj2 
= 0 ; 
25618     char *kwnames
[] = { 
25619         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
25622     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
25623     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25624     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25628         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25629         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
25631         wxPyEndAllowThreads(__tstate
); 
25632         if (PyErr_Occurred()) SWIG_fail
; 
25634     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25641 static PyObject 
*_wrap_TreeCtrl_GetCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25642     PyObject 
*resultobj
; 
25643     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25645     PyObject 
* obj0 
= 0 ; 
25646     char *kwnames
[] = { 
25647         (char *) "self", NULL 
 
25650     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
; 
25651     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25652     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25654         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25655         result 
= (size_t)((wxPyTreeCtrl 
const *)arg1
)->GetCount(); 
25657         wxPyEndAllowThreads(__tstate
); 
25658         if (PyErr_Occurred()) SWIG_fail
; 
25660     resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)result
); 
25667 static PyObject 
*_wrap_TreeCtrl_GetIndent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25668     PyObject 
*resultobj
; 
25669     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25670     unsigned int result
; 
25671     PyObject 
* obj0 
= 0 ; 
25672     char *kwnames
[] = { 
25673         (char *) "self", NULL 
 
25676     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
; 
25677     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25678     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25680         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25681         result 
= (unsigned int)((wxPyTreeCtrl 
const *)arg1
)->GetIndent(); 
25683         wxPyEndAllowThreads(__tstate
); 
25684         if (PyErr_Occurred()) SWIG_fail
; 
25686     resultobj 
= SWIG_From_unsigned_SS_int((unsigned int)result
); 
25693 static PyObject 
*_wrap_TreeCtrl_SetIndent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25694     PyObject 
*resultobj
; 
25695     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25696     unsigned int arg2 
; 
25697     PyObject 
* obj0 
= 0 ; 
25698     PyObject 
* obj1 
= 0 ; 
25699     char *kwnames
[] = { 
25700         (char *) "self",(char *) "indent", NULL 
 
25703     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
; 
25704     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25705     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25706     arg2 
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);  
25707     if (PyErr_Occurred()) SWIG_fail
; 
25709         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25710         (arg1
)->SetIndent(arg2
); 
25712         wxPyEndAllowThreads(__tstate
); 
25713         if (PyErr_Occurred()) SWIG_fail
; 
25715     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25722 static PyObject 
*_wrap_TreeCtrl_GetSpacing(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25723     PyObject 
*resultobj
; 
25724     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25725     unsigned int result
; 
25726     PyObject 
* obj0 
= 0 ; 
25727     char *kwnames
[] = { 
25728         (char *) "self", NULL 
 
25731     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
; 
25732     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25733     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25735         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25736         result 
= (unsigned int)((wxPyTreeCtrl 
const *)arg1
)->GetSpacing(); 
25738         wxPyEndAllowThreads(__tstate
); 
25739         if (PyErr_Occurred()) SWIG_fail
; 
25741     resultobj 
= SWIG_From_unsigned_SS_int((unsigned int)result
); 
25748 static PyObject 
*_wrap_TreeCtrl_SetSpacing(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25749     PyObject 
*resultobj
; 
25750     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25751     unsigned int arg2 
; 
25752     PyObject 
* obj0 
= 0 ; 
25753     PyObject 
* obj1 
= 0 ; 
25754     char *kwnames
[] = { 
25755         (char *) "self",(char *) "spacing", NULL 
 
25758     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
; 
25759     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25760     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25761     arg2 
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);  
25762     if (PyErr_Occurred()) SWIG_fail
; 
25764         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25765         (arg1
)->SetSpacing(arg2
); 
25767         wxPyEndAllowThreads(__tstate
); 
25768         if (PyErr_Occurred()) SWIG_fail
; 
25770     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25777 static PyObject 
*_wrap_TreeCtrl_GetImageList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25778     PyObject 
*resultobj
; 
25779     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25780     wxImageList 
*result
; 
25781     PyObject 
* obj0 
= 0 ; 
25782     char *kwnames
[] = { 
25783         (char *) "self", NULL 
 
25786     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
; 
25787     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25788     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25790         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25791         result 
= (wxImageList 
*)((wxPyTreeCtrl 
const *)arg1
)->GetImageList(); 
25793         wxPyEndAllowThreads(__tstate
); 
25794         if (PyErr_Occurred()) SWIG_fail
; 
25797         resultobj 
= wxPyMake_wxObject(result
, 0);  
25805 static PyObject 
*_wrap_TreeCtrl_GetStateImageList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25806     PyObject 
*resultobj
; 
25807     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25808     wxImageList 
*result
; 
25809     PyObject 
* obj0 
= 0 ; 
25810     char *kwnames
[] = { 
25811         (char *) "self", NULL 
 
25814     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
; 
25815     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25816     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25818         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25819         result 
= (wxImageList 
*)((wxPyTreeCtrl 
const *)arg1
)->GetStateImageList(); 
25821         wxPyEndAllowThreads(__tstate
); 
25822         if (PyErr_Occurred()) SWIG_fail
; 
25825         resultobj 
= wxPyMake_wxObject(result
, 0);  
25833 static PyObject 
*_wrap_TreeCtrl_SetImageList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25834     PyObject 
*resultobj
; 
25835     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25836     wxImageList 
*arg2 
= (wxImageList 
*) 0 ; 
25837     PyObject 
* obj0 
= 0 ; 
25838     PyObject 
* obj1 
= 0 ; 
25839     char *kwnames
[] = { 
25840         (char *) "self",(char *) "imageList", NULL 
 
25843     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
; 
25844     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25845     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25846     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
, 
25847     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25849         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25850         (arg1
)->SetImageList(arg2
); 
25852         wxPyEndAllowThreads(__tstate
); 
25853         if (PyErr_Occurred()) SWIG_fail
; 
25855     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25862 static PyObject 
*_wrap_TreeCtrl_SetStateImageList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25863     PyObject 
*resultobj
; 
25864     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25865     wxImageList 
*arg2 
= (wxImageList 
*) 0 ; 
25866     PyObject 
* obj0 
= 0 ; 
25867     PyObject 
* obj1 
= 0 ; 
25868     char *kwnames
[] = { 
25869         (char *) "self",(char *) "imageList", NULL 
 
25872     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
; 
25873     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25874     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25875     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
, 
25876     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25878         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25879         (arg1
)->SetStateImageList(arg2
); 
25881         wxPyEndAllowThreads(__tstate
); 
25882         if (PyErr_Occurred()) SWIG_fail
; 
25884     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25891 static PyObject 
*_wrap_TreeCtrl_AssignImageList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25892     PyObject 
*resultobj
; 
25893     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25894     wxImageList 
*arg2 
= (wxImageList 
*) 0 ; 
25895     PyObject 
* obj0 
= 0 ; 
25896     PyObject 
* obj1 
= 0 ; 
25897     char *kwnames
[] = { 
25898         (char *) "self",(char *) "imageList", NULL 
 
25901     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
; 
25902     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25903     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25904     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
, 
25905     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
25907         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25908         (arg1
)->AssignImageList(arg2
); 
25910         wxPyEndAllowThreads(__tstate
); 
25911         if (PyErr_Occurred()) SWIG_fail
; 
25913     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25920 static PyObject 
*_wrap_TreeCtrl_AssignStateImageList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25921     PyObject 
*resultobj
; 
25922     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25923     wxImageList 
*arg2 
= (wxImageList 
*) 0 ; 
25924     PyObject 
* obj0 
= 0 ; 
25925     PyObject 
* obj1 
= 0 ; 
25926     char *kwnames
[] = { 
25927         (char *) "self",(char *) "imageList", NULL 
 
25930     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
; 
25931     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25932     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25933     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
, 
25934     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
25936         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25937         (arg1
)->AssignStateImageList(arg2
); 
25939         wxPyEndAllowThreads(__tstate
); 
25940         if (PyErr_Occurred()) SWIG_fail
; 
25942     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25949 static PyObject 
*_wrap_TreeCtrl_GetItemText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25950     PyObject 
*resultobj
; 
25951     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25952     wxTreeItemId 
*arg2 
= 0 ; 
25954     PyObject 
* obj0 
= 0 ; 
25955     PyObject 
* obj1 
= 0 ; 
25956     char *kwnames
[] = { 
25957         (char *) "self",(char *) "item", NULL 
 
25960     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
; 
25961     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25962     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25963     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
25964     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25966     if (arg2 
== NULL
) { 
25967         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25971         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25972         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetItemText((wxTreeItemId 
const &)*arg2
); 
25974         wxPyEndAllowThreads(__tstate
); 
25975         if (PyErr_Occurred()) SWIG_fail
; 
25979         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
25981         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
25990 static PyObject 
*_wrap_TreeCtrl_GetItemImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25991     PyObject 
*resultobj
; 
25992     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25993     wxTreeItemId 
*arg2 
= 0 ; 
25994     int arg3 
= (int) wxTreeItemIcon_Normal 
; 
25996     PyObject 
* obj0 
= 0 ; 
25997     PyObject 
* obj1 
= 0 ; 
25998     PyObject 
* obj2 
= 0 ; 
25999     char *kwnames
[] = { 
26000         (char *) "self",(char *) "item",(char *) "which", NULL 
 
26003     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26004     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26005     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26006     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26007     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26009     if (arg2 
== NULL
) { 
26010         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26014         arg3 
= (int)SWIG_As_int(obj2
);  
26015         if (PyErr_Occurred()) SWIG_fail
; 
26018         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26019         result 
= (int)((wxPyTreeCtrl 
const *)arg1
)->GetItemImage((wxTreeItemId 
const &)*arg2
,(wxTreeItemIcon 
)arg3
); 
26021         wxPyEndAllowThreads(__tstate
); 
26022         if (PyErr_Occurred()) SWIG_fail
; 
26024     resultobj 
= SWIG_From_int((int)result
); 
26031 static PyObject 
*_wrap_TreeCtrl_GetItemData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26032     PyObject 
*resultobj
; 
26033     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26034     wxTreeItemId 
*arg2 
= 0 ; 
26035     wxPyTreeItemData 
*result
; 
26036     PyObject 
* obj0 
= 0 ; 
26037     PyObject 
* obj1 
= 0 ; 
26038     char *kwnames
[] = { 
26039         (char *) "self",(char *) "item", NULL 
 
26042     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
; 
26043     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26044     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26045     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26046     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26048     if (arg2 
== NULL
) { 
26049         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26053         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26054         result 
= (wxPyTreeItemData 
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId 
const &)*arg2
); 
26056         wxPyEndAllowThreads(__tstate
); 
26057         if (PyErr_Occurred()) SWIG_fail
; 
26059     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0); 
26066 static PyObject 
*_wrap_TreeCtrl_GetItemPyData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26067     PyObject 
*resultobj
; 
26068     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26069     wxTreeItemId 
*arg2 
= 0 ; 
26071     PyObject 
* obj0 
= 0 ; 
26072     PyObject 
* obj1 
= 0 ; 
26073     char *kwnames
[] = { 
26074         (char *) "self",(char *) "item", NULL 
 
26077     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
; 
26078     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26079     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26080     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26081     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26083     if (arg2 
== NULL
) { 
26084         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26088         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26089         result 
= (PyObject 
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId 
const &)*arg2
); 
26091         wxPyEndAllowThreads(__tstate
); 
26092         if (PyErr_Occurred()) SWIG_fail
; 
26094     resultobj 
= result
; 
26101 static PyObject 
*_wrap_TreeCtrl_GetItemTextColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26102     PyObject 
*resultobj
; 
26103     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26104     wxTreeItemId 
*arg2 
= 0 ; 
26106     PyObject 
* obj0 
= 0 ; 
26107     PyObject 
* obj1 
= 0 ; 
26108     char *kwnames
[] = { 
26109         (char *) "self",(char *) "item", NULL 
 
26112     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
26113     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26114     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26115     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26116     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26118     if (arg2 
== NULL
) { 
26119         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26123         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26124         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetItemTextColour((wxTreeItemId 
const &)*arg2
); 
26126         wxPyEndAllowThreads(__tstate
); 
26127         if (PyErr_Occurred()) SWIG_fail
; 
26130         wxColour 
* resultptr
; 
26131         resultptr 
= new wxColour((wxColour 
&) result
); 
26132         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
26140 static PyObject 
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26141     PyObject 
*resultobj
; 
26142     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26143     wxTreeItemId 
*arg2 
= 0 ; 
26145     PyObject 
* obj0 
= 0 ; 
26146     PyObject 
* obj1 
= 0 ; 
26147     char *kwnames
[] = { 
26148         (char *) "self",(char *) "item", NULL 
 
26151     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
26152     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26153     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26154     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26155     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26157     if (arg2 
== NULL
) { 
26158         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26162         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26163         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId 
const &)*arg2
); 
26165         wxPyEndAllowThreads(__tstate
); 
26166         if (PyErr_Occurred()) SWIG_fail
; 
26169         wxColour 
* resultptr
; 
26170         resultptr 
= new wxColour((wxColour 
&) result
); 
26171         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
26179 static PyObject 
*_wrap_TreeCtrl_GetItemFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26180     PyObject 
*resultobj
; 
26181     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26182     wxTreeItemId 
*arg2 
= 0 ; 
26184     PyObject 
* obj0 
= 0 ; 
26185     PyObject 
* obj1 
= 0 ; 
26186     char *kwnames
[] = { 
26187         (char *) "self",(char *) "item", NULL 
 
26190     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
26191     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26192     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26193     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26194     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26196     if (arg2 
== NULL
) { 
26197         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26201         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26202         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetItemFont((wxTreeItemId 
const &)*arg2
); 
26204         wxPyEndAllowThreads(__tstate
); 
26205         if (PyErr_Occurred()) SWIG_fail
; 
26208         wxFont 
* resultptr
; 
26209         resultptr 
= new wxFont((wxFont 
&) result
); 
26210         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
26218 static PyObject 
*_wrap_TreeCtrl_SetItemText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26219     PyObject 
*resultobj
; 
26220     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26221     wxTreeItemId 
*arg2 
= 0 ; 
26222     wxString 
*arg3 
= 0 ; 
26223     bool temp3 
= false ; 
26224     PyObject 
* obj0 
= 0 ; 
26225     PyObject 
* obj1 
= 0 ; 
26226     PyObject 
* obj2 
= 0 ; 
26227     char *kwnames
[] = { 
26228         (char *) "self",(char *) "item",(char *) "text", NULL 
 
26231     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26232     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26233     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26234     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26235     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26237     if (arg2 
== NULL
) { 
26238         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26242         arg3 
= wxString_in_helper(obj2
); 
26243         if (arg3 
== NULL
) SWIG_fail
; 
26247         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26248         (arg1
)->SetItemText((wxTreeItemId 
const &)*arg2
,(wxString 
const &)*arg3
); 
26250         wxPyEndAllowThreads(__tstate
); 
26251         if (PyErr_Occurred()) SWIG_fail
; 
26253     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26268 static PyObject 
*_wrap_TreeCtrl_SetItemImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26269     PyObject 
*resultobj
; 
26270     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26271     wxTreeItemId 
*arg2 
= 0 ; 
26273     int arg4 
= (int) wxTreeItemIcon_Normal 
; 
26274     PyObject 
* obj0 
= 0 ; 
26275     PyObject 
* obj1 
= 0 ; 
26276     PyObject 
* obj2 
= 0 ; 
26277     PyObject 
* obj3 
= 0 ; 
26278     char *kwnames
[] = { 
26279         (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL 
 
26282     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26283     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26284     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26285     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26286     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26288     if (arg2 
== NULL
) { 
26289         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26292     arg3 
= (int)SWIG_As_int(obj2
);  
26293     if (PyErr_Occurred()) SWIG_fail
; 
26295         arg4 
= (int)SWIG_As_int(obj3
);  
26296         if (PyErr_Occurred()) SWIG_fail
; 
26299         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26300         (arg1
)->SetItemImage((wxTreeItemId 
const &)*arg2
,arg3
,(wxTreeItemIcon 
)arg4
); 
26302         wxPyEndAllowThreads(__tstate
); 
26303         if (PyErr_Occurred()) SWIG_fail
; 
26305     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26312 static PyObject 
*_wrap_TreeCtrl_SetItemData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26313     PyObject 
*resultobj
; 
26314     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26315     wxTreeItemId 
*arg2 
= 0 ; 
26316     wxPyTreeItemData 
*arg3 
= (wxPyTreeItemData 
*) 0 ; 
26317     PyObject 
* obj0 
= 0 ; 
26318     PyObject 
* obj1 
= 0 ; 
26319     PyObject 
* obj2 
= 0 ; 
26320     char *kwnames
[] = { 
26321         (char *) "self",(char *) "item",(char *) "data", NULL 
 
26324     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26325     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26326     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26327     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26328     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26330     if (arg2 
== NULL
) { 
26331         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26334     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
, 
26335     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26337         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26338         wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId 
const &)*arg2
,arg3
); 
26340         wxPyEndAllowThreads(__tstate
); 
26341         if (PyErr_Occurred()) SWIG_fail
; 
26343     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26350 static PyObject 
*_wrap_TreeCtrl_SetItemPyData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26351     PyObject 
*resultobj
; 
26352     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26353     wxTreeItemId 
*arg2 
= 0 ; 
26354     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
26355     PyObject 
* obj0 
= 0 ; 
26356     PyObject 
* obj1 
= 0 ; 
26357     PyObject 
* obj2 
= 0 ; 
26358     char *kwnames
[] = { 
26359         (char *) "self",(char *) "item",(char *) "obj", NULL 
 
26362     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26363     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26364     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26365     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26366     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26368     if (arg2 
== NULL
) { 
26369         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26374         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26375         wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId 
const &)*arg2
,arg3
); 
26377         wxPyEndAllowThreads(__tstate
); 
26378         if (PyErr_Occurred()) SWIG_fail
; 
26380     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26387 static PyObject 
*_wrap_TreeCtrl_SetItemHasChildren(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26388     PyObject 
*resultobj
; 
26389     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26390     wxTreeItemId 
*arg2 
= 0 ; 
26391     bool arg3 
= (bool) true ; 
26392     PyObject 
* obj0 
= 0 ; 
26393     PyObject 
* obj1 
= 0 ; 
26394     PyObject 
* obj2 
= 0 ; 
26395     char *kwnames
[] = { 
26396         (char *) "self",(char *) "item",(char *) "has", NULL 
 
26399     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26400     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26401     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26402     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26403     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26405     if (arg2 
== NULL
) { 
26406         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26410         arg3 
= (bool)SWIG_As_bool(obj2
);  
26411         if (PyErr_Occurred()) SWIG_fail
; 
26414         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26415         (arg1
)->SetItemHasChildren((wxTreeItemId 
const &)*arg2
,arg3
); 
26417         wxPyEndAllowThreads(__tstate
); 
26418         if (PyErr_Occurred()) SWIG_fail
; 
26420     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26427 static PyObject 
*_wrap_TreeCtrl_SetItemBold(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26428     PyObject 
*resultobj
; 
26429     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26430     wxTreeItemId 
*arg2 
= 0 ; 
26431     bool arg3 
= (bool) true ; 
26432     PyObject 
* obj0 
= 0 ; 
26433     PyObject 
* obj1 
= 0 ; 
26434     PyObject 
* obj2 
= 0 ; 
26435     char *kwnames
[] = { 
26436         (char *) "self",(char *) "item",(char *) "bold", NULL 
 
26439     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26440     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26441     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26442     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26443     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26445     if (arg2 
== NULL
) { 
26446         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26450         arg3 
= (bool)SWIG_As_bool(obj2
);  
26451         if (PyErr_Occurred()) SWIG_fail
; 
26454         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26455         (arg1
)->SetItemBold((wxTreeItemId 
const &)*arg2
,arg3
); 
26457         wxPyEndAllowThreads(__tstate
); 
26458         if (PyErr_Occurred()) SWIG_fail
; 
26460     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26467 static PyObject 
*_wrap_TreeCtrl_SetItemTextColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26468     PyObject 
*resultobj
; 
26469     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26470     wxTreeItemId 
*arg2 
= 0 ; 
26471     wxColour 
*arg3 
= 0 ; 
26473     PyObject 
* obj0 
= 0 ; 
26474     PyObject 
* obj1 
= 0 ; 
26475     PyObject 
* obj2 
= 0 ; 
26476     char *kwnames
[] = { 
26477         (char *) "self",(char *) "item",(char *) "col", NULL 
 
26480     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26481     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26482     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26483     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26484     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26486     if (arg2 
== NULL
) { 
26487         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26492         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
26495         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26496         (arg1
)->SetItemTextColour((wxTreeItemId 
const &)*arg2
,(wxColour 
const &)*arg3
); 
26498         wxPyEndAllowThreads(__tstate
); 
26499         if (PyErr_Occurred()) SWIG_fail
; 
26501     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26508 static PyObject 
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26509     PyObject 
*resultobj
; 
26510     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26511     wxTreeItemId 
*arg2 
= 0 ; 
26512     wxColour 
*arg3 
= 0 ; 
26514     PyObject 
* obj0 
= 0 ; 
26515     PyObject 
* obj1 
= 0 ; 
26516     PyObject 
* obj2 
= 0 ; 
26517     char *kwnames
[] = { 
26518         (char *) "self",(char *) "item",(char *) "col", NULL 
 
26521     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26522     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26523     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26524     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26525     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26527     if (arg2 
== NULL
) { 
26528         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26533         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
26536         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26537         (arg1
)->SetItemBackgroundColour((wxTreeItemId 
const &)*arg2
,(wxColour 
const &)*arg3
); 
26539         wxPyEndAllowThreads(__tstate
); 
26540         if (PyErr_Occurred()) SWIG_fail
; 
26542     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26549 static PyObject 
*_wrap_TreeCtrl_SetItemFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26550     PyObject 
*resultobj
; 
26551     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26552     wxTreeItemId 
*arg2 
= 0 ; 
26554     PyObject 
* obj0 
= 0 ; 
26555     PyObject 
* obj1 
= 0 ; 
26556     PyObject 
* obj2 
= 0 ; 
26557     char *kwnames
[] = { 
26558         (char *) "self",(char *) "item",(char *) "font", NULL 
 
26561     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26562     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26563     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26564     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26565     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26567     if (arg2 
== NULL
) { 
26568         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26571     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
, 
26572     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26574     if (arg3 
== NULL
) { 
26575         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26579         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26580         (arg1
)->SetItemFont((wxTreeItemId 
const &)*arg2
,(wxFont 
const &)*arg3
); 
26582         wxPyEndAllowThreads(__tstate
); 
26583         if (PyErr_Occurred()) SWIG_fail
; 
26585     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26592 static PyObject 
*_wrap_TreeCtrl_IsVisible(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26593     PyObject 
*resultobj
; 
26594     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26595     wxTreeItemId 
*arg2 
= 0 ; 
26597     PyObject 
* obj0 
= 0 ; 
26598     PyObject 
* obj1 
= 0 ; 
26599     char *kwnames
[] = { 
26600         (char *) "self",(char *) "item", NULL 
 
26603     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
; 
26604     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26605     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26606     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26607     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26609     if (arg2 
== NULL
) { 
26610         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26614         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26615         result 
= (bool)((wxPyTreeCtrl 
const *)arg1
)->IsVisible((wxTreeItemId 
const &)*arg2
); 
26617         wxPyEndAllowThreads(__tstate
); 
26618         if (PyErr_Occurred()) SWIG_fail
; 
26621         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26629 static PyObject 
*_wrap_TreeCtrl_ItemHasChildren(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26630     PyObject 
*resultobj
; 
26631     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26632     wxTreeItemId 
*arg2 
= 0 ; 
26634     PyObject 
* obj0 
= 0 ; 
26635     PyObject 
* obj1 
= 0 ; 
26636     char *kwnames
[] = { 
26637         (char *) "self",(char *) "item", NULL 
 
26640     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
; 
26641     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26642     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26643     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26644     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26646     if (arg2 
== NULL
) { 
26647         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26651         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26652         result 
= (bool)((wxPyTreeCtrl 
const *)arg1
)->ItemHasChildren((wxTreeItemId 
const &)*arg2
); 
26654         wxPyEndAllowThreads(__tstate
); 
26655         if (PyErr_Occurred()) SWIG_fail
; 
26658         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26666 static PyObject 
*_wrap_TreeCtrl_IsExpanded(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26667     PyObject 
*resultobj
; 
26668     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26669     wxTreeItemId 
*arg2 
= 0 ; 
26671     PyObject 
* obj0 
= 0 ; 
26672     PyObject 
* obj1 
= 0 ; 
26673     char *kwnames
[] = { 
26674         (char *) "self",(char *) "item", NULL 
 
26677     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
; 
26678     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26679     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26680     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26681     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26683     if (arg2 
== NULL
) { 
26684         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26688         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26689         result 
= (bool)((wxPyTreeCtrl 
const *)arg1
)->IsExpanded((wxTreeItemId 
const &)*arg2
); 
26691         wxPyEndAllowThreads(__tstate
); 
26692         if (PyErr_Occurred()) SWIG_fail
; 
26695         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26703 static PyObject 
*_wrap_TreeCtrl_IsSelected(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26704     PyObject 
*resultobj
; 
26705     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26706     wxTreeItemId 
*arg2 
= 0 ; 
26708     PyObject 
* obj0 
= 0 ; 
26709     PyObject 
* obj1 
= 0 ; 
26710     char *kwnames
[] = { 
26711         (char *) "self",(char *) "item", NULL 
 
26714     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
; 
26715     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26716     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26717     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26718     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26720     if (arg2 
== NULL
) { 
26721         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26725         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26726         result 
= (bool)((wxPyTreeCtrl 
const *)arg1
)->IsSelected((wxTreeItemId 
const &)*arg2
); 
26728         wxPyEndAllowThreads(__tstate
); 
26729         if (PyErr_Occurred()) SWIG_fail
; 
26732         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26740 static PyObject 
*_wrap_TreeCtrl_IsBold(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26741     PyObject 
*resultobj
; 
26742     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26743     wxTreeItemId 
*arg2 
= 0 ; 
26745     PyObject 
* obj0 
= 0 ; 
26746     PyObject 
* obj1 
= 0 ; 
26747     char *kwnames
[] = { 
26748         (char *) "self",(char *) "item", NULL 
 
26751     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
; 
26752     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26753     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26754     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26755     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26757     if (arg2 
== NULL
) { 
26758         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26762         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26763         result 
= (bool)((wxPyTreeCtrl 
const *)arg1
)->IsBold((wxTreeItemId 
const &)*arg2
); 
26765         wxPyEndAllowThreads(__tstate
); 
26766         if (PyErr_Occurred()) SWIG_fail
; 
26769         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26777 static PyObject 
*_wrap_TreeCtrl_GetChildrenCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26778     PyObject 
*resultobj
; 
26779     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26780     wxTreeItemId 
*arg2 
= 0 ; 
26781     bool arg3 
= (bool) true ; 
26783     PyObject 
* obj0 
= 0 ; 
26784     PyObject 
* obj1 
= 0 ; 
26785     PyObject 
* obj2 
= 0 ; 
26786     char *kwnames
[] = { 
26787         (char *) "self",(char *) "item",(char *) "recursively", NULL 
 
26790     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26791     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26792     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26793     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26794     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26796     if (arg2 
== NULL
) { 
26797         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26801         arg3 
= (bool)SWIG_As_bool(obj2
);  
26802         if (PyErr_Occurred()) SWIG_fail
; 
26805         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26806         result 
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId 
const &)*arg2
,arg3
); 
26808         wxPyEndAllowThreads(__tstate
); 
26809         if (PyErr_Occurred()) SWIG_fail
; 
26811     resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)result
); 
26818 static PyObject 
*_wrap_TreeCtrl_GetRootItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26819     PyObject 
*resultobj
; 
26820     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26821     wxTreeItemId result
; 
26822     PyObject 
* obj0 
= 0 ; 
26823     char *kwnames
[] = { 
26824         (char *) "self", NULL 
 
26827     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
; 
26828     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26829     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26831         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26832         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetRootItem(); 
26834         wxPyEndAllowThreads(__tstate
); 
26835         if (PyErr_Occurred()) SWIG_fail
; 
26838         wxTreeItemId 
* resultptr
; 
26839         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
26840         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
26848 static PyObject 
*_wrap_TreeCtrl_GetSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26849     PyObject 
*resultobj
; 
26850     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26851     wxTreeItemId result
; 
26852     PyObject 
* obj0 
= 0 ; 
26853     char *kwnames
[] = { 
26854         (char *) "self", NULL 
 
26857     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
; 
26858     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26859     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26861         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26862         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetSelection(); 
26864         wxPyEndAllowThreads(__tstate
); 
26865         if (PyErr_Occurred()) SWIG_fail
; 
26868         wxTreeItemId 
* resultptr
; 
26869         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
26870         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
26878 static PyObject 
*_wrap_TreeCtrl_GetSelections(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26879     PyObject 
*resultobj
; 
26880     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26882     PyObject 
* obj0 
= 0 ; 
26883     char *kwnames
[] = { 
26884         (char *) "self", NULL 
 
26887     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
; 
26888     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26889     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26891         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26892         result 
= (PyObject 
*)wxPyTreeCtrl_GetSelections(arg1
); 
26894         wxPyEndAllowThreads(__tstate
); 
26895         if (PyErr_Occurred()) SWIG_fail
; 
26897     resultobj 
= result
; 
26904 static PyObject 
*_wrap_TreeCtrl_GetItemParent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26905     PyObject 
*resultobj
; 
26906     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26907     wxTreeItemId 
*arg2 
= 0 ; 
26908     wxTreeItemId result
; 
26909     PyObject 
* obj0 
= 0 ; 
26910     PyObject 
* obj1 
= 0 ; 
26911     char *kwnames
[] = { 
26912         (char *) "self",(char *) "item", NULL 
 
26915     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
; 
26916     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26917     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26918     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26919     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26921     if (arg2 
== NULL
) { 
26922         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26926         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26927         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetItemParent((wxTreeItemId 
const &)*arg2
); 
26929         wxPyEndAllowThreads(__tstate
); 
26930         if (PyErr_Occurred()) SWIG_fail
; 
26933         wxTreeItemId 
* resultptr
; 
26934         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
26935         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
26943 static PyObject 
*_wrap_TreeCtrl_GetFirstChild(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26944     PyObject 
*resultobj
; 
26945     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26946     wxTreeItemId 
*arg2 
= 0 ; 
26948     PyObject 
* obj0 
= 0 ; 
26949     PyObject 
* obj1 
= 0 ; 
26950     char *kwnames
[] = { 
26951         (char *) "self",(char *) "item", NULL 
 
26954     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
; 
26955     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26956     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26957     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26958     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26960     if (arg2 
== NULL
) { 
26961         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26965         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26966         result 
= (PyObject 
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId 
const &)*arg2
); 
26968         wxPyEndAllowThreads(__tstate
); 
26969         if (PyErr_Occurred()) SWIG_fail
; 
26971     resultobj 
= result
; 
26978 static PyObject 
*_wrap_TreeCtrl_GetNextChild(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26979     PyObject 
*resultobj
; 
26980     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26981     wxTreeItemId 
*arg2 
= 0 ; 
26982     void *arg3 
= (void *) 0 ; 
26984     PyObject 
* obj0 
= 0 ; 
26985     PyObject 
* obj1 
= 0 ; 
26986     PyObject 
* obj2 
= 0 ; 
26987     char *kwnames
[] = { 
26988         (char *) "self",(char *) "item",(char *) "cookie", NULL 
 
26991     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26992     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26993     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26994     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26995     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26997     if (arg2 
== NULL
) { 
26998         PyErr_SetString(PyExc_TypeError
,"null reference"); 
27001     if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27003         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27004         result 
= (PyObject 
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId 
const &)*arg2
,arg3
); 
27006         wxPyEndAllowThreads(__tstate
); 
27007         if (PyErr_Occurred()) SWIG_fail
; 
27009     resultobj 
= result
; 
27016 static PyObject 
*_wrap_TreeCtrl_GetLastChild(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27017     PyObject 
*resultobj
; 
27018     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
27019     wxTreeItemId 
*arg2 
= 0 ; 
27020     wxTreeItemId result
; 
27021     PyObject 
* obj0 
= 0 ; 
27022     PyObject 
* obj1 
= 0 ; 
27023     char *kwnames
[] = { 
27024         (char *) "self",(char *) "item", NULL 
 
27027     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
; 
27028     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
27029     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27030     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
27031     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
27033     if (arg2 
== NULL
) { 
27034         PyErr_SetString(PyExc_TypeError
,"null reference"); 
27038         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27039         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetLastChild((wxTreeItemId 
const &)*arg2
); 
27041         wxPyEndAllowThreads(__tstate
); 
27042         if (PyErr_Occurred()) SWIG_fail
; 
27045         wxTreeItemId 
* resultptr
; 
27046         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
27047         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
27055 static PyObject 
*_wrap_TreeCtrl_GetNextSibling(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27056     PyObject 
*resultobj
; 
27057     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
27058     wxTreeItemId 
*arg2 
= 0 ; 
27059     wxTreeItemId result
; 
27060     PyObject 
* obj0 
= 0 ; 
27061     PyObject 
* obj1 
= 0 ; 
27062     char *kwnames
[] = { 
27063         (char *) "self",(char *) "item", NULL 
 
27066     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
; 
27067     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
27068     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27069     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
27070     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
27072     if (arg2 
== NULL
) { 
27073         PyErr_SetString(PyExc_TypeError
,"null reference"); 
27077         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27078         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetNextSibling((wxTreeItemId 
const &)*arg2
); 
27080         wxPyEndAllowThreads(__tstate
); 
27081         if (PyErr_Occurred()) SWIG_fail
; 
27084         wxTreeItemId 
* resultptr
; 
27085         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
27086         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
27094 static PyObject 
*_wrap_TreeCtrl_GetPrevSibling(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27095     PyObject 
*resultobj
; 
27096     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
27097     wxTreeItemId 
*arg2 
= 0 ; 
27098     wxTreeItemId result
; 
27099     PyObject 
* obj0 
= 0 ; 
27100     PyObject 
* obj1 
= 0 ; 
27101     char *kwnames
[] = { 
27102         (char *) "self",(char *) "item", NULL 
 
27105     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
; 
27106     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
27107     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27108     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
27109     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
27111     if (arg2 
== NULL
) { 
27112         PyErr_SetString(PyExc_TypeError
,"null reference"); 
27116         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27117         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetPrevSibling((wxTreeItemId 
const &)*arg2
); 
27119         wxPyEndAllowThreads(__tstate
); 
27120         if (PyErr_Occurred()) SWIG_fail
; 
27123         wxTreeItemId 
* resultptr
; 
27124         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
27125         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
27133 static PyObject 
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27134     PyObject 
*resultobj
; 
27135     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
27136     wxTreeItemId result
; 
27137     PyObject 
* obj0 
= 0 ; 
27138     char *kwnames
[] = { 
27139         (char *) "self", NULL 
 
27142     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
; 
27143     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
27144     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27146         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27147         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetFirstVisibleItem(); 
27149         wxPyEndAllowThreads(__tstate
); 
27150         if (PyErr_Occurred()) SWIG_fail
; 
27153         wxTreeItemId 
* resultptr
; 
27154         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
27155         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
27163 static PyObject 
*_wrap_TreeCtrl_GetNextVisible(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27164     PyObject 
*resultobj
; 
27165     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
27166     wxTreeItemId 
*arg2 
= 0 ; 
27167     wxTreeItemId result
; 
27168     PyObject 
* obj0 
= 0 ; 
27169     PyObject 
* obj1 
= 0 ; 
27170     char *kwnames
[] = { 
27171         (char *) "self",(char *) "item", NULL 
 
27174     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
; 
27175     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
27176     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27177     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
27178     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
27180     if (arg2 
== NULL
) { 
27181         PyErr_SetString(PyExc_TypeError
,"null reference"); 
27185         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27186         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetNextVisible((wxTreeItemId 
const &)*arg2
); 
27188         wxPyEndAllowThreads(__tstate
); 
27189         if (PyErr_Occurred()) SWIG_fail
; 
27192         wxTreeItemId 
* resultptr
; 
27193         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
27194         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
27202 static PyObject 
*_wrap_TreeCtrl_GetPrevVisible(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27203     PyObject 
*resultobj
; 
27204     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
27205     wxTreeItemId 
*arg2 
= 0 ; 
27206     wxTreeItemId result
; 
27207     PyObject 
* obj0 
= 0 ; 
27208     PyObject 
* obj1 
= 0 ; 
27209     char *kwnames
[] = { 
27210         (char *) "self",(char *) "item", NULL 
 
27213     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
; 
27214     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
27215     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27216     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
27217     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
27219     if (arg2 
== NULL
) { 
27220         PyErr_SetString(PyExc_TypeError
,"null reference"); 
27224         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27225         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetPrevVisible((wxTreeItemId 
const &)*arg2
); 
27227         wxPyEndAllowThreads(__tstate
); 
27228         if (PyErr_Occurred()) SWIG_fail
; 
27231         wxTreeItemId 
* resultptr
; 
27232         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
27233         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
27241 static PyObject 
*_wrap_TreeCtrl_AddRoot(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27242     PyObject 
*resultobj
; 
27243     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
27244     wxString 
*arg2 
= 0 ; 
27245     int arg3 
= (int) -1 ; 
27246     int arg4 
= (int) -1 ; 
27247     wxPyTreeItemData 
*arg5 
= (wxPyTreeItemData 
*) NULL 
; 
27248     wxTreeItemId result
; 
27249     bool temp2 
= false ; 
27250     PyObject 
* obj0 
= 0 ; 
27251     PyObject 
* obj1 
= 0 ; 
27252     PyObject 
* obj2 
= 0 ; 
27253     PyObject 
* obj3 
= 0 ; 
27254     PyObject 
* obj4 
= 0 ; 
27255     char *kwnames
[] = { 
27256         (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL 
 
27259     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
27260     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
27261     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27263         arg2 
= wxString_in_helper(obj1
); 
27264         if (arg2 
== NULL
) SWIG_fail
; 
27268         arg3 
= (int)SWIG_As_int(obj2
);  
27269         if (PyErr_Occurred()) SWIG_fail
; 
27272         arg4 
= (int)SWIG_As_int(obj3
);  
27273         if (PyErr_Occurred()) SWIG_fail
; 
27276         if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
, 
27277         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27280         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27281         result 
= (arg1
)->AddRoot((wxString 
const &)*arg2
,arg3
,arg4
,arg5
); 
27283         wxPyEndAllowThreads(__tstate
); 
27284         if (PyErr_Occurred()) SWIG_fail
; 
27287         wxTreeItemId 
* resultptr
; 
27288         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
27289         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
27305 static PyObject 
*_wrap_TreeCtrl_PrependItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27306     PyObject 
*resultobj
; 
27307     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
27308     wxTreeItemId 
*arg2 
= 0 ; 
27309     wxString 
*arg3 
= 0 ; 
27310     int arg4 
= (int) -1 ; 
27311     int arg5 
= (int) -1 ; 
27312     wxPyTreeItemData 
*arg6 
= (wxPyTreeItemData 
*) NULL 
; 
27313     wxTreeItemId result
; 
27314     bool temp3 
= false ; 
27315     PyObject 
* obj0 
= 0 ; 
27316     PyObject 
* obj1 
= 0 ; 
27317     PyObject 
* obj2 
= 0 ; 
27318     PyObject 
* obj3 
= 0 ; 
27319     PyObject 
* obj4 
= 0 ; 
27320     PyObject 
* obj5 
= 0 ; 
27321     char *kwnames
[] = { 
27322         (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL 
 
27325     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
27326     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
27327     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27328     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
27329     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
27331     if (arg2 
== NULL
) { 
27332         PyErr_SetString(PyExc_TypeError
,"null reference"); 
27336         arg3 
= wxString_in_helper(obj2
); 
27337         if (arg3 
== NULL
) SWIG_fail
; 
27341         arg4 
= (int)SWIG_As_int(obj3
);  
27342         if (PyErr_Occurred()) SWIG_fail
; 
27345         arg5 
= (int)SWIG_As_int(obj4
);  
27346         if (PyErr_Occurred()) SWIG_fail
; 
27349         if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
, 
27350         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27353         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27354         result 
= (arg1
)->PrependItem((wxTreeItemId 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
,arg5
,arg6
); 
27356         wxPyEndAllowThreads(__tstate
); 
27357         if (PyErr_Occurred()) SWIG_fail
; 
27360         wxTreeItemId 
* resultptr
; 
27361         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
27362         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
27378 static PyObject 
*_wrap_TreeCtrl_InsertItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27379     PyObject 
*resultobj
; 
27380     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
27381     wxTreeItemId 
*arg2 
= 0 ; 
27382     wxTreeItemId 
*arg3 
= 0 ; 
27383     wxString 
*arg4 
= 0 ; 
27384     int arg5 
= (int) -1 ; 
27385     int arg6 
= (int) -1 ; 
27386     wxPyTreeItemData 
*arg7 
= (wxPyTreeItemData 
*) NULL 
; 
27387     wxTreeItemId result
; 
27388     bool temp4 
= false ; 
27389     PyObject 
* obj0 
= 0 ; 
27390     PyObject 
* obj1 
= 0 ; 
27391     PyObject 
* obj2 
= 0 ; 
27392     PyObject 
* obj3 
= 0 ; 
27393     PyObject 
* obj4 
= 0 ; 
27394     PyObject 
* obj5 
= 0 ; 
27395     PyObject 
* obj6 
= 0 ; 
27396     char *kwnames
[] = { 
27397         (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL 
 
27400     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
27401     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
27402     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27403     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
27404     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
27406     if (arg2 
== NULL
) { 
27407         PyErr_SetString(PyExc_TypeError
,"null reference"); 
27410     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
, 
27411     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
27413     if (arg3 
== NULL
) { 
27414         PyErr_SetString(PyExc_TypeError
,"null reference"); 
27418         arg4 
= wxString_in_helper(obj3
); 
27419         if (arg4 
== NULL
) SWIG_fail
; 
27423         arg5 
= (int)SWIG_As_int(obj4
);  
27424         if (PyErr_Occurred()) SWIG_fail
; 
27427         arg6 
= (int)SWIG_As_int(obj5
);  
27428         if (PyErr_Occurred()) SWIG_fail
; 
27431         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
, 
27432         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27435         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27436         result 
= (arg1
)->InsertItem((wxTreeItemId 
const &)*arg2
,(wxTreeItemId 
const &)*arg3
,(wxString 
const &)*arg4
,arg5
,arg6
,arg7
); 
27438         wxPyEndAllowThreads(__tstate
); 
27439         if (PyErr_Occurred()) SWIG_fail
; 
27442         wxTreeItemId 
* resultptr
; 
27443         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
27444         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
27460 static PyObject 
*_wrap_TreeCtrl_InsertItemBefore(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27461     PyObject 
*resultobj
; 
27462     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
27463     wxTreeItemId 
*arg2 
= 0 ; 
27465     wxString 
*arg4 
= 0 ; 
27466     int arg5 
= (int) -1 ; 
27467     int arg6 
= (int) -1 ; 
27468     wxPyTreeItemData 
*arg7 
= (wxPyTreeItemData 
*) NULL 
; 
27469     wxTreeItemId result
; 
27470     bool temp4 
= false ; 
27471     PyObject 
* obj0 
= 0 ; 
27472     PyObject 
* obj1 
= 0 ; 
27473     PyObject 
* obj2 
= 0 ; 
27474     PyObject 
* obj3 
= 0 ; 
27475     PyObject 
* obj4 
= 0 ; 
27476     PyObject 
* obj5 
= 0 ; 
27477     PyObject 
* obj6 
= 0 ; 
27478     char *kwnames
[] = { 
27479         (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL 
 
27482     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
27483     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
27484     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27485     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
27486     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
27488     if (arg2 
== NULL
) { 
27489         PyErr_SetString(PyExc_TypeError
,"null reference"); 
27492     arg3 
= (size_t)SWIG_As_unsigned_SS_long(obj2
);  
27493     if (PyErr_Occurred()) SWIG_fail
; 
27495         arg4 
= wxString_in_helper(obj3
); 
27496         if (arg4 
== NULL
) SWIG_fail
; 
27500         arg5 
= (int)SWIG_As_int(obj4
);  
27501         if (PyErr_Occurred()) SWIG_fail
; 
27504         arg6 
= (int)SWIG_As_int(obj5
);  
27505         if (PyErr_Occurred()) SWIG_fail
; 
27508         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
, 
27509         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27512         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27513         result 
= (arg1
)->InsertItem((wxTreeItemId 
const &)*arg2
,arg3
,(wxString 
const &)*arg4
,arg5
,arg6
,arg7
); 
27515         wxPyEndAllowThreads(__tstate
); 
27516         if (PyErr_Occurred()) SWIG_fail
; 
27519         wxTreeItemId 
* resultptr
; 
27520         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
27521         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
27537 static PyObject 
*_wrap_TreeCtrl_AppendItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27538     PyObject 
*resultobj
; 
27539     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
27540     wxTreeItemId 
*arg2 
= 0 ; 
27541     wxString 
*arg3 
= 0 ; 
27542     int arg4 
= (int) -1 ; 
27543     int arg5 
= (int) -1 ; 
27544     wxPyTreeItemData 
*arg6 
= (wxPyTreeItemData 
*) NULL 
; 
27545     wxTreeItemId result
; 
27546     bool temp3 
= false ; 
27547     PyObject 
* obj0 
= 0 ; 
27548     PyObject 
* obj1 
= 0 ; 
27549     PyObject 
* obj2 
= 0 ; 
27550     PyObject 
* obj3 
= 0 ; 
27551     PyObject 
* obj4 
= 0 ; 
27552     PyObject 
* obj5 
= 0 ; 
27553     char *kwnames
[] = { 
27554         (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL 
 
27557     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
27558     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
27559     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27560     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
27561     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
27563     if (arg2 
== NULL
) { 
27564         PyErr_SetString(PyExc_TypeError
,"null reference"); 
27568         arg3 
= wxString_in_helper(obj2
); 
27569         if (arg3 
== NULL
) SWIG_fail
; 
27573         arg4 
= (int)SWIG_As_int(obj3
);  
27574         if (PyErr_Occurred()) SWIG_fail
; 
27577         arg5 
= (int)SWIG_As_int(obj4
);  
27578         if (PyErr_Occurred()) SWIG_fail
; 
27581         if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
, 
27582         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27585         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27586         result 
= (arg1
)->AppendItem((wxTreeItemId 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
,arg5
,arg6
); 
27588         wxPyEndAllowThreads(__tstate
); 
27589         if (PyErr_Occurred()) SWIG_fail
; 
27592         wxTreeItemId 
* resultptr
; 
27593         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
27594         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
27610 static PyObject 
*_wrap_TreeCtrl_Delete(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27611     PyObject 
*resultobj
; 
27612     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
27613     wxTreeItemId 
*arg2 
= 0 ; 
27614     PyObject 
* obj0 
= 0 ; 
27615     PyObject 
* obj1 
= 0 ; 
27616     char *kwnames
[] = { 
27617         (char *) "self",(char *) "item", NULL 
 
27620     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
; 
27621     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
27622     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27623     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
27624     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
27626     if (arg2 
== NULL
) { 
27627         PyErr_SetString(PyExc_TypeError
,"null reference"); 
27631         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27632         (arg1
)->Delete((wxTreeItemId 
const &)*arg2
); 
27634         wxPyEndAllowThreads(__tstate
); 
27635         if (PyErr_Occurred()) SWIG_fail
; 
27637     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27644 static PyObject 
*_wrap_TreeCtrl_DeleteChildren(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27645     PyObject 
*resultobj
; 
27646     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
27647     wxTreeItemId 
*arg2 
= 0 ; 
27648     PyObject 
* obj0 
= 0 ; 
27649     PyObject 
* obj1 
= 0 ; 
27650     char *kwnames
[] = { 
27651         (char *) "self",(char *) "item", NULL 
 
27654     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
; 
27655     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
27656     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27657     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
27658     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
27660     if (arg2 
== NULL
) { 
27661         PyErr_SetString(PyExc_TypeError
,"null reference"); 
27665         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27666         (arg1
)->DeleteChildren((wxTreeItemId 
const &)*arg2
); 
27668         wxPyEndAllowThreads(__tstate
); 
27669         if (PyErr_Occurred()) SWIG_fail
; 
27671     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27678 static PyObject 
*_wrap_TreeCtrl_DeleteAllItems(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27679     PyObject 
*resultobj
; 
27680     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
27681     PyObject 
* obj0 
= 0 ; 
27682     char *kwnames
[] = { 
27683         (char *) "self", NULL 
 
27686     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
; 
27687     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
27688     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27690         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27691         (arg1
)->DeleteAllItems(); 
27693         wxPyEndAllowThreads(__tstate
); 
27694         if (PyErr_Occurred()) SWIG_fail
; 
27696     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27703 static PyObject 
*_wrap_TreeCtrl_Expand(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27704     PyObject 
*resultobj
; 
27705     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
27706     wxTreeItemId 
*arg2 
= 0 ; 
27707     PyObject 
* obj0 
= 0 ; 
27708     PyObject 
* obj1 
= 0 ; 
27709     char *kwnames
[] = { 
27710         (char *) "self",(char *) "item", NULL 
 
27713     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
; 
27714     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
27715     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27716     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
27717     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
27719     if (arg2 
== NULL
) { 
27720         PyErr_SetString(PyExc_TypeError
,"null reference"); 
27724         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27725         (arg1
)->Expand((wxTreeItemId 
const &)*arg2
); 
27727         wxPyEndAllowThreads(__tstate
); 
27728         if (PyErr_Occurred()) SWIG_fail
; 
27730     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27737 static PyObject 
*_wrap_TreeCtrl_Collapse(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27738     PyObject 
*resultobj
; 
27739     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
27740     wxTreeItemId 
*arg2 
= 0 ; 
27741     PyObject 
* obj0 
= 0 ; 
27742     PyObject 
* obj1 
= 0 ; 
27743     char *kwnames
[] = { 
27744         (char *) "self",(char *) "item", NULL 
 
27747     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
; 
27748     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
27749     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27750     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
27751     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
27753     if (arg2 
== NULL
) { 
27754         PyErr_SetString(PyExc_TypeError
,"null reference"); 
27758         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27759         (arg1
)->Collapse((wxTreeItemId 
const &)*arg2
); 
27761         wxPyEndAllowThreads(__tstate
); 
27762         if (PyErr_Occurred()) SWIG_fail
; 
27764     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27771 static PyObject 
*_wrap_TreeCtrl_CollapseAndReset(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27772     PyObject 
*resultobj
; 
27773     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
27774     wxTreeItemId 
*arg2 
= 0 ; 
27775     PyObject 
* obj0 
= 0 ; 
27776     PyObject 
* obj1 
= 0 ; 
27777     char *kwnames
[] = { 
27778         (char *) "self",(char *) "item", NULL 
 
27781     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
; 
27782     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
27783     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27784     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
27785     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
27787     if (arg2 
== NULL
) { 
27788         PyErr_SetString(PyExc_TypeError
,"null reference"); 
27792         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27793         (arg1
)->CollapseAndReset((wxTreeItemId 
const &)*arg2
); 
27795         wxPyEndAllowThreads(__tstate
); 
27796         if (PyErr_Occurred()) SWIG_fail
; 
27798     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27805 static PyObject 
*_wrap_TreeCtrl_Toggle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27806     PyObject 
*resultobj
; 
27807     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
27808     wxTreeItemId 
*arg2 
= 0 ; 
27809     PyObject 
* obj0 
= 0 ; 
27810     PyObject 
* obj1 
= 0 ; 
27811     char *kwnames
[] = { 
27812         (char *) "self",(char *) "item", NULL 
 
27815     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
; 
27816     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
27817     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27818     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
27819     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
27821     if (arg2 
== NULL
) { 
27822         PyErr_SetString(PyExc_TypeError
,"null reference"); 
27826         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27827         (arg1
)->Toggle((wxTreeItemId 
const &)*arg2
); 
27829         wxPyEndAllowThreads(__tstate
); 
27830         if (PyErr_Occurred()) SWIG_fail
; 
27832     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27839 static PyObject 
*_wrap_TreeCtrl_Unselect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27840     PyObject 
*resultobj
; 
27841     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
27842     PyObject 
* obj0 
= 0 ; 
27843     char *kwnames
[] = { 
27844         (char *) "self", NULL 
 
27847     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
; 
27848     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
27849     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27851         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27852         (arg1
)->Unselect(); 
27854         wxPyEndAllowThreads(__tstate
); 
27855         if (PyErr_Occurred()) SWIG_fail
; 
27857     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27864 static PyObject 
*_wrap_TreeCtrl_UnselectItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27865     PyObject 
*resultobj
; 
27866     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
27867     wxTreeItemId 
*arg2 
= 0 ; 
27868     PyObject 
* obj0 
= 0 ; 
27869     PyObject 
* obj1 
= 0 ; 
27870     char *kwnames
[] = { 
27871         (char *) "self",(char *) "item", NULL 
 
27874     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
27875     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
27876     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27877     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
27878     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
27880     if (arg2 
== NULL
) { 
27881         PyErr_SetString(PyExc_TypeError
,"null reference"); 
27885         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27886         (arg1
)->UnselectItem((wxTreeItemId 
const &)*arg2
); 
27888         wxPyEndAllowThreads(__tstate
); 
27889         if (PyErr_Occurred()) SWIG_fail
; 
27891     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27898 static PyObject 
*_wrap_TreeCtrl_UnselectAll(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27899     PyObject 
*resultobj
; 
27900     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
27901     PyObject 
* obj0 
= 0 ; 
27902     char *kwnames
[] = { 
27903         (char *) "self", NULL 
 
27906     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
; 
27907     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
27908     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27910         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27911         (arg1
)->UnselectAll(); 
27913         wxPyEndAllowThreads(__tstate
); 
27914         if (PyErr_Occurred()) SWIG_fail
; 
27916     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27923 static PyObject 
*_wrap_TreeCtrl_SelectItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27924     PyObject 
*resultobj
; 
27925     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
27926     wxTreeItemId 
*arg2 
= 0 ; 
27927     bool arg3 
= (bool) true ; 
27928     PyObject 
* obj0 
= 0 ; 
27929     PyObject 
* obj1 
= 0 ; 
27930     PyObject 
* obj2 
= 0 ; 
27931     char *kwnames
[] = { 
27932         (char *) "self",(char *) "item",(char *) "select", NULL 
 
27935     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
27936     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
27937     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27938     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
27939     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
27941     if (arg2 
== NULL
) { 
27942         PyErr_SetString(PyExc_TypeError
,"null reference"); 
27946         arg3 
= (bool)SWIG_As_bool(obj2
);  
27947         if (PyErr_Occurred()) SWIG_fail
; 
27950         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27951         (arg1
)->SelectItem((wxTreeItemId 
const &)*arg2
,arg3
); 
27953         wxPyEndAllowThreads(__tstate
); 
27954         if (PyErr_Occurred()) SWIG_fail
; 
27956     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27963 static PyObject 
*_wrap_TreeCtrl_ToggleItemSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27964     PyObject 
*resultobj
; 
27965     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
27966     wxTreeItemId 
*arg2 
= 0 ; 
27967     PyObject 
* obj0 
= 0 ; 
27968     PyObject 
* obj1 
= 0 ; 
27969     char *kwnames
[] = { 
27970         (char *) "self",(char *) "item", NULL 
 
27973     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
27974     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
27975     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27976     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
27977     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
27979     if (arg2 
== NULL
) { 
27980         PyErr_SetString(PyExc_TypeError
,"null reference"); 
27984         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27985         (arg1
)->ToggleItemSelection((wxTreeItemId 
const &)*arg2
); 
27987         wxPyEndAllowThreads(__tstate
); 
27988         if (PyErr_Occurred()) SWIG_fail
; 
27990     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27997 static PyObject 
*_wrap_TreeCtrl_EnsureVisible(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27998     PyObject 
*resultobj
; 
27999     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
28000     wxTreeItemId 
*arg2 
= 0 ; 
28001     PyObject 
* obj0 
= 0 ; 
28002     PyObject 
* obj1 
= 0 ; 
28003     char *kwnames
[] = { 
28004         (char *) "self",(char *) "item", NULL 
 
28007     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
; 
28008     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
28009     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28010     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
28011     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
28013     if (arg2 
== NULL
) { 
28014         PyErr_SetString(PyExc_TypeError
,"null reference"); 
28018         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28019         (arg1
)->EnsureVisible((wxTreeItemId 
const &)*arg2
); 
28021         wxPyEndAllowThreads(__tstate
); 
28022         if (PyErr_Occurred()) SWIG_fail
; 
28024     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28031 static PyObject 
*_wrap_TreeCtrl_ScrollTo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28032     PyObject 
*resultobj
; 
28033     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
28034     wxTreeItemId 
*arg2 
= 0 ; 
28035     PyObject 
* obj0 
= 0 ; 
28036     PyObject 
* obj1 
= 0 ; 
28037     char *kwnames
[] = { 
28038         (char *) "self",(char *) "item", NULL 
 
28041     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
; 
28042     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
28043     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28044     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
28045     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
28047     if (arg2 
== NULL
) { 
28048         PyErr_SetString(PyExc_TypeError
,"null reference"); 
28052         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28053         (arg1
)->ScrollTo((wxTreeItemId 
const &)*arg2
); 
28055         wxPyEndAllowThreads(__tstate
); 
28056         if (PyErr_Occurred()) SWIG_fail
; 
28058     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28065 static PyObject 
*_wrap_TreeCtrl_EditLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28066     PyObject 
*resultobj
; 
28067     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
28068     wxTreeItemId 
*arg2 
= 0 ; 
28069     PyObject 
* obj0 
= 0 ; 
28070     PyObject 
* obj1 
= 0 ; 
28071     char *kwnames
[] = { 
28072         (char *) "self",(char *) "item", NULL 
 
28075     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
; 
28076     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
28077     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28078     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
28079     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
28081     if (arg2 
== NULL
) { 
28082         PyErr_SetString(PyExc_TypeError
,"null reference"); 
28086         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28087         (arg1
)->EditLabel((wxTreeItemId 
const &)*arg2
); 
28089         wxPyEndAllowThreads(__tstate
); 
28090         if (PyErr_Occurred()) SWIG_fail
; 
28092     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28099 static PyObject 
*_wrap_TreeCtrl_GetEditControl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28100     PyObject 
*resultobj
; 
28101     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
28102     wxTextCtrl 
*result
; 
28103     PyObject 
* obj0 
= 0 ; 
28104     char *kwnames
[] = { 
28105         (char *) "self", NULL 
 
28108     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
; 
28109     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
28110     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28112         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28113         result 
= (wxTextCtrl 
*)((wxPyTreeCtrl 
const *)arg1
)->GetEditControl(); 
28115         wxPyEndAllowThreads(__tstate
); 
28116         if (PyErr_Occurred()) SWIG_fail
; 
28119         resultobj 
= wxPyMake_wxObject(result
, 0);  
28127 static PyObject 
*_wrap_TreeCtrl_SortChildren(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28128     PyObject 
*resultobj
; 
28129     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
28130     wxTreeItemId 
*arg2 
= 0 ; 
28131     PyObject 
* obj0 
= 0 ; 
28132     PyObject 
* obj1 
= 0 ; 
28133     char *kwnames
[] = { 
28134         (char *) "self",(char *) "item", NULL 
 
28137     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
; 
28138     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
28139     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28140     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
28141     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
28143     if (arg2 
== NULL
) { 
28144         PyErr_SetString(PyExc_TypeError
,"null reference"); 
28148         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28149         (arg1
)->SortChildren((wxTreeItemId 
const &)*arg2
); 
28151         wxPyEndAllowThreads(__tstate
); 
28152         if (PyErr_Occurred()) SWIG_fail
; 
28154     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28161 static PyObject 
*_wrap_TreeCtrl_HitTest(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28162     PyObject 
*resultobj
; 
28163     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
28164     wxPoint 
*arg2 
= 0 ; 
28166     wxTreeItemId result
; 
28170     PyObject 
* obj0 
= 0 ; 
28171     PyObject 
* obj1 
= 0 ; 
28172     char *kwnames
[] = { 
28173         (char *) "self",(char *) "point", NULL 
 
28176     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
28177     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
; 
28178     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
28179     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28182         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
28185         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28186         result 
= (arg1
)->HitTest((wxPoint 
const &)*arg2
,*arg3
); 
28188         wxPyEndAllowThreads(__tstate
); 
28189         if (PyErr_Occurred()) SWIG_fail
; 
28192         wxTreeItemId 
* resultptr
; 
28193         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
28194         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
28196     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
28197     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
28204 static PyObject 
*_wrap_TreeCtrl_GetBoundingRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28205     PyObject 
*resultobj
; 
28206     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
28207     wxTreeItemId 
*arg2 
= 0 ; 
28208     bool arg3 
= (bool) false ; 
28210     PyObject 
* obj0 
= 0 ; 
28211     PyObject 
* obj1 
= 0 ; 
28212     PyObject 
* obj2 
= 0 ; 
28213     char *kwnames
[] = { 
28214         (char *) "self",(char *) "item",(char *) "textOnly", NULL 
 
28217     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
28218     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
28219     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28220     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
28221     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
28223     if (arg2 
== NULL
) { 
28224         PyErr_SetString(PyExc_TypeError
,"null reference"); 
28228         arg3 
= (bool)SWIG_As_bool(obj2
);  
28229         if (PyErr_Occurred()) SWIG_fail
; 
28232         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28233         result 
= (PyObject 
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId 
const &)*arg2
,arg3
); 
28235         wxPyEndAllowThreads(__tstate
); 
28236         if (PyErr_Occurred()) SWIG_fail
; 
28238     resultobj 
= result
; 
28245 static PyObject 
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28246     PyObject 
*resultobj
; 
28247     int arg1 
= (int) wxWINDOW_VARIANT_NORMAL 
; 
28248     wxVisualAttributes result
; 
28249     PyObject 
* obj0 
= 0 ; 
28250     char *kwnames
[] = { 
28251         (char *) "variant", NULL 
 
28254     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
28256         arg1 
= (int)SWIG_As_int(obj0
);  
28257         if (PyErr_Occurred()) SWIG_fail
; 
28260         if (!wxPyCheckForApp()) SWIG_fail
; 
28261         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28262         result 
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
28264         wxPyEndAllowThreads(__tstate
); 
28265         if (PyErr_Occurred()) SWIG_fail
; 
28268         wxVisualAttributes 
* resultptr
; 
28269         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&) result
); 
28270         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
28278 static PyObject 
* TreeCtrl_swigregister(PyObject 
*, PyObject 
*args
) { 
28280     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
28281     SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
); 
28283     return Py_BuildValue((char *)""); 
28285 static int _wrap_DirDialogDefaultFolderStr_set(PyObject 
*) { 
28286     PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only."); 
28291 static PyObject 
*_wrap_DirDialogDefaultFolderStr_get() { 
28296         pyobj 
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len()); 
28298         pyobj 
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len()); 
28305 static PyObject 
*_wrap_new_GenericDirCtrl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28306     PyObject 
*resultobj
; 
28307     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28308     int arg2 
= (int) (int)-1 ; 
28309     wxString 
const &arg3_defvalue 
= wxPyDirDialogDefaultFolderStr 
; 
28310     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
28311     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
28312     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
28313     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
28314     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
28315     long arg6 
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER 
; 
28316     wxString 
const &arg7_defvalue 
= wxPyEmptyString 
; 
28317     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
28318     int arg8 
= (int) 0 ; 
28319     wxString 
const &arg9_defvalue 
= wxPyTreeCtrlNameStr 
; 
28320     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
28321     wxGenericDirCtrl 
*result
; 
28322     bool temp3 
= false ; 
28325     bool temp7 
= false ; 
28326     bool temp9 
= false ; 
28327     PyObject 
* obj0 
= 0 ; 
28328     PyObject 
* obj1 
= 0 ; 
28329     PyObject 
* obj2 
= 0 ; 
28330     PyObject 
* obj3 
= 0 ; 
28331     PyObject 
* obj4 
= 0 ; 
28332     PyObject 
* obj5 
= 0 ; 
28333     PyObject 
* obj6 
= 0 ; 
28334     PyObject 
* obj7 
= 0 ; 
28335     PyObject 
* obj8 
= 0 ; 
28336     char *kwnames
[] = { 
28337         (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL 
 
28340     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
28341     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
28342     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28344         arg2 
= (int)SWIG_As_int(obj1
);  
28345         if (PyErr_Occurred()) SWIG_fail
; 
28349             arg3 
= wxString_in_helper(obj2
); 
28350             if (arg3 
== NULL
) SWIG_fail
; 
28357             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
28363             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
28367         arg6 
= (long)SWIG_As_long(obj5
);  
28368         if (PyErr_Occurred()) SWIG_fail
; 
28372             arg7 
= wxString_in_helper(obj6
); 
28373             if (arg7 
== NULL
) SWIG_fail
; 
28378         arg8 
= (int)SWIG_As_int(obj7
);  
28379         if (PyErr_Occurred()) SWIG_fail
; 
28383             arg9 
= wxString_in_helper(obj8
); 
28384             if (arg9 
== NULL
) SWIG_fail
; 
28389         if (!wxPyCheckForApp()) SWIG_fail
; 
28390         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28391         result 
= (wxGenericDirCtrl 
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
,arg8
,(wxString 
const &)*arg9
); 
28393         wxPyEndAllowThreads(__tstate
); 
28394         if (PyErr_Occurred()) SWIG_fail
; 
28396     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1); 
28427 static PyObject 
*_wrap_new_PreGenericDirCtrl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28428     PyObject 
*resultobj
; 
28429     wxGenericDirCtrl 
*result
; 
28430     char *kwnames
[] = { 
28434     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
; 
28436         if (!wxPyCheckForApp()) SWIG_fail
; 
28437         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28438         result 
= (wxGenericDirCtrl 
*)new wxGenericDirCtrl(); 
28440         wxPyEndAllowThreads(__tstate
); 
28441         if (PyErr_Occurred()) SWIG_fail
; 
28443     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1); 
28450 static PyObject 
*_wrap_GenericDirCtrl_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28451     PyObject 
*resultobj
; 
28452     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
28453     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
28454     int arg3 
= (int) (int)-1 ; 
28455     wxString 
const &arg4_defvalue 
= wxPyDirDialogDefaultFolderStr 
; 
28456     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
28457     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
28458     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
28459     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
28460     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
28461     long arg7 
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER 
; 
28462     wxString 
const &arg8_defvalue 
= wxPyEmptyString 
; 
28463     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
28464     int arg9 
= (int) 0 ; 
28465     wxString 
const &arg10_defvalue 
= wxPyTreeCtrlNameStr 
; 
28466     wxString 
*arg10 
= (wxString 
*) &arg10_defvalue 
; 
28468     bool temp4 
= false ; 
28471     bool temp8 
= false ; 
28472     bool temp10 
= false ; 
28473     PyObject 
* obj0 
= 0 ; 
28474     PyObject 
* obj1 
= 0 ; 
28475     PyObject 
* obj2 
= 0 ; 
28476     PyObject 
* obj3 
= 0 ; 
28477     PyObject 
* obj4 
= 0 ; 
28478     PyObject 
* obj5 
= 0 ; 
28479     PyObject 
* obj6 
= 0 ; 
28480     PyObject 
* obj7 
= 0 ; 
28481     PyObject 
* obj8 
= 0 ; 
28482     PyObject 
* obj9 
= 0 ; 
28483     char *kwnames
[] = { 
28484         (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL 
 
28487     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
; 
28488     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
28489     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28490     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
28491     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28493         arg3 
= (int)SWIG_As_int(obj2
);  
28494         if (PyErr_Occurred()) SWIG_fail
; 
28498             arg4 
= wxString_in_helper(obj3
); 
28499             if (arg4 
== NULL
) SWIG_fail
; 
28506             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
28512             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
28516         arg7 
= (long)SWIG_As_long(obj6
);  
28517         if (PyErr_Occurred()) SWIG_fail
; 
28521             arg8 
= wxString_in_helper(obj7
); 
28522             if (arg8 
== NULL
) SWIG_fail
; 
28527         arg9 
= (int)SWIG_As_int(obj8
);  
28528         if (PyErr_Occurred()) SWIG_fail
; 
28532             arg10 
= wxString_in_helper(obj9
); 
28533             if (arg10 
== NULL
) SWIG_fail
; 
28538         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28539         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxString 
const &)*arg8
,arg9
,(wxString 
const &)*arg10
); 
28541         wxPyEndAllowThreads(__tstate
); 
28542         if (PyErr_Occurred()) SWIG_fail
; 
28545         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28577 static PyObject 
*_wrap_GenericDirCtrl_ExpandPath(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28578     PyObject 
*resultobj
; 
28579     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
28580     wxString 
*arg2 
= 0 ; 
28582     bool temp2 
= false ; 
28583     PyObject 
* obj0 
= 0 ; 
28584     PyObject 
* obj1 
= 0 ; 
28585     char *kwnames
[] = { 
28586         (char *) "self",(char *) "path", NULL 
 
28589     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
; 
28590     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
28591     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28593         arg2 
= wxString_in_helper(obj1
); 
28594         if (arg2 
== NULL
) SWIG_fail
; 
28598         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28599         result 
= (bool)(arg1
)->ExpandPath((wxString 
const &)*arg2
); 
28601         wxPyEndAllowThreads(__tstate
); 
28602         if (PyErr_Occurred()) SWIG_fail
; 
28605         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28621 static PyObject 
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28622     PyObject 
*resultobj
; 
28623     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
28625     PyObject 
* obj0 
= 0 ; 
28626     char *kwnames
[] = { 
28627         (char *) "self", NULL 
 
28630     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
; 
28631     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
28632     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28634         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28635         result 
= ((wxGenericDirCtrl 
const *)arg1
)->GetDefaultPath(); 
28637         wxPyEndAllowThreads(__tstate
); 
28638         if (PyErr_Occurred()) SWIG_fail
; 
28642         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
28644         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
28653 static PyObject 
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28654     PyObject 
*resultobj
; 
28655     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
28656     wxString 
*arg2 
= 0 ; 
28657     bool temp2 
= false ; 
28658     PyObject 
* obj0 
= 0 ; 
28659     PyObject 
* obj1 
= 0 ; 
28660     char *kwnames
[] = { 
28661         (char *) "self",(char *) "path", NULL 
 
28664     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
; 
28665     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
28666     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28668         arg2 
= wxString_in_helper(obj1
); 
28669         if (arg2 
== NULL
) SWIG_fail
; 
28673         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28674         (arg1
)->SetDefaultPath((wxString 
const &)*arg2
); 
28676         wxPyEndAllowThreads(__tstate
); 
28677         if (PyErr_Occurred()) SWIG_fail
; 
28679     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28694 static PyObject 
*_wrap_GenericDirCtrl_GetPath(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28695     PyObject 
*resultobj
; 
28696     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
28698     PyObject 
* obj0 
= 0 ; 
28699     char *kwnames
[] = { 
28700         (char *) "self", NULL 
 
28703     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
; 
28704     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
28705     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28707         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28708         result 
= ((wxGenericDirCtrl 
const *)arg1
)->GetPath(); 
28710         wxPyEndAllowThreads(__tstate
); 
28711         if (PyErr_Occurred()) SWIG_fail
; 
28715         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
28717         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
28726 static PyObject 
*_wrap_GenericDirCtrl_GetFilePath(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28727     PyObject 
*resultobj
; 
28728     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
28730     PyObject 
* obj0 
= 0 ; 
28731     char *kwnames
[] = { 
28732         (char *) "self", NULL 
 
28735     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
; 
28736     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
28737     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28739         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28740         result 
= ((wxGenericDirCtrl 
const *)arg1
)->GetFilePath(); 
28742         wxPyEndAllowThreads(__tstate
); 
28743         if (PyErr_Occurred()) SWIG_fail
; 
28747         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
28749         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
28758 static PyObject 
*_wrap_GenericDirCtrl_SetPath(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28759     PyObject 
*resultobj
; 
28760     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
28761     wxString 
*arg2 
= 0 ; 
28762     bool temp2 
= false ; 
28763     PyObject 
* obj0 
= 0 ; 
28764     PyObject 
* obj1 
= 0 ; 
28765     char *kwnames
[] = { 
28766         (char *) "self",(char *) "path", NULL 
 
28769     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
; 
28770     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
28771     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28773         arg2 
= wxString_in_helper(obj1
); 
28774         if (arg2 
== NULL
) SWIG_fail
; 
28778         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28779         (arg1
)->SetPath((wxString 
const &)*arg2
); 
28781         wxPyEndAllowThreads(__tstate
); 
28782         if (PyErr_Occurred()) SWIG_fail
; 
28784     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28799 static PyObject 
*_wrap_GenericDirCtrl_ShowHidden(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28800     PyObject 
*resultobj
; 
28801     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
28803     PyObject 
* obj0 
= 0 ; 
28804     PyObject 
* obj1 
= 0 ; 
28805     char *kwnames
[] = { 
28806         (char *) "self",(char *) "show", NULL 
 
28809     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
; 
28810     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
28811     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28812     arg2 
= (bool)SWIG_As_bool(obj1
);  
28813     if (PyErr_Occurred()) SWIG_fail
; 
28815         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28816         (arg1
)->ShowHidden(arg2
); 
28818         wxPyEndAllowThreads(__tstate
); 
28819         if (PyErr_Occurred()) SWIG_fail
; 
28821     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28828 static PyObject 
*_wrap_GenericDirCtrl_GetShowHidden(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28829     PyObject 
*resultobj
; 
28830     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
28832     PyObject 
* obj0 
= 0 ; 
28833     char *kwnames
[] = { 
28834         (char *) "self", NULL 
 
28837     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
; 
28838     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
28839     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28841         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28842         result 
= (bool)(arg1
)->GetShowHidden(); 
28844         wxPyEndAllowThreads(__tstate
); 
28845         if (PyErr_Occurred()) SWIG_fail
; 
28848         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28856 static PyObject 
*_wrap_GenericDirCtrl_GetFilter(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28857     PyObject 
*resultobj
; 
28858     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
28860     PyObject 
* obj0 
= 0 ; 
28861     char *kwnames
[] = { 
28862         (char *) "self", NULL 
 
28865     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
; 
28866     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
28867     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28869         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28870         result 
= ((wxGenericDirCtrl 
const *)arg1
)->GetFilter(); 
28872         wxPyEndAllowThreads(__tstate
); 
28873         if (PyErr_Occurred()) SWIG_fail
; 
28877         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
28879         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
28888 static PyObject 
*_wrap_GenericDirCtrl_SetFilter(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28889     PyObject 
*resultobj
; 
28890     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
28891     wxString 
*arg2 
= 0 ; 
28892     bool temp2 
= false ; 
28893     PyObject 
* obj0 
= 0 ; 
28894     PyObject 
* obj1 
= 0 ; 
28895     char *kwnames
[] = { 
28896         (char *) "self",(char *) "filter", NULL 
 
28899     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
; 
28900     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
28901     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28903         arg2 
= wxString_in_helper(obj1
); 
28904         if (arg2 
== NULL
) SWIG_fail
; 
28908         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28909         (arg1
)->SetFilter((wxString 
const &)*arg2
); 
28911         wxPyEndAllowThreads(__tstate
); 
28912         if (PyErr_Occurred()) SWIG_fail
; 
28914     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28929 static PyObject 
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28930     PyObject 
*resultobj
; 
28931     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
28933     PyObject 
* obj0 
= 0 ; 
28934     char *kwnames
[] = { 
28935         (char *) "self", NULL 
 
28938     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
; 
28939     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
28940     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28942         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28943         result 
= (int)((wxGenericDirCtrl 
const *)arg1
)->GetFilterIndex(); 
28945         wxPyEndAllowThreads(__tstate
); 
28946         if (PyErr_Occurred()) SWIG_fail
; 
28948     resultobj 
= SWIG_From_int((int)result
); 
28955 static PyObject 
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28956     PyObject 
*resultobj
; 
28957     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
28959     PyObject 
* obj0 
= 0 ; 
28960     PyObject 
* obj1 
= 0 ; 
28961     char *kwnames
[] = { 
28962         (char *) "self",(char *) "n", NULL 
 
28965     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
; 
28966     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
28967     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28968     arg2 
= (int)SWIG_As_int(obj1
);  
28969     if (PyErr_Occurred()) SWIG_fail
; 
28971         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28972         (arg1
)->SetFilterIndex(arg2
); 
28974         wxPyEndAllowThreads(__tstate
); 
28975         if (PyErr_Occurred()) SWIG_fail
; 
28977     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28984 static PyObject 
*_wrap_GenericDirCtrl_GetRootId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28985     PyObject 
*resultobj
; 
28986     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
28987     wxTreeItemId result
; 
28988     PyObject 
* obj0 
= 0 ; 
28989     char *kwnames
[] = { 
28990         (char *) "self", NULL 
 
28993     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
; 
28994     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
28995     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28997         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28998         result 
= (arg1
)->GetRootId(); 
29000         wxPyEndAllowThreads(__tstate
); 
29001         if (PyErr_Occurred()) SWIG_fail
; 
29004         wxTreeItemId 
* resultptr
; 
29005         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
29006         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
29014 static PyObject 
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29015     PyObject 
*resultobj
; 
29016     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
29017     wxPyTreeCtrl 
*result
; 
29018     PyObject 
* obj0 
= 0 ; 
29019     char *kwnames
[] = { 
29020         (char *) "self", NULL 
 
29023     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
; 
29024     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
29025     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29027         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29028         result 
= (wxPyTreeCtrl 
*)((wxGenericDirCtrl 
const *)arg1
)->GetTreeCtrl(); 
29030         wxPyEndAllowThreads(__tstate
); 
29031         if (PyErr_Occurred()) SWIG_fail
; 
29034         resultobj 
= wxPyMake_wxObject(result
, 0);  
29042 static PyObject 
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29043     PyObject 
*resultobj
; 
29044     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
29045     wxDirFilterListCtrl 
*result
; 
29046     PyObject 
* obj0 
= 0 ; 
29047     char *kwnames
[] = { 
29048         (char *) "self", NULL 
 
29051     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
; 
29052     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
29053     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29055         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29056         result 
= (wxDirFilterListCtrl 
*)((wxGenericDirCtrl 
const *)arg1
)->GetFilterListCtrl(); 
29058         wxPyEndAllowThreads(__tstate
); 
29059         if (PyErr_Occurred()) SWIG_fail
; 
29061     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0); 
29068 static PyObject 
*_wrap_GenericDirCtrl_FindChild(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29069     PyObject 
*resultobj
; 
29070     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
29071     wxTreeItemId arg2 
; 
29072     wxString 
*arg3 
= 0 ; 
29074     wxTreeItemId result
; 
29075     wxTreeItemId 
*argp2 
; 
29076     bool temp3 
= false ; 
29079     PyObject 
* obj0 
= 0 ; 
29080     PyObject 
* obj1 
= 0 ; 
29081     PyObject 
* obj2 
= 0 ; 
29082     char *kwnames
[] = { 
29083         (char *) "self",(char *) "parentId",(char *) "path", NULL 
 
29086     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
29087     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
29088     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
29089     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29090     if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
, 
29091     SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
; 
29094         arg3 
= wxString_in_helper(obj2
); 
29095         if (arg3 
== NULL
) SWIG_fail
; 
29099         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29100         result 
= (arg1
)->FindChild(arg2
,(wxString 
const &)*arg3
,*arg4
); 
29102         wxPyEndAllowThreads(__tstate
); 
29103         if (PyErr_Occurred()) SWIG_fail
; 
29106         wxTreeItemId 
* resultptr
; 
29107         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
29108         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
29110     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
29111     SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0))); 
29126 static PyObject 
*_wrap_GenericDirCtrl_DoResize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29127     PyObject 
*resultobj
; 
29128     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
29129     PyObject 
* obj0 
= 0 ; 
29130     char *kwnames
[] = { 
29131         (char *) "self", NULL 
 
29134     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
; 
29135     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
29136     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29138         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29139         (arg1
)->DoResize(); 
29141         wxPyEndAllowThreads(__tstate
); 
29142         if (PyErr_Occurred()) SWIG_fail
; 
29144     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29151 static PyObject 
*_wrap_GenericDirCtrl_ReCreateTree(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29152     PyObject 
*resultobj
; 
29153     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
29154     PyObject 
* obj0 
= 0 ; 
29155     char *kwnames
[] = { 
29156         (char *) "self", NULL 
 
29159     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
; 
29160     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
29161     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29163         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29164         (arg1
)->ReCreateTree(); 
29166         wxPyEndAllowThreads(__tstate
); 
29167         if (PyErr_Occurred()) SWIG_fail
; 
29169     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29176 static PyObject 
* GenericDirCtrl_swigregister(PyObject 
*, PyObject 
*args
) { 
29178     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
29179     SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
); 
29181     return Py_BuildValue((char *)""); 
29183 static PyObject 
*_wrap_new_DirFilterListCtrl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29184     PyObject 
*resultobj
; 
29185     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
29186     int arg2 
= (int) (int)-1 ; 
29187     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
29188     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
29189     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
29190     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
29191     long arg5 
= (long) 0 ; 
29192     wxDirFilterListCtrl 
*result
; 
29195     PyObject 
* obj0 
= 0 ; 
29196     PyObject 
* obj1 
= 0 ; 
29197     PyObject 
* obj2 
= 0 ; 
29198     PyObject 
* obj3 
= 0 ; 
29199     PyObject 
* obj4 
= 0 ; 
29200     char *kwnames
[] = { 
29201         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL 
 
29204     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
29205     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
29206     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29208         arg2 
= (int)SWIG_As_int(obj1
);  
29209         if (PyErr_Occurred()) SWIG_fail
; 
29214             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
29220             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
29224         arg5 
= (long)SWIG_As_long(obj4
);  
29225         if (PyErr_Occurred()) SWIG_fail
; 
29228         if (!wxPyCheckForApp()) SWIG_fail
; 
29229         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29230         result 
= (wxDirFilterListCtrl 
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
); 
29232         wxPyEndAllowThreads(__tstate
); 
29233         if (PyErr_Occurred()) SWIG_fail
; 
29235     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1); 
29242 static PyObject 
*_wrap_new_PreDirFilterListCtrl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29243     PyObject 
*resultobj
; 
29244     wxDirFilterListCtrl 
*result
; 
29245     char *kwnames
[] = { 
29249     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
; 
29251         if (!wxPyCheckForApp()) SWIG_fail
; 
29252         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29253         result 
= (wxDirFilterListCtrl 
*)new wxDirFilterListCtrl(); 
29255         wxPyEndAllowThreads(__tstate
); 
29256         if (PyErr_Occurred()) SWIG_fail
; 
29258     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1); 
29265 static PyObject 
*_wrap_DirFilterListCtrl_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29266     PyObject 
*resultobj
; 
29267     wxDirFilterListCtrl 
*arg1 
= (wxDirFilterListCtrl 
*) 0 ; 
29268     wxGenericDirCtrl 
*arg2 
= (wxGenericDirCtrl 
*) 0 ; 
29269     int arg3 
= (int) (int)-1 ; 
29270     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
29271     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
29272     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
29273     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
29274     long arg6 
= (long) 0 ; 
29278     PyObject 
* obj0 
= 0 ; 
29279     PyObject 
* obj1 
= 0 ; 
29280     PyObject 
* obj2 
= 0 ; 
29281     PyObject 
* obj3 
= 0 ; 
29282     PyObject 
* obj4 
= 0 ; 
29283     PyObject 
* obj5 
= 0 ; 
29284     char *kwnames
[] = { 
29285         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL 
 
29288     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
29289     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
, 
29290     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29291     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
, 
29292     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29294         arg3 
= (int)SWIG_As_int(obj2
);  
29295         if (PyErr_Occurred()) SWIG_fail
; 
29300             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
29306             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
29310         arg6 
= (long)SWIG_As_long(obj5
);  
29311         if (PyErr_Occurred()) SWIG_fail
; 
29314         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29315         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
); 
29317         wxPyEndAllowThreads(__tstate
); 
29318         if (PyErr_Occurred()) SWIG_fail
; 
29321         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29329 static PyObject 
*_wrap_DirFilterListCtrl_FillFilterList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29330     PyObject 
*resultobj
; 
29331     wxDirFilterListCtrl 
*arg1 
= (wxDirFilterListCtrl 
*) 0 ; 
29332     wxString 
*arg2 
= 0 ; 
29334     bool temp2 
= false ; 
29335     PyObject 
* obj0 
= 0 ; 
29336     PyObject 
* obj1 
= 0 ; 
29337     PyObject 
* obj2 
= 0 ; 
29338     char *kwnames
[] = { 
29339         (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL 
 
29342     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
29343     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
, 
29344     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29346         arg2 
= wxString_in_helper(obj1
); 
29347         if (arg2 
== NULL
) SWIG_fail
; 
29350     arg3 
= (int)SWIG_As_int(obj2
);  
29351     if (PyErr_Occurred()) SWIG_fail
; 
29353         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29354         (arg1
)->FillFilterList((wxString 
const &)*arg2
,arg3
); 
29356         wxPyEndAllowThreads(__tstate
); 
29357         if (PyErr_Occurred()) SWIG_fail
; 
29359     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29374 static PyObject 
* DirFilterListCtrl_swigregister(PyObject 
*, PyObject 
*args
) { 
29376     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
29377     SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
); 
29379     return Py_BuildValue((char *)""); 
29381 static PyObject 
*_wrap_new_PyControl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29382     PyObject 
*resultobj
; 
29383     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
29384     int arg2 
= (int) (int)-1 ; 
29385     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
29386     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
29387     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
29388     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
29389     long arg5 
= (long) 0 ; 
29390     wxValidator 
const &arg6_defvalue 
= wxDefaultValidator 
; 
29391     wxValidator 
*arg6 
= (wxValidator 
*) &arg6_defvalue 
; 
29392     wxString 
const &arg7_defvalue 
= wxPyControlNameStr 
; 
29393     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
29394     wxPyControl 
*result
; 
29397     bool temp7 
= false ; 
29398     PyObject 
* obj0 
= 0 ; 
29399     PyObject 
* obj1 
= 0 ; 
29400     PyObject 
* obj2 
= 0 ; 
29401     PyObject 
* obj3 
= 0 ; 
29402     PyObject 
* obj4 
= 0 ; 
29403     PyObject 
* obj5 
= 0 ; 
29404     PyObject 
* obj6 
= 0 ; 
29405     char *kwnames
[] = { 
29406         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
29409     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
29410     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
29411     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29413         arg2 
= (int)SWIG_As_int(obj1
);  
29414         if (PyErr_Occurred()) SWIG_fail
; 
29419             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
29425             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
29429         arg5 
= (long)SWIG_As_long(obj4
);  
29430         if (PyErr_Occurred()) SWIG_fail
; 
29433         if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
, 
29434         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
29436         if (arg6 
== NULL
) { 
29437             PyErr_SetString(PyExc_TypeError
,"null reference"); 
29443             arg7 
= wxString_in_helper(obj6
); 
29444             if (arg7 
== NULL
) SWIG_fail
; 
29449         if (!wxPyCheckForApp()) SWIG_fail
; 
29450         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29451         result 
= (wxPyControl 
*)new wxPyControl(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxValidator 
const &)*arg6
,(wxString 
const &)*arg7
); 
29453         wxPyEndAllowThreads(__tstate
); 
29454         if (PyErr_Occurred()) SWIG_fail
; 
29456     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1); 
29471 static PyObject 
*_wrap_new_PrePyControl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29472     PyObject 
*resultobj
; 
29473     wxPyControl 
*result
; 
29474     char *kwnames
[] = { 
29478     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
; 
29480         if (!wxPyCheckForApp()) SWIG_fail
; 
29481         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29482         result 
= (wxPyControl 
*)new wxPyControl(); 
29484         wxPyEndAllowThreads(__tstate
); 
29485         if (PyErr_Occurred()) SWIG_fail
; 
29487     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1); 
29494 static PyObject 
*_wrap_PyControl__setCallbackInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29495     PyObject 
*resultobj
; 
29496     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
29497     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
29498     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
29499     PyObject 
* obj0 
= 0 ; 
29500     PyObject 
* obj1 
= 0 ; 
29501     PyObject 
* obj2 
= 0 ; 
29502     char *kwnames
[] = { 
29503         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
29506     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
29507     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
29508     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29512         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29513         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
29515         wxPyEndAllowThreads(__tstate
); 
29516         if (PyErr_Occurred()) SWIG_fail
; 
29518     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29525 static PyObject 
*_wrap_PyControl_SetBestSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29526     PyObject 
*resultobj
; 
29527     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
29530     PyObject 
* obj0 
= 0 ; 
29531     PyObject 
* obj1 
= 0 ; 
29532     char *kwnames
[] = { 
29533         (char *) "self",(char *) "size", NULL 
 
29536     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
29537     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
29538     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29541         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
29544         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29545         (arg1
)->SetBestSize((wxSize 
const &)*arg2
); 
29547         wxPyEndAllowThreads(__tstate
); 
29548         if (PyErr_Occurred()) SWIG_fail
; 
29550     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29557 static PyObject 
*_wrap_PyControl_base_DoMoveWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29558     PyObject 
*resultobj
; 
29559     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
29564     PyObject 
* obj0 
= 0 ; 
29565     PyObject 
* obj1 
= 0 ; 
29566     PyObject 
* obj2 
= 0 ; 
29567     PyObject 
* obj3 
= 0 ; 
29568     PyObject 
* obj4 
= 0 ; 
29569     char *kwnames
[] = { 
29570         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
29573     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
29574     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
29575     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29576     arg2 
= (int)SWIG_As_int(obj1
);  
29577     if (PyErr_Occurred()) SWIG_fail
; 
29578     arg3 
= (int)SWIG_As_int(obj2
);  
29579     if (PyErr_Occurred()) SWIG_fail
; 
29580     arg4 
= (int)SWIG_As_int(obj3
);  
29581     if (PyErr_Occurred()) SWIG_fail
; 
29582     arg5 
= (int)SWIG_As_int(obj4
);  
29583     if (PyErr_Occurred()) SWIG_fail
; 
29585         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29586         (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
); 
29588         wxPyEndAllowThreads(__tstate
); 
29589         if (PyErr_Occurred()) SWIG_fail
; 
29591     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29598 static PyObject 
*_wrap_PyControl_base_DoSetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29599     PyObject 
*resultobj
; 
29600     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
29605     int arg6 
= (int) wxSIZE_AUTO 
; 
29606     PyObject 
* obj0 
= 0 ; 
29607     PyObject 
* obj1 
= 0 ; 
29608     PyObject 
* obj2 
= 0 ; 
29609     PyObject 
* obj3 
= 0 ; 
29610     PyObject 
* obj4 
= 0 ; 
29611     PyObject 
* obj5 
= 0 ; 
29612     char *kwnames
[] = { 
29613         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL 
 
29616     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
29617     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
29618     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29619     arg2 
= (int)SWIG_As_int(obj1
);  
29620     if (PyErr_Occurred()) SWIG_fail
; 
29621     arg3 
= (int)SWIG_As_int(obj2
);  
29622     if (PyErr_Occurred()) SWIG_fail
; 
29623     arg4 
= (int)SWIG_As_int(obj3
);  
29624     if (PyErr_Occurred()) SWIG_fail
; 
29625     arg5 
= (int)SWIG_As_int(obj4
);  
29626     if (PyErr_Occurred()) SWIG_fail
; 
29628         arg6 
= (int)SWIG_As_int(obj5
);  
29629         if (PyErr_Occurred()) SWIG_fail
; 
29632         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29633         (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
); 
29635         wxPyEndAllowThreads(__tstate
); 
29636         if (PyErr_Occurred()) SWIG_fail
; 
29638     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29645 static PyObject 
*_wrap_PyControl_base_DoSetClientSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29646     PyObject 
*resultobj
; 
29647     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
29650     PyObject 
* obj0 
= 0 ; 
29651     PyObject 
* obj1 
= 0 ; 
29652     PyObject 
* obj2 
= 0 ; 
29653     char *kwnames
[] = { 
29654         (char *) "self",(char *) "width",(char *) "height", NULL 
 
29657     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
29658     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
29659     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29660     arg2 
= (int)SWIG_As_int(obj1
);  
29661     if (PyErr_Occurred()) SWIG_fail
; 
29662     arg3 
= (int)SWIG_As_int(obj2
);  
29663     if (PyErr_Occurred()) SWIG_fail
; 
29665         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29666         (arg1
)->base_DoSetClientSize(arg2
,arg3
); 
29668         wxPyEndAllowThreads(__tstate
); 
29669         if (PyErr_Occurred()) SWIG_fail
; 
29671     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29678 static PyObject 
*_wrap_PyControl_base_DoSetVirtualSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29679     PyObject 
*resultobj
; 
29680     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
29683     PyObject 
* obj0 
= 0 ; 
29684     PyObject 
* obj1 
= 0 ; 
29685     PyObject 
* obj2 
= 0 ; 
29686     char *kwnames
[] = { 
29687         (char *) "self",(char *) "x",(char *) "y", NULL 
 
29690     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
29691     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
29692     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29693     arg2 
= (int)SWIG_As_int(obj1
);  
29694     if (PyErr_Occurred()) SWIG_fail
; 
29695     arg3 
= (int)SWIG_As_int(obj2
);  
29696     if (PyErr_Occurred()) SWIG_fail
; 
29698         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29699         (arg1
)->base_DoSetVirtualSize(arg2
,arg3
); 
29701         wxPyEndAllowThreads(__tstate
); 
29702         if (PyErr_Occurred()) SWIG_fail
; 
29704     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29711 static PyObject 
*_wrap_PyControl_base_DoGetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29712     PyObject 
*resultobj
; 
29713     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
29714     int *arg2 
= (int *) 0 ; 
29715     int *arg3 
= (int *) 0 ; 
29720     PyObject 
* obj0 
= 0 ; 
29721     char *kwnames
[] = { 
29722         (char *) "self", NULL 
 
29725     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
29726     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
29727     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
; 
29728     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
29729     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29731         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29732         ((wxPyControl 
const *)arg1
)->base_DoGetSize(arg2
,arg3
); 
29734         wxPyEndAllowThreads(__tstate
); 
29735         if (PyErr_Occurred()) SWIG_fail
; 
29737     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29738     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
29739     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
29740     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
29741     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
29748 static PyObject 
*_wrap_PyControl_base_DoGetClientSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29749     PyObject 
*resultobj
; 
29750     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
29751     int *arg2 
= (int *) 0 ; 
29752     int *arg3 
= (int *) 0 ; 
29757     PyObject 
* obj0 
= 0 ; 
29758     char *kwnames
[] = { 
29759         (char *) "self", NULL 
 
29762     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
29763     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
29764     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
; 
29765     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
29766     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29768         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29769         ((wxPyControl 
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
); 
29771         wxPyEndAllowThreads(__tstate
); 
29772         if (PyErr_Occurred()) SWIG_fail
; 
29774     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29775     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
29776     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
29777     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
29778     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
29785 static PyObject 
*_wrap_PyControl_base_DoGetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29786     PyObject 
*resultobj
; 
29787     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
29788     int *arg2 
= (int *) 0 ; 
29789     int *arg3 
= (int *) 0 ; 
29794     PyObject 
* obj0 
= 0 ; 
29795     char *kwnames
[] = { 
29796         (char *) "self", NULL 
 
29799     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
29800     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
29801     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
; 
29802     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
29803     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29805         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29806         ((wxPyControl 
const *)arg1
)->base_DoGetPosition(arg2
,arg3
); 
29808         wxPyEndAllowThreads(__tstate
); 
29809         if (PyErr_Occurred()) SWIG_fail
; 
29811     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29812     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
29813     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
29814     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
29815     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
29822 static PyObject 
*_wrap_PyControl_base_DoGetVirtualSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29823     PyObject 
*resultobj
; 
29824     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
29826     PyObject 
* obj0 
= 0 ; 
29827     char *kwnames
[] = { 
29828         (char *) "self", NULL 
 
29831     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
; 
29832     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
29833     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29835         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29836         result 
= ((wxPyControl 
const *)arg1
)->base_DoGetVirtualSize(); 
29838         wxPyEndAllowThreads(__tstate
); 
29839         if (PyErr_Occurred()) SWIG_fail
; 
29842         wxSize 
* resultptr
; 
29843         resultptr 
= new wxSize((wxSize 
&) result
); 
29844         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
29852 static PyObject 
*_wrap_PyControl_base_DoGetBestSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29853     PyObject 
*resultobj
; 
29854     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
29856     PyObject 
* obj0 
= 0 ; 
29857     char *kwnames
[] = { 
29858         (char *) "self", NULL 
 
29861     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
; 
29862     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
29863     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29865         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29866         result 
= ((wxPyControl 
const *)arg1
)->base_DoGetBestSize(); 
29868         wxPyEndAllowThreads(__tstate
); 
29869         if (PyErr_Occurred()) SWIG_fail
; 
29872         wxSize 
* resultptr
; 
29873         resultptr 
= new wxSize((wxSize 
&) result
); 
29874         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
29882 static PyObject 
*_wrap_PyControl_base_InitDialog(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29883     PyObject 
*resultobj
; 
29884     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
29885     PyObject 
* obj0 
= 0 ; 
29886     char *kwnames
[] = { 
29887         (char *) "self", NULL 
 
29890     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
; 
29891     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
29892     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29894         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29895         (arg1
)->base_InitDialog(); 
29897         wxPyEndAllowThreads(__tstate
); 
29898         if (PyErr_Occurred()) SWIG_fail
; 
29900     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29907 static PyObject 
*_wrap_PyControl_base_TransferDataToWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29908     PyObject 
*resultobj
; 
29909     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
29911     PyObject 
* obj0 
= 0 ; 
29912     char *kwnames
[] = { 
29913         (char *) "self", NULL 
 
29916     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
; 
29917     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
29918     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29920         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29921         result 
= (bool)(arg1
)->base_TransferDataToWindow(); 
29923         wxPyEndAllowThreads(__tstate
); 
29924         if (PyErr_Occurred()) SWIG_fail
; 
29927         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29935 static PyObject 
*_wrap_PyControl_base_TransferDataFromWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29936     PyObject 
*resultobj
; 
29937     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
29939     PyObject 
* obj0 
= 0 ; 
29940     char *kwnames
[] = { 
29941         (char *) "self", NULL 
 
29944     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
; 
29945     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
29946     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29948         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29949         result 
= (bool)(arg1
)->base_TransferDataFromWindow(); 
29951         wxPyEndAllowThreads(__tstate
); 
29952         if (PyErr_Occurred()) SWIG_fail
; 
29955         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29963 static PyObject 
*_wrap_PyControl_base_Validate(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29964     PyObject 
*resultobj
; 
29965     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
29967     PyObject 
* obj0 
= 0 ; 
29968     char *kwnames
[] = { 
29969         (char *) "self", NULL 
 
29972     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
; 
29973     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
29974     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29976         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29977         result 
= (bool)(arg1
)->base_Validate(); 
29979         wxPyEndAllowThreads(__tstate
); 
29980         if (PyErr_Occurred()) SWIG_fail
; 
29983         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29991 static PyObject 
*_wrap_PyControl_base_AcceptsFocus(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29992     PyObject 
*resultobj
; 
29993     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
29995     PyObject 
* obj0 
= 0 ; 
29996     char *kwnames
[] = { 
29997         (char *) "self", NULL 
 
30000     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
; 
30001     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
30002     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30004         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30005         result 
= (bool)((wxPyControl 
const *)arg1
)->base_AcceptsFocus(); 
30007         wxPyEndAllowThreads(__tstate
); 
30008         if (PyErr_Occurred()) SWIG_fail
; 
30011         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
30019 static PyObject 
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30020     PyObject 
*resultobj
; 
30021     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
30023     PyObject 
* obj0 
= 0 ; 
30024     char *kwnames
[] = { 
30025         (char *) "self", NULL 
 
30028     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
; 
30029     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
30030     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30032         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30033         result 
= (bool)((wxPyControl 
const *)arg1
)->base_AcceptsFocusFromKeyboard(); 
30035         wxPyEndAllowThreads(__tstate
); 
30036         if (PyErr_Occurred()) SWIG_fail
; 
30039         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
30047 static PyObject 
*_wrap_PyControl_base_GetMaxSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30048     PyObject 
*resultobj
; 
30049     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
30051     PyObject 
* obj0 
= 0 ; 
30052     char *kwnames
[] = { 
30053         (char *) "self", NULL 
 
30056     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
; 
30057     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
30058     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30060         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30061         result 
= ((wxPyControl 
const *)arg1
)->base_GetMaxSize(); 
30063         wxPyEndAllowThreads(__tstate
); 
30064         if (PyErr_Occurred()) SWIG_fail
; 
30067         wxSize 
* resultptr
; 
30068         resultptr 
= new wxSize((wxSize 
&) result
); 
30069         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
30077 static PyObject 
*_wrap_PyControl_base_AddChild(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30078     PyObject 
*resultobj
; 
30079     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
30080     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
30081     PyObject 
* obj0 
= 0 ; 
30082     PyObject 
* obj1 
= 0 ; 
30083     char *kwnames
[] = { 
30084         (char *) "self",(char *) "child", NULL 
 
30087     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
; 
30088     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
30089     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30090     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
30091     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30093         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30094         (arg1
)->base_AddChild(arg2
); 
30096         wxPyEndAllowThreads(__tstate
); 
30097         if (PyErr_Occurred()) SWIG_fail
; 
30099     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30106 static PyObject 
*_wrap_PyControl_base_RemoveChild(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30107     PyObject 
*resultobj
; 
30108     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
30109     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
30110     PyObject 
* obj0 
= 0 ; 
30111     PyObject 
* obj1 
= 0 ; 
30112     char *kwnames
[] = { 
30113         (char *) "self",(char *) "child", NULL 
 
30116     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
; 
30117     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
30118     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30119     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
30120     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30122         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30123         (arg1
)->base_RemoveChild(arg2
); 
30125         wxPyEndAllowThreads(__tstate
); 
30126         if (PyErr_Occurred()) SWIG_fail
; 
30128     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30135 static PyObject 
*_wrap_PyControl_base_ShouldInheritColours(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30136     PyObject 
*resultobj
; 
30137     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
30139     PyObject 
* obj0 
= 0 ; 
30140     char *kwnames
[] = { 
30141         (char *) "self", NULL 
 
30144     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
; 
30145     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
30146     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30148         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30149         result 
= (bool)((wxPyControl 
const *)arg1
)->base_ShouldInheritColours(); 
30151         wxPyEndAllowThreads(__tstate
); 
30152         if (PyErr_Occurred()) SWIG_fail
; 
30155         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
30163 static PyObject 
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30164     PyObject 
*resultobj
; 
30165     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
30166     wxColour 
*arg2 
= 0 ; 
30168     PyObject 
* obj0 
= 0 ; 
30169     PyObject 
* obj1 
= 0 ; 
30170     char *kwnames
[] = { 
30171         (char *) "self",(char *) "c", NULL 
 
30174     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
; 
30175     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
30176     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30179         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
30182         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30183         (arg1
)->base_ApplyParentThemeBackground((wxColour 
const &)*arg2
); 
30185         wxPyEndAllowThreads(__tstate
); 
30186         if (PyErr_Occurred()) SWIG_fail
; 
30188     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30195 static PyObject 
*_wrap_PyControl_base_GetDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30196     PyObject 
*resultobj
; 
30197     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
30198     wxVisualAttributes result
; 
30199     PyObject 
* obj0 
= 0 ; 
30200     char *kwnames
[] = { 
30201         (char *) "self", NULL 
 
30204     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
30205     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
30206     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30208         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30209         result 
= (arg1
)->base_GetDefaultAttributes(); 
30211         wxPyEndAllowThreads(__tstate
); 
30212         if (PyErr_Occurred()) SWIG_fail
; 
30215         wxVisualAttributes 
* resultptr
; 
30216         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&) result
); 
30217         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
30225 static PyObject 
* PyControl_swigregister(PyObject 
*, PyObject 
*args
) { 
30227     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
30228     SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
); 
30230     return Py_BuildValue((char *)""); 
30232 static PyObject 
*_wrap_new_HelpEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30233     PyObject 
*resultobj
; 
30234     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
30235     int arg2 
= (int) 0 ; 
30236     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
30237     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
30238     wxHelpEvent 
*result
; 
30240     PyObject 
* obj0 
= 0 ; 
30241     PyObject 
* obj1 
= 0 ; 
30242     PyObject 
* obj2 
= 0 ; 
30243     char *kwnames
[] = { 
30244         (char *) "type",(char *) "winid",(char *) "pt", NULL 
 
30247     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
30249         arg1 
= (wxEventType
)SWIG_As_int(obj0
);  
30250         if (PyErr_Occurred()) SWIG_fail
; 
30253         arg2 
= (int)SWIG_As_int(obj1
);  
30254         if (PyErr_Occurred()) SWIG_fail
; 
30259             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
30263         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30264         result 
= (wxHelpEvent 
*)new wxHelpEvent(arg1
,arg2
,(wxPoint 
const &)*arg3
); 
30266         wxPyEndAllowThreads(__tstate
); 
30267         if (PyErr_Occurred()) SWIG_fail
; 
30269     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1); 
30276 static PyObject 
*_wrap_HelpEvent_GetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30277     PyObject 
*resultobj
; 
30278     wxHelpEvent 
*arg1 
= (wxHelpEvent 
*) 0 ; 
30280     PyObject 
* obj0 
= 0 ; 
30281     char *kwnames
[] = { 
30282         (char *) "self", NULL 
 
30285     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
; 
30286     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
, 
30287     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30289         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30290         result 
= ((wxHelpEvent 
const *)arg1
)->GetPosition(); 
30292         wxPyEndAllowThreads(__tstate
); 
30293         if (PyErr_Occurred()) SWIG_fail
; 
30296         wxPoint 
* resultptr
; 
30297         resultptr 
= new wxPoint((wxPoint 
&) result
); 
30298         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
30306 static PyObject 
*_wrap_HelpEvent_SetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30307     PyObject 
*resultobj
; 
30308     wxHelpEvent 
*arg1 
= (wxHelpEvent 
*) 0 ; 
30309     wxPoint 
*arg2 
= 0 ; 
30311     PyObject 
* obj0 
= 0 ; 
30312     PyObject 
* obj1 
= 0 ; 
30313     char *kwnames
[] = { 
30314         (char *) "self",(char *) "pos", NULL 
 
30317     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
30318     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
, 
30319     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30322         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
30325         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30326         (arg1
)->SetPosition((wxPoint 
const &)*arg2
); 
30328         wxPyEndAllowThreads(__tstate
); 
30329         if (PyErr_Occurred()) SWIG_fail
; 
30331     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30338 static PyObject 
*_wrap_HelpEvent_GetLink(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30339     PyObject 
*resultobj
; 
30340     wxHelpEvent 
*arg1 
= (wxHelpEvent 
*) 0 ; 
30342     PyObject 
* obj0 
= 0 ; 
30343     char *kwnames
[] = { 
30344         (char *) "self", NULL 
 
30347     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
; 
30348     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
, 
30349     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30351         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30353             wxString 
const &_result_ref 
= ((wxHelpEvent 
const *)arg1
)->GetLink(); 
30354             result 
= (wxString 
*) &_result_ref
; 
30357         wxPyEndAllowThreads(__tstate
); 
30358         if (PyErr_Occurred()) SWIG_fail
; 
30362         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
30364         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
30373 static PyObject 
*_wrap_HelpEvent_SetLink(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30374     PyObject 
*resultobj
; 
30375     wxHelpEvent 
*arg1 
= (wxHelpEvent 
*) 0 ; 
30376     wxString 
*arg2 
= 0 ; 
30377     bool temp2 
= false ; 
30378     PyObject 
* obj0 
= 0 ; 
30379     PyObject 
* obj1 
= 0 ; 
30380     char *kwnames
[] = { 
30381         (char *) "self",(char *) "link", NULL 
 
30384     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
; 
30385     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
, 
30386     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30388         arg2 
= wxString_in_helper(obj1
); 
30389         if (arg2 
== NULL
) SWIG_fail
; 
30393         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30394         (arg1
)->SetLink((wxString 
const &)*arg2
); 
30396         wxPyEndAllowThreads(__tstate
); 
30397         if (PyErr_Occurred()) SWIG_fail
; 
30399     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30414 static PyObject 
*_wrap_HelpEvent_GetTarget(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30415     PyObject 
*resultobj
; 
30416     wxHelpEvent 
*arg1 
= (wxHelpEvent 
*) 0 ; 
30418     PyObject 
* obj0 
= 0 ; 
30419     char *kwnames
[] = { 
30420         (char *) "self", NULL 
 
30423     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
; 
30424     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
, 
30425     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30427         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30429             wxString 
const &_result_ref 
= ((wxHelpEvent 
const *)arg1
)->GetTarget(); 
30430             result 
= (wxString 
*) &_result_ref
; 
30433         wxPyEndAllowThreads(__tstate
); 
30434         if (PyErr_Occurred()) SWIG_fail
; 
30438         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
30440         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
30449 static PyObject 
*_wrap_HelpEvent_SetTarget(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30450     PyObject 
*resultobj
; 
30451     wxHelpEvent 
*arg1 
= (wxHelpEvent 
*) 0 ; 
30452     wxString 
*arg2 
= 0 ; 
30453     bool temp2 
= false ; 
30454     PyObject 
* obj0 
= 0 ; 
30455     PyObject 
* obj1 
= 0 ; 
30456     char *kwnames
[] = { 
30457         (char *) "self",(char *) "target", NULL 
 
30460     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
; 
30461     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
, 
30462     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30464         arg2 
= wxString_in_helper(obj1
); 
30465         if (arg2 
== NULL
) SWIG_fail
; 
30469         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30470         (arg1
)->SetTarget((wxString 
const &)*arg2
); 
30472         wxPyEndAllowThreads(__tstate
); 
30473         if (PyErr_Occurred()) SWIG_fail
; 
30475     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30490 static PyObject 
* HelpEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
30492     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
30493     SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
); 
30495     return Py_BuildValue((char *)""); 
30497 static PyObject 
*_wrap_new_ContextHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30498     PyObject 
*resultobj
; 
30499     wxWindow 
*arg1 
= (wxWindow 
*) NULL 
; 
30500     bool arg2 
= (bool) true ; 
30501     wxContextHelp 
*result
; 
30502     PyObject 
* obj0 
= 0 ; 
30503     PyObject 
* obj1 
= 0 ; 
30504     char *kwnames
[] = { 
30505         (char *) "window",(char *) "doNow", NULL 
 
30508     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
; 
30510         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
30511         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30514         arg2 
= (bool)SWIG_As_bool(obj1
);  
30515         if (PyErr_Occurred()) SWIG_fail
; 
30518         if (!wxPyCheckForApp()) SWIG_fail
; 
30519         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30520         result 
= (wxContextHelp 
*)new wxContextHelp(arg1
,arg2
); 
30522         wxPyEndAllowThreads(__tstate
); 
30523         if (PyErr_Occurred()) SWIG_fail
; 
30525     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1); 
30532 static PyObject 
*_wrap_delete_ContextHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30533     PyObject 
*resultobj
; 
30534     wxContextHelp 
*arg1 
= (wxContextHelp 
*) 0 ; 
30535     PyObject 
* obj0 
= 0 ; 
30536     char *kwnames
[] = { 
30537         (char *) "self", NULL 
 
30540     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
; 
30541     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
, 
30542     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30544         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30547         wxPyEndAllowThreads(__tstate
); 
30548         if (PyErr_Occurred()) SWIG_fail
; 
30550     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30557 static PyObject 
*_wrap_ContextHelp_BeginContextHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30558     PyObject 
*resultobj
; 
30559     wxContextHelp 
*arg1 
= (wxContextHelp 
*) 0 ; 
30560     wxWindow 
*arg2 
= (wxWindow 
*) NULL 
; 
30562     PyObject 
* obj0 
= 0 ; 
30563     PyObject 
* obj1 
= 0 ; 
30564     char *kwnames
[] = { 
30565         (char *) "self",(char *) "window", NULL 
 
30568     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
; 
30569     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
, 
30570     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30572         if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
30573         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30576         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30577         result 
= (bool)(arg1
)->BeginContextHelp(arg2
); 
30579         wxPyEndAllowThreads(__tstate
); 
30580         if (PyErr_Occurred()) SWIG_fail
; 
30583         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
30591 static PyObject 
*_wrap_ContextHelp_EndContextHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30592     PyObject 
*resultobj
; 
30593     wxContextHelp 
*arg1 
= (wxContextHelp 
*) 0 ; 
30595     PyObject 
* obj0 
= 0 ; 
30596     char *kwnames
[] = { 
30597         (char *) "self", NULL 
 
30600     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
; 
30601     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
, 
30602     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30604         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30605         result 
= (bool)(arg1
)->EndContextHelp(); 
30607         wxPyEndAllowThreads(__tstate
); 
30608         if (PyErr_Occurred()) SWIG_fail
; 
30611         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
30619 static PyObject 
* ContextHelp_swigregister(PyObject 
*, PyObject 
*args
) { 
30621     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
30622     SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
); 
30624     return Py_BuildValue((char *)""); 
30626 static PyObject 
*_wrap_new_ContextHelpButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30627     PyObject 
*resultobj
; 
30628     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
30629     int arg2 
= (int) wxID_CONTEXT_HELP 
; 
30630     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
30631     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
30632     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
30633     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
30634     long arg5 
= (long) wxBU_AUTODRAW 
; 
30635     wxContextHelpButton 
*result
; 
30638     PyObject 
* obj0 
= 0 ; 
30639     PyObject 
* obj1 
= 0 ; 
30640     PyObject 
* obj2 
= 0 ; 
30641     PyObject 
* obj3 
= 0 ; 
30642     PyObject 
* obj4 
= 0 ; 
30643     char *kwnames
[] = { 
30644         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL 
 
30647     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
30648     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
30649     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30651         arg2 
= (int)SWIG_As_int(obj1
);  
30652         if (PyErr_Occurred()) SWIG_fail
; 
30657             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
30663             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
30667         arg5 
= (long)SWIG_As_long(obj4
);  
30668         if (PyErr_Occurred()) SWIG_fail
; 
30671         if (!wxPyCheckForApp()) SWIG_fail
; 
30672         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30673         result 
= (wxContextHelpButton 
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
); 
30675         wxPyEndAllowThreads(__tstate
); 
30676         if (PyErr_Occurred()) SWIG_fail
; 
30678     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1); 
30685 static PyObject 
* ContextHelpButton_swigregister(PyObject 
*, PyObject 
*args
) { 
30687     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
30688     SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
); 
30690     return Py_BuildValue((char *)""); 
30692 static PyObject 
*_wrap_HelpProvider_Set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30693     PyObject 
*resultobj
; 
30694     wxHelpProvider 
*arg1 
= (wxHelpProvider 
*) 0 ; 
30695     wxHelpProvider 
*result
; 
30696     PyObject 
* obj0 
= 0 ; 
30697     char *kwnames
[] = { 
30698         (char *) "helpProvider", NULL 
 
30701     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
; 
30702     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
, 
30703     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30705         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30706         result 
= (wxHelpProvider 
*)wxHelpProvider::Set(arg1
); 
30708         wxPyEndAllowThreads(__tstate
); 
30709         if (PyErr_Occurred()) SWIG_fail
; 
30711     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0); 
30718 static PyObject 
*_wrap_HelpProvider_Get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30719     PyObject 
*resultobj
; 
30720     wxHelpProvider 
*result
; 
30721     char *kwnames
[] = { 
30725     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
; 
30727         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30728         result 
= (wxHelpProvider 
*)wxHelpProvider::Get(); 
30730         wxPyEndAllowThreads(__tstate
); 
30731         if (PyErr_Occurred()) SWIG_fail
; 
30733     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0); 
30740 static PyObject 
*_wrap_HelpProvider_GetHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30741     PyObject 
*resultobj
; 
30742     wxHelpProvider 
*arg1 
= (wxHelpProvider 
*) 0 ; 
30743     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
30745     PyObject 
* obj0 
= 0 ; 
30746     PyObject 
* obj1 
= 0 ; 
30747     char *kwnames
[] = { 
30748         (char *) "self",(char *) "window", NULL 
 
30751     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
; 
30752     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
, 
30753     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30754     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
30755     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30757         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30758         result 
= (arg1
)->GetHelp((wxWindow 
const *)arg2
); 
30760         wxPyEndAllowThreads(__tstate
); 
30761         if (PyErr_Occurred()) SWIG_fail
; 
30765         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
30767         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
30776 static PyObject 
*_wrap_HelpProvider_ShowHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30777     PyObject 
*resultobj
; 
30778     wxHelpProvider 
*arg1 
= (wxHelpProvider 
*) 0 ; 
30779     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
30781     PyObject 
* obj0 
= 0 ; 
30782     PyObject 
* obj1 
= 0 ; 
30783     char *kwnames
[] = { 
30784         (char *) "self",(char *) "window", NULL 
 
30787     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
; 
30788     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
, 
30789     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30790     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
30791     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30793         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30794         result 
= (bool)(arg1
)->ShowHelp(arg2
); 
30796         wxPyEndAllowThreads(__tstate
); 
30797         if (PyErr_Occurred()) SWIG_fail
; 
30800         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
30808 static PyObject 
*_wrap_HelpProvider_AddHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30809     PyObject 
*resultobj
; 
30810     wxHelpProvider 
*arg1 
= (wxHelpProvider 
*) 0 ; 
30811     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
30812     wxString 
*arg3 
= 0 ; 
30813     bool temp3 
= false ; 
30814     PyObject 
* obj0 
= 0 ; 
30815     PyObject 
* obj1 
= 0 ; 
30816     PyObject 
* obj2 
= 0 ; 
30817     char *kwnames
[] = { 
30818         (char *) "self",(char *) "window",(char *) "text", NULL 
 
30821     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
30822     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
, 
30823     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30824     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
30825     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30827         arg3 
= wxString_in_helper(obj2
); 
30828         if (arg3 
== NULL
) SWIG_fail
; 
30832         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30833         (arg1
)->AddHelp(arg2
,(wxString 
const &)*arg3
); 
30835         wxPyEndAllowThreads(__tstate
); 
30836         if (PyErr_Occurred()) SWIG_fail
; 
30838     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30853 static PyObject 
*_wrap_HelpProvider_AddHelpById(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30854     PyObject 
*resultobj
; 
30855     wxHelpProvider 
*arg1 
= (wxHelpProvider 
*) 0 ; 
30857     wxString 
*arg3 
= 0 ; 
30858     bool temp3 
= false ; 
30859     PyObject 
* obj0 
= 0 ; 
30860     PyObject 
* obj1 
= 0 ; 
30861     PyObject 
* obj2 
= 0 ; 
30862     char *kwnames
[] = { 
30863         (char *) "self",(char *) "id",(char *) "text", NULL 
 
30866     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
30867     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
, 
30868     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30869     arg2 
= (int)SWIG_As_int(obj1
);  
30870     if (PyErr_Occurred()) SWIG_fail
; 
30872         arg3 
= wxString_in_helper(obj2
); 
30873         if (arg3 
== NULL
) SWIG_fail
; 
30877         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30878         (arg1
)->AddHelp(arg2
,(wxString 
const &)*arg3
); 
30880         wxPyEndAllowThreads(__tstate
); 
30881         if (PyErr_Occurred()) SWIG_fail
; 
30883     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30898 static PyObject 
*_wrap_HelpProvider_RemoveHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30899     PyObject 
*resultobj
; 
30900     wxHelpProvider 
*arg1 
= (wxHelpProvider 
*) 0 ; 
30901     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
30902     PyObject 
* obj0 
= 0 ; 
30903     PyObject 
* obj1 
= 0 ; 
30904     char *kwnames
[] = { 
30905         (char *) "self",(char *) "window", NULL 
 
30908     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
; 
30909     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
, 
30910     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30911     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
30912     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30914         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30915         (arg1
)->RemoveHelp(arg2
); 
30917         wxPyEndAllowThreads(__tstate
); 
30918         if (PyErr_Occurred()) SWIG_fail
; 
30920     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30927 static PyObject 
*_wrap_HelpProvider_Destroy(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30928     PyObject 
*resultobj
; 
30929     wxHelpProvider 
*arg1 
= (wxHelpProvider 
*) 0 ; 
30930     PyObject 
* obj0 
= 0 ; 
30931     char *kwnames
[] = { 
30932         (char *) "self", NULL 
 
30935     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
; 
30936     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
, 
30937     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30939         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30940         wxHelpProvider_Destroy(arg1
); 
30942         wxPyEndAllowThreads(__tstate
); 
30943         if (PyErr_Occurred()) SWIG_fail
; 
30945     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30952 static PyObject 
* HelpProvider_swigregister(PyObject 
*, PyObject 
*args
) { 
30954     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
30955     SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
); 
30957     return Py_BuildValue((char *)""); 
30959 static PyObject 
*_wrap_new_SimpleHelpProvider(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30960     PyObject 
*resultobj
; 
30961     wxSimpleHelpProvider 
*result
; 
30962     char *kwnames
[] = { 
30966     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
; 
30968         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30969         result 
= (wxSimpleHelpProvider 
*)new wxSimpleHelpProvider(); 
30971         wxPyEndAllowThreads(__tstate
); 
30972         if (PyErr_Occurred()) SWIG_fail
; 
30974     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1); 
30981 static PyObject 
* SimpleHelpProvider_swigregister(PyObject 
*, PyObject 
*args
) { 
30983     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
30984     SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
); 
30986     return Py_BuildValue((char *)""); 
30988 static PyObject 
*_wrap_new_DragImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30989     PyObject 
*resultobj
; 
30990     wxBitmap 
*arg1 
= 0 ; 
30991     wxCursor 
const &arg2_defvalue 
= wxNullCursor 
; 
30992     wxCursor 
*arg2 
= (wxCursor 
*) &arg2_defvalue 
; 
30993     wxGenericDragImage 
*result
; 
30994     PyObject 
* obj0 
= 0 ; 
30995     PyObject 
* obj1 
= 0 ; 
30996     char *kwnames
[] = { 
30997         (char *) "image",(char *) "cursor", NULL 
 
31000     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
; 
31001     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
31002     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
31004     if (arg1 
== NULL
) { 
31005         PyErr_SetString(PyExc_TypeError
,"null reference"); 
31009         if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
, 
31010         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
31012         if (arg2 
== NULL
) { 
31013             PyErr_SetString(PyExc_TypeError
,"null reference"); 
31018         if (!wxPyCheckForApp()) SWIG_fail
; 
31019         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31020         result 
= (wxGenericDragImage 
*)new wxGenericDragImage((wxBitmap 
const &)*arg1
,(wxCursor 
const &)*arg2
); 
31022         wxPyEndAllowThreads(__tstate
); 
31023         if (PyErr_Occurred()) SWIG_fail
; 
31025     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1); 
31032 static PyObject 
*_wrap_new_DragIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31033     PyObject 
*resultobj
; 
31035     wxCursor 
const &arg2_defvalue 
= wxNullCursor 
; 
31036     wxCursor 
*arg2 
= (wxCursor 
*) &arg2_defvalue 
; 
31037     wxGenericDragImage 
*result
; 
31038     PyObject 
* obj0 
= 0 ; 
31039     PyObject 
* obj1 
= 0 ; 
31040     char *kwnames
[] = { 
31041         (char *) "image",(char *) "cursor", NULL 
 
31044     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
; 
31045     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
31046     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
31048     if (arg1 
== NULL
) { 
31049         PyErr_SetString(PyExc_TypeError
,"null reference"); 
31053         if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
, 
31054         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
31056         if (arg2 
== NULL
) { 
31057             PyErr_SetString(PyExc_TypeError
,"null reference"); 
31062         if (!wxPyCheckForApp()) SWIG_fail
; 
31063         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31064         result 
= (wxGenericDragImage 
*)new wxGenericDragImage((wxIcon 
const &)*arg1
,(wxCursor 
const &)*arg2
); 
31066         wxPyEndAllowThreads(__tstate
); 
31067         if (PyErr_Occurred()) SWIG_fail
; 
31069     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1); 
31076 static PyObject 
*_wrap_new_DragString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31077     PyObject 
*resultobj
; 
31078     wxString 
*arg1 
= 0 ; 
31079     wxCursor 
const &arg2_defvalue 
= wxNullCursor 
; 
31080     wxCursor 
*arg2 
= (wxCursor 
*) &arg2_defvalue 
; 
31081     wxGenericDragImage 
*result
; 
31082     bool temp1 
= false ; 
31083     PyObject 
* obj0 
= 0 ; 
31084     PyObject 
* obj1 
= 0 ; 
31085     char *kwnames
[] = { 
31086         (char *) "str",(char *) "cursor", NULL 
 
31089     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
; 
31091         arg1 
= wxString_in_helper(obj0
); 
31092         if (arg1 
== NULL
) SWIG_fail
; 
31096         if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
, 
31097         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
31099         if (arg2 
== NULL
) { 
31100             PyErr_SetString(PyExc_TypeError
,"null reference"); 
31105         if (!wxPyCheckForApp()) SWIG_fail
; 
31106         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31107         result 
= (wxGenericDragImage 
*)new wxGenericDragImage((wxString 
const &)*arg1
,(wxCursor 
const &)*arg2
); 
31109         wxPyEndAllowThreads(__tstate
); 
31110         if (PyErr_Occurred()) SWIG_fail
; 
31112     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1); 
31127 static PyObject 
*_wrap_new_DragTreeItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31128     PyObject 
*resultobj
; 
31129     wxPyTreeCtrl 
*arg1 
= 0 ; 
31130     wxTreeItemId 
*arg2 
= 0 ; 
31131     wxGenericDragImage 
*result
; 
31132     PyObject 
* obj0 
= 0 ; 
31133     PyObject 
* obj1 
= 0 ; 
31134     char *kwnames
[] = { 
31135         (char *) "treeCtrl",(char *) "id", NULL 
 
31138     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
31139     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
31140     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
31142     if (arg1 
== NULL
) { 
31143         PyErr_SetString(PyExc_TypeError
,"null reference"); 
31146     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
31147     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
31149     if (arg2 
== NULL
) { 
31150         PyErr_SetString(PyExc_TypeError
,"null reference"); 
31154         if (!wxPyCheckForApp()) SWIG_fail
; 
31155         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31156         result 
= (wxGenericDragImage 
*)new wxGenericDragImage((wxPyTreeCtrl 
const &)*arg1
,*arg2
); 
31158         wxPyEndAllowThreads(__tstate
); 
31159         if (PyErr_Occurred()) SWIG_fail
; 
31161     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1); 
31168 static PyObject 
*_wrap_new_DragListItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31169     PyObject 
*resultobj
; 
31170     wxPyListCtrl 
*arg1 
= 0 ; 
31172     wxGenericDragImage 
*result
; 
31173     PyObject 
* obj0 
= 0 ; 
31174     PyObject 
* obj1 
= 0 ; 
31175     char *kwnames
[] = { 
31176         (char *) "listCtrl",(char *) "id", NULL 
 
31179     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
31180     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
31181     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
31183     if (arg1 
== NULL
) { 
31184         PyErr_SetString(PyExc_TypeError
,"null reference"); 
31187     arg2 
= (long)SWIG_As_long(obj1
);  
31188     if (PyErr_Occurred()) SWIG_fail
; 
31190         if (!wxPyCheckForApp()) SWIG_fail
; 
31191         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31192         result 
= (wxGenericDragImage 
*)new wxGenericDragImage((wxPyListCtrl 
const &)*arg1
,arg2
); 
31194         wxPyEndAllowThreads(__tstate
); 
31195         if (PyErr_Occurred()) SWIG_fail
; 
31197     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1); 
31204 static PyObject 
*_wrap_delete_DragImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31205     PyObject 
*resultobj
; 
31206     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
31207     PyObject 
* obj0 
= 0 ; 
31208     char *kwnames
[] = { 
31209         (char *) "self", NULL 
 
31212     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
; 
31213     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
, 
31214     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
31216         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31219         wxPyEndAllowThreads(__tstate
); 
31220         if (PyErr_Occurred()) SWIG_fail
; 
31222     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
31229 static PyObject 
*_wrap_DragImage_SetBackingBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31230     PyObject 
*resultobj
; 
31231     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
31232     wxBitmap 
*arg2 
= (wxBitmap 
*) 0 ; 
31233     PyObject 
* obj0 
= 0 ; 
31234     PyObject 
* obj1 
= 0 ; 
31235     char *kwnames
[] = { 
31236         (char *) "self",(char *) "bitmap", NULL 
 
31239     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
31240     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
, 
31241     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
31242     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
31243     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
31245         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31246         (arg1
)->SetBackingBitmap(arg2
); 
31248         wxPyEndAllowThreads(__tstate
); 
31249         if (PyErr_Occurred()) SWIG_fail
; 
31251     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
31258 static PyObject 
*_wrap_DragImage_BeginDrag(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31259     PyObject 
*resultobj
; 
31260     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
31261     wxPoint 
*arg2 
= 0 ; 
31262     wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
31263     bool arg4 
= (bool) false ; 
31264     wxRect 
*arg5 
= (wxRect 
*) NULL 
; 
31267     PyObject 
* obj0 
= 0 ; 
31268     PyObject 
* obj1 
= 0 ; 
31269     PyObject 
* obj2 
= 0 ; 
31270     PyObject 
* obj3 
= 0 ; 
31271     PyObject 
* obj4 
= 0 ; 
31272     char *kwnames
[] = { 
31273         (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL 
 
31276     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
31277     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
, 
31278     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
31281         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
31283     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
, 
31284     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
31286         arg4 
= (bool)SWIG_As_bool(obj3
);  
31287         if (PyErr_Occurred()) SWIG_fail
; 
31290         if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
, 
31291         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
31294         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31295         result 
= (bool)(arg1
)->BeginDrag((wxPoint 
const &)*arg2
,arg3
,arg4
,arg5
); 
31297         wxPyEndAllowThreads(__tstate
); 
31298         if (PyErr_Occurred()) SWIG_fail
; 
31301         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
31309 static PyObject 
*_wrap_DragImage_BeginDragBounded(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31310     PyObject 
*resultobj
; 
31311     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
31312     wxPoint 
*arg2 
= 0 ; 
31313     wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
31314     wxWindow 
*arg4 
= (wxWindow 
*) 0 ; 
31317     PyObject 
* obj0 
= 0 ; 
31318     PyObject 
* obj1 
= 0 ; 
31319     PyObject 
* obj2 
= 0 ; 
31320     PyObject 
* obj3 
= 0 ; 
31321     char *kwnames
[] = { 
31322         (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL 
 
31325     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
31326     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
, 
31327     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
31330         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
31332     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
, 
31333     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
31334     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
, 
31335     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
31337         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31338         result 
= (bool)(arg1
)->BeginDrag((wxPoint 
const &)*arg2
,arg3
,arg4
); 
31340         wxPyEndAllowThreads(__tstate
); 
31341         if (PyErr_Occurred()) SWIG_fail
; 
31344         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
31352 static PyObject 
*_wrap_DragImage_EndDrag(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31353     PyObject 
*resultobj
; 
31354     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
31356     PyObject 
* obj0 
= 0 ; 
31357     char *kwnames
[] = { 
31358         (char *) "self", NULL 
 
31361     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
; 
31362     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
, 
31363     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
31365         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31366         result 
= (bool)(arg1
)->EndDrag(); 
31368         wxPyEndAllowThreads(__tstate
); 
31369         if (PyErr_Occurred()) SWIG_fail
; 
31372         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
31380 static PyObject 
*_wrap_DragImage_Move(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31381     PyObject 
*resultobj
; 
31382     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
31383     wxPoint 
*arg2 
= 0 ; 
31386     PyObject 
* obj0 
= 0 ; 
31387     PyObject 
* obj1 
= 0 ; 
31388     char *kwnames
[] = { 
31389         (char *) "self",(char *) "pt", NULL 
 
31392     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
; 
31393     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
, 
31394     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
31397         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
31400         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31401         result 
= (bool)(arg1
)->Move((wxPoint 
const &)*arg2
); 
31403         wxPyEndAllowThreads(__tstate
); 
31404         if (PyErr_Occurred()) SWIG_fail
; 
31407         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
31415 static PyObject 
*_wrap_DragImage_Show(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31416     PyObject 
*resultobj
; 
31417     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
31419     PyObject 
* obj0 
= 0 ; 
31420     char *kwnames
[] = { 
31421         (char *) "self", NULL 
 
31424     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
; 
31425     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
, 
31426     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
31428         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31429         result 
= (bool)(arg1
)->Show(); 
31431         wxPyEndAllowThreads(__tstate
); 
31432         if (PyErr_Occurred()) SWIG_fail
; 
31435         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
31443 static PyObject 
*_wrap_DragImage_Hide(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31444     PyObject 
*resultobj
; 
31445     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
31447     PyObject 
* obj0 
= 0 ; 
31448     char *kwnames
[] = { 
31449         (char *) "self", NULL 
 
31452     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
; 
31453     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
, 
31454     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
31456         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31457         result 
= (bool)(arg1
)->Hide(); 
31459         wxPyEndAllowThreads(__tstate
); 
31460         if (PyErr_Occurred()) SWIG_fail
; 
31463         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
31471 static PyObject 
*_wrap_DragImage_GetImageRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31472     PyObject 
*resultobj
; 
31473     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
31474     wxPoint 
*arg2 
= 0 ; 
31477     PyObject 
* obj0 
= 0 ; 
31478     PyObject 
* obj1 
= 0 ; 
31479     char *kwnames
[] = { 
31480         (char *) "self",(char *) "pos", NULL 
 
31483     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
31484     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
, 
31485     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
31488         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
31491         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31492         result 
= ((wxGenericDragImage 
const *)arg1
)->GetImageRect((wxPoint 
const &)*arg2
); 
31494         wxPyEndAllowThreads(__tstate
); 
31495         if (PyErr_Occurred()) SWIG_fail
; 
31498         wxRect 
* resultptr
; 
31499         resultptr 
= new wxRect((wxRect 
&) result
); 
31500         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
31508 static PyObject 
*_wrap_DragImage_DoDrawImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31509     PyObject 
*resultobj
; 
31510     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
31512     wxPoint 
*arg3 
= 0 ; 
31515     PyObject 
* obj0 
= 0 ; 
31516     PyObject 
* obj1 
= 0 ; 
31517     PyObject 
* obj2 
= 0 ; 
31518     char *kwnames
[] = { 
31519         (char *) "self",(char *) "dc",(char *) "pos", NULL 
 
31522     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
31523     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
, 
31524     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
31525     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
, 
31526     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
31528     if (arg2 
== NULL
) { 
31529         PyErr_SetString(PyExc_TypeError
,"null reference"); 
31534         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
31537         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31538         result 
= (bool)((wxGenericDragImage 
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint 
const &)*arg3
); 
31540         wxPyEndAllowThreads(__tstate
); 
31541         if (PyErr_Occurred()) SWIG_fail
; 
31544         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
31552 static PyObject 
*_wrap_DragImage_UpdateBackingFromWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31553     PyObject 
*resultobj
; 
31554     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
31556     wxMemoryDC 
*arg3 
= 0 ; 
31562     PyObject 
* obj0 
= 0 ; 
31563     PyObject 
* obj1 
= 0 ; 
31564     PyObject 
* obj2 
= 0 ; 
31565     PyObject 
* obj3 
= 0 ; 
31566     PyObject 
* obj4 
= 0 ; 
31567     char *kwnames
[] = { 
31568         (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL 
 
31571     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
31572     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
, 
31573     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
31574     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
, 
31575     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
31577     if (arg2 
== NULL
) { 
31578         PyErr_SetString(PyExc_TypeError
,"null reference"); 
31581     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
, 
31582     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
31584     if (arg3 
== NULL
) { 
31585         PyErr_SetString(PyExc_TypeError
,"null reference"); 
31590         if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
31594         if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
; 
31597         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31598         result 
= (bool)((wxGenericDragImage 
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect 
const &)*arg4
,(wxRect 
const &)*arg5
); 
31600         wxPyEndAllowThreads(__tstate
); 
31601         if (PyErr_Occurred()) SWIG_fail
; 
31604         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
31612 static PyObject 
*_wrap_DragImage_RedrawImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31613     PyObject 
*resultobj
; 
31614     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
31615     wxPoint 
*arg2 
= 0 ; 
31616     wxPoint 
*arg3 
= 0 ; 
31622     PyObject 
* obj0 
= 0 ; 
31623     PyObject 
* obj1 
= 0 ; 
31624     PyObject 
* obj2 
= 0 ; 
31625     PyObject 
* obj3 
= 0 ; 
31626     PyObject 
* obj4 
= 0 ; 
31627     char *kwnames
[] = { 
31628         (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL 
 
31631     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
31632     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
, 
31633     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
31636         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
31640         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
31642     arg4 
= (bool)SWIG_As_bool(obj3
);  
31643     if (PyErr_Occurred()) SWIG_fail
; 
31644     arg5 
= (bool)SWIG_As_bool(obj4
);  
31645     if (PyErr_Occurred()) SWIG_fail
; 
31647         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31648         result 
= (bool)(arg1
)->RedrawImage((wxPoint 
const &)*arg2
,(wxPoint 
const &)*arg3
,arg4
,arg5
); 
31650         wxPyEndAllowThreads(__tstate
); 
31651         if (PyErr_Occurred()) SWIG_fail
; 
31654         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
31662 static PyObject 
* DragImage_swigregister(PyObject 
*, PyObject 
*args
) { 
31664     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
31665     SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
); 
31667     return Py_BuildValue((char *)""); 
31669 static PyMethodDef SwigMethods
[] = { 
31670          { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31671          { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31672          { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31673          { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31674          { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31675          { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31676          { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL 
}, 
31677          { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31678          { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31679          { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31680          { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31681          { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31682          { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31683          { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31684          { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31685          { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31686          { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31687          { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31688          { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31689          { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31690          { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31691          { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL 
}, 
31692          { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31693          { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31694          { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31695          { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31696          { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31697          { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31698          { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31699          { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31700          { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31701          { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31702          { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31703          { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL 
}, 
31704          { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31705          { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31706          { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31707          { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31708          { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31709          { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31710          { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31711          { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL 
}, 
31712          { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31713          { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31714          { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31715          { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31716          { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31717          { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31718          { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31719          { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31720          { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31721          { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31722          { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31723          { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31724          { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31725          { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31726          { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31727          { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31728          { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31729          { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31730          { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31731          { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31732          { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL 
}, 
31733          { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31734          { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31735          { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31736          { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31737          { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31738          { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31739          { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31740          { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31741          { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31742          { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31743          { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31744          { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31745          { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31746          { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL 
}, 
31747          { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31748          { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31749          { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31750          { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31751          { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL 
}, 
31752          { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31753          { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31754          { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31755          { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31756          { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31757          { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31758          { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL 
}, 
31759          { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31760          { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31761          { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31762          { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31763          { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL 
}, 
31764          { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31765          { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31766          { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31767          { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31768          { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31769          { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31770          { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31771          { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL 
}, 
31772          { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31773          { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31774          { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31775          { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31776          { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31777          { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31778          { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31779          { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31780          { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31781          { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31782          { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31783          { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31784          { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31785          { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31786          { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31787          { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31788          { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31789          { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31790          { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31791          { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31792          { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31793          { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31794          { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL 
}, 
31795          { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31796          { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31797          { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31798          { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31799          { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31800          { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31801          { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31802          { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31803          { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL 
}, 
31804          { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31805          { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31806          { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31807          { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31808          { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31809          { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31810          { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31811          { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31812          { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31813          { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31814          { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31815          { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31816          { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31817          { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31818          { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31819          { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31820          { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31821          { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31822          { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31823          { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31824          { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31825          { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31826          { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31827          { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31828          { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31829          { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31830          { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31831          { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31832          { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31833          { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31834          { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL 
}, 
31835          { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31836          { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31837          { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31838          { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31839          { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31840          { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31841          { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31842          { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31843          { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31844          { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31845          { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31846          { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31847          { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31848          { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31849          { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31850          { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31851          { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31852          { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31853          { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31854          { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31855          { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31856          { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31857          { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31858          { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31859          { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31860          { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31861          { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31862          { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31863          { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31864          { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31865          { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31866          { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31867          { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31868          { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31869          { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31870          { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31871          { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31872          { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31873          { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31874          { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31875          { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31876          { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31877          { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31878          { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31879          { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31880          { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31881          { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31882          { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31883          { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31884          { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31885          { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31886          { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31887          { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31888          { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31889          { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31890          { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL 
}, 
31891          { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31892          { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31893          { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31894          { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31895          { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL 
}, 
31896          { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31897          { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31898          { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31899          { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31900          { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31901          { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31902          { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31903          { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31904          { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31905          { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31906          { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31907          { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL 
}, 
31908          { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31909          { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31910          { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31911          { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31912          { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31913          { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31914          { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31915          { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31916          { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31917          { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31918          { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31919          { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31920          { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL 
}, 
31921          { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31922          { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31923          { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31924          { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31925          { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31926          { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31927          { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31928          { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31929          { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31930          { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31931          { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31932          { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL 
}, 
31933          { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31934          { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31935          { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31936          { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL 
}, 
31937          { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31938          { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31939          { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31940          { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31941          { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31942          { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31943          { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31944          { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31945          { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31946          { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31947          { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31948          { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31949          { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31950          { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31951          { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31952          { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31953          { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31954          { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL 
}, 
31955          { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31956          { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31957          { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31958          { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31959          { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31960          { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31961          { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL 
}, 
31962          { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31963          { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31964          { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31965          { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31966          { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31967          { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31968          { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31969          { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31970          { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31971          { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31972          { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31973          { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31974          { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31975          { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31976          { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31977          { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31978          { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31979          { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31980          { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31981          { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31982          { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31983          { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31984          { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31985          { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31986          { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31987          { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL 
}, 
31988          { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31989          { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31990          { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31991          { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31992          { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31993          { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31994          { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31995          { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL 
}, 
31996          { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31997          { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31998          { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
31999          { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32000          { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32001          { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32002          { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32003          { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32004          { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32005          { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32006          { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32007          { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32008          { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32009          { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32010          { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32011          { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32012          { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32013          { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32014          { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32015          { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32016          { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
, NULL 
}, 
32017          { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32018          { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32019          { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32020          { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32021          { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32022          { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
, NULL 
}, 
32023          { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32024          { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32025          { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32026          { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32027          { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32028          { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32029          { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32030          { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32031          { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32032          { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL 
}, 
32033          { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32034          { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL 
}, 
32035          { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32036          { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32037          { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32038          { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32039          { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32040          { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL 
}, 
32041          { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32042          { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL 
}, 
32043          { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32044          { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32045          { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32046          { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32047          { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32048          { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL 
}, 
32049          { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32050          { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL 
}, 
32051          { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32052          { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32053          { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32054          { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32055          { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL 
}, 
32056          { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32057          { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32058          { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32059          { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32060          { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL 
}, 
32061          { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32062          { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32063          { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32064          { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32065          { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32066          { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32067          { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32068          { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32069          { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32070          { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32071          { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32072          { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32073          { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32074          { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32075          { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32076          { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32077          { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32078          { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32079          { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32080          { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32081          { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32082          { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32083          { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32084          { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32085          { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32086          { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32087          { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32088          { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32089          { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32090          { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL 
}, 
32091          { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32092          { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32093          { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32094          { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32095          { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32096          { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32097          { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32098          { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32099          { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32100          { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32101          { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32102          { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32103          { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32104          { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32105          { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32106          { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32107          { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32108          { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32109          { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32110          { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32111          { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32112          { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32113          { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32114          { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32115          { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32116          { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32117          { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32118          { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32119          { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32120          { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32121          { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32122          { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32123          { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32124          { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32125          { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32126          { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32127          { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32128          { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32129          { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32130          { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32131          { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32132          { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32133          { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32134          { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32135          { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL 
}, 
32136          { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32137          { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32138          { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32139          { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32140          { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32141          { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL 
}, 
32142          { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32143          { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32144          { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32145          { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32146          { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32147          { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32148          { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32149          { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32150          { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32151          { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32152          { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32153          { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL 
}, 
32154          { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32155          { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32156          { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32157          { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32158          { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32159          { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32160          { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32161          { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32162          { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32163          { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32164          { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32165          { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32166          { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32167          { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32168          { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32169          { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32170          { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32171          { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32172          { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32173          { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32174          { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32175          { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32176          { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32177          { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32178          { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32179          { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32180          { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32181          { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32182          { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32183          { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32184          { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32185          { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32186          { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32187          { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32188          { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32189          { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32190          { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32191          { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32192          { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32193          { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32194          { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32195          { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32196          { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32197          { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32198          { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32199          { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32200          { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32201          { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32202          { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32203          { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32204          { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32205          { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL 
}, 
32206          { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32207          { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32208          { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32209          { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32210          { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32211          { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32212          { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32213          { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32214          { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32215          { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32216          { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32217          { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32218          { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32219          { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32220          { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32221          { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32222          { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32223          { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32224          { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32225          { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32226          { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32227          { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32228          { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32229          { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32230          { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32231          { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32232          { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL 
}, 
32233          { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32234          { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32235          { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32236          { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32237          { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32238          { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32239          { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32240          { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32241          { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32242          { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32243          { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32244          { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32245          { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32246          { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32247          { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32248          { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32249          { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32250          { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32251          { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32252          { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32253          { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32254          { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32255          { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32256          { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32257          { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32258          { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32259          { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32260          { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32261          { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32262          { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32263          { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32264          { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32265          { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32266          { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32267          { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32268          { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32269          { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32270          { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32271          { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32272          { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32273          { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32274          { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32275          { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32276          { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32277          { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32278          { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32279          { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32280          { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32281          { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32282          { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32283          { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32284          { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32285          { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32286          { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32287          { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32288          { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32289          { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32290          { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32291          { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32292          { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32293          { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32294          { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32295          { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32296          { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32297          { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32298          { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32299          { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32300          { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32301          { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32302          { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32303          { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL 
}, 
32304          { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32305          { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32306          { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32307          { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32308          { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32309          { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32310          { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32311          { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32312          { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32313          { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32314          { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32315          { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL 
}, 
32316          { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32317          { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32318          { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32319          { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32320          { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32321          { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32322          { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32323          { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL 
}, 
32324          { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32325          { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32326          { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32327          { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32328          { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32329          { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32330          { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL 
}, 
32331          { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32332          { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32333          { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32334          { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32335          { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32336          { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32337          { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32338          { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32339          { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32340          { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32341          { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32342          { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32343          { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32344          { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32345          { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32346          { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL 
}, 
32347          { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32348          { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32349          { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32350          { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32351          { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32352          { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32353          { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32354          { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32355          { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32356          { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32357          { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32358          { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32359          { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32360          { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32361          { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32362          { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32363          { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32364          { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32365          { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32366          { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32367          { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32368          { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32369          { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32370          { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32371          { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32372          { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32373          { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32374          { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32375          { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32376          { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32377          { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32378          { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32379          { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32380          { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32381          { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32382          { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32383          { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32384          { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32385          { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32386          { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32387          { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32388          { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32389          { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32390          { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32391          { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32392          { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32393          { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32394          { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32395          { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32396          { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32397          { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32398          { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32399          { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32400          { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32401          { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32402          { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32403          { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32404          { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32405          { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32406          { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32407          { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32408          { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32409          { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32410          { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32411          { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32412          { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32413          { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32414          { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32415          { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32416          { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32417          { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32418          { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32419          { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32420          { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32421          { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL 
}, 
32422          { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32423          { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32424          { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32425          { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32426          { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32427          { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32428          { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32429          { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32430          { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32431          { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32432          { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32433          { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32434          { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32435          { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32436          { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32437          { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32438          { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32439          { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32440          { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32441          { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32442          { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32443          { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL 
}, 
32444          { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32445          { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32446          { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32447          { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32448          { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL 
}, 
32449          { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32450          { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32451          { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32452          { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32453          { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32454          { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32455          { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32456          { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32457          { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32458          { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32459          { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32460          { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32461          { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32462          { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32463          { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32464          { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32465          { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32466          { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32467          { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32468          { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32469          { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32470          { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32471          { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32472          { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32473          { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32474          { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL 
}, 
32475          { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32476          { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32477          { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32478          { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32479          { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32480          { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32481          { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32482          { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL 
}, 
32483          { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32484          { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32485          { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32486          { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32487          { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL 
}, 
32488          { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32489          { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL 
}, 
32490          { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32491          { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32492          { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32493          { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32494          { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32495          { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32496          { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32497          { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32498          { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL 
}, 
32499          { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32500          { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL 
}, 
32501          { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32502          { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32503          { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32504          { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32505          { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32506          { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32507          { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32508          { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32509          { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32510          { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32511          { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32512          { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32513          { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32514          { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32515          { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32516          { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32517          { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
32518          { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL 
}, 
32519          { NULL
, NULL
, 0, NULL 
} 
32523 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 
32525 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) { 
32526     return (void *)((wxBookCtrlEvent 
*)  ((wxNotebookEvent 
*) x
)); 
32528 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) { 
32529     return (void *)((wxBookCtrlEvent 
*)  ((wxListbookEvent 
*) x
)); 
32531 static void *_p_wxChoicebookEventTo_p_wxBookCtrlEvent(void *x
) { 
32532     return (void *)((wxBookCtrlEvent 
*)  ((wxChoicebookEvent 
*) x
)); 
32534 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) { 
32535     return (void *)((wxSizer 
*)  ((wxBoxSizer 
*) x
)); 
32537 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) { 
32538     return (void *)((wxSizer 
*) (wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
32540 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) { 
32541     return (void *)((wxSizer 
*) (wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
32543 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) { 
32544     return (void *)((wxSizer 
*)  ((wxGridSizer 
*) x
)); 
32546 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) { 
32547     return (void *)((wxSizer 
*) (wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
32549 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) { 
32550     return (void *)((wxSizer 
*)  ((wxNotebookSizer 
*) x
)); 
32552 static void *_p_wxPySizerTo_p_wxSizer(void *x
) { 
32553     return (void *)((wxSizer 
*)  ((wxPySizer 
*) x
)); 
32555 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) { 
32556     return (void *)((wxSizer 
*)  ((wxBookCtrlSizer 
*) x
)); 
32558 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) { 
32559     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
32561 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) { 
32562     return (void *)((wxEvent 
*)  ((wxMenuEvent 
*) x
)); 
32564 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) { 
32565     return (void *)((wxEvent 
*)  ((wxCloseEvent 
*) x
)); 
32567 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) { 
32568     return (void *)((wxEvent 
*)  ((wxMouseEvent 
*) x
)); 
32570 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) { 
32571     return (void *)((wxEvent 
*)  ((wxEraseEvent 
*) x
)); 
32573 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) { 
32574     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxTreeEvent 
*) x
)); 
32576 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) { 
32577     return (void *)((wxEvent 
*)  ((wxSetCursorEvent 
*) x
)); 
32579 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) { 
32580     return (void *)((wxEvent 
*)  ((wxInitDialogEvent 
*) x
)); 
32582 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) { 
32583     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
32585 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) { 
32586     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxTextUrlEvent 
*) x
)); 
32588 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) { 
32589     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxBookCtrlEvent 
*) x
)); 
32591 static void *_p_wxPyEventTo_p_wxEvent(void *x
) { 
32592     return (void *)((wxEvent 
*)  ((wxPyEvent 
*) x
)); 
32594 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) { 
32595     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
32597 static void *_p_wxListEventTo_p_wxEvent(void *x
) { 
32598     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxListEvent 
*) x
)); 
32600 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) { 
32601     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*)(wxBookCtrlEvent 
*) ((wxNotebookEvent 
*) x
)); 
32603 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) { 
32604     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*)(wxBookCtrlEvent 
*) ((wxListbookEvent 
*) x
)); 
32606 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) { 
32607     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*)(wxBookCtrlEvent 
*) ((wxChoicebookEvent 
*) x
)); 
32609 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) { 
32610     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxHelpEvent 
*) x
)); 
32612 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) { 
32613     return (void *)((wxEvent 
*)  ((wxIdleEvent 
*) x
)); 
32615 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) { 
32616     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
32618 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) { 
32619     return (void *)((wxEvent 
*)  ((wxQueryNewPaletteEvent 
*) x
)); 
32621 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) { 
32622     return (void *)((wxEvent 
*)  ((wxMaximizeEvent 
*) x
)); 
32624 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) { 
32625     return (void *)((wxEvent 
*)  ((wxIconizeEvent 
*) x
)); 
32627 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) { 
32628     return (void *)((wxEvent 
*)  ((wxActivateEvent 
*) x
)); 
32630 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) { 
32631     return (void *)((wxEvent 
*)  ((wxSizeEvent 
*) x
)); 
32633 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) { 
32634     return (void *)((wxEvent 
*)  ((wxMoveEvent 
*) x
)); 
32636 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) { 
32637     return (void *)((wxEvent 
*)  ((wxPaintEvent 
*) x
)); 
32639 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) { 
32640     return (void *)((wxEvent 
*)  ((wxNcPaintEvent 
*) x
)); 
32642 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) { 
32643     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
32645 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) { 
32646     return (void *)((wxEvent 
*)  ((wxPaletteChangedEvent 
*) x
)); 
32648 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) { 
32649     return (void *)((wxEvent 
*)  ((wxDisplayChangedEvent 
*) x
)); 
32651 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) { 
32652     return (void *)((wxEvent 
*)  ((wxMouseCaptureChangedEvent 
*) x
)); 
32654 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) { 
32655     return (void *)((wxEvent 
*)  ((wxSysColourChangedEvent 
*) x
)); 
32657 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) { 
32658     return (void *)((wxEvent 
*)  ((wxDropFilesEvent 
*) x
)); 
32660 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) { 
32661     return (void *)((wxEvent 
*)  ((wxFocusEvent 
*) x
)); 
32663 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) { 
32664     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
32666 static void *_p_wxShowEventTo_p_wxEvent(void *x
) { 
32667     return (void *)((wxEvent 
*)  ((wxShowEvent 
*) x
)); 
32669 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) { 
32670     return (void *)((wxEvent 
*)  ((wxCommandEvent 
*) x
)); 
32672 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) { 
32673     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
32675 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) { 
32676     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
32678 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) { 
32679     return (void *)((wxEvent 
*)  ((wxNavigationKeyEvent 
*) x
)); 
32681 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) { 
32682     return (void *)((wxEvent 
*)  ((wxKeyEvent 
*) x
)); 
32684 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) { 
32685     return (void *)((wxEvent 
*)  ((wxScrollWinEvent 
*) x
)); 
32687 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) { 
32688     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxSpinEvent 
*) x
)); 
32690 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) { 
32691     return (void *)((wxItemContainer 
*)  ((wxComboBox 
*) x
)); 
32693 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) { 
32694     return (void *)((wxItemContainer 
*) (wxControlWithItems 
*)(wxChoice 
*) ((wxDirFilterListCtrl 
*) x
)); 
32696 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) { 
32697     return (void *)((wxItemContainer 
*) (wxControlWithItems 
*) ((wxChoice 
*) x
)); 
32699 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) { 
32700     return (void *)((wxItemContainer 
*)  ((wxControlWithItems 
*) x
)); 
32702 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) { 
32703     return (void *)((wxItemContainer 
*) (wxControlWithItems 
*) ((wxListBox 
*) x
)); 
32705 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) { 
32706     return (void *)((wxItemContainer 
*) (wxControlWithItems 
*)(wxListBox 
*) ((wxCheckListBox 
*) x
)); 
32708 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) { 
32709     return (void *)((wxPyListCtrl 
*)  ((wxListView 
*) x
)); 
32711 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) { 
32712     return (void *)((wxControl 
*)  ((wxBookCtrl 
*) x
)); 
32714 static void *_p_wxToolBarTo_p_wxControl(void *x
) { 
32715     return (void *)((wxControl 
*) (wxToolBarBase 
*) ((wxToolBar 
*) x
)); 
32717 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) { 
32718     return (void *)((wxControl 
*)  ((wxToggleButton 
*) x
)); 
32720 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) { 
32721     return (void *)((wxControl 
*)  ((wxRadioButton 
*) x
)); 
32723 static void *_p_wxPyControlTo_p_wxControl(void *x
) { 
32724     return (void *)((wxControl 
*)  ((wxPyControl 
*) x
)); 
32726 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) { 
32727     return (void *)((wxControl 
*)  ((wxToolBarBase 
*) x
)); 
32729 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) { 
32730     return (void *)((wxControl 
*) (wxControlWithItems 
*)(wxChoice 
*) ((wxDirFilterListCtrl 
*) x
)); 
32732 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) { 
32733     return (void *)((wxControl 
*)  ((wxPyListCtrl 
*) x
)); 
32735 static void *_p_wxComboBoxTo_p_wxControl(void *x
) { 
32736     return (void *)((wxControl 
*)  ((wxComboBox 
*) x
)); 
32738 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) { 
32739     return (void *)((wxControl 
*)  ((wxGenericDirCtrl 
*) x
)); 
32741 static void *_p_wxScrollBarTo_p_wxControl(void *x
) { 
32742     return (void *)((wxControl 
*)  ((wxScrollBar 
*) x
)); 
32744 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) { 
32745     return (void *)((wxControl 
*)  ((wxControlWithItems 
*) x
)); 
32747 static void *_p_wxGaugeTo_p_wxControl(void *x
) { 
32748     return (void *)((wxControl 
*)  ((wxGauge 
*) x
)); 
32750 static void *_p_wxStaticLineTo_p_wxControl(void *x
) { 
32751     return (void *)((wxControl 
*)  ((wxStaticLine 
*) x
)); 
32753 static void *_p_wxChoicebookTo_p_wxControl(void *x
) { 
32754     return (void *)((wxControl 
*) (wxBookCtrl 
*) ((wxChoicebook 
*) x
)); 
32756 static void *_p_wxListbookTo_p_wxControl(void *x
) { 
32757     return (void *)((wxControl 
*) (wxBookCtrl 
*) ((wxListbook 
*) x
)); 
32759 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) { 
32760     return (void *)((wxControl 
*)  ((wxPyTreeCtrl 
*) x
)); 
32762 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) { 
32763     return (void *)((wxControl 
*)  ((wxCheckBox 
*) x
)); 
32765 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) { 
32766     return (void *)((wxControl 
*)  ((wxRadioBox 
*) x
)); 
32768 static void *_p_wxChoiceTo_p_wxControl(void *x
) { 
32769     return (void *)((wxControl 
*) (wxControlWithItems 
*) ((wxChoice 
*) x
)); 
32771 static void *_p_wxListBoxTo_p_wxControl(void *x
) { 
32772     return (void *)((wxControl 
*) (wxControlWithItems 
*) ((wxListBox 
*) x
)); 
32774 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) { 
32775     return (void *)((wxControl 
*) (wxControlWithItems 
*)(wxListBox 
*) ((wxCheckListBox 
*) x
)); 
32777 static void *_p_wxListViewTo_p_wxControl(void *x
) { 
32778     return (void *)((wxControl 
*) (wxPyListCtrl 
*) ((wxListView 
*) x
)); 
32780 static void *_p_wxNotebookTo_p_wxControl(void *x
) { 
32781     return (void *)((wxControl 
*) (wxBookCtrl 
*) ((wxNotebook 
*) x
)); 
32783 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) { 
32784     return (void *)((wxControl 
*)  ((wxStaticBitmap 
*) x
)); 
32786 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) { 
32787     return (void *)((wxControl 
*)  ((wxSpinCtrl 
*) x
)); 
32789 static void *_p_wxStaticTextTo_p_wxControl(void *x
) { 
32790     return (void *)((wxControl 
*)  ((wxStaticText 
*) x
)); 
32792 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) { 
32793     return (void *)((wxControl 
*)  ((wxStaticBox 
*) x
)); 
32795 static void *_p_wxSliderTo_p_wxControl(void *x
) { 
32796     return (void *)((wxControl 
*)  ((wxSlider 
*) x
)); 
32798 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) { 
32799     return (void *)((wxControl 
*) (wxButton 
*)(wxBitmapButton 
*) ((wxContextHelpButton 
*) x
)); 
32801 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) { 
32802     return (void *)((wxControl 
*)  ((wxSpinButton 
*) x
)); 
32804 static void *_p_wxButtonTo_p_wxControl(void *x
) { 
32805     return (void *)((wxControl 
*)  ((wxButton 
*) x
)); 
32807 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) { 
32808     return (void *)((wxControl 
*) (wxButton 
*) ((wxBitmapButton 
*) x
)); 
32810 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) { 
32811     return (void *)((wxControl 
*)  ((wxTextCtrl 
*) x
)); 
32813 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) { 
32814     return (void *)((wxToolBarBase 
*)  ((wxToolBar 
*) x
)); 
32816 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) { 
32817     return (void *)((wxChoice 
*)  ((wxDirFilterListCtrl 
*) x
)); 
32819 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) { 
32820     return (void *)((wxNotifyEvent 
*)  ((wxTreeEvent 
*) x
)); 
32822 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) { 
32823     return (void *)((wxNotifyEvent 
*)  ((wxBookCtrlEvent 
*) x
)); 
32825 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) { 
32826     return (void *)((wxNotifyEvent 
*)  ((wxListEvent 
*) x
)); 
32828 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) { 
32829     return (void *)((wxNotifyEvent 
*)  ((wxSpinEvent 
*) x
)); 
32831 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) { 
32832     return (void *)((wxNotifyEvent 
*) (wxBookCtrlEvent 
*) ((wxNotebookEvent 
*) x
)); 
32834 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) { 
32835     return (void *)((wxNotifyEvent 
*) (wxBookCtrlEvent 
*) ((wxListbookEvent 
*) x
)); 
32837 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) { 
32838     return (void *)((wxNotifyEvent 
*) (wxBookCtrlEvent 
*) ((wxChoicebookEvent 
*) x
)); 
32840 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) { 
32841     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxBookCtrl 
*) x
)); 
32843 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) { 
32844     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMenuBar 
*) x
)); 
32846 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) { 
32847     return (void *)((wxEvtHandler 
*)  ((wxValidator 
*) x
)); 
32849 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) { 
32850     return (void *)((wxEvtHandler 
*) (wxValidator 
*) ((wxPyValidator 
*) x
)); 
32852 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) { 
32853     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*)(wxToolBarBase 
*) ((wxToolBar 
*) x
)); 
32855 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) { 
32856     return (void *)((wxEvtHandler 
*)  ((wxMenu 
*) x
)); 
32858 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) { 
32859     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxToggleButton 
*) x
)); 
32861 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) { 
32862     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxRadioButton 
*) x
)); 
32864 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) { 
32865     return (void *)((wxEvtHandler 
*)  ((wxWindow 
*) x
)); 
32867 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) { 
32868     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxControl 
*) x
)); 
32870 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) { 
32871     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxToolBarBase 
*) x
)); 
32873 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) { 
32874     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxComboBox 
*) x
)); 
32876 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) { 
32877     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxPyListCtrl 
*) x
)); 
32879 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) { 
32880     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*)(wxControlWithItems 
*)(wxChoice 
*) ((wxDirFilterListCtrl 
*) x
)); 
32882 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) { 
32883     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxPyControl 
*) x
)); 
32885 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) { 
32886     return (void *)((wxEvtHandler 
*)  ((wxPyApp 
*) x
)); 
32888 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) { 
32889     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxGenericDirCtrl 
*) x
)); 
32891 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) { 
32892     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxScrollBar 
*) x
)); 
32894 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) { 
32895     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
32897 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) { 
32898     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxGauge 
*) x
)); 
32900 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) { 
32901     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxStaticLine 
*) x
)); 
32903 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) { 
32904     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*)(wxBookCtrl 
*) ((wxChoicebook 
*) x
)); 
32906 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) { 
32907     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*)(wxBookCtrl 
*) ((wxListbook 
*) x
)); 
32909 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) { 
32910     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxPyTreeCtrl 
*) x
)); 
32912 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) { 
32913     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxCheckBox 
*) x
)); 
32915 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) { 
32916     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxRadioBox 
*) x
)); 
32918 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) { 
32919     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*)(wxControlWithItems 
*)(wxListBox 
*) ((wxCheckListBox 
*) x
)); 
32921 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) { 
32922     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*)(wxControlWithItems 
*) ((wxListBox 
*) x
)); 
32924 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) { 
32925     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*)(wxControlWithItems 
*) ((wxChoice 
*) x
)); 
32927 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) { 
32928     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*)(wxBookCtrl 
*) ((wxNotebook 
*) x
)); 
32930 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) { 
32931     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxStaticBitmap 
*) x
)); 
32933 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) { 
32934     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*)(wxPyListCtrl 
*) ((wxListView 
*) x
)); 
32936 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) { 
32937     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxSpinCtrl 
*) x
)); 
32939 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) { 
32940     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxStaticText 
*) x
)); 
32942 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) { 
32943     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxStaticBox 
*) x
)); 
32945 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) { 
32946     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxSlider 
*) x
)); 
32948 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) { 
32949     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxSpinButton 
*) x
)); 
32951 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) { 
32952     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxButton 
*) x
)); 
32954 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) { 
32955     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*)(wxButton 
*) ((wxBitmapButton 
*) x
)); 
32957 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) { 
32958     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*)(wxButton 
*)(wxBitmapButton 
*) ((wxContextHelpButton 
*) x
)); 
32960 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) { 
32961     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxTextCtrl 
*) x
)); 
32963 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) { 
32964     return (void *)((wxListBox 
*)  ((wxCheckListBox 
*) x
)); 
32966 static void *_p_wxChoicebookTo_p_wxBookCtrl(void *x
) { 
32967     return (void *)((wxBookCtrl 
*)  ((wxChoicebook 
*) x
)); 
32969 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) { 
32970     return (void *)((wxBookCtrl 
*)  ((wxListbook 
*) x
)); 
32972 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) { 
32973     return (void *)((wxBookCtrl 
*)  ((wxNotebook 
*) x
)); 
32975 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) { 
32976     return (void *)((wxButton 
*)  ((wxBitmapButton 
*) x
)); 
32978 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) { 
32979     return (void *)((wxButton 
*) (wxBitmapButton 
*) ((wxContextHelpButton 
*) x
)); 
32981 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) { 
32982     return (void *)((wxBitmapButton 
*)  ((wxContextHelpButton 
*) x
)); 
32984 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) { 
32985     return (void *)((wxHelpProvider 
*)  ((wxSimpleHelpProvider 
*) x
)); 
32987 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) { 
32988     return (void *)((wxObject 
*)  ((wxLayoutConstraints 
*) x
)); 
32990 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) { 
32991     return (void *)((wxObject 
*) (wxSizerItem 
*) ((wxGBSizerItem 
*) x
)); 
32993 static void *_p_wxSizerItemTo_p_wxObject(void *x
) { 
32994     return (void *)((wxObject 
*)  ((wxSizerItem 
*) x
)); 
32996 static void *_p_wxScrollEventTo_p_wxObject(void *x
) { 
32997     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
32999 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) { 
33000     return (void *)((wxObject 
*)  ((wxIndividualLayoutConstraint 
*) x
)); 
33002 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) { 
33003     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxTextUrlEvent 
*) x
)); 
33005 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) { 
33006     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxBookCtrlEvent 
*) x
)); 
33008 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) { 
33009     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
33011 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) { 
33012     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBoxSizer 
*) x
)); 
33014 static void *_p_wxSizerTo_p_wxObject(void *x
) { 
33015     return (void *)((wxObject 
*)  ((wxSizer 
*) x
)); 
33017 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) { 
33018     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
33020 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) { 
33021     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxCheckBox 
*) x
)); 
33023 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) { 
33024     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxPyTreeCtrl 
*) x
)); 
33026 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) { 
33027     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
33029 static void *_p_wxEventTo_p_wxObject(void *x
) { 
33030     return (void *)((wxObject 
*)  ((wxEvent 
*) x
)); 
33032 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) { 
33033     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
33035 static void *_p_wxGridSizerTo_p_wxObject(void *x
) { 
33036     return (void *)((wxObject 
*) (wxSizer 
*) ((wxGridSizer 
*) x
)); 
33038 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) { 
33039     return (void *)((wxObject 
*) (wxEvent 
*) ((wxInitDialogEvent 
*) x
)); 
33041 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) { 
33042     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxGenericDirCtrl 
*) x
)); 
33044 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) { 
33045     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxPyListCtrl 
*) x
)); 
33047 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) { 
33048     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*)(wxControlWithItems 
*)(wxChoice 
*) ((wxDirFilterListCtrl 
*) x
)); 
33050 static void *_p_wxPaintEventTo_p_wxObject(void *x
) { 
33051     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaintEvent 
*) x
)); 
33053 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) { 
33054     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNcPaintEvent 
*) x
)); 
33056 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) { 
33057     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaletteChangedEvent 
*) x
)); 
33059 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) { 
33060     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDisplayChangedEvent 
*) x
)); 
33062 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) { 
33063     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureChangedEvent 
*) x
)); 
33065 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) { 
33066     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSysColourChangedEvent 
*) x
)); 
33068 static void *_p_wxStaticLineTo_p_wxObject(void *x
) { 
33069     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxStaticLine 
*) x
)); 
33071 static void *_p_wxControlTo_p_wxObject(void *x
) { 
33072     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxControl 
*) x
)); 
33074 static void *_p_wxPyControlTo_p_wxObject(void *x
) { 
33075     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxPyControl 
*) x
)); 
33077 static void *_p_wxGaugeTo_p_wxObject(void *x
) { 
33078     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxGauge 
*) x
)); 
33080 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) { 
33081     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxRadioButton 
*) x
)); 
33083 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) { 
33084     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxToggleButton 
*) x
)); 
33086 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) { 
33087     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxToolBarBase 
*) x
)); 
33089 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) { 
33090     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSetCursorEvent 
*) x
)); 
33092 static void *_p_wxChoiceTo_p_wxObject(void *x
) { 
33093     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*)(wxControlWithItems 
*) ((wxChoice 
*) x
)); 
33095 static void *_p_wxFSFileTo_p_wxObject(void *x
) { 
33096     return (void *)((wxObject 
*)  ((wxFSFile 
*) x
)); 
33098 static void *_p_wxPySizerTo_p_wxObject(void *x
) { 
33099     return (void *)((wxObject 
*) (wxSizer 
*) ((wxPySizer 
*) x
)); 
33101 static void *_p_wxListViewTo_p_wxObject(void *x
) { 
33102     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*)(wxPyListCtrl 
*) ((wxListView 
*) x
)); 
33104 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) { 
33105     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxTextCtrl 
*) x
)); 
33107 static void *_p_wxNotebookTo_p_wxObject(void *x
) { 
33108     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*)(wxBookCtrl 
*) ((wxNotebook 
*) x
)); 
33110 static void *_p_wxPyEventTo_p_wxObject(void *x
) { 
33111     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPyEvent 
*) x
)); 
33113 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) { 
33114     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
33116 static void *_p_wxChoicebookTo_p_wxObject(void *x
) { 
33117     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*)(wxBookCtrl 
*) ((wxChoicebook 
*) x
)); 
33119 static void *_p_wxListbookTo_p_wxObject(void *x
) { 
33120     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*)(wxBookCtrl 
*) ((wxListbook 
*) x
)); 
33122 static void *_p_wxShowEventTo_p_wxObject(void *x
) { 
33123     return (void *)((wxObject 
*) (wxEvent 
*) ((wxShowEvent 
*) x
)); 
33125 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) { 
33126     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxStaticBitmap 
*) x
)); 
33128 static void *_p_wxSliderTo_p_wxObject(void *x
) { 
33129     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxSlider 
*) x
)); 
33131 static void *_p_wxMenuItemTo_p_wxObject(void *x
) { 
33132     return (void *)((wxObject 
*)  ((wxMenuItem 
*) x
)); 
33134 static void *_p_wxIdleEventTo_p_wxObject(void *x
) { 
33135     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIdleEvent 
*) x
)); 
33137 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) { 
33138     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
33140 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) { 
33141     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryNewPaletteEvent 
*) x
)); 
33143 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) { 
33144     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMaximizeEvent 
*) x
)); 
33146 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) { 
33147     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIconizeEvent 
*) x
)); 
33149 static void *_p_wxSizeEventTo_p_wxObject(void *x
) { 
33150     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSizeEvent 
*) x
)); 
33152 static void *_p_wxMoveEventTo_p_wxObject(void *x
) { 
33153     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMoveEvent 
*) x
)); 
33155 static void *_p_wxActivateEventTo_p_wxObject(void *x
) { 
33156     return (void *)((wxObject 
*) (wxEvent 
*) ((wxActivateEvent 
*) x
)); 
33158 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) { 
33159     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxStaticBox 
*) x
)); 
33161 static void *_p_wxContextHelpTo_p_wxObject(void *x
) { 
33162     return (void *)((wxObject 
*)  ((wxContextHelp 
*) x
)); 
33164 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) { 
33165     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxXPMHandler 
*) x
)); 
33167 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) { 
33168     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNMHandler 
*) x
)); 
33170 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) { 
33171     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxJPEGHandler 
*) x
)); 
33173 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) { 
33174     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPCXHandler 
*) x
)); 
33176 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) { 
33177     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxGIFHandler 
*) x
)); 
33179 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) { 
33180     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNGHandler 
*) x
)); 
33182 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) { 
33183     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
33185 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) { 
33186     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
33188 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) { 
33189     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
33191 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) { 
33192     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxBMPHandler 
*) x
)); 
33194 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) { 
33195     return (void *)((wxObject 
*)  ((wxImageHandler 
*) x
)); 
33197 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) { 
33198     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTIFFHandler 
*) x
)); 
33200 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) { 
33201     return (void *)((wxObject 
*)  ((wxEvtHandler 
*) x
)); 
33203 static void *_p_wxListEventTo_p_wxObject(void *x
) { 
33204     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxListEvent 
*) x
)); 
33206 static void *_p_wxListBoxTo_p_wxObject(void *x
) { 
33207     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*)(wxControlWithItems 
*) ((wxListBox 
*) x
)); 
33209 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) { 
33210     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*)(wxControlWithItems 
*)(wxListBox 
*) ((wxCheckListBox 
*) x
)); 
33212 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) { 
33213     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxBookCtrl 
*) x
)); 
33215 static void *_p_wxButtonTo_p_wxObject(void *x
) { 
33216     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxButton 
*) x
)); 
33218 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) { 
33219     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*)(wxButton 
*) ((wxBitmapButton 
*) x
)); 
33221 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) { 
33222     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxSpinButton 
*) x
)); 
33224 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) { 
33225     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*)(wxButton 
*)(wxBitmapButton 
*) ((wxContextHelpButton 
*) x
)); 
33227 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) { 
33228     return (void *)((wxObject 
*)  ((wxAcceleratorTable 
*) x
)); 
33230 static void *_p_wxScrollBarTo_p_wxObject(void *x
) { 
33231     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxScrollBar 
*) x
)); 
33233 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) { 
33234     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxRadioBox 
*) x
)); 
33236 static void *_p_wxComboBoxTo_p_wxObject(void *x
) { 
33237     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxComboBox 
*) x
)); 
33239 static void *_p_wxHelpEventTo_p_wxObject(void *x
) { 
33240     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxHelpEvent 
*) x
)); 
33242 static void *_p_wxListItemTo_p_wxObject(void *x
) { 
33243     return (void *)((wxObject 
*)  ((wxListItem 
*) x
)); 
33245 static void *_p_wxImageTo_p_wxObject(void *x
) { 
33246     return (void *)((wxObject 
*)  ((wxImage 
*) x
)); 
33248 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) { 
33249     return (void *)((wxObject 
*) (wxSizer 
*) ((wxNotebookSizer 
*) x
)); 
33251 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) { 
33252     return (void *)((wxObject 
*) (wxEvent 
*) ((wxScrollWinEvent 
*) x
)); 
33254 static void *_p_wxSpinEventTo_p_wxObject(void *x
) { 
33255     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxSpinEvent 
*) x
)); 
33257 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) { 
33258     return (void *)((wxObject 
*)  ((wxGenericDragImage 
*) x
)); 
33260 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) { 
33261     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxSpinCtrl 
*) x
)); 
33263 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) { 
33264     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*)(wxBookCtrlEvent 
*) ((wxNotebookEvent 
*) x
)); 
33266 static void *_p_wxListbookEventTo_p_wxObject(void *x
) { 
33267     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*)(wxBookCtrlEvent 
*) ((wxListbookEvent 
*) x
)); 
33269 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) { 
33270     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*)(wxBookCtrlEvent 
*) ((wxChoicebookEvent 
*) x
)); 
33272 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) { 
33273     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
33275 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) { 
33276     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNavigationKeyEvent 
*) x
)); 
33278 static void *_p_wxKeyEventTo_p_wxObject(void *x
) { 
33279     return (void *)((wxObject 
*) (wxEvent 
*) ((wxKeyEvent 
*) x
)); 
33281 static void *_p_wxWindowTo_p_wxObject(void *x
) { 
33282     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxWindow 
*) x
)); 
33284 static void *_p_wxMenuTo_p_wxObject(void *x
) { 
33285     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxMenu 
*) x
)); 
33287 static void *_p_wxMenuBarTo_p_wxObject(void *x
) { 
33288     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMenuBar 
*) x
)); 
33290 static void *_p_wxFileSystemTo_p_wxObject(void *x
) { 
33291     return (void *)((wxObject 
*)  ((wxFileSystem 
*) x
)); 
33293 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) { 
33294     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
33296 static void *_p_wxMenuEventTo_p_wxObject(void *x
) { 
33297     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMenuEvent 
*) x
)); 
33299 static void *_p_wxPyAppTo_p_wxObject(void *x
) { 
33300     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyApp 
*) x
)); 
33302 static void *_p_wxCloseEventTo_p_wxObject(void *x
) { 
33303     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCloseEvent 
*) x
)); 
33305 static void *_p_wxMouseEventTo_p_wxObject(void *x
) { 
33306     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseEvent 
*) x
)); 
33308 static void *_p_wxEraseEventTo_p_wxObject(void *x
) { 
33309     return (void *)((wxObject 
*) (wxEvent 
*) ((wxEraseEvent 
*) x
)); 
33311 static void *_p_wxTreeEventTo_p_wxObject(void *x
) { 
33312     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxTreeEvent 
*) x
)); 
33314 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) { 
33315     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
33317 static void *_p_wxCommandEventTo_p_wxObject(void *x
) { 
33318     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCommandEvent 
*) x
)); 
33320 static void *_p_wxStaticTextTo_p_wxObject(void *x
) { 
33321     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxStaticText 
*) x
)); 
33323 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) { 
33324     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDropFilesEvent 
*) x
)); 
33326 static void *_p_wxFocusEventTo_p_wxObject(void *x
) { 
33327     return (void *)((wxObject 
*) (wxEvent 
*) ((wxFocusEvent 
*) x
)); 
33329 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) { 
33330     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
33332 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) { 
33333     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
33335 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) { 
33336     return (void *)((wxObject 
*)  ((wxToolBarToolBase 
*) x
)); 
33338 static void *_p_wxToolBarTo_p_wxObject(void *x
) { 
33339     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*)(wxToolBarBase 
*) ((wxToolBar 
*) x
)); 
33341 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) { 
33342     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxValidator 
*) ((wxPyValidator 
*) x
)); 
33344 static void *_p_wxValidatorTo_p_wxObject(void *x
) { 
33345     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxValidator 
*) x
)); 
33347 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) { 
33348     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBookCtrlSizer 
*) x
)); 
33350 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) { 
33351     return (void *)((wxWindow 
*) (wxControl 
*) ((wxBookCtrl 
*) x
)); 
33353 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) { 
33354     return (void *)((wxWindow 
*)  ((wxMenuBar 
*) x
)); 
33356 static void *_p_wxToolBarTo_p_wxWindow(void *x
) { 
33357     return (void *)((wxWindow 
*) (wxControl 
*)(wxToolBarBase 
*) ((wxToolBar 
*) x
)); 
33359 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) { 
33360     return (void *)((wxWindow 
*) (wxControl 
*) ((wxToggleButton 
*) x
)); 
33362 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) { 
33363     return (void *)((wxWindow 
*) (wxControl 
*) ((wxRadioButton 
*) x
)); 
33365 static void *_p_wxControlTo_p_wxWindow(void *x
) { 
33366     return (void *)((wxWindow 
*)  ((wxControl 
*) x
)); 
33368 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) { 
33369     return (void *)((wxWindow 
*) (wxControl 
*) ((wxToolBarBase 
*) x
)); 
33371 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) { 
33372     return (void *)((wxWindow 
*) (wxControl 
*)(wxControlWithItems 
*)(wxChoice 
*) ((wxDirFilterListCtrl 
*) x
)); 
33374 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) { 
33375     return (void *)((wxWindow 
*) (wxControl 
*) ((wxPyListCtrl 
*) x
)); 
33377 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) { 
33378     return (void *)((wxWindow 
*) (wxControl 
*) ((wxComboBox 
*) x
)); 
33380 static void *_p_wxPyControlTo_p_wxWindow(void *x
) { 
33381     return (void *)((wxWindow 
*) (wxControl 
*) ((wxPyControl 
*) x
)); 
33383 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) { 
33384     return (void *)((wxWindow 
*) (wxControl 
*) ((wxGenericDirCtrl 
*) x
)); 
33386 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) { 
33387     return (void *)((wxWindow 
*) (wxControl 
*) ((wxScrollBar 
*) x
)); 
33389 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) { 
33390     return (void *)((wxWindow 
*) (wxControl 
*) ((wxControlWithItems 
*) x
)); 
33392 static void *_p_wxGaugeTo_p_wxWindow(void *x
) { 
33393     return (void *)((wxWindow 
*) (wxControl 
*) ((wxGauge 
*) x
)); 
33395 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) { 
33396     return (void *)((wxWindow 
*) (wxControl 
*) ((wxStaticLine 
*) x
)); 
33398 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) { 
33399     return (void *)((wxWindow 
*) (wxControl 
*)(wxBookCtrl 
*) ((wxChoicebook 
*) x
)); 
33401 static void *_p_wxListbookTo_p_wxWindow(void *x
) { 
33402     return (void *)((wxWindow 
*) (wxControl 
*)(wxBookCtrl 
*) ((wxListbook 
*) x
)); 
33404 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) { 
33405     return (void *)((wxWindow 
*) (wxControl 
*) ((wxPyTreeCtrl 
*) x
)); 
33407 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) { 
33408     return (void *)((wxWindow 
*) (wxControl 
*) ((wxCheckBox 
*) x
)); 
33410 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) { 
33411     return (void *)((wxWindow 
*) (wxControl 
*) ((wxRadioBox 
*) x
)); 
33413 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) { 
33414     return (void *)((wxWindow 
*) (wxControl 
*)(wxControlWithItems 
*)(wxListBox 
*) ((wxCheckListBox 
*) x
)); 
33416 static void *_p_wxChoiceTo_p_wxWindow(void *x
) { 
33417     return (void *)((wxWindow 
*) (wxControl 
*)(wxControlWithItems 
*) ((wxChoice 
*) x
)); 
33419 static void *_p_wxListBoxTo_p_wxWindow(void *x
) { 
33420     return (void *)((wxWindow 
*) (wxControl 
*)(wxControlWithItems 
*) ((wxListBox 
*) x
)); 
33422 static void *_p_wxListViewTo_p_wxWindow(void *x
) { 
33423     return (void *)((wxWindow 
*) (wxControl 
*)(wxPyListCtrl 
*) ((wxListView 
*) x
)); 
33425 static void *_p_wxNotebookTo_p_wxWindow(void *x
) { 
33426     return (void *)((wxWindow 
*) (wxControl 
*)(wxBookCtrl 
*) ((wxNotebook 
*) x
)); 
33428 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) { 
33429     return (void *)((wxWindow 
*) (wxControl 
*) ((wxStaticBitmap 
*) x
)); 
33431 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) { 
33432     return (void *)((wxWindow 
*) (wxControl 
*) ((wxSpinCtrl 
*) x
)); 
33434 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) { 
33435     return (void *)((wxWindow 
*) (wxControl 
*) ((wxStaticText 
*) x
)); 
33437 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) { 
33438     return (void *)((wxWindow 
*) (wxControl 
*) ((wxStaticBox 
*) x
)); 
33440 static void *_p_wxSliderTo_p_wxWindow(void *x
) { 
33441     return (void *)((wxWindow 
*) (wxControl 
*) ((wxSlider 
*) x
)); 
33443 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) { 
33444     return (void *)((wxWindow 
*) (wxControl 
*) ((wxSpinButton 
*) x
)); 
33446 static void *_p_wxButtonTo_p_wxWindow(void *x
) { 
33447     return (void *)((wxWindow 
*) (wxControl 
*) ((wxButton 
*) x
)); 
33449 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) { 
33450     return (void *)((wxWindow 
*) (wxControl 
*)(wxButton 
*) ((wxBitmapButton 
*) x
)); 
33452 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) { 
33453     return (void *)((wxWindow 
*) (wxControl 
*)(wxButton 
*)(wxBitmapButton 
*) ((wxContextHelpButton 
*) x
)); 
33455 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) { 
33456     return (void *)((wxWindow 
*) (wxControl 
*) ((wxTextCtrl 
*) x
)); 
33458 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) { 
33459     return (void *)((wxCommandEvent 
*)  ((wxWindowDestroyEvent 
*) x
)); 
33461 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) { 
33462     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxBookCtrlEvent 
*) x
)); 
33464 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) { 
33465     return (void *)((wxCommandEvent 
*)  ((wxTextUrlEvent 
*) x
)); 
33467 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) { 
33468     return (void *)((wxCommandEvent 
*)  ((wxScrollEvent 
*) x
)); 
33470 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) { 
33471     return (void *)((wxCommandEvent 
*)  ((wxPyCommandEvent 
*) x
)); 
33473 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) { 
33474     return (void *)((wxCommandEvent 
*)  ((wxContextMenuEvent 
*) x
)); 
33476 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) { 
33477     return (void *)((wxCommandEvent 
*)  ((wxChildFocusEvent 
*) x
)); 
33479 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) { 
33480     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*)(wxBookCtrlEvent 
*) ((wxChoicebookEvent 
*) x
)); 
33482 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) { 
33483     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*)(wxBookCtrlEvent 
*) ((wxListbookEvent 
*) x
)); 
33485 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) { 
33486     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*)(wxBookCtrlEvent 
*) ((wxNotebookEvent 
*) x
)); 
33488 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) { 
33489     return (void *)((wxCommandEvent 
*)  ((wxWindowCreateEvent 
*) x
)); 
33491 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) { 
33492     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxListEvent 
*) x
)); 
33494 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) { 
33495     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxTreeEvent 
*) x
)); 
33497 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) { 
33498     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxSpinEvent 
*) x
)); 
33500 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) { 
33501     return (void *)((wxCommandEvent 
*)  ((wxHelpEvent 
*) x
)); 
33503 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) { 
33504     return (void *)((wxCommandEvent 
*)  ((wxNotifyEvent 
*) x
)); 
33506 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) { 
33507     return (void *)((wxCommandEvent 
*)  ((wxUpdateUIEvent 
*) x
)); 
33509 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) { 
33510     return (void *)((wxControlWithItems 
*) (wxChoice 
*) ((wxDirFilterListCtrl 
*) x
)); 
33512 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) { 
33513     return (void *)((wxControlWithItems 
*)  ((wxChoice 
*) x
)); 
33515 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) { 
33516     return (void *)((wxControlWithItems 
*)  ((wxListBox 
*) x
)); 
33518 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) { 
33519     return (void *)((wxControlWithItems 
*) (wxListBox 
*) ((wxCheckListBox 
*) x
)); 
33521 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) { 
33522     return (void *)((wxValidator 
*)  ((wxPyValidator 
*) x
)); 
33524 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0, 0, 0, 0},{"_p_wxTextUrlEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33525 static swig_type_info _swigt__p_wxBookCtrlEvent
[] = {{"_p_wxBookCtrlEvent", 0, "wxBookCtrlEvent *", 0, 0, 0, 0},{"_p_wxBookCtrlEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxBookCtrlEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxBookCtrlEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxBookCtrlEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33526 static swig_type_info _swigt__p_wxSizer
[] = {{"_p_wxSizer", 0, "wxSizer *", 0, 0, 0, 0},{"_p_wxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33527 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0, 0, 0, 0},{"_p_wxCheckBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33528 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0, 0, 0, 0},{"_p_wxPyTreeCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33529 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_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_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_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_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_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_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_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33530 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0, 0, 0, 0},{"_p_wxGenericDirCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33531 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0, 0, 0, 0},{"_p_bool", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33532 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0, 0, 0, 0},{"_p_wxPyTreeItemData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33533 static swig_type_info _swigt__p_wxItemContainer
[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxItemContainer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33534 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0, 0, 0, 0},{"_p_wxPyListCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33535 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33536 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0, 0, 0, 0},{"_p_wxStaticLine", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33537 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33538 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0, 0, 0, 0},{"_p_wxPyControl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33539 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0, 0, 0, 0},{"_p_wxGauge", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33540 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0, 0, 0, 0},{"_p_wxToolBarBase", 0, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33541 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}}; 
33542 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0, 0, 0, 0},{"_p_wxToggleButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33543 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0, 0, 0, 0},{"_p_wxRadioButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33544 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33545 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0, 0, 0, 0},{"_p_wxMemoryDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33546 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0, 0, 0, 0},{"_p_wxListItemAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33547 static swig_type_info _swigt__p_void
[] = {{"_p_void", 0, "void *", 0, 0, 0, 0},{"_p_void", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33548 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}}; 
33549 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}}; 
33550 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}}; 
33551 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0, 0, 0, 0},{"_p_wxListView", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33552 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}}; 
33553 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}}; 
33554 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0, 0, 0, 0},{"_p_wxTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33555 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0, 0, 0, 0},{"_p_wxNotebook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33556 static swig_type_info _swigt__p_wxChoicebook
[] = {{"_p_wxChoicebook", 0, "wxChoicebook *", 0, 0, 0, 0},{"_p_wxChoicebook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33557 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33558 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33559 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0, 0, 0, 0},{"_p_wxListbook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33560 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0, 0, 0, 0},{"_p_wxStaticBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33561 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0, 0, 0, 0},{"_p_wxSlider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33562 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0, 0, 0, 0},{"_p_wxStaticBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33563 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}}; 
33564 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0, 0, 0, 0},{"_p_wxContextHelp", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33565 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33566 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_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_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33567 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0, 0, 0, 0},{"_p_wxListEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33568 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0, 0, 0, 0},{"_p_wxCheckListBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33569 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0, 0, 0, 0},{"_p_wxListBox", 0, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33570 static swig_type_info _swigt__p_wxBookCtrl
[] = {{"_p_wxBookCtrl", 0, "wxBookCtrl *", 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxBookCtrl
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxBookCtrl
, 0, 0, 0, 0, 0},{"_p_wxBookCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxBookCtrl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33571 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0, 0, 0, 0},{"_p_wxSpinButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33572 static swig_type_info _swigt__p_wxButton
[] = {{"_p_wxButton", 0, "wxButton *", 0, 0, 0, 0},{"_p_wxButton", 0, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxButton
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxButton
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33573 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0, 0, 0, 0},{"_p_wxBitmapButton", 0, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33574 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}}; 
33575 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0, 0, 0, 0},{"_p_wxContextHelpButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33576 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0, 0, 0, 0},{"_p_wxRadioBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33577 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0, 0, 0, 0},{"_p_wxScrollBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33578 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}}; 
33579 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0, 0, 0, 0},{"_p_wxTreeItemId", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33580 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0, 0, 0, 0},{"_p_wxComboBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33581 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0, 0, 0, 0},{"_p_wxHelpEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33582 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0, 0, 0, 0},{"_p_wxListItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33583 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0, 0, 0, 0},{"_p_wxNotebookSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33584 static swig_type_info _swigt__p_wxSpinEvent
[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0, 0, 0, 0},{"_p_wxSpinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33585 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0, 0, 0, 0},{"_p_wxGenericDragImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33586 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0, 0, 0, 0},{"_p_wxSpinCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33587 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0, 0, 0, 0},{"_p_wxImageList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33588 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0, 0, 0, 0},{"_p_wxHelpProvider", 0, 0, 0, 0, 0, 0},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33589 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0, 0, 0, 0},{"_p_wxTextAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33590 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0, 0, 0, 0},{"_p_wxSimpleHelpProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33591 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}}; 
33592 static swig_type_info _swigt__p_wxChoicebookEvent
[] = {{"_p_wxChoicebookEvent", 0, "wxChoicebookEvent *", 0, 0, 0, 0},{"_p_wxChoicebookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33593 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0, 0, 0, 0},{"_p_wxListbookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33594 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0, 0, 0, 0},{"_p_wxNotebookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33595 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_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_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_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_wxCheckBox", _p_wxCheckBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_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_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_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_wxStaticLine", _p_wxStaticLineTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_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_wxListbook", _p_wxListbookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_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_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_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_wxWindow", _p_wxWindowTo_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_wxTreeEvent", _p_wxTreeEventTo_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_wxStaticText", _p_wxStaticTextTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_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}}; 
33596 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33597 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33598 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33599 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}}; 
33600 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}}; 
33601 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0, 0, 0, 0},{"_p_wxTreeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33602 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33603 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33604 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0, 0, 0, 0},{"_p_wxStaticText", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33605 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33606 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0, 0, 0, 0},{"_p_wxToolBarToolBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33607 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}}; 
33608 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}}; 
33609 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0, 0, 0, 0},{"_p_wxBookCtrlSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33610 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
33612 static swig_type_info 
*swig_types_initial
[] = { 
33613 _swigt__p_wxTextUrlEvent
,  
33614 _swigt__p_wxBookCtrlEvent
,  
33616 _swigt__p_wxCheckBox
,  
33617 _swigt__p_wxPyTreeCtrl
,  
33619 _swigt__p_wxGenericDirCtrl
,  
33621 _swigt__p_wxPyTreeItemData
,  
33622 _swigt__p_wxItemContainer
,  
33623 _swigt__p_wxPyListCtrl
,  
33624 _swigt__p_wxDirFilterListCtrl
,  
33625 _swigt__p_wxStaticLine
,  
33626 _swigt__p_wxControl
,  
33627 _swigt__p_wxPyControl
,  
33629 _swigt__p_wxToolBarBase
,  
33631 _swigt__p_wxToggleButton
,  
33632 _swigt__p_wxRadioButton
,  
33633 _swigt__p_wxChoice
,  
33634 _swigt__p_wxMemoryDC
,  
33635 _swigt__p_wxListItemAttr
,  
33640 _swigt__p_wxListView
,  
33642 _swigt__p_wxVisualAttributes
,  
33643 _swigt__p_wxTextCtrl
,  
33644 _swigt__p_wxNotebook
,  
33645 _swigt__p_wxChoicebook
,  
33646 _swigt__p_wxNotifyEvent
,  
33647 _swigt__p_wxArrayString
,  
33648 _swigt__p_wxListbook
,  
33649 _swigt__p_wxStaticBitmap
,  
33650 _swigt__p_wxSlider
,  
33651 _swigt__p_wxStaticBox
,  
33652 _swigt__p_wxArrayInt
,  
33653 _swigt__p_wxContextHelp
,  
33655 _swigt__p_wxEvtHandler
,  
33656 _swigt__p_wxListEvent
,  
33657 _swigt__p_wxCheckListBox
,  
33658 _swigt__p_wxListBox
,  
33659 _swigt__p_wxBookCtrl
,  
33660 _swigt__p_wxSpinButton
,  
33661 _swigt__p_wxButton
,  
33662 _swigt__p_wxBitmapButton
,  
33664 _swigt__p_wxContextHelpButton
,  
33665 _swigt__p_wxRadioBox
,  
33666 _swigt__p_wxScrollBar
,  
33668 _swigt__p_wxTreeItemId
,  
33669 _swigt__p_wxComboBox
,  
33670 _swigt__p_wxHelpEvent
,  
33671 _swigt__p_wxListItem
,  
33672 _swigt__p_wxNotebookSizer
,  
33673 _swigt__p_wxSpinEvent
,  
33674 _swigt__p_wxGenericDragImage
,  
33675 _swigt__p_wxSpinCtrl
,  
33676 _swigt__p_wxImageList
,  
33677 _swigt__p_wxHelpProvider
,  
33678 _swigt__p_wxTextAttr
,  
33679 _swigt__p_wxSimpleHelpProvider
,  
33681 _swigt__p_wxChoicebookEvent
,  
33682 _swigt__p_wxListbookEvent
,  
33683 _swigt__p_wxNotebookEvent
,  
33684 _swigt__p_wxObject
,  
33685 _swigt__p_wxCursor
,  
33686 _swigt__p_wxKeyEvent
,  
33687 _swigt__p_wxWindow
,  
33688 _swigt__p_wxString
,  
33689 _swigt__p_wxBitmap
,  
33690 _swigt__p_wxTreeEvent
,  
33691 _swigt__p_wxMouseEvent
,  
33692 _swigt__p_wxCommandEvent
,  
33693 _swigt__p_wxStaticText
,  
33694 _swigt__p_wxControlWithItems
,  
33695 _swigt__p_wxToolBarToolBase
,  
33696 _swigt__p_wxColour
,  
33697 _swigt__p_wxToolBar
,  
33698 _swigt__p_wxBookCtrlSizer
,  
33699 _swigt__p_wxValidator
,  
33704 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ 
33706 static swig_const_info swig_const_table
[] = { 
33707 {0, 0, 0, 0.0, 0, 0}}; 
33716 SWIGEXPORT(void) SWIG_init(void) { 
33717     static PyObject 
*SWIG_globals 
= 0;  
33718     static int       typeinit 
= 0; 
33721     if (!SWIG_globals
) SWIG_globals 
= SWIG_newvarlink(); 
33722     m 
= Py_InitModule((char *) SWIG_name
, SwigMethods
); 
33723     d 
= PyModule_GetDict(m
); 
33726         for (i 
= 0; swig_types_initial
[i
]; i
++) { 
33727             swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]); 
33731     SWIG_InstallConstants(d
,swig_const_table
); 
33733     PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
); 
33734     SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
); 
33735     PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)wxBU_LEFT
)); 
33736     PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)wxBU_TOP
)); 
33737     PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)wxBU_RIGHT
)); 
33738     PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)wxBU_BOTTOM
)); 
33739     PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)wxBU_EXACTFIT
)); 
33740     PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)wxBU_AUTODRAW
)); 
33741     SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
); 
33742     PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)wxCHK_2STATE
)); 
33743     PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)wxCHK_3STATE
)); 
33744     PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
)); 
33745     PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)wxCHK_UNCHECKED
)); 
33746     PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)wxCHK_CHECKED
)); 
33747     PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)wxCHK_UNDETERMINED
)); 
33748     SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
); 
33749     SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
); 
33750     SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
); 
33751     PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)wxGA_HORIZONTAL
)); 
33752     PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)wxGA_VERTICAL
)); 
33753     PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)wxGA_SMOOTH
)); 
33754     PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)wxGA_PROGRESSBAR
)); 
33755     SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
); 
33756     SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
); 
33757     SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
); 
33758     SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
); 
33759     SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
); 
33760     PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)wxTE_NO_VSCROLL
)); 
33761     PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)wxTE_AUTO_SCROLL
)); 
33762     PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)wxTE_READONLY
)); 
33763     PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)wxTE_MULTILINE
)); 
33764     PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)wxTE_PROCESS_TAB
)); 
33765     PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)wxTE_LEFT
)); 
33766     PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)wxTE_CENTER
)); 
33767     PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)wxTE_RIGHT
)); 
33768     PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)wxTE_CENTRE
)); 
33769     PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)wxTE_RICH
)); 
33770     PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)wxTE_PROCESS_ENTER
)); 
33771     PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)wxTE_PASSWORD
)); 
33772     PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)wxTE_AUTO_URL
)); 
33773     PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)wxTE_NOHIDESEL
)); 
33774     PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)wxTE_DONTWRAP
)); 
33775     PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)wxTE_LINEWRAP
)); 
33776     PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)wxTE_WORDWRAP
)); 
33777     PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)wxTE_RICH2
)); 
33778     PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)wxTEXT_ALIGNMENT_DEFAULT
)); 
33779     PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)wxTEXT_ALIGNMENT_LEFT
)); 
33780     PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTRE
)); 
33781     PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTER
)); 
33782     PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)wxTEXT_ALIGNMENT_RIGHT
)); 
33783     PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)wxTEXT_ALIGNMENT_JUSTIFIED
)); 
33784     PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_TEXT_COLOUR
)); 
33785     PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_BACKGROUND_COLOUR
)); 
33786     PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)wxTEXT_ATTR_FONT_FACE
)); 
33787     PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)wxTEXT_ATTR_FONT_SIZE
)); 
33788     PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)wxTEXT_ATTR_FONT_WEIGHT
)); 
33789     PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)wxTEXT_ATTR_FONT_ITALIC
)); 
33790     PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)wxTEXT_ATTR_FONT_UNDERLINE
)); 
33791     PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)wxTEXT_ATTR_FONT
)); 
33792     PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)wxTEXT_ATTR_ALIGNMENT
)); 
33793     PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_LEFT_INDENT
)); 
33794     PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_RIGHT_INDENT
)); 
33795     PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)wxTEXT_ATTR_TABS
)); 
33796     PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)wxTE_HT_UNKNOWN
)); 
33797     PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)wxTE_HT_BEFORE
)); 
33798     PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)wxTE_HT_ON_TEXT
)); 
33799     PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)wxTE_HT_BELOW
)); 
33800     PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)wxTE_HT_BEYOND
)); 
33801     PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
)); 
33802     PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
)); 
33803     PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
)); 
33804     PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
)); 
33805     SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
); 
33806     SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
); 
33807     SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
); 
33808     PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)wxSP_HORIZONTAL
)); 
33809     PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)wxSP_VERTICAL
)); 
33810     PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)wxSP_ARROW_KEYS
)); 
33811     PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)wxSP_WRAP
)); 
33812     PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
)); 
33813     SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
); 
33814     SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
); 
33815     SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
); 
33816     SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
); 
33817     PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
)); 
33818     SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
); 
33819     PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)wxNB_FIXEDWIDTH
)); 
33820     PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)wxNB_TOP
)); 
33821     PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)wxNB_LEFT
)); 
33822     PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)wxNB_RIGHT
)); 
33823     PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)wxNB_BOTTOM
)); 
33824     PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)wxNB_MULTILINE
)); 
33825     PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)wxNB_HITTEST_NOWHERE
)); 
33826     PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)wxNB_HITTEST_ONICON
)); 
33827     PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)wxNB_HITTEST_ONLABEL
)); 
33828     PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)wxNB_HITTEST_ONITEM
)); 
33829     PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
)); 
33830     PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
)); 
33831     PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)wxLB_DEFAULT
)); 
33832     PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)wxLB_TOP
)); 
33833     PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)wxLB_BOTTOM
)); 
33834     PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)wxLB_LEFT
)); 
33835     PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)wxLB_RIGHT
)); 
33836     PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)wxLB_ALIGN_MASK
)); 
33837     PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
)); 
33838     PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
)); 
33839     PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)wxCHB_DEFAULT
)); 
33840     PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)wxCHB_TOP
)); 
33841     PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)wxCHB_BOTTOM
)); 
33842     PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)wxCHB_LEFT
)); 
33843     PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)wxCHB_RIGHT
)); 
33844     PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)wxCHB_ALIGN_MASK
)); 
33845     PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
)); 
33846     PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
)); 
33847     PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)wxTOOL_STYLE_BUTTON
)); 
33848     PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)wxTOOL_STYLE_SEPARATOR
)); 
33849     PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)wxTOOL_STYLE_CONTROL
)); 
33850     PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)wxTB_HORIZONTAL
)); 
33851     PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)wxTB_VERTICAL
)); 
33852     PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)wxTB_3DBUTTONS
)); 
33853     PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)wxTB_FLAT
)); 
33854     PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)wxTB_DOCKABLE
)); 
33855     PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)wxTB_NOICONS
)); 
33856     PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)wxTB_TEXT
)); 
33857     PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)wxTB_NODIVIDER
)); 
33858     PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)wxTB_NOALIGN
)); 
33859     PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)wxTB_HORZ_LAYOUT
)); 
33860     PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)wxTB_HORZ_TEXT
)); 
33861     SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
); 
33862     PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)wxLC_VRULES
)); 
33863     PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)wxLC_HRULES
)); 
33864     PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)wxLC_ICON
)); 
33865     PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)wxLC_SMALL_ICON
)); 
33866     PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)wxLC_LIST
)); 
33867     PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)wxLC_REPORT
)); 
33868     PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)wxLC_ALIGN_TOP
)); 
33869     PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)wxLC_ALIGN_LEFT
)); 
33870     PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)wxLC_AUTOARRANGE
)); 
33871     PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)wxLC_VIRTUAL
)); 
33872     PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)wxLC_EDIT_LABELS
)); 
33873     PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)wxLC_NO_HEADER
)); 
33874     PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)wxLC_NO_SORT_HEADER
)); 
33875     PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)wxLC_SINGLE_SEL
)); 
33876     PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)wxLC_SORT_ASCENDING
)); 
33877     PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)wxLC_SORT_DESCENDING
)); 
33878     PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)wxLC_MASK_TYPE
)); 
33879     PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)wxLC_MASK_ALIGN
)); 
33880     PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)wxLC_MASK_SORT
)); 
33881     PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)wxLIST_MASK_STATE
)); 
33882     PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)wxLIST_MASK_TEXT
)); 
33883     PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)wxLIST_MASK_IMAGE
)); 
33884     PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)wxLIST_MASK_DATA
)); 
33885     PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)wxLIST_SET_ITEM
)); 
33886     PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)wxLIST_MASK_WIDTH
)); 
33887     PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)wxLIST_MASK_FORMAT
)); 
33888     PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)wxLIST_STATE_DONTCARE
)); 
33889     PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)wxLIST_STATE_DROPHILITED
)); 
33890     PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)wxLIST_STATE_FOCUSED
)); 
33891     PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)wxLIST_STATE_SELECTED
)); 
33892     PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)wxLIST_STATE_CUT
)); 
33893     PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)wxLIST_STATE_DISABLED
)); 
33894     PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)wxLIST_STATE_FILTERED
)); 
33895     PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)wxLIST_STATE_INUSE
)); 
33896     PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)wxLIST_STATE_PICKED
)); 
33897     PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)wxLIST_STATE_SOURCE
)); 
33898     PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)wxLIST_HITTEST_ABOVE
)); 
33899     PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)wxLIST_HITTEST_BELOW
)); 
33900     PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)wxLIST_HITTEST_NOWHERE
)); 
33901     PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMICON
)); 
33902     PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxLIST_HITTEST_ONITEMLABEL
)); 
33903     PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxLIST_HITTEST_ONITEMRIGHT
)); 
33904     PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMSTATEICON
)); 
33905     PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)wxLIST_HITTEST_TOLEFT
)); 
33906     PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)wxLIST_HITTEST_TORIGHT
)); 
33907     PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)wxLIST_HITTEST_ONITEM
)); 
33908     PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)wxLIST_NEXT_ABOVE
)); 
33909     PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)wxLIST_NEXT_ALL
)); 
33910     PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)wxLIST_NEXT_BELOW
)); 
33911     PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)wxLIST_NEXT_LEFT
)); 
33912     PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)wxLIST_NEXT_RIGHT
)); 
33913     PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)wxLIST_ALIGN_DEFAULT
)); 
33914     PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)wxLIST_ALIGN_LEFT
)); 
33915     PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)wxLIST_ALIGN_TOP
)); 
33916     PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)wxLIST_ALIGN_SNAP_TO_GRID
)); 
33917     PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)wxLIST_FORMAT_LEFT
)); 
33918     PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)wxLIST_FORMAT_RIGHT
)); 
33919     PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)wxLIST_FORMAT_CENTRE
)); 
33920     PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)wxLIST_FORMAT_CENTER
)); 
33921     PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)wxLIST_AUTOSIZE
)); 
33922     PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)wxLIST_AUTOSIZE_USEHEADER
)); 
33923     PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)wxLIST_RECT_BOUNDS
)); 
33924     PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)wxLIST_RECT_ICON
)); 
33925     PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)wxLIST_RECT_LABEL
)); 
33926     PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)wxLIST_FIND_UP
)); 
33927     PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)wxLIST_FIND_DOWN
)); 
33928     PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)wxLIST_FIND_LEFT
)); 
33929     PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)wxLIST_FIND_RIGHT
)); 
33930     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
)); 
33931     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
)); 
33932     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
)); 
33933     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
)); 
33934     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
)); 
33935     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
)); 
33936     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
)); 
33937     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
)); 
33938     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
)); 
33939     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
)); 
33940     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
)); 
33941     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
)); 
33942     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
)); 
33943     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
)); 
33944     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
)); 
33945     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
)); 
33946     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
)); 
33947     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
)); 
33948     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
)); 
33949     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
)); 
33950     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
)); 
33951     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
)); 
33953     // Map renamed classes back to their common name for OOR 
33954     wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl"); 
33956     SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
); 
33957     PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)wxTR_NO_BUTTONS
)); 
33958     PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)wxTR_HAS_BUTTONS
)); 
33959     PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)wxTR_NO_LINES
)); 
33960     PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)wxTR_LINES_AT_ROOT
)); 
33961     PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)wxTR_SINGLE
)); 
33962     PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)wxTR_MULTIPLE
)); 
33963     PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)wxTR_EXTENDED
)); 
33964     PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
)); 
33965     PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)wxTR_EDIT_LABELS
)); 
33966     PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)wxTR_HIDE_ROOT
)); 
33967     PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)wxTR_ROW_LINES
)); 
33968     PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)wxTR_FULL_ROW_HIGHLIGHT
)); 
33969     PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)wxTR_DEFAULT_STYLE
)); 
33970     PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)wxTR_TWIST_BUTTONS
)); 
33971     PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)wxTR_MAC_BUTTONS
)); 
33972     PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)wxTR_AQUA_BUTTONS
)); 
33973     PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)wxTreeItemIcon_Normal
)); 
33974     PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)wxTreeItemIcon_Selected
)); 
33975     PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)wxTreeItemIcon_Expanded
)); 
33976     PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)wxTreeItemIcon_SelectedExpanded
)); 
33977     PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)wxTreeItemIcon_Max
)); 
33978     PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)wxTREE_HITTEST_ABOVE
)); 
33979     PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)wxTREE_HITTEST_BELOW
)); 
33980     PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)wxTREE_HITTEST_NOWHERE
)); 
33981     PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMBUTTON
)); 
33982     PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMICON
)); 
33983     PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMINDENT
)); 
33984     PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLABEL
)); 
33985     PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMRIGHT
)); 
33986     PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMSTATEICON
)); 
33987     PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)wxTREE_HITTEST_TOLEFT
)); 
33988     PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)wxTREE_HITTEST_TORIGHT
)); 
33989     PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMUPPERPART
)); 
33990     PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLOWERPART
)); 
33991     PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)wxTREE_HITTEST_ONITEM
)); 
33992     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
)); 
33993     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
)); 
33994     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
)); 
33995     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
)); 
33996     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
)); 
33997     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
)); 
33998     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
)); 
33999     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
)); 
34000     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
)); 
34001     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
)); 
34002     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
)); 
34003     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
)); 
34004     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
)); 
34005     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
)); 
34006     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
)); 
34007     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
)); 
34008     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
)); 
34009     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
)); 
34010     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
)); 
34011     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
)); 
34013     // Map renamed classes back to their common name for OOR 
34014     wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData"); 
34015     wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl"); 
34017     SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
); 
34018     PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)wxDIRCTRL_DIR_ONLY
)); 
34019     PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)wxDIRCTRL_SELECT_FIRST
)); 
34020     PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)wxDIRCTRL_SHOW_FILTERS
)); 
34021     PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)wxDIRCTRL_3D_INTERNAL
)); 
34022     PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)wxDIRCTRL_EDIT_LABELS
)); 
34023     PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)wxFRAME_EX_CONTEXTHELP
)); 
34024     PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)wxDIALOG_EX_CONTEXTHELP
)); 
34025     PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
)); 
34026     PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
)); 
34028     wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");