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_TypeQuery       SWIG_Python_TypeQuery 
  47 #define SWIG_TypeClientData  SWIG_Python_TypeClientData 
  48 #define SWIG_PackData        SWIG_Python_PackData  
  49 #define SWIG_UnpackData      SWIG_Python_UnpackData  
  52 /*********************************************************************** 
  53  * common.swg for wxPython 
  55  * Include only the function prototypes and such from SWIG's common.swg, 
  56  * but not the runtime functions themselves.  This helps keep the 
  57  * wrapper files clean of unnecessary stuff that is in the libpy.c file 
  60  ************************************************************************/ 
  64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 
  65 #  if defined(_MSC_VER) || defined(__GNUC__) 
  66 #    if defined(STATIC_LINKED) 
  67 #      define SWIGEXPORT(a) a 
  68 #      define SWIGIMPORT(a) extern a 
  70 #      define SWIGEXPORT(a) __declspec(dllexport) a 
  71 #      define SWIGIMPORT(a) extern a 
  74 #    if defined(__BORLANDC__) 
  75 #      define SWIGEXPORT(a) a _export 
  76 #      define SWIGIMPORT(a) a _export 
  78 #      define SWIGEXPORT(a) a 
  79 #      define SWIGIMPORT(a) a 
  83 #  define SWIGEXPORT(a) a 
  84 #  define SWIGIMPORT(a) a 
  88 #  define SWIGRUNTIME(a) SWIGEXPORT(a) 
  90 #  define SWIGRUNTIME(a) static a 
  97 typedef void *(*swig_converter_func
)(void *); 
  98 typedef struct swig_type_info 
*(*swig_dycast_func
)(void **); 
 100 typedef struct swig_type_info 
{ 
 102   swig_converter_func     converter
; 
 105   swig_dycast_func        dcast
; 
 106   struct swig_type_info  
*next
; 
 107   struct swig_type_info  
*prev
; 
 111 SWIGIMPORT(swig_type_info 
*) SWIG_TypeRegister(swig_type_info 
*); 
 112 SWIGIMPORT(swig_type_info 
*) SWIG_TypeCheck(char *c
, swig_type_info 
*); 
 113 SWIGIMPORT(void *)           SWIG_TypeCast(swig_type_info 
*, void *); 
 114 SWIGIMPORT(swig_type_info 
*) SWIG_TypeDynamicCast(swig_type_info 
*, void **); 
 115 SWIGIMPORT(const char *)     SWIG_TypeName(const swig_type_info 
*); 
 116 SWIGIMPORT(swig_type_info 
*) SWIG_TypeQuery(const char *); 
 117 SWIGIMPORT(void)             SWIG_TypeClientData(swig_type_info 
*, void *); 
 118 SWIGIMPORT(char *)           SWIG_PackData(char *, void *, int); 
 119 SWIGIMPORT(char *)           SWIG_UnpackData(char *, void *, int); 
 126 /*********************************************************************** 
 127  * pyrun.swg for wxPython 
 129  * Include only the function prototypes and such from SWIG's pyrun.swg, 
 130  * but not the runtime functions themselves.  This helps keep the 
 131  * wrapper files clean of unnecessary stuff that is in the libpy.c file 
 134  ************************************************************************/ 
 142 #define SWIG_PY_INT     1 
 143 #define SWIG_PY_FLOAT   2 
 144 #define SWIG_PY_STRING  3 
 145 #define SWIG_PY_POINTER 4 
 146 #define SWIG_PY_BINARY  5 
 148 /* Flags for pointer conversion */ 
 150 #define SWIG_POINTER_EXCEPTION     0x1 
 151 #define SWIG_POINTER_DISOWN        0x2 
 153 /* Exception handling in wrappers */ 
 154 #define SWIG_fail   goto fail 
 156 /* Constant information structure */ 
 157 typedef struct swig_const_info 
{ 
 163     swig_type_info 
**ptype
; 
 166 /* Common SWIG API */ 
 167 #define SWIG_ConvertPtr(obj, pp, type, flags) \ 
 168   SWIG_Python_ConvertPtr(obj, pp, type, flags) 
 169 #define SWIG_NewPointerObj(p, type, flags) \ 
 170   SWIG_Python_NewPointerObj(p, type, flags) 
 171 #define SWIG_MustGetPtr(p, type, argnum, flags) \ 
 172   SWIG_Python_MustGetPtr(p, type, argnum, flags) 
 174 /* Python-specific SWIG API */ 
 175 #define SWIG_newvarlink() \ 
 176   SWIG_Python_newvarlink() 
 177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \ 
 178   SWIG_Python_addvarlink(p, name, get_attr, set_attr) 
 179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \ 
 180   SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) 
 181 #define SWIG_NewPackedObj(ptr, sz, type) \ 
 182   SWIG_Python_NewPackedObj(ptr, sz, type) 
 183 #define SWIG_InstallConstants(d, constants) \ 
 184   SWIG_Python_InstallConstants(d, constants) 
 186 typedef double (*py_objasdbl_conv
)(PyObject 
*obj
); 
 188 SWIGIMPORT(int)               SWIG_Python_ConvertPtr(PyObject 
*, void **, swig_type_info 
*, int); 
 189 SWIGIMPORT(PyObject 
*)        SWIG_Python_NewPointerObj(void *, swig_type_info 
*,int own
); 
 190 SWIGIMPORT(void *)            SWIG_Python_MustGetPtr(PyObject 
*, swig_type_info 
*, int, int); 
 191 SWIGIMPORT(PyObject 
*)        SWIG_Python_newvarlink(void); 
 192 SWIGIMPORT(void)              SWIG_Python_addvarlink(PyObject 
*, char *, PyObject 
*(*)(void), int (*)(PyObject 
*)); 
 193 SWIGIMPORT(int)               SWIG_Python_ConvertPacked(PyObject 
*, void *, int sz
, swig_type_info 
*, int); 
 194 SWIGIMPORT(PyObject 
*)        SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info 
*); 
 195 SWIGIMPORT(void)              SWIG_Python_InstallConstants(PyObject 
*d
, swig_const_info constants
[]); 
 198 /* Contract support */ 
 200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else 
 207 /* -------- TYPES TABLE (BEGIN) -------- */ 
 209 #define  SWIGTYPE_p_wxTextUrlEvent swig_types[0]  
 210 #define  SWIGTYPE_p_wxBookCtrlEvent swig_types[1]  
 211 #define  SWIGTYPE_p_wxSizer swig_types[2]  
 212 #define  SWIGTYPE_p_wxCheckBox swig_types[3]  
 213 #define  SWIGTYPE_p_wxPyTreeCtrl swig_types[4]  
 214 #define  SWIGTYPE_p_wxEvent swig_types[5]  
 215 #define  SWIGTYPE_p_wxGenericDirCtrl swig_types[6]  
 216 #define  SWIGTYPE_p_bool swig_types[7]  
 217 #define  SWIGTYPE_p_wxPyTreeItemData swig_types[8]  
 218 #define  SWIGTYPE_p_wxItemContainer swig_types[9]  
 219 #define  SWIGTYPE_p_wxPyListCtrl swig_types[10]  
 220 #define  SWIGTYPE_p_wxDirFilterListCtrl swig_types[11]  
 221 #define  SWIGTYPE_p_wxStaticLine swig_types[12]  
 222 #define  SWIGTYPE_p_wxControl swig_types[13]  
 223 #define  SWIGTYPE_p_wxPyControl swig_types[14]  
 224 #define  SWIGTYPE_p_wxGauge swig_types[15]  
 225 #define  SWIGTYPE_p_wxToolBarBase swig_types[16]  
 226 #define  SWIGTYPE_p_wxFont swig_types[17]  
 227 #define  SWIGTYPE_p_wxToggleButton swig_types[18]  
 228 #define  SWIGTYPE_p_wxRadioButton swig_types[19]  
 229 #define  SWIGTYPE_p_wxChoice swig_types[20]  
 230 #define  SWIGTYPE_p_wxMemoryDC swig_types[21]  
 231 #define  SWIGTYPE_p_wxListItemAttr swig_types[22]  
 232 #define  SWIGTYPE_p_void swig_types[23]  
 233 #define  SWIGTYPE_p_int swig_types[24]  
 234 #define  SWIGTYPE_p_wxSize swig_types[25]  
 235 #define  SWIGTYPE_p_wxDC swig_types[26]  
 236 #define  SWIGTYPE_p_wxListView swig_types[27]  
 237 #define  SWIGTYPE_p_wxIcon swig_types[28]  
 238 #define  SWIGTYPE_p_wxVisualAttributes swig_types[29]  
 239 #define  SWIGTYPE_p_wxTextCtrl swig_types[30]  
 240 #define  SWIGTYPE_p_wxNotebook swig_types[31]  
 241 #define  SWIGTYPE_p_wxNotifyEvent swig_types[32]  
 242 #define  SWIGTYPE_p_wxArrayString swig_types[33]  
 243 #define  SWIGTYPE_p_wxListbook swig_types[34]  
 244 #define  SWIGTYPE_p_wxStaticBitmap swig_types[35]  
 245 #define  SWIGTYPE_p_wxSlider swig_types[36]  
 246 #define  SWIGTYPE_p_wxStaticBox swig_types[37]  
 247 #define  SWIGTYPE_p_wxArrayInt swig_types[38]  
 248 #define  SWIGTYPE_p_wxContextHelp swig_types[39]  
 249 #define  SWIGTYPE_p_long swig_types[40]  
 250 #define  SWIGTYPE_p_wxEvtHandler swig_types[41]  
 251 #define  SWIGTYPE_p_wxListEvent swig_types[42]  
 252 #define  SWIGTYPE_p_wxCheckListBox swig_types[43]  
 253 #define  SWIGTYPE_p_wxListBox swig_types[44]  
 254 #define  SWIGTYPE_p_wxBookCtrl swig_types[45]  
 255 #define  SWIGTYPE_p_wxSpinButton swig_types[46]  
 256 #define  SWIGTYPE_p_wxButton swig_types[47]  
 257 #define  SWIGTYPE_p_wxBitmapButton swig_types[48]  
 258 #define  SWIGTYPE_p_wxRect swig_types[49]  
 259 #define  SWIGTYPE_p_wxContextHelpButton swig_types[50]  
 260 #define  SWIGTYPE_p_wxRadioBox swig_types[51]  
 261 #define  SWIGTYPE_p_wxScrollBar swig_types[52]  
 262 #define  SWIGTYPE_p_char swig_types[53]  
 263 #define  SWIGTYPE_p_wxTreeItemId swig_types[54]  
 264 #define  SWIGTYPE_p_wxComboBox swig_types[55]  
 265 #define  SWIGTYPE_p_wxHelpEvent swig_types[56]  
 266 #define  SWIGTYPE_p_wxListItem swig_types[57]  
 267 #define  SWIGTYPE_p_wxNotebookSizer swig_types[58]  
 268 #define  SWIGTYPE_p_wxSpinEvent swig_types[59]  
 269 #define  SWIGTYPE_p_wxGenericDragImage swig_types[60]  
 270 #define  SWIGTYPE_p_wxSpinCtrl swig_types[61]  
 271 #define  SWIGTYPE_p_wxImageList swig_types[62]  
 272 #define  SWIGTYPE_p_wxHelpProvider swig_types[63]  
 273 #define  SWIGTYPE_p_wxTextAttr swig_types[64]  
 274 #define  SWIGTYPE_p_wxSimpleHelpProvider swig_types[65]  
 275 #define  SWIGTYPE_p_wxPoint swig_types[66]  
 276 #define  SWIGTYPE_p_wxListbookEvent swig_types[67]  
 277 #define  SWIGTYPE_p_wxNotebookEvent swig_types[68]  
 278 #define  SWIGTYPE_p_wxObject swig_types[69]  
 279 #define  SWIGTYPE_p_wxCursor swig_types[70]  
 280 #define  SWIGTYPE_p_wxKeyEvent swig_types[71]  
 281 #define  SWIGTYPE_p_wxWindow swig_types[72]  
 282 #define  SWIGTYPE_p_wxString swig_types[73]  
 283 #define  SWIGTYPE_p_wxBitmap swig_types[74]  
 284 #define  SWIGTYPE_p_wxTreeEvent swig_types[75]  
 285 #define  SWIGTYPE_p_wxMouseEvent swig_types[76]  
 286 #define  SWIGTYPE_p_wxCommandEvent swig_types[77]  
 287 #define  SWIGTYPE_p_wxStaticText swig_types[78]  
 288 #define  SWIGTYPE_p_wxControlWithItems swig_types[79]  
 289 #define  SWIGTYPE_p_wxToolBarToolBase swig_types[80]  
 290 #define  SWIGTYPE_p_wxColour swig_types[81]  
 291 #define  SWIGTYPE_p_wxToolBar swig_types[82]  
 292 #define  SWIGTYPE_p_wxBookCtrlSizer swig_types[83]  
 293 #define  SWIGTYPE_p_wxValidator swig_types[84]  
 294 static swig_type_info 
*swig_types
[86]; 
 296 /* -------- TYPES TABLE (END) -------- */ 
 299 /*----------------------------------------------- 
 300               @(target):= _controls_.so 
 301   ------------------------------------------------*/ 
 302 #define SWIG_init    init_controls_ 
 304 #define SWIG_name    "_controls_" 
 306 /* Auxiliar swig  macros */ 
 309 #define SWIGSTATICINLINE(a) static inline a 
 310 #define SWIGSTATIC(a) static a 
 311 #define swig_new_array(type, size) (new type[(size)]) 
 312 #define swig_delete_array(cptr) delete[] cptr 
 313 #define swig_const_cast(type,a) const_cast<type>(a) 
 314 #define swig_static_cast(type,a) static_cast<type>(a) 
 315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a) 
 317 #ifdef HAVE_NUMERIC_CAST 
 318 #define swig_numeric_cast(type,a) numeric_cast<type>(a) 
 320 #define swig_numeric_cast(type,a) static_cast<type>(a) 
 325 #define SWIGSTATICINLINE(a) static a 
 326 #define SWIGSTATIC(a) static a 
 327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type))) 
 328 #define swig_delete_array(cptr) free((char*)cptr) 
 329 #define swig_const_cast(type,a) (type)(a) 
 330 #define swig_static_cast(type,a) (type)(a) 
 331 #define swig_reinterpret_cast(type,a) (type)(a) 
 332 #define swig_numeric_cast(type,a) (type)(a) 
 334 #endif /* __cplusplus */ 
 337 #define SWIG_FromSignedChar     PyInt_FromLong 
 338 #define SWIG_FromUnsignedChar   PyInt_FromLong 
 339 #define SWIG_FromShort         PyInt_FromLong 
 340 #define SWIG_FromUnsignedShort  PyInt_FromLong 
 341 #define SWIG_FromInt           PyInt_FromLong 
 342 #define SWIG_FromLong          PyInt_FromLong 
 343 #define SWIG_FromFloat         PyFloat_FromDouble 
 344 #define SWIG_FromDouble        PyFloat_FromDouble 
 345 #define SWIG_FromFloat         PyFloat_FromDouble 
 346 #define SWIG_FromDouble        PyFloat_FromDouble 
 349 #include "wx/wxPython/wxPython.h" 
 350 #include "wx/wxPython/pyclasses.h" 
 352  static const wxString 
wxPyPanelNameStr(wxPanelNameStr
);  
 353  static const wxString 
wxPyEmptyString(wxEmptyString
);  
 354  static const wxString 
wxPyControlNameStr(wxControlNameStr
);  
 356     const wxArrayString wxPyEmptyStringArray
; 
 358  static const wxString 
wxPyButtonNameStr(wxButtonNameStr
);  
 363 SWIGSTATICINLINE(long) 
 364 SWIG_CheckLongInRange(long value
, const char* type
, 
 365                       long min_value
, long max_value
) 
 367   if (!PyErr_Occurred()) { 
 368     if (value 
< min_value
) { 
 370         PyString_FromFormat("value %ld is less than '%s' minimum %ld",  
 371                             value
, type
, min_value
); 
 373       PyErr_SetObject(PyExc_OverflowError
, err
); 
 375     } else if (value 
> max_value
) { 
 377         PyString_FromFormat("value %ld is greater than '%s' maximum %ld",  
 378                             value
, type
, max_value
); 
 379       PyErr_SetObject(PyExc_OverflowError
, err
); 
 387 SWIGSTATICINLINE(long) 
 388 SWIG_AsLong(PyObject 
* obj
) 
 390     if (PyNumber_Check(obj
)) 
 391         return PyInt_AsLong(obj
); 
 393         PyObject
* errmsg 
= PyString_FromFormat("Expected number, got %s", 
 394                                                obj
->ob_type
->tp_name
); 
 395         PyErr_SetObject(PyExc_TypeError
, errmsg
); 
 402 #if INT_MAX != LONG_MAX 
 403 SWIGSTATICINLINE(int) 
 404 SWIG_AsInt(PyObject 
*obj
) 
 406   return swig_numeric_cast(int, 
 407     SWIG_CheckLongInRange(SWIG_AsLong(obj
), 
 408                           "int", INT_MIN
, INT_MAX
)); 
 411 #define SWIG_AsInt SWIG_AsLong 
 415 SWIGSTATICINLINE(int) 
 416 SWIG_CheckInt(PyObject
* obj
) 
 419   if (PyErr_Occurred()) { 
 428 SWIGSTATICINLINE(int) 
 429 SWIG_CheckLong(PyObject
* obj
) 
 432   if (PyErr_Occurred()) { 
 440  static const wxString 
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);  
 442 SWIGSTATICINLINE(bool) 
 443 SWIG_AsBool(PyObject 
*obj
) 
 445   return PyObject_IsTrue(obj
) ? true : false; 
 449 SWIGSTATICINLINE(int) 
 450 SWIG_CheckBool(PyObject
* obj
) 
 453   if (PyErr_Occurred()) { 
 461  static const wxString 
wxPyChoiceNameStr(wxChoiceNameStr
);  
 462  static const wxString 
wxPyComboBoxNameStr(wxComboBoxNameStr
);  
 463  static const wxString 
wxPyGaugeNameStr(wxGaugeNameStr
);  
 464  static const wxString 
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);  
 465  static const wxString 
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);  
 466  static const wxString 
wxPyStaticTextNameStr(wxStaticTextNameStr
);  
 468 #include <wx/checklst.h> 
 471  static const wxString 
wxPyListBoxNameStr(wxListBoxNameStr
);  
 472 void wxListBox_Insert(wxListBox 
*self
,wxString 
const &item
,int pos
,PyObject 
*clientData
){ 
 474                 wxPyClientData
* data 
= new wxPyClientData(clientData
); 
 475                 self
->Insert(item
, pos
, data
); 
 477                 self
->Insert(item
, pos
); 
 479 PyObject 
*wxListBox_GetSelections(wxListBox 
*self
){ 
 481           self
->GetSelections(lst
); 
 482           PyObject 
*tup 
= PyTuple_New(lst
.GetCount()); 
 483           for(size_t i
=0; i
<lst
.GetCount(); i
++) { 
 484               PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
])); 
 488 void wxListBox_SetItemForegroundColour(wxListBox 
*self
,int item
,wxColour 
const &c
){ 
 490                  if (self
->GetWindowStyle() & wxLB_OWNERDRAW
) 
 491                      self
->GetItem(item
)->SetTextColour(c
); 
 494 void wxListBox_SetItemBackgroundColour(wxListBox 
*self
,int item
,wxColour 
const &c
){ 
 496                  if (self
->GetWindowStyle() & wxLB_OWNERDRAW
) 
 497                      self
->GetItem(item
)->SetBackgroundColour(c
); 
 500 void wxListBox_SetItemFont(wxListBox 
*self
,int item
,wxFont 
const &f
){ 
 502                  if (self
->GetWindowStyle() & wxLB_OWNERDRAW
) 
 503                      self
->GetItem(item
)->SetFont(f
); 
 506  static const wxString 
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);  
 508 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) { 
 514     } else if (target 
== Py_None
) {   
 518         if (!PyTuple_Check(target
)) { 
 520             target 
= PyTuple_New(1); 
 521             PyTuple_SetItem(target
, 0, o2
); 
 524         PyTuple_SetItem(o3
, 0, o
);       
 527         target 
= PySequence_Concat(o2
, o3
);  
 535 SWIGSTATICINLINE(unsigned long) 
 536 SWIG_AsUnsignedLong(PyObject 
* obj
)  
 538   if (PyLong_Check(obj
)) { 
 539     return PyLong_AsUnsignedLong(obj
); 
 541     long i 
= SWIG_AsLong(obj
); 
 542     if ( !PyErr_Occurred() && (i 
< 0)) { 
 543       PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type"); 
 550 SWIGSTATICINLINE(int) 
 551 SWIG_CheckUnsignedLong(PyObject
* obj
) 
 553   SWIG_AsUnsignedLong(obj
); 
 554   if (PyErr_Occurred()) { 
 562 void wxTextCtrl_write(wxTextCtrl 
*self
,wxString 
const &text
){ 
 563             self
->AppendText(text
); 
 565 wxString 
wxTextCtrl_GetString(wxTextCtrl 
*self
,long from
,long to
){ 
 566             return self
->GetValue().Mid(from
, to 
- from
); 
 568  static const wxString 
wxPyScrollBarNameStr(wxScrollBarNameStr
);  
 569  static const wxString 
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);  
 570  static const wxString 
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));  
 571  static const wxString 
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);  
 572  static const wxString 
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);  
 574 #include <wx/slider.h> 
 577  static const wxString 
wxPySliderNameStr(wxSliderNameStr
);  
 578  static const wxString 
wxPyToggleButtonNameStr(_T("wxToggleButton"));  
 581 // implement dummy items for platforms that don't have this class 
 583 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0 
 585 class wxToggleButton 
: public wxControl
 
 588     wxToggleButton(wxWindow 
*, wxWindowID
, const wxString
&, 
 589                    const wxPoint
&, const wxSize
&, long, 
 590                    const wxValidator
&, const wxString
&) 
 591         { wxPyRaiseNotImplemented(); } 
 594         { wxPyRaiseNotImplemented(); } 
 598  static const wxString 
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);  
 600 SWIGSTATICINLINE(PyObject
* ) 
 601 SWIG_FromUnsignedLong(unsigned long value
) 
 603   return (value 
> LONG_MAX
) ? 
 604     PyLong_FromUnsignedLong(value
)  
 605     : PyInt_FromLong(swig_numeric_cast(long,value
));  
 608  static const wxString 
wxPyToolBarNameStr(wxToolBarNameStr
);  
 609 PyObject 
*wxToolBarToolBase_GetClientData(wxToolBarToolBase 
*self
){ 
 610             wxPyUserData
* udata 
= (wxPyUserData
*)self
->GetClientData(); 
 612                 Py_INCREF(udata
->m_obj
); 
 619 void wxToolBarToolBase_SetClientData(wxToolBarToolBase 
*self
,PyObject 
*clientData
){ 
 620             self
->SetClientData(new wxPyUserData(clientData
)); 
 622 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
){ 
 623             wxPyUserData
* udata 
= NULL
; 
 624             if (clientData 
&& clientData 
!= Py_None
) 
 625                 udata 
= new wxPyUserData(clientData
); 
 626             return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
, 
 627                                  shortHelp
, longHelp
, udata
); 
 629 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
){ 
 630             wxPyUserData
* udata 
= NULL
; 
 631             if (clientData 
&& clientData 
!= Py_None
) 
 632                 udata 
= new wxPyUserData(clientData
); 
 633             return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
, 
 634                                     shortHelp
, longHelp
, udata
); 
 636 PyObject 
*wxToolBarBase_GetToolClientData(wxToolBarBase 
*self
,int id
){ 
 637             wxPyUserData
* udata 
= (wxPyUserData
*)self
->GetToolClientData(id
); 
 639                 Py_INCREF(udata
->m_obj
); 
 646 void wxToolBarBase_SetToolClientData(wxToolBarBase 
*self
,int id
,PyObject 
*clientData
){ 
 647             self
->SetToolClientData(id
, new wxPyUserData(clientData
)); 
 650 #include <wx/listctrl.h> 
 653  static const wxString 
wxPyListCtrlNameStr(_T("wxListCtrl"));  
 654 void wxListItemAttr_Destroy(wxListItemAttr 
*self
){ delete self
; } 
 655  // Python aware sorting function for wxPyListCtrl 
 656     static int wxCALLBACK 
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) { 
 658         PyObject
* func 
= (PyObject
*)funcPtr
; 
 659         bool blocked 
= wxPyBeginBlockThreads(); 
 661         PyObject
* args 
= Py_BuildValue("(ii)", item1
, item2
); 
 662         PyObject
* result 
= PyEval_CallObject(func
, args
); 
 665             retval 
= PyInt_AsLong(result
); 
 669         wxPyEndBlockThreads(blocked
); 
 673   // C++ Version of a Python aware class 
 674 class wxPyListCtrl 
: public wxListCtrl 
{ 
 675     DECLARE_ABSTRACT_CLASS(wxPyListCtrl
); 
 677     wxPyListCtrl() : wxListCtrl() {} 
 678     wxPyListCtrl(wxWindow
* parent
, wxWindowID id
, 
 682                  const wxValidator
& validator
, 
 683                  const wxString
& name
) : 
 684         wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {} 
 686     bool Create(wxWindow
* parent
, wxWindowID id
, 
 690                 const wxValidator
& validator
, 
 691                 const wxString
& name
) { 
 692         return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
); 
 695     DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
); 
 696     DEC_PYCALLBACK_INT_LONG(OnGetItemImage
); 
 697     DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
); 
 702 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
); 
 704 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
); 
 705 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
); 
 706 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
); 
 708 wxListItem 
*wxPyListCtrl_GetColumn(wxPyListCtrl 
*self
,int col
){ 
 710             item
.SetMask( wxLIST_MASK_STATE 
| 
 718             if (self
->GetColumn(col
, item
)) 
 719                 return new wxListItem(item
); 
 723 wxListItem 
*wxPyListCtrl_GetItem(wxPyListCtrl 
*self
,long itemId
,int col
){ 
 724             wxListItem
* info 
= new wxListItem
; 
 725             info
->m_itemId 
= itemId
; 
 727             info
->m_mask 
= 0xFFFF; 
 728             self
->GetItem(*info
); 
 731 wxPoint 
wxPyListCtrl_GetItemPosition(wxPyListCtrl 
*self
,long item
){ 
 733             self
->GetItemPosition(item
, pos
); 
 736 wxRect 
wxPyListCtrl_GetItemRect(wxPyListCtrl 
*self
,long item
,int code
){ 
 738             self
->GetItemRect(item
, rect
, code
); 
 741 bool wxPyListCtrl_SortItems(wxPyListCtrl 
*self
,PyObject 
*func
){ 
 742             if (!PyCallable_Check(func
)) 
 744             return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
); 
 746 wxWindow 
*wxPyListCtrl_GetMainWindow(wxPyListCtrl 
*self
){ 
 750             return (wxWindow
*)self
->m_mainWin
; 
 754 #include <wx/treectrl.h> 
 755 #include "wx/wxPython/pytree.h" 
 757  static const wxString 
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));  
 758 bool wxTreeItemId___eq__(wxTreeItemId 
*self
,wxTreeItemId 
const *other
){ return other 
? (*self 
== *other
) : False
; } 
 759 bool wxTreeItemId___ne__(wxTreeItemId 
*self
,wxTreeItemId 
const *other
){ return other 
? (*self 
!= *other
) : True
;  } 
 760 void wxPyTreeItemData_Destroy(wxPyTreeItemData 
*self
){ delete self
; } 
 761  // C++ version of Python aware wxTreeCtrl 
 762 class wxPyTreeCtrl 
: public wxTreeCtrl 
{ 
 763     DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
); 
 765     wxPyTreeCtrl() : wxTreeCtrl() {} 
 766     wxPyTreeCtrl(wxWindow 
*parent
, wxWindowID id
, 
 770                  const wxValidator
& validator
, 
 771                  const wxString
& name
) : 
 772         wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {} 
 774     bool Create(wxWindow 
*parent
, wxWindowID id
, 
 778                 const wxValidator
& validator
, 
 779                 const wxString
& name
) { 
 780         return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
); 
 784     int OnCompareItems(const wxTreeItemId
& item1
, 
 785                        const wxTreeItemId
& item2
) { 
 788         bool blocked 
= wxPyBeginBlockThreads(); 
 789         if ((found 
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) { 
 790             PyObject 
*o1 
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
); 
 791             PyObject 
*o2 
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
); 
 792             rval 
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
)); 
 796         wxPyEndBlockThreads(blocked
); 
 798             rval 
= wxTreeCtrl::OnCompareItems(item1
, item2
); 
 804 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
); 
 808 #if UINT_MAX < LONG_MAX 
 809 #define SWIG_FromUnsignedInt    SWIG_FromLong 
 811 #define SWIG_FromUnsignedInt    SWIG_FromUnsignedLong 
 815 SWIGSTATICINLINE(unsigned long) 
 816 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
, 
 817                               unsigned long max_value
)  
 819   if (!PyErr_Occurred()) { 
 820     if (value 
> max_value
) {      
 822         PyString_FromFormat("value %ld is greater than '%s' minimum %ld", 
 823                             value
, type
, max_value
); 
 824       PyErr_SetObject(PyExc_OverflowError
, err
); 
 832 #if UINT_MAX != ULONG_MAX 
 833 SWIGSTATICINLINE(unsigned int) 
 834 SWIG_AsUnsignedInt(PyObject 
*obj
) 
 836   return swig_numeric_cast(unsigned int, 
 837     SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
), 
 838                                   "unsigned int", UINT_MAX
)); 
 841 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong 
 845 SWIGSTATICINLINE(int) 
 846 SWIG_CheckUnsignedInt(PyObject
* obj
) 
 848   SWIG_AsUnsignedInt(obj
); 
 849   if (PyErr_Occurred()) { 
 857 wxPyTreeItemData 
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl 
*self
,wxTreeItemId 
const &item
){ 
 858             wxPyTreeItemData
* data 
= (wxPyTreeItemData
*)self
->GetItemData(item
); 
 860                 data 
= new wxPyTreeItemData(); 
 861                 data
->SetId(item
); // set the id 
 862                 self
->SetItemData(item
, data
); 
 866 PyObject 
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl 
*self
,wxTreeItemId 
const &item
){ 
 867             wxPyTreeItemData
* data 
= (wxPyTreeItemData
*)self
->GetItemData(item
); 
 869                 data 
= new wxPyTreeItemData(); 
 870                 data
->SetId(item
); // set the id 
 871                 self
->SetItemData(item
, data
); 
 873             return data
->GetData(); 
 875 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl 
*self
,wxTreeItemId 
const &item
,wxPyTreeItemData 
*data
){ 
 876             data
->SetId(item
); // set the id 
 877             self
->SetItemData(item
, data
); 
 879 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl 
*self
,wxTreeItemId 
const &item
,PyObject 
*obj
){ 
 880             wxPyTreeItemData
* data 
= (wxPyTreeItemData
*)self
->GetItemData(item
); 
 882                 data 
= new wxPyTreeItemData(obj
); 
 883                 data
->SetId(item
); // set the id 
 884                 self
->SetItemData(item
, data
); 
 888 PyObject 
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl 
*self
){ 
 889             bool blocked 
= wxPyBeginBlockThreads(); 
 890             PyObject
*           rval 
= PyList_New(0); 
 891             wxArrayTreeItemIds  array
; 
 893             num 
= self
->GetSelections(array
); 
 894             for (x
=0; x 
< num
; x
++) { 
 895                 wxTreeItemId 
*tii 
= new wxTreeItemId(array
.Item(x
)); 
 896                 PyObject
* item 
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
); 
 897                 PyList_Append(rval
, item
); 
 899             wxPyEndBlockThreads(blocked
); 
 902 PyObject 
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl 
*self
,wxTreeItemId 
const &item
){ 
 904             wxTreeItemId
* ritem 
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
)); 
 905             bool blocked 
= wxPyBeginBlockThreads(); 
 906             PyObject
* tup 
= PyTuple_New(2); 
 907             PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
)); 
 908             PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void"))); 
 909             wxPyEndBlockThreads(blocked
); 
 912 PyObject 
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl 
*self
,wxTreeItemId 
const &item
,void *cookie
){ 
 913             wxTreeItemId
* ritem 
= new wxTreeItemId(self
->GetNextChild(item
, cookie
)); 
 914             bool blocked 
= wxPyBeginBlockThreads(); 
 915             PyObject
* tup 
= PyTuple_New(2); 
 916             PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
)); 
 917             PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void"))); 
 918             wxPyEndBlockThreads(blocked
); 
 921 PyObject 
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl 
*self
,wxTreeItemId 
const &item
,bool textOnly
){ 
 923             if (self
->GetBoundingRect(item
, rect
, textOnly
)) { 
 924                 bool blocked 
= wxPyBeginBlockThreads(); 
 925                 wxRect
* r 
= new wxRect(rect
); 
 926                 PyObject
* val 
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
); 
 927                 wxPyEndBlockThreads(blocked
); 
 933  static const wxString 
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);  
 934  // C++ version of Python aware wxControl 
 935 class wxPyControl 
: public wxControl
 
 937     DECLARE_DYNAMIC_CLASS(wxPyControl
) 
 939     wxPyControl() : wxControl() {} 
 940     wxPyControl(wxWindow
* parent
, const wxWindowID id
, 
 941                 const wxPoint
& pos 
= wxDefaultPosition
, 
 942                 const wxSize
& size 
= wxDefaultSize
, 
 944                 const wxValidator
& validator
=wxDefaultValidator
, 
 945                 const wxString
& name 
= wxPyControlNameStr
) 
 946         : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {} 
 949     DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
); 
 950     DEC_PYCALLBACK_VOID_INT5(DoSetSize
); 
 951     DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
); 
 952     DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
); 
 954     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
); 
 955     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
); 
 956     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
); 
 958     DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
); 
 959     DEC_PYCALLBACK_SIZE_const(DoGetBestSize
); 
 961     DEC_PYCALLBACK__(InitDialog
); 
 962     DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
); 
 963     DEC_PYCALLBACK_BOOL_(TransferDataToWindow
); 
 964     DEC_PYCALLBACK_BOOL_(Validate
); 
 966     DEC_PYCALLBACK_BOOL_const(AcceptsFocus
); 
 967     DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
); 
 968     DEC_PYCALLBACK_SIZE_const(GetMaxSize
); 
 970     DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
); 
 971     DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
); 
 973     DEC_PYCALLBACK_BOOL_(ShouldInheritColours
); 
 974     DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
); 
 979 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
); 
 981 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
); 
 982 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
); 
 983 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
); 
 984 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
); 
 986 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
); 
 987 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
); 
 988 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
); 
 990 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
); 
 991 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
); 
 993 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
); 
 994 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
); 
 995 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
); 
 996 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
); 
 998 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
); 
 999 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
); 
1000 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
); 
1002 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
); 
1003 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
); 
1005 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, ShouldInheritColours
); 
1006 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
); 
1010 void wxHelpProvider_Destroy(wxHelpProvider 
*self
){ delete self
; } 
1012 #include <wx/generic/dragimgg.h> 
1017 static int _wrap_ButtonNameStr_set(PyObject 
*_val
) { 
1018     PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only."); 
1023 static PyObject 
*_wrap_ButtonNameStr_get() { 
1028         pyobj 
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len()); 
1030         pyobj 
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len()); 
1037 static PyObject 
*_wrap_new_Button(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1038     PyObject 
*resultobj
; 
1039     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
1041     wxString 
*arg3 
= 0 ; 
1042     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
1043     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
1044     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
1045     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
1046     long arg6 
= (long) 0 ; 
1047     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
1048     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
1049     wxString 
const &arg8_defvalue 
= wxPyButtonNameStr 
; 
1050     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
1052     bool temp3 
= False 
; 
1055     bool temp8 
= False 
; 
1056     PyObject 
* obj0 
= 0 ; 
1057     PyObject 
* obj1 
= 0 ; 
1058     PyObject 
* obj2 
= 0 ; 
1059     PyObject 
* obj3 
= 0 ; 
1060     PyObject 
* obj4 
= 0 ; 
1061     PyObject 
* obj5 
= 0 ; 
1062     PyObject 
* obj6 
= 0 ; 
1063     PyObject 
* obj7 
= 0 ; 
1065         (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
1068     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
1069     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
1070     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1071     arg2 
= (int) SWIG_AsInt(obj1
);  
1072     if (PyErr_Occurred()) SWIG_fail
; 
1074         arg3 
= wxString_in_helper(obj2
); 
1075         if (arg3 
== NULL
) SWIG_fail
; 
1081             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
1087             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
1091         arg6 
= (long) SWIG_AsLong(obj5
);  
1092         if (PyErr_Occurred()) SWIG_fail
; 
1095         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
, 
1096         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1099             PyErr_SetString(PyExc_TypeError
,"null reference"); 
1105             arg8 
= wxString_in_helper(obj7
); 
1106             if (arg8 
== NULL
) SWIG_fail
; 
1111         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1112         result 
= (wxButton 
*)new wxButton(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
1114         wxPyEndAllowThreads(__tstate
); 
1115         if (PyErr_Occurred()) SWIG_fail
; 
1118         resultobj 
= wxPyMake_wxObject(result
);  
1142 static PyObject 
*_wrap_new_PreButton(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1143     PyObject 
*resultobj
; 
1149     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
; 
1151         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1152         result 
= (wxButton 
*)new wxButton(); 
1154         wxPyEndAllowThreads(__tstate
); 
1155         if (PyErr_Occurred()) SWIG_fail
; 
1158         resultobj 
= wxPyMake_wxObject(result
);  
1166 static PyObject 
*_wrap_Button_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1167     PyObject 
*resultobj
; 
1168     wxButton 
*arg1 
= (wxButton 
*) 0 ; 
1169     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
1171     wxString 
*arg4 
= 0 ; 
1172     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
1173     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
1174     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
1175     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
1176     long arg7 
= (long) 0 ; 
1177     wxValidator 
const &arg8_defvalue 
= wxDefaultValidator 
; 
1178     wxValidator 
*arg8 
= (wxValidator 
*) &arg8_defvalue 
; 
1179     wxString 
const &arg9_defvalue 
= wxPyButtonNameStr 
; 
1180     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
1182     bool temp4 
= False 
; 
1185     bool temp9 
= False 
; 
1186     PyObject 
* obj0 
= 0 ; 
1187     PyObject 
* obj1 
= 0 ; 
1188     PyObject 
* obj2 
= 0 ; 
1189     PyObject 
* obj3 
= 0 ; 
1190     PyObject 
* obj4 
= 0 ; 
1191     PyObject 
* obj5 
= 0 ; 
1192     PyObject 
* obj6 
= 0 ; 
1193     PyObject 
* obj7 
= 0 ; 
1194     PyObject 
* obj8 
= 0 ; 
1196         (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
1199     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
1200     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
, 
1201     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1202     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
1203     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1204     arg3 
= (int) SWIG_AsInt(obj2
);  
1205     if (PyErr_Occurred()) SWIG_fail
; 
1207         arg4 
= wxString_in_helper(obj3
); 
1208         if (arg4 
== NULL
) SWIG_fail
; 
1214             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
1220             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
1224         arg7 
= (long) SWIG_AsLong(obj6
);  
1225         if (PyErr_Occurred()) SWIG_fail
; 
1228         if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
, 
1229         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1232             PyErr_SetString(PyExc_TypeError
,"null reference"); 
1238             arg9 
= wxString_in_helper(obj8
); 
1239             if (arg9 
== NULL
) SWIG_fail
; 
1244         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1245         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxValidator 
const &)*arg8
,(wxString 
const &)*arg9
); 
1247         wxPyEndAllowThreads(__tstate
); 
1248         if (PyErr_Occurred()) SWIG_fail
; 
1251         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1275 static PyObject 
*_wrap_Button_SetDefault(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1276     PyObject 
*resultobj
; 
1277     wxButton 
*arg1 
= (wxButton 
*) 0 ; 
1278     PyObject 
* obj0 
= 0 ; 
1280         (char *) "self", NULL 
 
1283     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
; 
1284     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
, 
1285     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1287         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1288         (arg1
)->SetDefault(); 
1290         wxPyEndAllowThreads(__tstate
); 
1291         if (PyErr_Occurred()) SWIG_fail
; 
1293     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1300 static PyObject 
*_wrap_Button_GetDefaultSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1301     PyObject 
*resultobj
; 
1307     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
; 
1309         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1310         result 
= wxButton::GetDefaultSize(); 
1312         wxPyEndAllowThreads(__tstate
); 
1313         if (PyErr_Occurred()) SWIG_fail
; 
1317         resultptr 
= new wxSize((wxSize 
&) result
); 
1318         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
1326 static PyObject 
* Button_swigregister(PyObject 
*self
, PyObject 
*args
) { 
1328     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1329     SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
); 
1331     return Py_BuildValue((char *)""); 
1333 static PyObject 
*_wrap_new_BitmapButton(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1334     PyObject 
*resultobj
; 
1335     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
1337     wxBitmap 
*arg3 
= 0 ; 
1338     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
1339     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
1340     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
1341     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
1342     long arg6 
= (long) wxBU_AUTODRAW 
; 
1343     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
1344     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
1345     wxString 
const &arg8_defvalue 
= wxPyButtonNameStr 
; 
1346     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
1347     wxBitmapButton 
*result
; 
1350     bool temp8 
= False 
; 
1351     PyObject 
* obj0 
= 0 ; 
1352     PyObject 
* obj1 
= 0 ; 
1353     PyObject 
* obj2 
= 0 ; 
1354     PyObject 
* obj3 
= 0 ; 
1355     PyObject 
* obj4 
= 0 ; 
1356     PyObject 
* obj5 
= 0 ; 
1357     PyObject 
* obj6 
= 0 ; 
1358     PyObject 
* obj7 
= 0 ; 
1360         (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
1363     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
1364     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
1365     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1366     arg2 
= (int) SWIG_AsInt(obj1
);  
1367     if (PyErr_Occurred()) SWIG_fail
; 
1368     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
, 
1369     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1372         PyErr_SetString(PyExc_TypeError
,"null reference"); 
1378             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
1384             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
1388         arg6 
= (long) SWIG_AsLong(obj5
);  
1389         if (PyErr_Occurred()) SWIG_fail
; 
1392         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
, 
1393         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1396             PyErr_SetString(PyExc_TypeError
,"null reference"); 
1402             arg8 
= wxString_in_helper(obj7
); 
1403             if (arg8 
== NULL
) SWIG_fail
; 
1408         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1409         result 
= (wxBitmapButton 
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
1411         wxPyEndAllowThreads(__tstate
); 
1412         if (PyErr_Occurred()) SWIG_fail
; 
1415         resultobj 
= wxPyMake_wxObject(result
);  
1431 static PyObject 
*_wrap_new_PreBitmapButton(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1432     PyObject 
*resultobj
; 
1433     wxBitmapButton 
*result
; 
1438     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
; 
1440         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1441         result 
= (wxBitmapButton 
*)new wxBitmapButton(); 
1443         wxPyEndAllowThreads(__tstate
); 
1444         if (PyErr_Occurred()) SWIG_fail
; 
1447         resultobj 
= wxPyMake_wxObject(result
);  
1455 static PyObject 
*_wrap_BitmapButton_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1456     PyObject 
*resultobj
; 
1457     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
1458     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
1460     wxBitmap 
*arg4 
= 0 ; 
1461     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
1462     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
1463     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
1464     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
1465     long arg7 
= (long) wxBU_AUTODRAW 
; 
1466     wxValidator 
const &arg8_defvalue 
= wxDefaultValidator 
; 
1467     wxValidator 
*arg8 
= (wxValidator 
*) &arg8_defvalue 
; 
1468     wxString 
const &arg9_defvalue 
= wxPyButtonNameStr 
; 
1469     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
1473     bool temp9 
= False 
; 
1474     PyObject 
* obj0 
= 0 ; 
1475     PyObject 
* obj1 
= 0 ; 
1476     PyObject 
* obj2 
= 0 ; 
1477     PyObject 
* obj3 
= 0 ; 
1478     PyObject 
* obj4 
= 0 ; 
1479     PyObject 
* obj5 
= 0 ; 
1480     PyObject 
* obj6 
= 0 ; 
1481     PyObject 
* obj7 
= 0 ; 
1482     PyObject 
* obj8 
= 0 ; 
1484         (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
1487     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
1488     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
, 
1489     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1490     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
1491     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1492     arg3 
= (int) SWIG_AsInt(obj2
);  
1493     if (PyErr_Occurred()) SWIG_fail
; 
1494     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
, 
1495     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1498         PyErr_SetString(PyExc_TypeError
,"null reference"); 
1504             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
1510             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
1514         arg7 
= (long) SWIG_AsLong(obj6
);  
1515         if (PyErr_Occurred()) SWIG_fail
; 
1518         if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
, 
1519         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1522             PyErr_SetString(PyExc_TypeError
,"null reference"); 
1528             arg9 
= wxString_in_helper(obj8
); 
1529             if (arg9 
== NULL
) SWIG_fail
; 
1534         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1535         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxValidator 
const &)*arg8
,(wxString 
const &)*arg9
); 
1537         wxPyEndAllowThreads(__tstate
); 
1538         if (PyErr_Occurred()) SWIG_fail
; 
1541         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1557 static PyObject 
*_wrap_BitmapButton_GetBitmapLabel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1558     PyObject 
*resultobj
; 
1559     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
1561     PyObject 
* obj0 
= 0 ; 
1563         (char *) "self", NULL 
 
1566     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
; 
1567     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
, 
1568     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1570         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1571         result 
= (arg1
)->GetBitmapLabel(); 
1573         wxPyEndAllowThreads(__tstate
); 
1574         if (PyErr_Occurred()) SWIG_fail
; 
1577         wxBitmap 
* resultptr
; 
1578         resultptr 
= new wxBitmap((wxBitmap 
&) result
); 
1579         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
1587 static PyObject 
*_wrap_BitmapButton_GetBitmapDisabled(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1588     PyObject 
*resultobj
; 
1589     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
1591     PyObject 
* obj0 
= 0 ; 
1593         (char *) "self", NULL 
 
1596     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
; 
1597     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
, 
1598     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1600         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1601         result 
= (arg1
)->GetBitmapDisabled(); 
1603         wxPyEndAllowThreads(__tstate
); 
1604         if (PyErr_Occurred()) SWIG_fail
; 
1607         wxBitmap 
* resultptr
; 
1608         resultptr 
= new wxBitmap((wxBitmap 
&) result
); 
1609         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
1617 static PyObject 
*_wrap_BitmapButton_GetBitmapFocus(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1618     PyObject 
*resultobj
; 
1619     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
1621     PyObject 
* obj0 
= 0 ; 
1623         (char *) "self", NULL 
 
1626     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
; 
1627     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
, 
1628     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1630         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1631         result 
= (arg1
)->GetBitmapFocus(); 
1633         wxPyEndAllowThreads(__tstate
); 
1634         if (PyErr_Occurred()) SWIG_fail
; 
1637         wxBitmap 
* resultptr
; 
1638         resultptr 
= new wxBitmap((wxBitmap 
&) result
); 
1639         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
1647 static PyObject 
*_wrap_BitmapButton_GetBitmapSelected(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1648     PyObject 
*resultobj
; 
1649     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
1651     PyObject 
* obj0 
= 0 ; 
1653         (char *) "self", NULL 
 
1656     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
; 
1657     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
, 
1658     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1660         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1661         result 
= (arg1
)->GetBitmapSelected(); 
1663         wxPyEndAllowThreads(__tstate
); 
1664         if (PyErr_Occurred()) SWIG_fail
; 
1667         wxBitmap 
* resultptr
; 
1668         resultptr 
= new wxBitmap((wxBitmap 
&) result
); 
1669         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
1677 static PyObject 
*_wrap_BitmapButton_SetBitmapDisabled(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1678     PyObject 
*resultobj
; 
1679     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
1680     wxBitmap 
*arg2 
= 0 ; 
1681     PyObject 
* obj0 
= 0 ; 
1682     PyObject 
* obj1 
= 0 ; 
1684         (char *) "self",(char *) "bitmap", NULL 
 
1687     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
; 
1688     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
, 
1689     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1690     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
1691     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1694         PyErr_SetString(PyExc_TypeError
,"null reference"); 
1698         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1699         (arg1
)->SetBitmapDisabled((wxBitmap 
const &)*arg2
); 
1701         wxPyEndAllowThreads(__tstate
); 
1702         if (PyErr_Occurred()) SWIG_fail
; 
1704     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1711 static PyObject 
*_wrap_BitmapButton_SetBitmapFocus(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1712     PyObject 
*resultobj
; 
1713     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
1714     wxBitmap 
*arg2 
= 0 ; 
1715     PyObject 
* obj0 
= 0 ; 
1716     PyObject 
* obj1 
= 0 ; 
1718         (char *) "self",(char *) "bitmap", NULL 
 
1721     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
; 
1722     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
, 
1723     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1724     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
1725     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1728         PyErr_SetString(PyExc_TypeError
,"null reference"); 
1732         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1733         (arg1
)->SetBitmapFocus((wxBitmap 
const &)*arg2
); 
1735         wxPyEndAllowThreads(__tstate
); 
1736         if (PyErr_Occurred()) SWIG_fail
; 
1738     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1745 static PyObject 
*_wrap_BitmapButton_SetBitmapSelected(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1746     PyObject 
*resultobj
; 
1747     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
1748     wxBitmap 
*arg2 
= 0 ; 
1749     PyObject 
* obj0 
= 0 ; 
1750     PyObject 
* obj1 
= 0 ; 
1752         (char *) "self",(char *) "bitmap", NULL 
 
1755     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
; 
1756     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
, 
1757     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1758     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
1759     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1762         PyErr_SetString(PyExc_TypeError
,"null reference"); 
1766         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1767         (arg1
)->SetBitmapSelected((wxBitmap 
const &)*arg2
); 
1769         wxPyEndAllowThreads(__tstate
); 
1770         if (PyErr_Occurred()) SWIG_fail
; 
1772     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1779 static PyObject 
*_wrap_BitmapButton_SetBitmapLabel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1780     PyObject 
*resultobj
; 
1781     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
1782     wxBitmap 
*arg2 
= 0 ; 
1783     PyObject 
* obj0 
= 0 ; 
1784     PyObject 
* obj1 
= 0 ; 
1786         (char *) "self",(char *) "bitmap", NULL 
 
1789     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
; 
1790     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
, 
1791     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1792     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
1793     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1796         PyErr_SetString(PyExc_TypeError
,"null reference"); 
1800         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1801         (arg1
)->SetBitmapLabel((wxBitmap 
const &)*arg2
); 
1803         wxPyEndAllowThreads(__tstate
); 
1804         if (PyErr_Occurred()) SWIG_fail
; 
1806     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1813 static PyObject 
*_wrap_BitmapButton_SetMargins(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1814     PyObject 
*resultobj
; 
1815     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
1818     PyObject 
* obj0 
= 0 ; 
1819     PyObject 
* obj1 
= 0 ; 
1820     PyObject 
* obj2 
= 0 ; 
1822         (char *) "self",(char *) "x",(char *) "y", NULL 
 
1825     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
1826     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
, 
1827     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1828     arg2 
= (int) SWIG_AsInt(obj1
);  
1829     if (PyErr_Occurred()) SWIG_fail
; 
1830     arg3 
= (int) SWIG_AsInt(obj2
);  
1831     if (PyErr_Occurred()) SWIG_fail
; 
1833         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1834         (arg1
)->SetMargins(arg2
,arg3
); 
1836         wxPyEndAllowThreads(__tstate
); 
1837         if (PyErr_Occurred()) SWIG_fail
; 
1839     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1846 static PyObject 
*_wrap_BitmapButton_GetMarginX(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1847     PyObject 
*resultobj
; 
1848     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
1850     PyObject 
* obj0 
= 0 ; 
1852         (char *) "self", NULL 
 
1855     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
; 
1856     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
, 
1857     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1859         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1860         result 
= (int)((wxBitmapButton 
const *)arg1
)->GetMarginX(); 
1862         wxPyEndAllowThreads(__tstate
); 
1863         if (PyErr_Occurred()) SWIG_fail
; 
1865     resultobj 
= SWIG_FromInt((int)result
); 
1872 static PyObject 
*_wrap_BitmapButton_GetMarginY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1873     PyObject 
*resultobj
; 
1874     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
1876     PyObject 
* obj0 
= 0 ; 
1878         (char *) "self", NULL 
 
1881     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
; 
1882     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
, 
1883     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1885         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1886         result 
= (int)((wxBitmapButton 
const *)arg1
)->GetMarginY(); 
1888         wxPyEndAllowThreads(__tstate
); 
1889         if (PyErr_Occurred()) SWIG_fail
; 
1891     resultobj 
= SWIG_FromInt((int)result
); 
1898 static PyObject 
* BitmapButton_swigregister(PyObject 
*self
, PyObject 
*args
) { 
1900     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1901     SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
); 
1903     return Py_BuildValue((char *)""); 
1905 static int _wrap_CheckBoxNameStr_set(PyObject 
*_val
) { 
1906     PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only."); 
1911 static PyObject 
*_wrap_CheckBoxNameStr_get() { 
1916         pyobj 
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len()); 
1918         pyobj 
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len()); 
1925 static PyObject 
*_wrap_new_CheckBox(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1926     PyObject 
*resultobj
; 
1927     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
1929     wxString 
*arg3 
= 0 ; 
1930     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
1931     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
1932     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
1933     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
1934     long arg6 
= (long) 0 ; 
1935     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
1936     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
1937     wxString 
const &arg8_defvalue 
= wxPyCheckBoxNameStr 
; 
1938     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
1940     bool temp3 
= False 
; 
1943     bool temp8 
= False 
; 
1944     PyObject 
* obj0 
= 0 ; 
1945     PyObject 
* obj1 
= 0 ; 
1946     PyObject 
* obj2 
= 0 ; 
1947     PyObject 
* obj3 
= 0 ; 
1948     PyObject 
* obj4 
= 0 ; 
1949     PyObject 
* obj5 
= 0 ; 
1950     PyObject 
* obj6 
= 0 ; 
1951     PyObject 
* obj7 
= 0 ; 
1953         (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
1956     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
1957     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
1958     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1959     arg2 
= (int) SWIG_AsInt(obj1
);  
1960     if (PyErr_Occurred()) SWIG_fail
; 
1962         arg3 
= wxString_in_helper(obj2
); 
1963         if (arg3 
== NULL
) SWIG_fail
; 
1969             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
1975             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
1979         arg6 
= (long) SWIG_AsLong(obj5
);  
1980         if (PyErr_Occurred()) SWIG_fail
; 
1983         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
, 
1984         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1987             PyErr_SetString(PyExc_TypeError
,"null reference"); 
1993             arg8 
= wxString_in_helper(obj7
); 
1994             if (arg8 
== NULL
) SWIG_fail
; 
1999         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2000         result 
= (wxCheckBox 
*)new wxCheckBox(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
2002         wxPyEndAllowThreads(__tstate
); 
2003         if (PyErr_Occurred()) SWIG_fail
; 
2005     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1); 
2028 static PyObject 
*_wrap_new_PreCheckBox(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2029     PyObject 
*resultobj
; 
2035     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
; 
2037         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2038         result 
= (wxCheckBox 
*)new wxCheckBox(); 
2040         wxPyEndAllowThreads(__tstate
); 
2041         if (PyErr_Occurred()) SWIG_fail
; 
2043     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1); 
2050 static PyObject 
*_wrap_CheckBox_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2051     PyObject 
*resultobj
; 
2052     wxCheckBox 
*arg1 
= (wxCheckBox 
*) 0 ; 
2053     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
2055     wxString 
*arg4 
= 0 ; 
2056     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
2057     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
2058     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
2059     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
2060     long arg7 
= (long) 0 ; 
2061     wxValidator 
const &arg8_defvalue 
= wxDefaultValidator 
; 
2062     wxValidator 
*arg8 
= (wxValidator 
*) &arg8_defvalue 
; 
2063     wxString 
const &arg9_defvalue 
= wxPyCheckBoxNameStr 
; 
2064     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
2066     bool temp4 
= False 
; 
2069     bool temp9 
= False 
; 
2070     PyObject 
* obj0 
= 0 ; 
2071     PyObject 
* obj1 
= 0 ; 
2072     PyObject 
* obj2 
= 0 ; 
2073     PyObject 
* obj3 
= 0 ; 
2074     PyObject 
* obj4 
= 0 ; 
2075     PyObject 
* obj5 
= 0 ; 
2076     PyObject 
* obj6 
= 0 ; 
2077     PyObject 
* obj7 
= 0 ; 
2078     PyObject 
* obj8 
= 0 ; 
2080         (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
2083     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
2084     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
, 
2085     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2086     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
2087     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2088     arg3 
= (int) SWIG_AsInt(obj2
);  
2089     if (PyErr_Occurred()) SWIG_fail
; 
2091         arg4 
= wxString_in_helper(obj3
); 
2092         if (arg4 
== NULL
) SWIG_fail
; 
2098             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
2104             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
2108         arg7 
= (long) SWIG_AsLong(obj6
);  
2109         if (PyErr_Occurred()) SWIG_fail
; 
2112         if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
, 
2113         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
2116             PyErr_SetString(PyExc_TypeError
,"null reference"); 
2122             arg9 
= wxString_in_helper(obj8
); 
2123             if (arg9 
== NULL
) SWIG_fail
; 
2128         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2129         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxValidator 
const &)*arg8
,(wxString 
const &)*arg9
); 
2131         wxPyEndAllowThreads(__tstate
); 
2132         if (PyErr_Occurred()) SWIG_fail
; 
2135         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2159 static PyObject 
*_wrap_CheckBox_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2160     PyObject 
*resultobj
; 
2161     wxCheckBox 
*arg1 
= (wxCheckBox 
*) 0 ; 
2163     PyObject 
* obj0 
= 0 ; 
2165         (char *) "self", NULL 
 
2168     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
; 
2169     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
, 
2170     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2172         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2173         result 
= (bool)(arg1
)->GetValue(); 
2175         wxPyEndAllowThreads(__tstate
); 
2176         if (PyErr_Occurred()) SWIG_fail
; 
2179         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2187 static PyObject 
*_wrap_CheckBox_IsChecked(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2188     PyObject 
*resultobj
; 
2189     wxCheckBox 
*arg1 
= (wxCheckBox 
*) 0 ; 
2191     PyObject 
* obj0 
= 0 ; 
2193         (char *) "self", NULL 
 
2196     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
; 
2197     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
, 
2198     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2200         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2201         result 
= (bool)(arg1
)->IsChecked(); 
2203         wxPyEndAllowThreads(__tstate
); 
2204         if (PyErr_Occurred()) SWIG_fail
; 
2207         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2215 static PyObject 
*_wrap_CheckBox_SetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2216     PyObject 
*resultobj
; 
2217     wxCheckBox 
*arg1 
= (wxCheckBox 
*) 0 ; 
2219     PyObject 
* obj0 
= 0 ; 
2220     PyObject 
* obj1 
= 0 ; 
2222         (char *) "self",(char *) "state", NULL 
 
2225     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
2226     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
, 
2227     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2228     arg2 
= (bool const) SWIG_AsBool(obj1
);  
2229     if (PyErr_Occurred()) SWIG_fail
; 
2231         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2232         (arg1
)->SetValue(arg2
); 
2234         wxPyEndAllowThreads(__tstate
); 
2235         if (PyErr_Occurred()) SWIG_fail
; 
2237     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2244 static PyObject 
*_wrap_CheckBox_Get3StateValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2245     PyObject 
*resultobj
; 
2246     wxCheckBox 
*arg1 
= (wxCheckBox 
*) 0 ; 
2248     PyObject 
* obj0 
= 0 ; 
2250         (char *) "self", NULL 
 
2253     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
; 
2254     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
, 
2255     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2257         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2258         result 
= (int)((wxCheckBox 
const *)arg1
)->Get3StateValue(); 
2260         wxPyEndAllowThreads(__tstate
); 
2261         if (PyErr_Occurred()) SWIG_fail
; 
2263     resultobj 
= SWIG_FromInt((int)result
); 
2270 static PyObject 
*_wrap_CheckBox_Set3StateValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2271     PyObject 
*resultobj
; 
2272     wxCheckBox 
*arg1 
= (wxCheckBox 
*) 0 ; 
2274     PyObject 
* obj0 
= 0 ; 
2275     PyObject 
* obj1 
= 0 ; 
2277         (char *) "self",(char *) "state", NULL 
 
2280     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
2281     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
, 
2282     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2283     arg2 
= (wxCheckBoxState
) SWIG_AsInt(obj1
);  
2284     if (PyErr_Occurred()) SWIG_fail
; 
2286         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2287         (arg1
)->Set3StateValue((wxCheckBoxState 
)arg2
); 
2289         wxPyEndAllowThreads(__tstate
); 
2290         if (PyErr_Occurred()) SWIG_fail
; 
2292     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2299 static PyObject 
*_wrap_CheckBox_Is3State(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2300     PyObject 
*resultobj
; 
2301     wxCheckBox 
*arg1 
= (wxCheckBox 
*) 0 ; 
2303     PyObject 
* obj0 
= 0 ; 
2305         (char *) "self", NULL 
 
2308     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
; 
2309     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
, 
2310     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2312         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2313         result 
= (bool)((wxCheckBox 
const *)arg1
)->Is3State(); 
2315         wxPyEndAllowThreads(__tstate
); 
2316         if (PyErr_Occurred()) SWIG_fail
; 
2319         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2327 static PyObject 
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2328     PyObject 
*resultobj
; 
2329     wxCheckBox 
*arg1 
= (wxCheckBox 
*) 0 ; 
2331     PyObject 
* obj0 
= 0 ; 
2333         (char *) "self", NULL 
 
2336     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
; 
2337     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
, 
2338     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2340         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2341         result 
= (bool)((wxCheckBox 
const *)arg1
)->Is3rdStateAllowedForUser(); 
2343         wxPyEndAllowThreads(__tstate
); 
2344         if (PyErr_Occurred()) SWIG_fail
; 
2347         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2355 static PyObject 
* CheckBox_swigregister(PyObject 
*self
, PyObject 
*args
) { 
2357     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2358     SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
); 
2360     return Py_BuildValue((char *)""); 
2362 static int _wrap_ChoiceNameStr_set(PyObject 
*_val
) { 
2363     PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only."); 
2368 static PyObject 
*_wrap_ChoiceNameStr_get() { 
2373         pyobj 
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len()); 
2375         pyobj 
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len()); 
2382 static PyObject 
*_wrap_new_Choice(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2383     PyObject 
*resultobj
; 
2384     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
2385     int arg2 
= (int) -1 ; 
2386     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
2387     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
2388     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
2389     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
2390     wxArrayString 
const &arg5_defvalue 
= wxPyEmptyStringArray 
; 
2391     wxArrayString 
*arg5 
= (wxArrayString 
*) &arg5_defvalue 
; 
2392     long arg6 
= (long) 0 ; 
2393     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
2394     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
2395     wxString 
const &arg8_defvalue 
= wxPyChoiceNameStr 
; 
2396     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
2400     bool temp5 
= False 
; 
2401     bool temp8 
= False 
; 
2402     PyObject 
* obj0 
= 0 ; 
2403     PyObject 
* obj1 
= 0 ; 
2404     PyObject 
* obj2 
= 0 ; 
2405     PyObject 
* obj3 
= 0 ; 
2406     PyObject 
* obj4 
= 0 ; 
2407     PyObject 
* obj5 
= 0 ; 
2408     PyObject 
* obj6 
= 0 ; 
2409     PyObject 
* obj7 
= 0 ; 
2411         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
2414     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
2415     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
2416     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2418         arg2 
= (int) SWIG_AsInt(obj1
);  
2419         if (PyErr_Occurred()) SWIG_fail
; 
2424             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
2430             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
2435             if (! PySequence_Check(obj4
)) { 
2436                 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
2439             arg5 
= new wxArrayString
; 
2441             int i
, len
=PySequence_Length(obj4
); 
2442             for (i
=0; i
<len
; i
++) { 
2443                 PyObject
* item 
= PySequence_GetItem(obj4
, i
); 
2445                 PyObject
* str  
= PyObject_Unicode(item
); 
2447                 PyObject
* str  
= PyObject_Str(item
); 
2449                 if (PyErr_Occurred())  SWIG_fail
; 
2450                 arg5
->Add(Py2wxString(str
)); 
2457         arg6 
= (long) SWIG_AsLong(obj5
);  
2458         if (PyErr_Occurred()) SWIG_fail
; 
2461         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
, 
2462         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
2465             PyErr_SetString(PyExc_TypeError
,"null reference"); 
2471             arg8 
= wxString_in_helper(obj7
); 
2472             if (arg8 
== NULL
) SWIG_fail
; 
2477         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2478         result 
= (wxChoice 
*)new wxChoice(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,(wxArrayString 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
2480         wxPyEndAllowThreads(__tstate
); 
2481         if (PyErr_Occurred()) SWIG_fail
; 
2483     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1); 
2485         if (temp5
) delete arg5
; 
2494         if (temp5
) delete arg5
; 
2504 static PyObject 
*_wrap_new_PreChoice(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2505     PyObject 
*resultobj
; 
2511     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
; 
2513         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2514         result 
= (wxChoice 
*)new wxChoice(); 
2516         wxPyEndAllowThreads(__tstate
); 
2517         if (PyErr_Occurred()) SWIG_fail
; 
2519     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1); 
2526 static PyObject 
*_wrap_Choice_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2527     PyObject 
*resultobj
; 
2528     wxChoice 
*arg1 
= (wxChoice 
*) 0 ; 
2529     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
2530     int arg3 
= (int) -1 ; 
2531     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
2532     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
2533     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
2534     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
2535     wxArrayString 
const &arg6_defvalue 
= wxPyEmptyStringArray 
; 
2536     wxArrayString 
*arg6 
= (wxArrayString 
*) &arg6_defvalue 
; 
2537     long arg7 
= (long) 0 ; 
2538     wxValidator 
const &arg8_defvalue 
= wxDefaultValidator 
; 
2539     wxValidator 
*arg8 
= (wxValidator 
*) &arg8_defvalue 
; 
2540     wxString 
const &arg9_defvalue 
= wxPyChoiceNameStr 
; 
2541     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
2545     bool temp6 
= False 
; 
2546     bool temp9 
= False 
; 
2547     PyObject 
* obj0 
= 0 ; 
2548     PyObject 
* obj1 
= 0 ; 
2549     PyObject 
* obj2 
= 0 ; 
2550     PyObject 
* obj3 
= 0 ; 
2551     PyObject 
* obj4 
= 0 ; 
2552     PyObject 
* obj5 
= 0 ; 
2553     PyObject 
* obj6 
= 0 ; 
2554     PyObject 
* obj7 
= 0 ; 
2555     PyObject 
* obj8 
= 0 ; 
2557         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
2560     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
2561     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
, 
2562     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2563     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
2564     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2566         arg3 
= (int) SWIG_AsInt(obj2
);  
2567         if (PyErr_Occurred()) SWIG_fail
; 
2572             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
2578             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
2583             if (! PySequence_Check(obj5
)) { 
2584                 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
2587             arg6 
= new wxArrayString
; 
2589             int i
, len
=PySequence_Length(obj5
); 
2590             for (i
=0; i
<len
; i
++) { 
2591                 PyObject
* item 
= PySequence_GetItem(obj5
, i
); 
2593                 PyObject
* str  
= PyObject_Unicode(item
); 
2595                 PyObject
* str  
= PyObject_Str(item
); 
2597                 if (PyErr_Occurred())  SWIG_fail
; 
2598                 arg6
->Add(Py2wxString(str
)); 
2605         arg7 
= (long) SWIG_AsLong(obj6
);  
2606         if (PyErr_Occurred()) SWIG_fail
; 
2609         if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
, 
2610         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
2613             PyErr_SetString(PyExc_TypeError
,"null reference"); 
2619             arg9 
= wxString_in_helper(obj8
); 
2620             if (arg9 
== NULL
) SWIG_fail
; 
2625         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2626         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,(wxArrayString 
const &)*arg6
,arg7
,(wxValidator 
const &)*arg8
,(wxString 
const &)*arg9
); 
2628         wxPyEndAllowThreads(__tstate
); 
2629         if (PyErr_Occurred()) SWIG_fail
; 
2632         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2635         if (temp6
) delete arg6
; 
2644         if (temp6
) delete arg6
; 
2654 static PyObject 
*_wrap_Choice_SetSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2655     PyObject 
*resultobj
; 
2656     wxChoice 
*arg1 
= (wxChoice 
*) 0 ; 
2658     PyObject 
* obj0 
= 0 ; 
2659     PyObject 
* obj1 
= 0 ; 
2661         (char *) "self",(char *) "n", NULL 
 
2664     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
2665     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
, 
2666     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2667     arg2 
= (int const) SWIG_AsInt(obj1
);  
2668     if (PyErr_Occurred()) SWIG_fail
; 
2670         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2671         (arg1
)->SetSelection(arg2
); 
2673         wxPyEndAllowThreads(__tstate
); 
2674         if (PyErr_Occurred()) SWIG_fail
; 
2676     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2683 static PyObject 
*_wrap_Choice_SetStringSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2684     PyObject 
*resultobj
; 
2685     wxChoice 
*arg1 
= (wxChoice 
*) 0 ; 
2686     wxString 
*arg2 
= 0 ; 
2688     bool temp2 
= False 
; 
2689     PyObject 
* obj0 
= 0 ; 
2690     PyObject 
* obj1 
= 0 ; 
2692         (char *) "self",(char *) "string", NULL 
 
2695     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
2696     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
, 
2697     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2699         arg2 
= wxString_in_helper(obj1
); 
2700         if (arg2 
== NULL
) SWIG_fail
; 
2704         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2705         result 
= (bool)(arg1
)->SetStringSelection((wxString 
const &)*arg2
); 
2707         wxPyEndAllowThreads(__tstate
); 
2708         if (PyErr_Occurred()) SWIG_fail
; 
2711         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2727 static PyObject 
*_wrap_Choice_SetString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2728     PyObject 
*resultobj
; 
2729     wxChoice 
*arg1 
= (wxChoice 
*) 0 ; 
2731     wxString 
*arg3 
= 0 ; 
2732     bool temp3 
= False 
; 
2733     PyObject 
* obj0 
= 0 ; 
2734     PyObject 
* obj1 
= 0 ; 
2735     PyObject 
* obj2 
= 0 ; 
2737         (char *) "self",(char *) "n",(char *) "string", NULL 
 
2740     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
2741     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
, 
2742     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2743     arg2 
= (int) SWIG_AsInt(obj1
);  
2744     if (PyErr_Occurred()) SWIG_fail
; 
2746         arg3 
= wxString_in_helper(obj2
); 
2747         if (arg3 
== NULL
) SWIG_fail
; 
2751         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2752         (arg1
)->SetString(arg2
,(wxString 
const &)*arg3
); 
2754         wxPyEndAllowThreads(__tstate
); 
2755         if (PyErr_Occurred()) SWIG_fail
; 
2757     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2772 static PyObject 
* Choice_swigregister(PyObject 
*self
, PyObject 
*args
) { 
2774     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2775     SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
); 
2777     return Py_BuildValue((char *)""); 
2779 static int _wrap_ComboBoxNameStr_set(PyObject 
*_val
) { 
2780     PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only."); 
2785 static PyObject 
*_wrap_ComboBoxNameStr_get() { 
2790         pyobj 
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len()); 
2792         pyobj 
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len()); 
2799 static PyObject 
*_wrap_new_ComboBox(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2800     PyObject 
*resultobj
; 
2801     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
2802     int arg2 
= (int) -1 ; 
2803     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
2804     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
2805     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
2806     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
2807     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
2808     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
2809     wxArrayString 
const &arg6_defvalue 
= wxPyEmptyStringArray 
; 
2810     wxArrayString 
*arg6 
= (wxArrayString 
*) &arg6_defvalue 
; 
2811     long arg7 
= (long) 0 ; 
2812     wxValidator 
const &arg8_defvalue 
= wxDefaultValidator 
; 
2813     wxValidator 
*arg8 
= (wxValidator 
*) &arg8_defvalue 
; 
2814     wxString 
const &arg9_defvalue 
= wxPyComboBoxNameStr 
; 
2815     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
2817     bool temp3 
= False 
; 
2820     bool temp6 
= False 
; 
2821     bool temp9 
= False 
; 
2822     PyObject 
* obj0 
= 0 ; 
2823     PyObject 
* obj1 
= 0 ; 
2824     PyObject 
* obj2 
= 0 ; 
2825     PyObject 
* obj3 
= 0 ; 
2826     PyObject 
* obj4 
= 0 ; 
2827     PyObject 
* obj5 
= 0 ; 
2828     PyObject 
* obj6 
= 0 ; 
2829     PyObject 
* obj7 
= 0 ; 
2830     PyObject 
* obj8 
= 0 ; 
2832         (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
2835     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
2836     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
2837     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2839         arg2 
= (int) SWIG_AsInt(obj1
);  
2840         if (PyErr_Occurred()) SWIG_fail
; 
2844             arg3 
= wxString_in_helper(obj2
); 
2845             if (arg3 
== NULL
) SWIG_fail
; 
2852             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
2858             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
2863             if (! PySequence_Check(obj5
)) { 
2864                 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
2867             arg6 
= new wxArrayString
; 
2869             int i
, len
=PySequence_Length(obj5
); 
2870             for (i
=0; i
<len
; i
++) { 
2871                 PyObject
* item 
= PySequence_GetItem(obj5
, i
); 
2873                 PyObject
* str  
= PyObject_Unicode(item
); 
2875                 PyObject
* str  
= PyObject_Str(item
); 
2877                 if (PyErr_Occurred())  SWIG_fail
; 
2878                 arg6
->Add(Py2wxString(str
)); 
2885         arg7 
= (long) SWIG_AsLong(obj6
);  
2886         if (PyErr_Occurred()) SWIG_fail
; 
2889         if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
, 
2890         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
2893             PyErr_SetString(PyExc_TypeError
,"null reference"); 
2899             arg9 
= wxString_in_helper(obj8
); 
2900             if (arg9 
== NULL
) SWIG_fail
; 
2905         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2906         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
); 
2908         wxPyEndAllowThreads(__tstate
); 
2909         if (PyErr_Occurred()) SWIG_fail
; 
2911     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1); 
2917         if (temp6
) delete arg6
; 
2930         if (temp6
) delete arg6
; 
2940 static PyObject 
*_wrap_new_PreComboBox(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2941     PyObject 
*resultobj
; 
2947     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
; 
2949         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2950         result 
= (wxComboBox 
*)new wxComboBox(); 
2952         wxPyEndAllowThreads(__tstate
); 
2953         if (PyErr_Occurred()) SWIG_fail
; 
2955     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1); 
2962 static PyObject 
*_wrap_ComboBox_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2963     PyObject 
*resultobj
; 
2964     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
2965     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
2966     int arg3 
= (int) -1 ; 
2967     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
2968     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
2969     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
2970     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
2971     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
2972     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
2973     wxArrayString 
const &arg7_defvalue 
= wxPyEmptyStringArray 
; 
2974     wxArrayString 
*arg7 
= (wxArrayString 
*) &arg7_defvalue 
; 
2975     long arg8 
= (long) 0 ; 
2976     wxValidator 
const &arg9_defvalue 
= wxDefaultValidator 
; 
2977     wxValidator 
*arg9 
= (wxValidator 
*) &arg9_defvalue 
; 
2978     wxString 
const &arg10_defvalue 
= wxPyChoiceNameStr 
; 
2979     wxString 
*arg10 
= (wxString 
*) &arg10_defvalue 
; 
2981     bool temp4 
= False 
; 
2984     bool temp7 
= False 
; 
2985     bool temp10 
= False 
; 
2986     PyObject 
* obj0 
= 0 ; 
2987     PyObject 
* obj1 
= 0 ; 
2988     PyObject 
* obj2 
= 0 ; 
2989     PyObject 
* obj3 
= 0 ; 
2990     PyObject 
* obj4 
= 0 ; 
2991     PyObject 
* obj5 
= 0 ; 
2992     PyObject 
* obj6 
= 0 ; 
2993     PyObject 
* obj7 
= 0 ; 
2994     PyObject 
* obj8 
= 0 ; 
2995     PyObject 
* obj9 
= 0 ; 
2997         (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
3000     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
; 
3001     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3002     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3003     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
3004     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3006         arg3 
= (int) SWIG_AsInt(obj2
);  
3007         if (PyErr_Occurred()) SWIG_fail
; 
3011             arg4 
= wxString_in_helper(obj3
); 
3012             if (arg4 
== NULL
) SWIG_fail
; 
3019             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
3025             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
3030             if (! PySequence_Check(obj6
)) { 
3031                 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
3034             arg7 
= new wxArrayString
; 
3036             int i
, len
=PySequence_Length(obj6
); 
3037             for (i
=0; i
<len
; i
++) { 
3038                 PyObject
* item 
= PySequence_GetItem(obj6
, i
); 
3040                 PyObject
* str  
= PyObject_Unicode(item
); 
3042                 PyObject
* str  
= PyObject_Str(item
); 
3044                 if (PyErr_Occurred())  SWIG_fail
; 
3045                 arg7
->Add(Py2wxString(str
)); 
3052         arg8 
= (long) SWIG_AsLong(obj7
);  
3053         if (PyErr_Occurred()) SWIG_fail
; 
3056         if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
, 
3057         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
3060             PyErr_SetString(PyExc_TypeError
,"null reference"); 
3066             arg10 
= wxString_in_helper(obj9
); 
3067             if (arg10 
== NULL
) SWIG_fail
; 
3072         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3073         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
); 
3075         wxPyEndAllowThreads(__tstate
); 
3076         if (PyErr_Occurred()) SWIG_fail
; 
3079         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3086         if (temp7
) delete arg7
; 
3099         if (temp7
) delete arg7
; 
3109 static PyObject 
*_wrap_ComboBox_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3110     PyObject 
*resultobj
; 
3111     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
3113     PyObject 
* obj0 
= 0 ; 
3115         (char *) "self", NULL 
 
3118     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
; 
3119     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3120     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3122         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3123         result 
= ((wxComboBox 
const *)arg1
)->GetValue(); 
3125         wxPyEndAllowThreads(__tstate
); 
3126         if (PyErr_Occurred()) SWIG_fail
; 
3130         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3132         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3141 static PyObject 
*_wrap_ComboBox_SetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3142     PyObject 
*resultobj
; 
3143     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
3144     wxString 
*arg2 
= 0 ; 
3145     bool temp2 
= False 
; 
3146     PyObject 
* obj0 
= 0 ; 
3147     PyObject 
* obj1 
= 0 ; 
3149         (char *) "self",(char *) "value", NULL 
 
3152     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
3153     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3154     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3156         arg2 
= wxString_in_helper(obj1
); 
3157         if (arg2 
== NULL
) SWIG_fail
; 
3161         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3162         (arg1
)->SetValue((wxString 
const &)*arg2
); 
3164         wxPyEndAllowThreads(__tstate
); 
3165         if (PyErr_Occurred()) SWIG_fail
; 
3167     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3182 static PyObject 
*_wrap_ComboBox_Copy(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3183     PyObject 
*resultobj
; 
3184     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
3185     PyObject 
* obj0 
= 0 ; 
3187         (char *) "self", NULL 
 
3190     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
; 
3191     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3192     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3194         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3197         wxPyEndAllowThreads(__tstate
); 
3198         if (PyErr_Occurred()) SWIG_fail
; 
3200     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3207 static PyObject 
*_wrap_ComboBox_Cut(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3208     PyObject 
*resultobj
; 
3209     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
3210     PyObject 
* obj0 
= 0 ; 
3212         (char *) "self", NULL 
 
3215     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
; 
3216     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3217     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3219         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3222         wxPyEndAllowThreads(__tstate
); 
3223         if (PyErr_Occurred()) SWIG_fail
; 
3225     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3232 static PyObject 
*_wrap_ComboBox_Paste(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3233     PyObject 
*resultobj
; 
3234     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
3235     PyObject 
* obj0 
= 0 ; 
3237         (char *) "self", NULL 
 
3240     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
; 
3241     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3242     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3244         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3247         wxPyEndAllowThreads(__tstate
); 
3248         if (PyErr_Occurred()) SWIG_fail
; 
3250     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3257 static PyObject 
*_wrap_ComboBox_SetInsertionPoint(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3258     PyObject 
*resultobj
; 
3259     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
3261     PyObject 
* obj0 
= 0 ; 
3262     PyObject 
* obj1 
= 0 ; 
3264         (char *) "self",(char *) "pos", NULL 
 
3267     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
3268     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3269     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3270     arg2 
= (long) SWIG_AsLong(obj1
);  
3271     if (PyErr_Occurred()) SWIG_fail
; 
3273         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3274         (arg1
)->SetInsertionPoint(arg2
); 
3276         wxPyEndAllowThreads(__tstate
); 
3277         if (PyErr_Occurred()) SWIG_fail
; 
3279     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3286 static PyObject 
*_wrap_ComboBox_GetInsertionPoint(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3287     PyObject 
*resultobj
; 
3288     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
3290     PyObject 
* obj0 
= 0 ; 
3292         (char *) "self", NULL 
 
3295     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
; 
3296     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3297     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3299         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3300         result 
= (long)((wxComboBox 
const *)arg1
)->GetInsertionPoint(); 
3302         wxPyEndAllowThreads(__tstate
); 
3303         if (PyErr_Occurred()) SWIG_fail
; 
3305     resultobj 
= SWIG_FromLong((long)result
); 
3312 static PyObject 
*_wrap_ComboBox_GetLastPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3313     PyObject 
*resultobj
; 
3314     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
3316     PyObject 
* obj0 
= 0 ; 
3318         (char *) "self", NULL 
 
3321     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
; 
3322     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3323     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3325         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3326         result 
= (long)((wxComboBox 
const *)arg1
)->GetLastPosition(); 
3328         wxPyEndAllowThreads(__tstate
); 
3329         if (PyErr_Occurred()) SWIG_fail
; 
3331     resultobj 
= SWIG_FromLong((long)result
); 
3338 static PyObject 
*_wrap_ComboBox_Replace(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3339     PyObject 
*resultobj
; 
3340     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
3343     wxString 
*arg4 
= 0 ; 
3344     bool temp4 
= False 
; 
3345     PyObject 
* obj0 
= 0 ; 
3346     PyObject 
* obj1 
= 0 ; 
3347     PyObject 
* obj2 
= 0 ; 
3348     PyObject 
* obj3 
= 0 ; 
3350         (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL 
 
3353     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
3354     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3355     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3356     arg2 
= (long) SWIG_AsLong(obj1
);  
3357     if (PyErr_Occurred()) SWIG_fail
; 
3358     arg3 
= (long) SWIG_AsLong(obj2
);  
3359     if (PyErr_Occurred()) SWIG_fail
; 
3361         arg4 
= wxString_in_helper(obj3
); 
3362         if (arg4 
== NULL
) SWIG_fail
; 
3366         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3367         (arg1
)->Replace(arg2
,arg3
,(wxString 
const &)*arg4
); 
3369         wxPyEndAllowThreads(__tstate
); 
3370         if (PyErr_Occurred()) SWIG_fail
; 
3372     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3387 static PyObject 
*_wrap_ComboBox_SetSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3388     PyObject 
*resultobj
; 
3389     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
3391     PyObject 
* obj0 
= 0 ; 
3392     PyObject 
* obj1 
= 0 ; 
3394         (char *) "self",(char *) "n", NULL 
 
3397     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
3398     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3399     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3400     arg2 
= (int) SWIG_AsInt(obj1
);  
3401     if (PyErr_Occurred()) SWIG_fail
; 
3403         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3404         (arg1
)->SetSelection(arg2
); 
3406         wxPyEndAllowThreads(__tstate
); 
3407         if (PyErr_Occurred()) SWIG_fail
; 
3409     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3416 static PyObject 
*_wrap_ComboBox_SetMark(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3417     PyObject 
*resultobj
; 
3418     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
3421     PyObject 
* obj0 
= 0 ; 
3422     PyObject 
* obj1 
= 0 ; 
3423     PyObject 
* obj2 
= 0 ; 
3425         (char *) "self",(char *) "from",(char *) "to", NULL 
 
3428     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
3429     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3430     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3431     arg2 
= (long) SWIG_AsLong(obj1
);  
3432     if (PyErr_Occurred()) SWIG_fail
; 
3433     arg3 
= (long) SWIG_AsLong(obj2
);  
3434     if (PyErr_Occurred()) SWIG_fail
; 
3436         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3437         (arg1
)->SetSelection(arg2
,arg3
); 
3439         wxPyEndAllowThreads(__tstate
); 
3440         if (PyErr_Occurred()) SWIG_fail
; 
3442     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3449 static PyObject 
*_wrap_ComboBox_SetStringSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3450     PyObject 
*resultobj
; 
3451     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
3452     wxString 
*arg2 
= 0 ; 
3454     bool temp2 
= False 
; 
3455     PyObject 
* obj0 
= 0 ; 
3456     PyObject 
* obj1 
= 0 ; 
3458         (char *) "self",(char *) "string", NULL 
 
3461     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
3462     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3463     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3465         arg2 
= wxString_in_helper(obj1
); 
3466         if (arg2 
== NULL
) SWIG_fail
; 
3470         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3471         result 
= (bool)(arg1
)->SetStringSelection((wxString 
const &)*arg2
); 
3473         wxPyEndAllowThreads(__tstate
); 
3474         if (PyErr_Occurred()) SWIG_fail
; 
3477         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3493 static PyObject 
*_wrap_ComboBox_SetString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3494     PyObject 
*resultobj
; 
3495     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
3497     wxString 
*arg3 
= 0 ; 
3498     bool temp3 
= False 
; 
3499     PyObject 
* obj0 
= 0 ; 
3500     PyObject 
* obj1 
= 0 ; 
3501     PyObject 
* obj2 
= 0 ; 
3503         (char *) "self",(char *) "n",(char *) "string", NULL 
 
3506     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
3507     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3508     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3509     arg2 
= (int) SWIG_AsInt(obj1
);  
3510     if (PyErr_Occurred()) SWIG_fail
; 
3512         arg3 
= wxString_in_helper(obj2
); 
3513         if (arg3 
== NULL
) SWIG_fail
; 
3517         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3518         (arg1
)->SetString(arg2
,(wxString 
const &)*arg3
); 
3520         wxPyEndAllowThreads(__tstate
); 
3521         if (PyErr_Occurred()) SWIG_fail
; 
3523     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3538 static PyObject 
*_wrap_ComboBox_SetEditable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3539     PyObject 
*resultobj
; 
3540     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
3542     PyObject 
* obj0 
= 0 ; 
3543     PyObject 
* obj1 
= 0 ; 
3545         (char *) "self",(char *) "editable", NULL 
 
3548     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
; 
3549     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3550     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3551     arg2 
= (bool) SWIG_AsBool(obj1
);  
3552     if (PyErr_Occurred()) SWIG_fail
; 
3554         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3555         (arg1
)->SetEditable(arg2
); 
3557         wxPyEndAllowThreads(__tstate
); 
3558         if (PyErr_Occurred()) SWIG_fail
; 
3560     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3567 static PyObject 
*_wrap_ComboBox_SetInsertionPointEnd(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3568     PyObject 
*resultobj
; 
3569     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
3570     PyObject 
* obj0 
= 0 ; 
3572         (char *) "self", NULL 
 
3575     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
; 
3576     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3577     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3579         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3580         (arg1
)->SetInsertionPointEnd(); 
3582         wxPyEndAllowThreads(__tstate
); 
3583         if (PyErr_Occurred()) SWIG_fail
; 
3585     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3592 static PyObject 
*_wrap_ComboBox_Remove(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3593     PyObject 
*resultobj
; 
3594     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
3597     PyObject 
* obj0 
= 0 ; 
3598     PyObject 
* obj1 
= 0 ; 
3599     PyObject 
* obj2 
= 0 ; 
3601         (char *) "self",(char *) "from",(char *) "to", NULL 
 
3604     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
3605     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
, 
3606     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3607     arg2 
= (long) SWIG_AsLong(obj1
);  
3608     if (PyErr_Occurred()) SWIG_fail
; 
3609     arg3 
= (long) SWIG_AsLong(obj2
);  
3610     if (PyErr_Occurred()) SWIG_fail
; 
3612         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3613         (arg1
)->Remove(arg2
,arg3
); 
3615         wxPyEndAllowThreads(__tstate
); 
3616         if (PyErr_Occurred()) SWIG_fail
; 
3618     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3625 static PyObject 
* ComboBox_swigregister(PyObject 
*self
, PyObject 
*args
) { 
3627     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3628     SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
); 
3630     return Py_BuildValue((char *)""); 
3632 static int _wrap_GaugeNameStr_set(PyObject 
*_val
) { 
3633     PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only."); 
3638 static PyObject 
*_wrap_GaugeNameStr_get() { 
3643         pyobj 
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len()); 
3645         pyobj 
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len()); 
3652 static PyObject 
*_wrap_new_Gauge(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3653     PyObject 
*resultobj
; 
3654     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
3657     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
3658     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
3659     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
3660     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
3661     long arg6 
= (long) wxGA_HORIZONTAL 
; 
3662     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
3663     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
3664     wxString 
const &arg8_defvalue 
= wxPyGaugeNameStr 
; 
3665     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
3669     bool temp8 
= False 
; 
3670     PyObject 
* obj0 
= 0 ; 
3671     PyObject 
* obj1 
= 0 ; 
3672     PyObject 
* obj2 
= 0 ; 
3673     PyObject 
* obj3 
= 0 ; 
3674     PyObject 
* obj4 
= 0 ; 
3675     PyObject 
* obj5 
= 0 ; 
3676     PyObject 
* obj6 
= 0 ; 
3677     PyObject 
* obj7 
= 0 ; 
3679         (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
3682     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
3683     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
3684     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3685     arg2 
= (int) SWIG_AsInt(obj1
);  
3686     if (PyErr_Occurred()) SWIG_fail
; 
3687     arg3 
= (int) SWIG_AsInt(obj2
);  
3688     if (PyErr_Occurred()) SWIG_fail
; 
3692             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
3698             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
3702         arg6 
= (long) SWIG_AsLong(obj5
);  
3703         if (PyErr_Occurred()) SWIG_fail
; 
3706         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
, 
3707         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
3710             PyErr_SetString(PyExc_TypeError
,"null reference"); 
3716             arg8 
= wxString_in_helper(obj7
); 
3717             if (arg8 
== NULL
) SWIG_fail
; 
3722         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3723         result 
= (wxGauge 
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
3725         wxPyEndAllowThreads(__tstate
); 
3726         if (PyErr_Occurred()) SWIG_fail
; 
3728     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1); 
3743 static PyObject 
*_wrap_new_PreGauge(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3744     PyObject 
*resultobj
; 
3750     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
; 
3752         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3753         result 
= (wxGauge 
*)new wxGauge(); 
3755         wxPyEndAllowThreads(__tstate
); 
3756         if (PyErr_Occurred()) SWIG_fail
; 
3758     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1); 
3765 static PyObject 
*_wrap_Gauge_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3766     PyObject 
*resultobj
; 
3767     wxGauge 
*arg1 
= (wxGauge 
*) 0 ; 
3768     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
3771     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
3772     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
3773     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
3774     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
3775     long arg7 
= (long) wxGA_HORIZONTAL 
; 
3776     wxValidator 
const &arg8_defvalue 
= wxDefaultValidator 
; 
3777     wxValidator 
*arg8 
= (wxValidator 
*) &arg8_defvalue 
; 
3778     wxString 
const &arg9_defvalue 
= wxPyGaugeNameStr 
; 
3779     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
3783     bool temp9 
= False 
; 
3784     PyObject 
* obj0 
= 0 ; 
3785     PyObject 
* obj1 
= 0 ; 
3786     PyObject 
* obj2 
= 0 ; 
3787     PyObject 
* obj3 
= 0 ; 
3788     PyObject 
* obj4 
= 0 ; 
3789     PyObject 
* obj5 
= 0 ; 
3790     PyObject 
* obj6 
= 0 ; 
3791     PyObject 
* obj7 
= 0 ; 
3792     PyObject 
* obj8 
= 0 ; 
3794         (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
3797     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
3798     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
, 
3799     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3800     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
3801     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3802     arg3 
= (int) SWIG_AsInt(obj2
);  
3803     if (PyErr_Occurred()) SWIG_fail
; 
3804     arg4 
= (int) SWIG_AsInt(obj3
);  
3805     if (PyErr_Occurred()) SWIG_fail
; 
3809             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
3815             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
3819         arg7 
= (long) SWIG_AsLong(obj6
);  
3820         if (PyErr_Occurred()) SWIG_fail
; 
3823         if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
, 
3824         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
3827             PyErr_SetString(PyExc_TypeError
,"null reference"); 
3833             arg9 
= wxString_in_helper(obj8
); 
3834             if (arg9 
== NULL
) SWIG_fail
; 
3839         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3840         result 
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxValidator 
const &)*arg8
,(wxString 
const &)*arg9
); 
3842         wxPyEndAllowThreads(__tstate
); 
3843         if (PyErr_Occurred()) SWIG_fail
; 
3846         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3862 static PyObject 
*_wrap_Gauge_SetRange(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3863     PyObject 
*resultobj
; 
3864     wxGauge 
*arg1 
= (wxGauge 
*) 0 ; 
3866     PyObject 
* obj0 
= 0 ; 
3867     PyObject 
* obj1 
= 0 ; 
3869         (char *) "self",(char *) "range", NULL 
 
3872     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
; 
3873     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
, 
3874     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3875     arg2 
= (int) SWIG_AsInt(obj1
);  
3876     if (PyErr_Occurred()) SWIG_fail
; 
3878         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3879         (arg1
)->SetRange(arg2
); 
3881         wxPyEndAllowThreads(__tstate
); 
3882         if (PyErr_Occurred()) SWIG_fail
; 
3884     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3891 static PyObject 
*_wrap_Gauge_GetRange(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3892     PyObject 
*resultobj
; 
3893     wxGauge 
*arg1 
= (wxGauge 
*) 0 ; 
3895     PyObject 
* obj0 
= 0 ; 
3897         (char *) "self", NULL 
 
3900     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
; 
3901     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
, 
3902     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3904         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3905         result 
= (int)((wxGauge 
const *)arg1
)->GetRange(); 
3907         wxPyEndAllowThreads(__tstate
); 
3908         if (PyErr_Occurred()) SWIG_fail
; 
3910     resultobj 
= SWIG_FromInt((int)result
); 
3917 static PyObject 
*_wrap_Gauge_SetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3918     PyObject 
*resultobj
; 
3919     wxGauge 
*arg1 
= (wxGauge 
*) 0 ; 
3921     PyObject 
* obj0 
= 0 ; 
3922     PyObject 
* obj1 
= 0 ; 
3924         (char *) "self",(char *) "pos", NULL 
 
3927     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
3928     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
, 
3929     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3930     arg2 
= (int) SWIG_AsInt(obj1
);  
3931     if (PyErr_Occurred()) SWIG_fail
; 
3933         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3934         (arg1
)->SetValue(arg2
); 
3936         wxPyEndAllowThreads(__tstate
); 
3937         if (PyErr_Occurred()) SWIG_fail
; 
3939     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3946 static PyObject 
*_wrap_Gauge_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3947     PyObject 
*resultobj
; 
3948     wxGauge 
*arg1 
= (wxGauge 
*) 0 ; 
3950     PyObject 
* obj0 
= 0 ; 
3952         (char *) "self", NULL 
 
3955     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
; 
3956     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
, 
3957     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3959         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3960         result 
= (int)((wxGauge 
const *)arg1
)->GetValue(); 
3962         wxPyEndAllowThreads(__tstate
); 
3963         if (PyErr_Occurred()) SWIG_fail
; 
3965     resultobj 
= SWIG_FromInt((int)result
); 
3972 static PyObject 
*_wrap_Gauge_IsVertical(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3973     PyObject 
*resultobj
; 
3974     wxGauge 
*arg1 
= (wxGauge 
*) 0 ; 
3976     PyObject 
* obj0 
= 0 ; 
3978         (char *) "self", NULL 
 
3981     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
; 
3982     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
, 
3983     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3985         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3986         result 
= (bool)((wxGauge 
const *)arg1
)->IsVertical(); 
3988         wxPyEndAllowThreads(__tstate
); 
3989         if (PyErr_Occurred()) SWIG_fail
; 
3992         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4000 static PyObject 
*_wrap_Gauge_SetShadowWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4001     PyObject 
*resultobj
; 
4002     wxGauge 
*arg1 
= (wxGauge 
*) 0 ; 
4004     PyObject 
* obj0 
= 0 ; 
4005     PyObject 
* obj1 
= 0 ; 
4007         (char *) "self",(char *) "w", NULL 
 
4010     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
4011     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
, 
4012     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4013     arg2 
= (int) SWIG_AsInt(obj1
);  
4014     if (PyErr_Occurred()) SWIG_fail
; 
4016         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4017         (arg1
)->SetShadowWidth(arg2
); 
4019         wxPyEndAllowThreads(__tstate
); 
4020         if (PyErr_Occurred()) SWIG_fail
; 
4022     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4029 static PyObject 
*_wrap_Gauge_GetShadowWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4030     PyObject 
*resultobj
; 
4031     wxGauge 
*arg1 
= (wxGauge 
*) 0 ; 
4033     PyObject 
* obj0 
= 0 ; 
4035         (char *) "self", NULL 
 
4038     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
; 
4039     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
, 
4040     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4042         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4043         result 
= (int)((wxGauge 
const *)arg1
)->GetShadowWidth(); 
4045         wxPyEndAllowThreads(__tstate
); 
4046         if (PyErr_Occurred()) SWIG_fail
; 
4048     resultobj 
= SWIG_FromInt((int)result
); 
4055 static PyObject 
*_wrap_Gauge_SetBezelFace(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4056     PyObject 
*resultobj
; 
4057     wxGauge 
*arg1 
= (wxGauge 
*) 0 ; 
4059     PyObject 
* obj0 
= 0 ; 
4060     PyObject 
* obj1 
= 0 ; 
4062         (char *) "self",(char *) "w", NULL 
 
4065     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
; 
4066     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
, 
4067     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4068     arg2 
= (int) SWIG_AsInt(obj1
);  
4069     if (PyErr_Occurred()) SWIG_fail
; 
4071         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4072         (arg1
)->SetBezelFace(arg2
); 
4074         wxPyEndAllowThreads(__tstate
); 
4075         if (PyErr_Occurred()) SWIG_fail
; 
4077     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4084 static PyObject 
*_wrap_Gauge_GetBezelFace(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4085     PyObject 
*resultobj
; 
4086     wxGauge 
*arg1 
= (wxGauge 
*) 0 ; 
4088     PyObject 
* obj0 
= 0 ; 
4090         (char *) "self", NULL 
 
4093     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
; 
4094     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
, 
4095     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4097         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4098         result 
= (int)((wxGauge 
const *)arg1
)->GetBezelFace(); 
4100         wxPyEndAllowThreads(__tstate
); 
4101         if (PyErr_Occurred()) SWIG_fail
; 
4103     resultobj 
= SWIG_FromInt((int)result
); 
4110 static PyObject 
* Gauge_swigregister(PyObject 
*self
, PyObject 
*args
) { 
4112     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4113     SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
); 
4115     return Py_BuildValue((char *)""); 
4117 static int _wrap_StaticBitmapNameStr_set(PyObject 
*_val
) { 
4118     PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only."); 
4123 static PyObject 
*_wrap_StaticBitmapNameStr_get() { 
4128         pyobj 
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len()); 
4130         pyobj 
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len()); 
4137 static int _wrap_StaticBoxNameStr_set(PyObject 
*_val
) { 
4138     PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only."); 
4143 static PyObject 
*_wrap_StaticBoxNameStr_get() { 
4148         pyobj 
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len()); 
4150         pyobj 
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len()); 
4157 static int _wrap_StaticTextNameStr_set(PyObject 
*_val
) { 
4158     PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only."); 
4163 static PyObject 
*_wrap_StaticTextNameStr_get() { 
4168         pyobj 
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len()); 
4170         pyobj 
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len()); 
4177 static PyObject 
*_wrap_new_StaticBox(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4178     PyObject 
*resultobj
; 
4179     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
4181     wxString 
*arg3 
= 0 ; 
4182     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
4183     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
4184     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
4185     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
4186     long arg6 
= (long) 0 ; 
4187     wxString 
const &arg7_defvalue 
= wxPyStaticBoxNameStr 
; 
4188     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
4189     wxStaticBox 
*result
; 
4190     bool temp3 
= False 
; 
4193     bool temp7 
= False 
; 
4194     PyObject 
* obj0 
= 0 ; 
4195     PyObject 
* obj1 
= 0 ; 
4196     PyObject 
* obj2 
= 0 ; 
4197     PyObject 
* obj3 
= 0 ; 
4198     PyObject 
* obj4 
= 0 ; 
4199     PyObject 
* obj5 
= 0 ; 
4200     PyObject 
* obj6 
= 0 ; 
4202         (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
4205     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
4206     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
4207     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4208     arg2 
= (int) SWIG_AsInt(obj1
);  
4209     if (PyErr_Occurred()) SWIG_fail
; 
4211         arg3 
= wxString_in_helper(obj2
); 
4212         if (arg3 
== NULL
) SWIG_fail
; 
4218             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
4224             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
4228         arg6 
= (long) SWIG_AsLong(obj5
);  
4229         if (PyErr_Occurred()) SWIG_fail
; 
4233             arg7 
= wxString_in_helper(obj6
); 
4234             if (arg7 
== NULL
) SWIG_fail
; 
4239         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4240         result 
= (wxStaticBox 
*)new wxStaticBox(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
4242         wxPyEndAllowThreads(__tstate
); 
4243         if (PyErr_Occurred()) SWIG_fail
; 
4246         resultobj 
= wxPyMake_wxObject(result
);  
4270 static PyObject 
*_wrap_new_PreStaticBox(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4271     PyObject 
*resultobj
; 
4272     wxStaticBox 
*result
; 
4277     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
; 
4279         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4280         result 
= (wxStaticBox 
*)new wxStaticBox(); 
4282         wxPyEndAllowThreads(__tstate
); 
4283         if (PyErr_Occurred()) SWIG_fail
; 
4286         resultobj 
= wxPyMake_wxObject(result
);  
4294 static PyObject 
*_wrap_StaticBox_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4295     PyObject 
*resultobj
; 
4296     wxStaticBox 
*arg1 
= (wxStaticBox 
*) 0 ; 
4297     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
4299     wxString 
*arg4 
= 0 ; 
4300     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
4301     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
4302     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
4303     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
4304     long arg7 
= (long) 0 ; 
4305     wxString 
const &arg8_defvalue 
= wxPyStaticBoxNameStr 
; 
4306     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
4308     bool temp4 
= False 
; 
4311     bool temp8 
= False 
; 
4312     PyObject 
* obj0 
= 0 ; 
4313     PyObject 
* obj1 
= 0 ; 
4314     PyObject 
* obj2 
= 0 ; 
4315     PyObject 
* obj3 
= 0 ; 
4316     PyObject 
* obj4 
= 0 ; 
4317     PyObject 
* obj5 
= 0 ; 
4318     PyObject 
* obj6 
= 0 ; 
4319     PyObject 
* obj7 
= 0 ; 
4321         (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
4324     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
4325     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
, 
4326     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4327     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
4328     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4329     arg3 
= (int) SWIG_AsInt(obj2
);  
4330     if (PyErr_Occurred()) SWIG_fail
; 
4332         arg4 
= wxString_in_helper(obj3
); 
4333         if (arg4 
== NULL
) SWIG_fail
; 
4339             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
4345             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
4349         arg7 
= (long) SWIG_AsLong(obj6
);  
4350         if (PyErr_Occurred()) SWIG_fail
; 
4354             arg8 
= wxString_in_helper(obj7
); 
4355             if (arg8 
== NULL
) SWIG_fail
; 
4360         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4361         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxString 
const &)*arg8
); 
4363         wxPyEndAllowThreads(__tstate
); 
4364         if (PyErr_Occurred()) SWIG_fail
; 
4367         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4391 static PyObject 
* StaticBox_swigregister(PyObject 
*self
, PyObject 
*args
) { 
4393     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4394     SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
); 
4396     return Py_BuildValue((char *)""); 
4398 static PyObject 
*_wrap_new_StaticLine(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4399     PyObject 
*resultobj
; 
4400     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
4402     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
4403     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
4404     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
4405     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
4406     long arg5 
= (long) wxLI_HORIZONTAL 
; 
4407     wxString 
const &arg6_defvalue 
= wxPyStaticTextNameStr 
; 
4408     wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
4409     wxStaticLine 
*result
; 
4412     bool temp6 
= False 
; 
4413     PyObject 
* obj0 
= 0 ; 
4414     PyObject 
* obj1 
= 0 ; 
4415     PyObject 
* obj2 
= 0 ; 
4416     PyObject 
* obj3 
= 0 ; 
4417     PyObject 
* obj4 
= 0 ; 
4418     PyObject 
* obj5 
= 0 ; 
4420         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
4423     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
4424     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
4425     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4426     arg2 
= (int) SWIG_AsInt(obj1
);  
4427     if (PyErr_Occurred()) SWIG_fail
; 
4431             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
4437             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
4441         arg5 
= (long) SWIG_AsLong(obj4
);  
4442         if (PyErr_Occurred()) SWIG_fail
; 
4446             arg6 
= wxString_in_helper(obj5
); 
4447             if (arg6 
== NULL
) SWIG_fail
; 
4452         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4453         result 
= (wxStaticLine 
*)new wxStaticLine(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
4455         wxPyEndAllowThreads(__tstate
); 
4456         if (PyErr_Occurred()) SWIG_fail
; 
4458     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1); 
4473 static PyObject 
*_wrap_new_PreStaticLine(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4474     PyObject 
*resultobj
; 
4475     wxStaticLine 
*result
; 
4480     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
; 
4482         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4483         result 
= (wxStaticLine 
*)new wxStaticLine(); 
4485         wxPyEndAllowThreads(__tstate
); 
4486         if (PyErr_Occurred()) SWIG_fail
; 
4488     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1); 
4495 static PyObject 
*_wrap_StaticLine_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4496     PyObject 
*resultobj
; 
4497     wxStaticLine 
*arg1 
= (wxStaticLine 
*) 0 ; 
4498     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
4500     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
4501     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
4502     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
4503     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
4504     long arg6 
= (long) wxLI_HORIZONTAL 
; 
4505     wxString 
const &arg7_defvalue 
= wxPyStaticTextNameStr 
; 
4506     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
4510     bool temp7 
= False 
; 
4511     PyObject 
* obj0 
= 0 ; 
4512     PyObject 
* obj1 
= 0 ; 
4513     PyObject 
* obj2 
= 0 ; 
4514     PyObject 
* obj3 
= 0 ; 
4515     PyObject 
* obj4 
= 0 ; 
4516     PyObject 
* obj5 
= 0 ; 
4517     PyObject 
* obj6 
= 0 ; 
4519         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
4522     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
4523     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
, 
4524     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4525     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
4526     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4527     arg3 
= (int) SWIG_AsInt(obj2
);  
4528     if (PyErr_Occurred()) SWIG_fail
; 
4532             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
4538             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
4542         arg6 
= (long) SWIG_AsLong(obj5
);  
4543         if (PyErr_Occurred()) SWIG_fail
; 
4547             arg7 
= wxString_in_helper(obj6
); 
4548             if (arg7 
== NULL
) SWIG_fail
; 
4553         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4554         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
4556         wxPyEndAllowThreads(__tstate
); 
4557         if (PyErr_Occurred()) SWIG_fail
; 
4560         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4576 static PyObject 
*_wrap_StaticLine_IsVertical(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4577     PyObject 
*resultobj
; 
4578     wxStaticLine 
*arg1 
= (wxStaticLine 
*) 0 ; 
4580     PyObject 
* obj0 
= 0 ; 
4582         (char *) "self", NULL 
 
4585     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
; 
4586     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
, 
4587     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4589         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4590         result 
= (bool)((wxStaticLine 
const *)arg1
)->IsVertical(); 
4592         wxPyEndAllowThreads(__tstate
); 
4593         if (PyErr_Occurred()) SWIG_fail
; 
4596         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4604 static PyObject 
*_wrap_StaticLine_GetDefaultSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4605     PyObject 
*resultobj
; 
4611     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
; 
4613         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4614         result 
= (int)wxStaticLine::GetDefaultSize(); 
4616         wxPyEndAllowThreads(__tstate
); 
4617         if (PyErr_Occurred()) SWIG_fail
; 
4619     resultobj 
= SWIG_FromInt((int)result
); 
4626 static PyObject 
* StaticLine_swigregister(PyObject 
*self
, PyObject 
*args
) { 
4628     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4629     SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
); 
4631     return Py_BuildValue((char *)""); 
4633 static PyObject 
*_wrap_new_StaticText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4634     PyObject 
*resultobj
; 
4635     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
4637     wxString 
*arg3 
= 0 ; 
4638     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
4639     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
4640     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
4641     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
4642     long arg6 
= (long) 0 ; 
4643     wxString 
const &arg7_defvalue 
= wxPyStaticTextNameStr 
; 
4644     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
4645     wxStaticText 
*result
; 
4646     bool temp3 
= False 
; 
4649     bool temp7 
= False 
; 
4650     PyObject 
* obj0 
= 0 ; 
4651     PyObject 
* obj1 
= 0 ; 
4652     PyObject 
* obj2 
= 0 ; 
4653     PyObject 
* obj3 
= 0 ; 
4654     PyObject 
* obj4 
= 0 ; 
4655     PyObject 
* obj5 
= 0 ; 
4656     PyObject 
* obj6 
= 0 ; 
4658         (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
4661     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
4662     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
4663     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4664     arg2 
= (int) SWIG_AsInt(obj1
);  
4665     if (PyErr_Occurred()) SWIG_fail
; 
4667         arg3 
= wxString_in_helper(obj2
); 
4668         if (arg3 
== NULL
) SWIG_fail
; 
4674             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
4680             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
4684         arg6 
= (long) SWIG_AsLong(obj5
);  
4685         if (PyErr_Occurred()) SWIG_fail
; 
4689             arg7 
= wxString_in_helper(obj6
); 
4690             if (arg7 
== NULL
) SWIG_fail
; 
4695         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4696         result 
= (wxStaticText 
*)new wxStaticText(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
4698         wxPyEndAllowThreads(__tstate
); 
4699         if (PyErr_Occurred()) SWIG_fail
; 
4701     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1); 
4724 static PyObject 
*_wrap_new_PreStaticText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4725     PyObject 
*resultobj
; 
4726     wxStaticText 
*result
; 
4731     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
; 
4733         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4734         result 
= (wxStaticText 
*)new wxStaticText(); 
4736         wxPyEndAllowThreads(__tstate
); 
4737         if (PyErr_Occurred()) SWIG_fail
; 
4739     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1); 
4746 static PyObject 
*_wrap_StaticText_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4747     PyObject 
*resultobj
; 
4748     wxStaticText 
*arg1 
= (wxStaticText 
*) 0 ; 
4749     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
4751     wxString 
*arg4 
= 0 ; 
4752     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
4753     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
4754     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
4755     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
4756     long arg7 
= (long) 0 ; 
4757     wxString 
const &arg8_defvalue 
= wxPyStaticTextNameStr 
; 
4758     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
4760     bool temp4 
= False 
; 
4763     bool temp8 
= False 
; 
4764     PyObject 
* obj0 
= 0 ; 
4765     PyObject 
* obj1 
= 0 ; 
4766     PyObject 
* obj2 
= 0 ; 
4767     PyObject 
* obj3 
= 0 ; 
4768     PyObject 
* obj4 
= 0 ; 
4769     PyObject 
* obj5 
= 0 ; 
4770     PyObject 
* obj6 
= 0 ; 
4771     PyObject 
* obj7 
= 0 ; 
4773         (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
4776     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
4777     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
, 
4778     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4779     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
4780     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4781     arg3 
= (int) SWIG_AsInt(obj2
);  
4782     if (PyErr_Occurred()) SWIG_fail
; 
4784         arg4 
= wxString_in_helper(obj3
); 
4785         if (arg4 
== NULL
) SWIG_fail
; 
4791             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
4797             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
4801         arg7 
= (long) SWIG_AsLong(obj6
);  
4802         if (PyErr_Occurred()) SWIG_fail
; 
4806             arg8 
= wxString_in_helper(obj7
); 
4807             if (arg8 
== NULL
) SWIG_fail
; 
4812         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4813         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxString 
const &)*arg8
); 
4815         wxPyEndAllowThreads(__tstate
); 
4816         if (PyErr_Occurred()) SWIG_fail
; 
4819         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4843 static PyObject 
* StaticText_swigregister(PyObject 
*self
, PyObject 
*args
) { 
4845     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4846     SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
); 
4848     return Py_BuildValue((char *)""); 
4850 static PyObject 
*_wrap_new_StaticBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4851     PyObject 
*resultobj
; 
4852     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
4854     wxBitmap 
*arg3 
= 0 ; 
4855     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
4856     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
4857     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
4858     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
4859     long arg6 
= (long) 0 ; 
4860     wxString 
const &arg7_defvalue 
= wxPyStaticBitmapNameStr 
; 
4861     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
4862     wxStaticBitmap 
*result
; 
4865     bool temp7 
= False 
; 
4866     PyObject 
* obj0 
= 0 ; 
4867     PyObject 
* obj1 
= 0 ; 
4868     PyObject 
* obj2 
= 0 ; 
4869     PyObject 
* obj3 
= 0 ; 
4870     PyObject 
* obj4 
= 0 ; 
4871     PyObject 
* obj5 
= 0 ; 
4872     PyObject 
* obj6 
= 0 ; 
4874         (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
4877     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
4878     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
4879     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4880     arg2 
= (int) SWIG_AsInt(obj1
);  
4881     if (PyErr_Occurred()) SWIG_fail
; 
4882     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
, 
4883     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
4886         PyErr_SetString(PyExc_TypeError
,"null reference"); 
4892             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
4898             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
4902         arg6 
= (long) SWIG_AsLong(obj5
);  
4903         if (PyErr_Occurred()) SWIG_fail
; 
4907             arg7 
= wxString_in_helper(obj6
); 
4908             if (arg7 
== NULL
) SWIG_fail
; 
4913         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4914         result 
= (wxStaticBitmap 
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
4916         wxPyEndAllowThreads(__tstate
); 
4917         if (PyErr_Occurred()) SWIG_fail
; 
4919     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1); 
4934 static PyObject 
*_wrap_new_PreStaticBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4935     PyObject 
*resultobj
; 
4936     wxStaticBitmap 
*result
; 
4941     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
; 
4943         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4944         result 
= (wxStaticBitmap 
*)new wxStaticBitmap(); 
4946         wxPyEndAllowThreads(__tstate
); 
4947         if (PyErr_Occurred()) SWIG_fail
; 
4949     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1); 
4956 static PyObject 
*_wrap_StaticBitmap_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4957     PyObject 
*resultobj
; 
4958     wxStaticBitmap 
*arg1 
= (wxStaticBitmap 
*) 0 ; 
4959     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
4961     wxBitmap 
*arg4 
= 0 ; 
4962     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
4963     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
4964     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
4965     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
4966     long arg7 
= (long) 0 ; 
4967     wxString 
const &arg8_defvalue 
= wxPyStaticBitmapNameStr 
; 
4968     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
4972     bool temp8 
= False 
; 
4973     PyObject 
* obj0 
= 0 ; 
4974     PyObject 
* obj1 
= 0 ; 
4975     PyObject 
* obj2 
= 0 ; 
4976     PyObject 
* obj3 
= 0 ; 
4977     PyObject 
* obj4 
= 0 ; 
4978     PyObject 
* obj5 
= 0 ; 
4979     PyObject 
* obj6 
= 0 ; 
4980     PyObject 
* obj7 
= 0 ; 
4982         (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
4985     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
4986     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
, 
4987     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4988     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
4989     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4990     arg3 
= (int) SWIG_AsInt(obj2
);  
4991     if (PyErr_Occurred()) SWIG_fail
; 
4992     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
, 
4993     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
4996         PyErr_SetString(PyExc_TypeError
,"null reference"); 
5002             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
5008             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
5012         arg7 
= (long) SWIG_AsLong(obj6
);  
5013         if (PyErr_Occurred()) SWIG_fail
; 
5017             arg8 
= wxString_in_helper(obj7
); 
5018             if (arg8 
== NULL
) SWIG_fail
; 
5023         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5024         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxString 
const &)*arg8
); 
5026         wxPyEndAllowThreads(__tstate
); 
5027         if (PyErr_Occurred()) SWIG_fail
; 
5030         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5046 static PyObject 
*_wrap_StaticBitmap_GetBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5047     PyObject 
*resultobj
; 
5048     wxStaticBitmap 
*arg1 
= (wxStaticBitmap 
*) 0 ; 
5050     PyObject 
* obj0 
= 0 ; 
5052         (char *) "self", NULL 
 
5055     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
; 
5056     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
, 
5057     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5059         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5060         result 
= (arg1
)->GetBitmap(); 
5062         wxPyEndAllowThreads(__tstate
); 
5063         if (PyErr_Occurred()) SWIG_fail
; 
5066         wxBitmap 
* resultptr
; 
5067         resultptr 
= new wxBitmap((wxBitmap 
&) result
); 
5068         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
5076 static PyObject 
*_wrap_StaticBitmap_SetBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5077     PyObject 
*resultobj
; 
5078     wxStaticBitmap 
*arg1 
= (wxStaticBitmap 
*) 0 ; 
5079     wxBitmap 
*arg2 
= 0 ; 
5080     PyObject 
* obj0 
= 0 ; 
5081     PyObject 
* obj1 
= 0 ; 
5083         (char *) "self",(char *) "bitmap", NULL 
 
5086     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
5087     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
, 
5088     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5089     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
5090     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
5093         PyErr_SetString(PyExc_TypeError
,"null reference"); 
5097         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5098         (arg1
)->SetBitmap((wxBitmap 
const &)*arg2
); 
5100         wxPyEndAllowThreads(__tstate
); 
5101         if (PyErr_Occurred()) SWIG_fail
; 
5103     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5110 static PyObject 
*_wrap_StaticBitmap_SetIcon(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5111     PyObject 
*resultobj
; 
5112     wxStaticBitmap 
*arg1 
= (wxStaticBitmap 
*) 0 ; 
5114     PyObject 
* obj0 
= 0 ; 
5115     PyObject 
* obj1 
= 0 ; 
5117         (char *) "self",(char *) "icon", NULL 
 
5120     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
; 
5121     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
, 
5122     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5123     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
, 
5124     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
5127         PyErr_SetString(PyExc_TypeError
,"null reference"); 
5131         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5132         (arg1
)->SetIcon((wxIcon 
const &)*arg2
); 
5134         wxPyEndAllowThreads(__tstate
); 
5135         if (PyErr_Occurred()) SWIG_fail
; 
5137     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5144 static PyObject 
* StaticBitmap_swigregister(PyObject 
*self
, PyObject 
*args
) { 
5146     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5147     SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
); 
5149     return Py_BuildValue((char *)""); 
5151 static int _wrap_ListBoxNameStr_set(PyObject 
*_val
) { 
5152     PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only."); 
5157 static PyObject 
*_wrap_ListBoxNameStr_get() { 
5162         pyobj 
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len()); 
5164         pyobj 
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len()); 
5171 static PyObject 
*_wrap_new_ListBox(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5172     PyObject 
*resultobj
; 
5173     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
5175     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
5176     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
5177     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
5178     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
5179     wxArrayString 
const &arg5_defvalue 
= wxPyEmptyStringArray 
; 
5180     wxArrayString 
*arg5 
= (wxArrayString 
*) &arg5_defvalue 
; 
5181     long arg6 
= (long) 0 ; 
5182     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
5183     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
5184     wxString 
const &arg8_defvalue 
= wxPyListBoxNameStr 
; 
5185     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
5189     bool temp5 
= False 
; 
5190     bool temp8 
= False 
; 
5191     PyObject 
* obj0 
= 0 ; 
5192     PyObject 
* obj1 
= 0 ; 
5193     PyObject 
* obj2 
= 0 ; 
5194     PyObject 
* obj3 
= 0 ; 
5195     PyObject 
* obj4 
= 0 ; 
5196     PyObject 
* obj5 
= 0 ; 
5197     PyObject 
* obj6 
= 0 ; 
5198     PyObject 
* obj7 
= 0 ; 
5200         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
5203     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
5204     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
5205     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5206     arg2 
= (int) SWIG_AsInt(obj1
);  
5207     if (PyErr_Occurred()) SWIG_fail
; 
5211             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
5217             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
5222             if (! PySequence_Check(obj4
)) { 
5223                 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
5226             arg5 
= new wxArrayString
; 
5228             int i
, len
=PySequence_Length(obj4
); 
5229             for (i
=0; i
<len
; i
++) { 
5230                 PyObject
* item 
= PySequence_GetItem(obj4
, i
); 
5232                 PyObject
* str  
= PyObject_Unicode(item
); 
5234                 PyObject
* str  
= PyObject_Str(item
); 
5236                 if (PyErr_Occurred())  SWIG_fail
; 
5237                 arg5
->Add(Py2wxString(str
)); 
5244         arg6 
= (long) SWIG_AsLong(obj5
);  
5245         if (PyErr_Occurred()) SWIG_fail
; 
5248         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
, 
5249         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
5252             PyErr_SetString(PyExc_TypeError
,"null reference"); 
5258             arg8 
= wxString_in_helper(obj7
); 
5259             if (arg8 
== NULL
) SWIG_fail
; 
5264         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5265         result 
= (wxListBox 
*)new wxListBox(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,(wxArrayString 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
5267         wxPyEndAllowThreads(__tstate
); 
5268         if (PyErr_Occurred()) SWIG_fail
; 
5270     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1); 
5272         if (temp5
) delete arg5
; 
5281         if (temp5
) delete arg5
; 
5291 static PyObject 
*_wrap_new_PreListBox(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5292     PyObject 
*resultobj
; 
5298     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
; 
5300         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5301         result 
= (wxListBox 
*)new wxListBox(); 
5303         wxPyEndAllowThreads(__tstate
); 
5304         if (PyErr_Occurred()) SWIG_fail
; 
5306     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1); 
5313 static PyObject 
*_wrap_ListBox_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5314     PyObject 
*resultobj
; 
5315     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
5316     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
5318     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
5319     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
5320     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
5321     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
5322     wxArrayString 
const &arg6_defvalue 
= wxPyEmptyStringArray 
; 
5323     wxArrayString 
*arg6 
= (wxArrayString 
*) &arg6_defvalue 
; 
5324     long arg7 
= (long) 0 ; 
5325     wxValidator 
const &arg8_defvalue 
= wxDefaultValidator 
; 
5326     wxValidator 
*arg8 
= (wxValidator 
*) &arg8_defvalue 
; 
5327     wxString 
const &arg9_defvalue 
= wxPyListBoxNameStr 
; 
5328     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
5332     bool temp6 
= False 
; 
5333     bool temp9 
= False 
; 
5334     PyObject 
* obj0 
= 0 ; 
5335     PyObject 
* obj1 
= 0 ; 
5336     PyObject 
* obj2 
= 0 ; 
5337     PyObject 
* obj3 
= 0 ; 
5338     PyObject 
* obj4 
= 0 ; 
5339     PyObject 
* obj5 
= 0 ; 
5340     PyObject 
* obj6 
= 0 ; 
5341     PyObject 
* obj7 
= 0 ; 
5342     PyObject 
* obj8 
= 0 ; 
5344         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
5347     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
5348     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
5349     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5350     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
5351     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5352     arg3 
= (int) SWIG_AsInt(obj2
);  
5353     if (PyErr_Occurred()) SWIG_fail
; 
5357             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
5363             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
5368             if (! PySequence_Check(obj5
)) { 
5369                 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
5372             arg6 
= new wxArrayString
; 
5374             int i
, len
=PySequence_Length(obj5
); 
5375             for (i
=0; i
<len
; i
++) { 
5376                 PyObject
* item 
= PySequence_GetItem(obj5
, i
); 
5378                 PyObject
* str  
= PyObject_Unicode(item
); 
5380                 PyObject
* str  
= PyObject_Str(item
); 
5382                 if (PyErr_Occurred())  SWIG_fail
; 
5383                 arg6
->Add(Py2wxString(str
)); 
5390         arg7 
= (long) SWIG_AsLong(obj6
);  
5391         if (PyErr_Occurred()) SWIG_fail
; 
5394         if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
, 
5395         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
5398             PyErr_SetString(PyExc_TypeError
,"null reference"); 
5404             arg9 
= wxString_in_helper(obj8
); 
5405             if (arg9 
== NULL
) SWIG_fail
; 
5410         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5411         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,(wxArrayString 
const &)*arg6
,arg7
,(wxValidator 
const &)*arg8
,(wxString 
const &)*arg9
); 
5413         wxPyEndAllowThreads(__tstate
); 
5414         if (PyErr_Occurred()) SWIG_fail
; 
5417         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5420         if (temp6
) delete arg6
; 
5429         if (temp6
) delete arg6
; 
5439 static PyObject 
*_wrap_ListBox_Insert(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5440     PyObject 
*resultobj
; 
5441     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
5442     wxString 
*arg2 
= 0 ; 
5444     PyObject 
*arg4 
= (PyObject 
*) NULL 
; 
5445     bool temp2 
= False 
; 
5446     PyObject 
* obj0 
= 0 ; 
5447     PyObject 
* obj1 
= 0 ; 
5448     PyObject 
* obj2 
= 0 ; 
5449     PyObject 
* obj3 
= 0 ; 
5451         (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL 
 
5454     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
5455     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
5456     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5458         arg2 
= wxString_in_helper(obj1
); 
5459         if (arg2 
== NULL
) SWIG_fail
; 
5462     arg3 
= (int) SWIG_AsInt(obj2
);  
5463     if (PyErr_Occurred()) SWIG_fail
; 
5468         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5469         wxListBox_Insert(arg1
,(wxString 
const &)*arg2
,arg3
,arg4
); 
5471         wxPyEndAllowThreads(__tstate
); 
5472         if (PyErr_Occurred()) SWIG_fail
; 
5474     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5489 static PyObject 
*_wrap_ListBox_InsertItems(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5490     PyObject 
*resultobj
; 
5491     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
5492     wxArrayString 
*arg2 
= 0 ; 
5494     bool temp2 
= False 
; 
5495     PyObject 
* obj0 
= 0 ; 
5496     PyObject 
* obj1 
= 0 ; 
5497     PyObject 
* obj2 
= 0 ; 
5499         (char *) "self",(char *) "items",(char *) "pos", NULL 
 
5502     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5503     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
5504     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5506         if (! PySequence_Check(obj1
)) { 
5507             PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
5510         arg2 
= new wxArrayString
; 
5512         int i
, len
=PySequence_Length(obj1
); 
5513         for (i
=0; i
<len
; i
++) { 
5514             PyObject
* item 
= PySequence_GetItem(obj1
, i
); 
5516             PyObject
* str  
= PyObject_Unicode(item
); 
5518             PyObject
* str  
= PyObject_Str(item
); 
5520             if (PyErr_Occurred())  SWIG_fail
; 
5521             arg2
->Add(Py2wxString(str
)); 
5526     arg3 
= (int) SWIG_AsInt(obj2
);  
5527     if (PyErr_Occurred()) SWIG_fail
; 
5529         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5530         (arg1
)->InsertItems((wxArrayString 
const &)*arg2
,arg3
); 
5532         wxPyEndAllowThreads(__tstate
); 
5533         if (PyErr_Occurred()) SWIG_fail
; 
5535     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5537         if (temp2
) delete arg2
; 
5542         if (temp2
) delete arg2
; 
5548 static PyObject 
*_wrap_ListBox_Set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5549     PyObject 
*resultobj
; 
5550     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
5551     wxArrayString 
*arg2 
= 0 ; 
5552     bool temp2 
= False 
; 
5553     PyObject 
* obj0 
= 0 ; 
5554     PyObject 
* obj1 
= 0 ; 
5556         (char *) "self",(char *) "items", NULL 
 
5559     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
; 
5560     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
5561     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5563         if (! PySequence_Check(obj1
)) { 
5564             PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
5567         arg2 
= new wxArrayString
; 
5569         int i
, len
=PySequence_Length(obj1
); 
5570         for (i
=0; i
<len
; i
++) { 
5571             PyObject
* item 
= PySequence_GetItem(obj1
, i
); 
5573             PyObject
* str  
= PyObject_Unicode(item
); 
5575             PyObject
* str  
= PyObject_Str(item
); 
5577             if (PyErr_Occurred())  SWIG_fail
; 
5578             arg2
->Add(Py2wxString(str
)); 
5584         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5585         (arg1
)->Set((wxArrayString 
const &)*arg2
); 
5587         wxPyEndAllowThreads(__tstate
); 
5588         if (PyErr_Occurred()) SWIG_fail
; 
5590     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5592         if (temp2
) delete arg2
; 
5597         if (temp2
) delete arg2
; 
5603 static PyObject 
*_wrap_ListBox_IsSelected(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5604     PyObject 
*resultobj
; 
5605     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
5608     PyObject 
* obj0 
= 0 ; 
5609     PyObject 
* obj1 
= 0 ; 
5611         (char *) "self",(char *) "n", NULL 
 
5614     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
; 
5615     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
5616     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5617     arg2 
= (int) SWIG_AsInt(obj1
);  
5618     if (PyErr_Occurred()) SWIG_fail
; 
5620         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5621         result 
= (bool)((wxListBox 
const *)arg1
)->IsSelected(arg2
); 
5623         wxPyEndAllowThreads(__tstate
); 
5624         if (PyErr_Occurred()) SWIG_fail
; 
5627         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5635 static PyObject 
*_wrap_ListBox_SetSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5636     PyObject 
*resultobj
; 
5637     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
5639     bool arg3 
= (bool) True 
; 
5640     PyObject 
* obj0 
= 0 ; 
5641     PyObject 
* obj1 
= 0 ; 
5642     PyObject 
* obj2 
= 0 ; 
5644         (char *) "self",(char *) "n",(char *) "select", NULL 
 
5647     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5648     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
5649     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5650     arg2 
= (int) SWIG_AsInt(obj1
);  
5651     if (PyErr_Occurred()) SWIG_fail
; 
5653         arg3 
= (bool) SWIG_AsBool(obj2
);  
5654         if (PyErr_Occurred()) SWIG_fail
; 
5657         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5658         (arg1
)->SetSelection(arg2
,arg3
); 
5660         wxPyEndAllowThreads(__tstate
); 
5661         if (PyErr_Occurred()) SWIG_fail
; 
5663     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5670 static PyObject 
*_wrap_ListBox_Select(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5671     PyObject 
*resultobj
; 
5672     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
5674     PyObject 
* obj0 
= 0 ; 
5675     PyObject 
* obj1 
= 0 ; 
5677         (char *) "self",(char *) "n", NULL 
 
5680     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
; 
5681     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
5682     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5683     arg2 
= (int) SWIG_AsInt(obj1
);  
5684     if (PyErr_Occurred()) SWIG_fail
; 
5686         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5687         (arg1
)->Select(arg2
); 
5689         wxPyEndAllowThreads(__tstate
); 
5690         if (PyErr_Occurred()) SWIG_fail
; 
5692     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5699 static PyObject 
*_wrap_ListBox_Deselect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5700     PyObject 
*resultobj
; 
5701     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
5703     PyObject 
* obj0 
= 0 ; 
5704     PyObject 
* obj1 
= 0 ; 
5706         (char *) "self",(char *) "n", NULL 
 
5709     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
; 
5710     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
5711     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5712     arg2 
= (int) SWIG_AsInt(obj1
);  
5713     if (PyErr_Occurred()) SWIG_fail
; 
5715         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5716         (arg1
)->Deselect(arg2
); 
5718         wxPyEndAllowThreads(__tstate
); 
5719         if (PyErr_Occurred()) SWIG_fail
; 
5721     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5728 static PyObject 
*_wrap_ListBox_DeselectAll(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5729     PyObject 
*resultobj
; 
5730     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
5731     int arg2 
= (int) -1 ; 
5732     PyObject 
* obj0 
= 0 ; 
5733     PyObject 
* obj1 
= 0 ; 
5735         (char *) "self",(char *) "itemToLeaveSelected", NULL 
 
5738     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
; 
5739     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
5740     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5742         arg2 
= (int) SWIG_AsInt(obj1
);  
5743         if (PyErr_Occurred()) SWIG_fail
; 
5746         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5747         (arg1
)->DeselectAll(arg2
); 
5749         wxPyEndAllowThreads(__tstate
); 
5750         if (PyErr_Occurred()) SWIG_fail
; 
5752     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5759 static PyObject 
*_wrap_ListBox_SetStringSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5760     PyObject 
*resultobj
; 
5761     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
5762     wxString 
*arg2 
= 0 ; 
5763     bool arg3 
= (bool) True 
; 
5765     bool temp2 
= False 
; 
5766     PyObject 
* obj0 
= 0 ; 
5767     PyObject 
* obj1 
= 0 ; 
5768     PyObject 
* obj2 
= 0 ; 
5770         (char *) "self",(char *) "s",(char *) "select", NULL 
 
5773     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5774     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
5775     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5777         arg2 
= wxString_in_helper(obj1
); 
5778         if (arg2 
== NULL
) SWIG_fail
; 
5782         arg3 
= (bool) SWIG_AsBool(obj2
);  
5783         if (PyErr_Occurred()) SWIG_fail
; 
5786         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5787         result 
= (bool)(arg1
)->SetStringSelection((wxString 
const &)*arg2
,arg3
); 
5789         wxPyEndAllowThreads(__tstate
); 
5790         if (PyErr_Occurred()) SWIG_fail
; 
5793         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5809 static PyObject 
*_wrap_ListBox_GetSelections(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5810     PyObject 
*resultobj
; 
5811     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
5813     PyObject 
* obj0 
= 0 ; 
5815         (char *) "self", NULL 
 
5818     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
; 
5819     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
5820     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5822         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5823         result 
= (PyObject 
*)wxListBox_GetSelections(arg1
); 
5825         wxPyEndAllowThreads(__tstate
); 
5826         if (PyErr_Occurred()) SWIG_fail
; 
5835 static PyObject 
*_wrap_ListBox_SetFirstItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5836     PyObject 
*resultobj
; 
5837     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
5839     PyObject 
* obj0 
= 0 ; 
5840     PyObject 
* obj1 
= 0 ; 
5842         (char *) "self",(char *) "n", NULL 
 
5845     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
5846     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
5847     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5848     arg2 
= (int) SWIG_AsInt(obj1
);  
5849     if (PyErr_Occurred()) SWIG_fail
; 
5851         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5852         (arg1
)->SetFirstItem(arg2
); 
5854         wxPyEndAllowThreads(__tstate
); 
5855         if (PyErr_Occurred()) SWIG_fail
; 
5857     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5864 static PyObject 
*_wrap_ListBox_SetFirstItemStr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5865     PyObject 
*resultobj
; 
5866     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
5867     wxString 
*arg2 
= 0 ; 
5868     bool temp2 
= False 
; 
5869     PyObject 
* obj0 
= 0 ; 
5870     PyObject 
* obj1 
= 0 ; 
5872         (char *) "self",(char *) "s", NULL 
 
5875     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
; 
5876     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
5877     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5879         arg2 
= wxString_in_helper(obj1
); 
5880         if (arg2 
== NULL
) SWIG_fail
; 
5884         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5885         (arg1
)->SetFirstItem((wxString 
const &)*arg2
); 
5887         wxPyEndAllowThreads(__tstate
); 
5888         if (PyErr_Occurred()) SWIG_fail
; 
5890     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5905 static PyObject 
*_wrap_ListBox_EnsureVisible(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5906     PyObject 
*resultobj
; 
5907     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
5909     PyObject 
* obj0 
= 0 ; 
5910     PyObject 
* obj1 
= 0 ; 
5912         (char *) "self",(char *) "n", NULL 
 
5915     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
; 
5916     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
5917     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5918     arg2 
= (int) SWIG_AsInt(obj1
);  
5919     if (PyErr_Occurred()) SWIG_fail
; 
5921         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5922         (arg1
)->EnsureVisible(arg2
); 
5924         wxPyEndAllowThreads(__tstate
); 
5925         if (PyErr_Occurred()) SWIG_fail
; 
5927     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5934 static PyObject 
*_wrap_ListBox_AppendAndEnsureVisible(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5935     PyObject 
*resultobj
; 
5936     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
5937     wxString 
*arg2 
= 0 ; 
5938     bool temp2 
= False 
; 
5939     PyObject 
* obj0 
= 0 ; 
5940     PyObject 
* obj1 
= 0 ; 
5942         (char *) "self",(char *) "s", NULL 
 
5945     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
; 
5946     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
5947     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5949         arg2 
= wxString_in_helper(obj1
); 
5950         if (arg2 
== NULL
) SWIG_fail
; 
5954         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5955         (arg1
)->AppendAndEnsureVisible((wxString 
const &)*arg2
); 
5957         wxPyEndAllowThreads(__tstate
); 
5958         if (PyErr_Occurred()) SWIG_fail
; 
5960     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5975 static PyObject 
*_wrap_ListBox_IsSorted(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5976     PyObject 
*resultobj
; 
5977     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
5979     PyObject 
* obj0 
= 0 ; 
5981         (char *) "self", NULL 
 
5984     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
; 
5985     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
5986     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5988         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5989         result 
= (bool)((wxListBox 
const *)arg1
)->IsSorted(); 
5991         wxPyEndAllowThreads(__tstate
); 
5992         if (PyErr_Occurred()) SWIG_fail
; 
5995         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6003 static PyObject 
*_wrap_ListBox_SetItemForegroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6004     PyObject 
*resultobj
; 
6005     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
6007     wxColour 
*arg3 
= 0 ; 
6009     PyObject 
* obj0 
= 0 ; 
6010     PyObject 
* obj1 
= 0 ; 
6011     PyObject 
* obj2 
= 0 ; 
6013         (char *) "self",(char *) "item",(char *) "c", NULL 
 
6016     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6017     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
6018     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6019     arg2 
= (int) SWIG_AsInt(obj1
);  
6020     if (PyErr_Occurred()) SWIG_fail
; 
6023         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
6026         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6027         wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour 
const &)*arg3
); 
6029         wxPyEndAllowThreads(__tstate
); 
6030         if (PyErr_Occurred()) SWIG_fail
; 
6032     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6039 static PyObject 
*_wrap_ListBox_SetItemBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6040     PyObject 
*resultobj
; 
6041     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
6043     wxColour 
*arg3 
= 0 ; 
6045     PyObject 
* obj0 
= 0 ; 
6046     PyObject 
* obj1 
= 0 ; 
6047     PyObject 
* obj2 
= 0 ; 
6049         (char *) "self",(char *) "item",(char *) "c", NULL 
 
6052     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6053     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
6054     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6055     arg2 
= (int) SWIG_AsInt(obj1
);  
6056     if (PyErr_Occurred()) SWIG_fail
; 
6059         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
6062         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6063         wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour 
const &)*arg3
); 
6065         wxPyEndAllowThreads(__tstate
); 
6066         if (PyErr_Occurred()) SWIG_fail
; 
6068     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6075 static PyObject 
*_wrap_ListBox_SetItemFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6076     PyObject 
*resultobj
; 
6077     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
6080     PyObject 
* obj0 
= 0 ; 
6081     PyObject 
* obj1 
= 0 ; 
6082     PyObject 
* obj2 
= 0 ; 
6084         (char *) "self",(char *) "item",(char *) "f", NULL 
 
6087     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6088     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
, 
6089     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6090     arg2 
= (int) SWIG_AsInt(obj1
);  
6091     if (PyErr_Occurred()) SWIG_fail
; 
6092     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
, 
6093     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6096         PyErr_SetString(PyExc_TypeError
,"null reference"); 
6100         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6101         wxListBox_SetItemFont(arg1
,arg2
,(wxFont 
const &)*arg3
); 
6103         wxPyEndAllowThreads(__tstate
); 
6104         if (PyErr_Occurred()) SWIG_fail
; 
6106     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6113 static PyObject 
*_wrap_ListBox_GetClassDefaultAttributes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6114     PyObject 
*resultobj
; 
6115     int arg1 
= (int) wxWINDOW_VARIANT_NORMAL 
; 
6116     wxVisualAttributes result
; 
6117     PyObject 
* obj0 
= 0 ; 
6119         (char *) "variant", NULL 
 
6122     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
6124         arg1 
= (wxWindowVariant
) SWIG_AsInt(obj0
);  
6125         if (PyErr_Occurred()) SWIG_fail
; 
6128         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6129         result 
= wxListBox::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
6131         wxPyEndAllowThreads(__tstate
); 
6132         if (PyErr_Occurred()) SWIG_fail
; 
6135         wxVisualAttributes 
* resultptr
; 
6136         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&) result
); 
6137         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
6145 static PyObject 
* ListBox_swigregister(PyObject 
*self
, PyObject 
*args
) { 
6147     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6148     SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
); 
6150     return Py_BuildValue((char *)""); 
6152 static PyObject 
*_wrap_new_CheckListBox(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6153     PyObject 
*resultobj
; 
6154     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
6156     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
6157     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
6158     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
6159     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
6160     wxArrayString 
const &arg5_defvalue 
= wxPyEmptyStringArray 
; 
6161     wxArrayString 
*arg5 
= (wxArrayString 
*) &arg5_defvalue 
; 
6162     long arg6 
= (long) 0 ; 
6163     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
6164     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
6165     wxString 
const &arg8_defvalue 
= wxPyListBoxNameStr 
; 
6166     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
6167     wxCheckListBox 
*result
; 
6170     bool temp5 
= False 
; 
6171     bool temp8 
= False 
; 
6172     PyObject 
* obj0 
= 0 ; 
6173     PyObject 
* obj1 
= 0 ; 
6174     PyObject 
* obj2 
= 0 ; 
6175     PyObject 
* obj3 
= 0 ; 
6176     PyObject 
* obj4 
= 0 ; 
6177     PyObject 
* obj5 
= 0 ; 
6178     PyObject 
* obj6 
= 0 ; 
6179     PyObject 
* obj7 
= 0 ; 
6181         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
6184     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
6185     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
6186     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6187     arg2 
= (int) SWIG_AsInt(obj1
);  
6188     if (PyErr_Occurred()) SWIG_fail
; 
6192             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
6198             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
6203             if (! PySequence_Check(obj4
)) { 
6204                 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
6207             arg5 
= new wxArrayString
; 
6209             int i
, len
=PySequence_Length(obj4
); 
6210             for (i
=0; i
<len
; i
++) { 
6211                 PyObject
* item 
= PySequence_GetItem(obj4
, i
); 
6213                 PyObject
* str  
= PyObject_Unicode(item
); 
6215                 PyObject
* str  
= PyObject_Str(item
); 
6217                 if (PyErr_Occurred())  SWIG_fail
; 
6218                 arg5
->Add(Py2wxString(str
)); 
6225         arg6 
= (long) SWIG_AsLong(obj5
);  
6226         if (PyErr_Occurred()) SWIG_fail
; 
6229         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
, 
6230         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6233             PyErr_SetString(PyExc_TypeError
,"null reference"); 
6239             arg8 
= wxString_in_helper(obj7
); 
6240             if (arg8 
== NULL
) SWIG_fail
; 
6245         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6246         result 
= (wxCheckListBox 
*)new wxCheckListBox(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,(wxArrayString 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
6248         wxPyEndAllowThreads(__tstate
); 
6249         if (PyErr_Occurred()) SWIG_fail
; 
6251     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1); 
6253         if (temp5
) delete arg5
; 
6262         if (temp5
) delete arg5
; 
6272 static PyObject 
*_wrap_new_PreCheckListBox(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6273     PyObject 
*resultobj
; 
6274     wxCheckListBox 
*result
; 
6279     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
; 
6281         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6282         result 
= (wxCheckListBox 
*)new wxCheckListBox(); 
6284         wxPyEndAllowThreads(__tstate
); 
6285         if (PyErr_Occurred()) SWIG_fail
; 
6287     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1); 
6294 static PyObject 
*_wrap_CheckListBox_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6295     PyObject 
*resultobj
; 
6296     wxCheckListBox 
*arg1 
= (wxCheckListBox 
*) 0 ; 
6297     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
6299     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
6300     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
6301     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
6302     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
6303     wxArrayString 
const &arg6_defvalue 
= wxPyEmptyStringArray 
; 
6304     wxArrayString 
*arg6 
= (wxArrayString 
*) &arg6_defvalue 
; 
6305     long arg7 
= (long) 0 ; 
6306     wxValidator 
const &arg8_defvalue 
= wxDefaultValidator 
; 
6307     wxValidator 
*arg8 
= (wxValidator 
*) &arg8_defvalue 
; 
6308     wxString 
const &arg9_defvalue 
= wxPyListBoxNameStr 
; 
6309     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
6313     bool temp6 
= False 
; 
6314     bool temp9 
= False 
; 
6315     PyObject 
* obj0 
= 0 ; 
6316     PyObject 
* obj1 
= 0 ; 
6317     PyObject 
* obj2 
= 0 ; 
6318     PyObject 
* obj3 
= 0 ; 
6319     PyObject 
* obj4 
= 0 ; 
6320     PyObject 
* obj5 
= 0 ; 
6321     PyObject 
* obj6 
= 0 ; 
6322     PyObject 
* obj7 
= 0 ; 
6323     PyObject 
* obj8 
= 0 ; 
6325         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
6328     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
6329     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
, 
6330     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6331     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
6332     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6333     arg3 
= (int) SWIG_AsInt(obj2
);  
6334     if (PyErr_Occurred()) SWIG_fail
; 
6338             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
6344             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
6349             if (! PySequence_Check(obj5
)) { 
6350                 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
6353             arg6 
= new wxArrayString
; 
6355             int i
, len
=PySequence_Length(obj5
); 
6356             for (i
=0; i
<len
; i
++) { 
6357                 PyObject
* item 
= PySequence_GetItem(obj5
, i
); 
6359                 PyObject
* str  
= PyObject_Unicode(item
); 
6361                 PyObject
* str  
= PyObject_Str(item
); 
6363                 if (PyErr_Occurred())  SWIG_fail
; 
6364                 arg6
->Add(Py2wxString(str
)); 
6371         arg7 
= (long) SWIG_AsLong(obj6
);  
6372         if (PyErr_Occurred()) SWIG_fail
; 
6375         if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
, 
6376         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6379             PyErr_SetString(PyExc_TypeError
,"null reference"); 
6385             arg9 
= wxString_in_helper(obj8
); 
6386             if (arg9 
== NULL
) SWIG_fail
; 
6391         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6392         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,(wxArrayString 
const &)*arg6
,arg7
,(wxValidator 
const &)*arg8
,(wxString 
const &)*arg9
); 
6394         wxPyEndAllowThreads(__tstate
); 
6395         if (PyErr_Occurred()) SWIG_fail
; 
6398         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6401         if (temp6
) delete arg6
; 
6410         if (temp6
) delete arg6
; 
6420 static PyObject 
*_wrap_CheckListBox_IsChecked(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6421     PyObject 
*resultobj
; 
6422     wxCheckListBox 
*arg1 
= (wxCheckListBox 
*) 0 ; 
6425     PyObject 
* obj0 
= 0 ; 
6426     PyObject 
* obj1 
= 0 ; 
6428         (char *) "self",(char *) "index", NULL 
 
6431     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
; 
6432     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
, 
6433     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6434     arg2 
= (int) SWIG_AsInt(obj1
);  
6435     if (PyErr_Occurred()) SWIG_fail
; 
6437         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6438         result 
= (bool)(arg1
)->IsChecked(arg2
); 
6440         wxPyEndAllowThreads(__tstate
); 
6441         if (PyErr_Occurred()) SWIG_fail
; 
6444         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6452 static PyObject 
*_wrap_CheckListBox_Check(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6453     PyObject 
*resultobj
; 
6454     wxCheckListBox 
*arg1 
= (wxCheckListBox 
*) 0 ; 
6456     int arg3 
= (int) True 
; 
6457     PyObject 
* obj0 
= 0 ; 
6458     PyObject 
* obj1 
= 0 ; 
6459     PyObject 
* obj2 
= 0 ; 
6461         (char *) "self",(char *) "index",(char *) "check", NULL 
 
6464     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6465     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
, 
6466     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6467     arg2 
= (int) SWIG_AsInt(obj1
);  
6468     if (PyErr_Occurred()) SWIG_fail
; 
6470         arg3 
= (int) SWIG_AsInt(obj2
);  
6471         if (PyErr_Occurred()) SWIG_fail
; 
6474         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6475         (arg1
)->Check(arg2
,arg3
); 
6477         wxPyEndAllowThreads(__tstate
); 
6478         if (PyErr_Occurred()) SWIG_fail
; 
6480     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6487 static PyObject 
*_wrap_CheckListBox_HitTest(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6488     PyObject 
*resultobj
; 
6489     wxCheckListBox 
*arg1 
= (wxCheckListBox 
*) 0 ; 
6493     PyObject 
* obj0 
= 0 ; 
6494     PyObject 
* obj1 
= 0 ; 
6496         (char *) "self",(char *) "pt", NULL 
 
6499     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
; 
6500     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
, 
6501     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6504         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
6507         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6508         result 
= (int)((wxCheckListBox 
const *)arg1
)->HitTest((wxPoint 
const &)*arg2
); 
6510         wxPyEndAllowThreads(__tstate
); 
6511         if (PyErr_Occurred()) SWIG_fail
; 
6513     resultobj 
= SWIG_FromInt((int)result
); 
6520 static PyObject 
*_wrap_CheckListBox_HitTestXY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6521     PyObject 
*resultobj
; 
6522     wxCheckListBox 
*arg1 
= (wxCheckListBox 
*) 0 ; 
6526     PyObject 
* obj0 
= 0 ; 
6527     PyObject 
* obj1 
= 0 ; 
6528     PyObject 
* obj2 
= 0 ; 
6530         (char *) "self",(char *) "x",(char *) "y", NULL 
 
6533     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6534     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
, 
6535     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6536     arg2 
= (int) SWIG_AsInt(obj1
);  
6537     if (PyErr_Occurred()) SWIG_fail
; 
6538     arg3 
= (int) SWIG_AsInt(obj2
);  
6539     if (PyErr_Occurred()) SWIG_fail
; 
6541         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6542         result 
= (int)((wxCheckListBox 
const *)arg1
)->HitTest(arg2
,arg3
); 
6544         wxPyEndAllowThreads(__tstate
); 
6545         if (PyErr_Occurred()) SWIG_fail
; 
6547     resultobj 
= SWIG_FromInt((int)result
); 
6554 static PyObject 
* CheckListBox_swigregister(PyObject 
*self
, PyObject 
*args
) { 
6556     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6557     SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
); 
6559     return Py_BuildValue((char *)""); 
6561 static int _wrap_TextCtrlNameStr_set(PyObject 
*_val
) { 
6562     PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only."); 
6567 static PyObject 
*_wrap_TextCtrlNameStr_get() { 
6572         pyobj 
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len()); 
6574         pyobj 
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len()); 
6581 static PyObject 
*_wrap_new_TextAttr__SWIG_0(PyObject 
*self
, PyObject 
*args
) { 
6582     PyObject 
*resultobj
; 
6585     if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
; 
6587         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6588         result 
= (wxTextAttr 
*)new wxTextAttr(); 
6590         wxPyEndAllowThreads(__tstate
); 
6591         if (PyErr_Occurred()) SWIG_fail
; 
6593     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1); 
6600 static PyObject 
*_wrap_new_TextAttr__SWIG_1(PyObject 
*self
, PyObject 
*args
) { 
6601     PyObject 
*resultobj
; 
6602     wxColour 
*arg1 
= 0 ; 
6603     wxColour 
const &arg2_defvalue 
= wxNullColour 
; 
6604     wxColour 
*arg2 
= (wxColour 
*) &arg2_defvalue 
; 
6605     wxFont 
const &arg3_defvalue 
= wxNullFont 
; 
6606     wxFont 
*arg3 
= (wxFont 
*) &arg3_defvalue 
; 
6607     int arg4 
= (int) wxTEXT_ALIGNMENT_DEFAULT 
; 
6611     PyObject 
* obj0 
= 0 ; 
6612     PyObject 
* obj1 
= 0 ; 
6613     PyObject 
* obj2 
= 0 ; 
6614     PyObject 
* obj3 
= 0 ; 
6616     if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
6619         if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
; 
6624             if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
6628         if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
, 
6629         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6632             PyErr_SetString(PyExc_TypeError
,"null reference"); 
6637         arg4 
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);  
6638         if (PyErr_Occurred()) SWIG_fail
; 
6641         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6642         result 
= (wxTextAttr 
*)new wxTextAttr((wxColour 
const &)*arg1
,(wxColour 
const &)*arg2
,(wxFont 
const &)*arg3
,(wxTextAttrAlignment 
)arg4
); 
6644         wxPyEndAllowThreads(__tstate
); 
6645         if (PyErr_Occurred()) SWIG_fail
; 
6647     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1); 
6654 static PyObject 
*_wrap_new_TextAttr(PyObject 
*self
, PyObject 
*args
) { 
6659     argc 
= PyObject_Length(args
); 
6660     for (ii 
= 0; (ii 
< argc
) && (ii 
< 4); ii
++) { 
6661         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
6664         return _wrap_new_TextAttr__SWIG_0(self
,args
); 
6666     if ((argc 
>= 1) && (argc 
<= 4)) { 
6669             _v 
= wxColour_typecheck(argv
[0]); 
6673                 return _wrap_new_TextAttr__SWIG_1(self
,args
); 
6676                 _v 
= wxColour_typecheck(argv
[1]); 
6680                     return _wrap_new_TextAttr__SWIG_1(self
,args
); 
6684                     if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) { 
6693                         return _wrap_new_TextAttr__SWIG_1(self
,args
); 
6695                     _v 
= SWIG_CheckInt(argv
[3]); 
6697                         return _wrap_new_TextAttr__SWIG_1(self
,args
); 
6704     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'"); 
6709 static PyObject 
*_wrap_delete_TextAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6710     PyObject 
*resultobj
; 
6711     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
6712     PyObject 
* obj0 
= 0 ; 
6714         (char *) "self", NULL 
 
6717     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
; 
6718     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
6719     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6721         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6724         wxPyEndAllowThreads(__tstate
); 
6725         if (PyErr_Occurred()) SWIG_fail
; 
6727     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6734 static PyObject 
*_wrap_TextAttr_Init(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6735     PyObject 
*resultobj
; 
6736     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
6737     PyObject 
* obj0 
= 0 ; 
6739         (char *) "self", NULL 
 
6742     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
; 
6743     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
6744     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6746         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6749         wxPyEndAllowThreads(__tstate
); 
6750         if (PyErr_Occurred()) SWIG_fail
; 
6752     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6759 static PyObject 
*_wrap_TextAttr_SetTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6760     PyObject 
*resultobj
; 
6761     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
6762     wxColour 
*arg2 
= 0 ; 
6764     PyObject 
* obj0 
= 0 ; 
6765     PyObject 
* obj1 
= 0 ; 
6767         (char *) "self",(char *) "colText", NULL 
 
6770     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
6771     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
6772     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6775         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
6778         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6779         (arg1
)->SetTextColour((wxColour 
const &)*arg2
); 
6781         wxPyEndAllowThreads(__tstate
); 
6782         if (PyErr_Occurred()) SWIG_fail
; 
6784     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6791 static PyObject 
*_wrap_TextAttr_SetBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6792     PyObject 
*resultobj
; 
6793     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
6794     wxColour 
*arg2 
= 0 ; 
6796     PyObject 
* obj0 
= 0 ; 
6797     PyObject 
* obj1 
= 0 ; 
6799         (char *) "self",(char *) "colBack", NULL 
 
6802     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
6803     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
6804     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6807         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
6810         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6811         (arg1
)->SetBackgroundColour((wxColour 
const &)*arg2
); 
6813         wxPyEndAllowThreads(__tstate
); 
6814         if (PyErr_Occurred()) SWIG_fail
; 
6816     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6823 static PyObject 
*_wrap_TextAttr_SetFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6824     PyObject 
*resultobj
; 
6825     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
6827     long arg3 
= (long) wxTEXT_ATTR_FONT 
; 
6828     PyObject 
* obj0 
= 0 ; 
6829     PyObject 
* obj1 
= 0 ; 
6830     PyObject 
* obj2 
= 0 ; 
6832         (char *) "self",(char *) "font",(char *) "flags", NULL 
 
6835     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6836     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
6837     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6838     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
, 
6839     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6842         PyErr_SetString(PyExc_TypeError
,"null reference"); 
6846         arg3 
= (long) SWIG_AsLong(obj2
);  
6847         if (PyErr_Occurred()) SWIG_fail
; 
6850         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6851         (arg1
)->SetFont((wxFont 
const &)*arg2
,arg3
); 
6853         wxPyEndAllowThreads(__tstate
); 
6854         if (PyErr_Occurred()) SWIG_fail
; 
6856     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6863 static PyObject 
*_wrap_TextAttr_SetAlignment(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6864     PyObject 
*resultobj
; 
6865     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
6867     PyObject 
* obj0 
= 0 ; 
6868     PyObject 
* obj1 
= 0 ; 
6870         (char *) "self",(char *) "alignment", NULL 
 
6873     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
; 
6874     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
6875     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6876     arg2 
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);  
6877     if (PyErr_Occurred()) SWIG_fail
; 
6879         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6880         (arg1
)->SetAlignment((wxTextAttrAlignment 
)arg2
); 
6882         wxPyEndAllowThreads(__tstate
); 
6883         if (PyErr_Occurred()) SWIG_fail
; 
6885     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6892 static PyObject 
*_wrap_TextAttr_SetTabs(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6893     PyObject 
*resultobj
; 
6894     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
6895     wxArrayInt 
*arg2 
= 0 ; 
6896     bool temp2 
= False 
; 
6897     PyObject 
* obj0 
= 0 ; 
6898     PyObject 
* obj1 
= 0 ; 
6900         (char *) "self",(char *) "tabs", NULL 
 
6903     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
; 
6904     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
6905     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6907         if (! PySequence_Check(obj1
)) { 
6908             PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected."); 
6911         arg2 
= new wxArrayInt
; 
6913         int i
, len
=PySequence_Length(obj1
); 
6914         for (i
=0; i
<len
; i
++) { 
6915             PyObject
* item 
= PySequence_GetItem(obj1
, i
); 
6916             PyObject
* number  
= PyNumber_Int(item
); 
6917             arg2
->Add(PyInt_AS_LONG(number
)); 
6923         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6924         (arg1
)->SetTabs((wxArrayInt 
const &)*arg2
); 
6926         wxPyEndAllowThreads(__tstate
); 
6927         if (PyErr_Occurred()) SWIG_fail
; 
6929     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6931         if (temp2
) delete arg2
; 
6936         if (temp2
) delete arg2
; 
6942 static PyObject 
*_wrap_TextAttr_SetLeftIndent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6943     PyObject 
*resultobj
; 
6944     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
6946     PyObject 
* obj0 
= 0 ; 
6947     PyObject 
* obj1 
= 0 ; 
6949         (char *) "self",(char *) "indent", NULL 
 
6952     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
; 
6953     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
6954     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6955     arg2 
= (int) SWIG_AsInt(obj1
);  
6956     if (PyErr_Occurred()) SWIG_fail
; 
6958         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6959         (arg1
)->SetLeftIndent(arg2
); 
6961         wxPyEndAllowThreads(__tstate
); 
6962         if (PyErr_Occurred()) SWIG_fail
; 
6964     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6971 static PyObject 
*_wrap_TextAttr_SetRightIndent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6972     PyObject 
*resultobj
; 
6973     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
6975     PyObject 
* obj0 
= 0 ; 
6976     PyObject 
* obj1 
= 0 ; 
6978         (char *) "self",(char *) "indent", NULL 
 
6981     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
; 
6982     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
6983     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6984     arg2 
= (int) SWIG_AsInt(obj1
);  
6985     if (PyErr_Occurred()) SWIG_fail
; 
6987         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6988         (arg1
)->SetRightIndent(arg2
); 
6990         wxPyEndAllowThreads(__tstate
); 
6991         if (PyErr_Occurred()) SWIG_fail
; 
6993     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7000 static PyObject 
*_wrap_TextAttr_SetFlags(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7001     PyObject 
*resultobj
; 
7002     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7004     PyObject 
* obj0 
= 0 ; 
7005     PyObject 
* obj1 
= 0 ; 
7007         (char *) "self",(char *) "flags", NULL 
 
7010     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
; 
7011     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7012     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7013     arg2 
= (long) SWIG_AsLong(obj1
);  
7014     if (PyErr_Occurred()) SWIG_fail
; 
7016         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7017         (arg1
)->SetFlags(arg2
); 
7019         wxPyEndAllowThreads(__tstate
); 
7020         if (PyErr_Occurred()) SWIG_fail
; 
7022     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7029 static PyObject 
*_wrap_TextAttr_HasTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7030     PyObject 
*resultobj
; 
7031     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7033     PyObject 
* obj0 
= 0 ; 
7035         (char *) "self", NULL 
 
7038     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
; 
7039     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7040     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7042         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7043         result 
= (bool)((wxTextAttr 
const *)arg1
)->HasTextColour(); 
7045         wxPyEndAllowThreads(__tstate
); 
7046         if (PyErr_Occurred()) SWIG_fail
; 
7049         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7057 static PyObject 
*_wrap_TextAttr_HasBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7058     PyObject 
*resultobj
; 
7059     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7061     PyObject 
* obj0 
= 0 ; 
7063         (char *) "self", NULL 
 
7066     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
; 
7067     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7068     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7070         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7071         result 
= (bool)((wxTextAttr 
const *)arg1
)->HasBackgroundColour(); 
7073         wxPyEndAllowThreads(__tstate
); 
7074         if (PyErr_Occurred()) SWIG_fail
; 
7077         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7085 static PyObject 
*_wrap_TextAttr_HasFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7086     PyObject 
*resultobj
; 
7087     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7089     PyObject 
* obj0 
= 0 ; 
7091         (char *) "self", NULL 
 
7094     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
; 
7095     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7096     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7098         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7099         result 
= (bool)((wxTextAttr 
const *)arg1
)->HasFont(); 
7101         wxPyEndAllowThreads(__tstate
); 
7102         if (PyErr_Occurred()) SWIG_fail
; 
7105         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7113 static PyObject 
*_wrap_TextAttr_HasAlignment(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7114     PyObject 
*resultobj
; 
7115     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7117     PyObject 
* obj0 
= 0 ; 
7119         (char *) "self", NULL 
 
7122     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
; 
7123     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7124     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7126         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7127         result 
= (bool)((wxTextAttr 
const *)arg1
)->HasAlignment(); 
7129         wxPyEndAllowThreads(__tstate
); 
7130         if (PyErr_Occurred()) SWIG_fail
; 
7133         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7141 static PyObject 
*_wrap_TextAttr_HasTabs(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7142     PyObject 
*resultobj
; 
7143     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7145     PyObject 
* obj0 
= 0 ; 
7147         (char *) "self", NULL 
 
7150     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
; 
7151     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7152     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7154         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7155         result 
= (bool)((wxTextAttr 
const *)arg1
)->HasTabs(); 
7157         wxPyEndAllowThreads(__tstate
); 
7158         if (PyErr_Occurred()) SWIG_fail
; 
7161         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7169 static PyObject 
*_wrap_TextAttr_HasLeftIndent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7170     PyObject 
*resultobj
; 
7171     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7173     PyObject 
* obj0 
= 0 ; 
7175         (char *) "self", NULL 
 
7178     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
; 
7179     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7180     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7182         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7183         result 
= (bool)((wxTextAttr 
const *)arg1
)->HasLeftIndent(); 
7185         wxPyEndAllowThreads(__tstate
); 
7186         if (PyErr_Occurred()) SWIG_fail
; 
7189         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7197 static PyObject 
*_wrap_TextAttr_HasRightIndent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7198     PyObject 
*resultobj
; 
7199     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7201     PyObject 
* obj0 
= 0 ; 
7203         (char *) "self", NULL 
 
7206     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
; 
7207     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7208     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7210         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7211         result 
= (bool)((wxTextAttr 
const *)arg1
)->HasRightIndent(); 
7213         wxPyEndAllowThreads(__tstate
); 
7214         if (PyErr_Occurred()) SWIG_fail
; 
7217         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7225 static PyObject 
*_wrap_TextAttr_HasFlag(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7226     PyObject 
*resultobj
; 
7227     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7230     PyObject 
* obj0 
= 0 ; 
7231     PyObject 
* obj1 
= 0 ; 
7233         (char *) "self",(char *) "flag", NULL 
 
7236     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
; 
7237     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7238     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7239     arg2 
= (long) SWIG_AsLong(obj1
);  
7240     if (PyErr_Occurred()) SWIG_fail
; 
7242         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7243         result 
= (bool)((wxTextAttr 
const *)arg1
)->HasFlag(arg2
); 
7245         wxPyEndAllowThreads(__tstate
); 
7246         if (PyErr_Occurred()) SWIG_fail
; 
7249         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7257 static PyObject 
*_wrap_TextAttr_GetTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7258     PyObject 
*resultobj
; 
7259     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7261     PyObject 
* obj0 
= 0 ; 
7263         (char *) "self", NULL 
 
7266     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
; 
7267     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7268     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7270         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7272             wxColour 
const &_result_ref 
= ((wxTextAttr 
const *)arg1
)->GetTextColour(); 
7273             result 
= (wxColour 
*) &_result_ref
; 
7276         wxPyEndAllowThreads(__tstate
); 
7277         if (PyErr_Occurred()) SWIG_fail
; 
7279     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0); 
7286 static PyObject 
*_wrap_TextAttr_GetBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7287     PyObject 
*resultobj
; 
7288     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7290     PyObject 
* obj0 
= 0 ; 
7292         (char *) "self", NULL 
 
7295     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
; 
7296     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7297     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7299         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7301             wxColour 
const &_result_ref 
= ((wxTextAttr 
const *)arg1
)->GetBackgroundColour(); 
7302             result 
= (wxColour 
*) &_result_ref
; 
7305         wxPyEndAllowThreads(__tstate
); 
7306         if (PyErr_Occurred()) SWIG_fail
; 
7308     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0); 
7315 static PyObject 
*_wrap_TextAttr_GetFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7316     PyObject 
*resultobj
; 
7317     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7319     PyObject 
* obj0 
= 0 ; 
7321         (char *) "self", NULL 
 
7324     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
; 
7325     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7326     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7328         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7330             wxFont 
const &_result_ref 
= ((wxTextAttr 
const *)arg1
)->GetFont(); 
7331             result 
= (wxFont 
*) &_result_ref
; 
7334         wxPyEndAllowThreads(__tstate
); 
7335         if (PyErr_Occurred()) SWIG_fail
; 
7338         wxFont
* resultptr 
= new wxFont(*result
); 
7339         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
7347 static PyObject 
*_wrap_TextAttr_GetAlignment(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7348     PyObject 
*resultobj
; 
7349     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7351     PyObject 
* obj0 
= 0 ; 
7353         (char *) "self", NULL 
 
7356     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
; 
7357     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7358     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7360         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7361         result 
= (int)((wxTextAttr 
const *)arg1
)->GetAlignment(); 
7363         wxPyEndAllowThreads(__tstate
); 
7364         if (PyErr_Occurred()) SWIG_fail
; 
7366     resultobj 
= SWIG_FromInt((int)result
); 
7373 static PyObject 
*_wrap_TextAttr_GetTabs(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7374     PyObject 
*resultobj
; 
7375     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7377     PyObject 
* obj0 
= 0 ; 
7379         (char *) "self", NULL 
 
7382     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
; 
7383     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7384     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7386         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7388             wxArrayInt 
const &_result_ref 
= ((wxTextAttr 
const *)arg1
)->GetTabs(); 
7389             result 
= (wxArrayInt 
*) &_result_ref
; 
7392         wxPyEndAllowThreads(__tstate
); 
7393         if (PyErr_Occurred()) SWIG_fail
; 
7396         resultobj 
= PyList_New(0); 
7398         for (idx 
= 0; idx 
< result
->GetCount(); idx 
+= 1) { 
7399             PyObject
* val 
= PyInt_FromLong( result
->Item(idx
) ); 
7400             PyList_Append(resultobj
, val
); 
7410 static PyObject 
*_wrap_TextAttr_GetLeftIndent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7411     PyObject 
*resultobj
; 
7412     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7414     PyObject 
* obj0 
= 0 ; 
7416         (char *) "self", NULL 
 
7419     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
; 
7420     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7421     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7423         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7424         result 
= (long)((wxTextAttr 
const *)arg1
)->GetLeftIndent(); 
7426         wxPyEndAllowThreads(__tstate
); 
7427         if (PyErr_Occurred()) SWIG_fail
; 
7429     resultobj 
= SWIG_FromLong((long)result
); 
7436 static PyObject 
*_wrap_TextAttr_GetRightIndent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7437     PyObject 
*resultobj
; 
7438     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7440     PyObject 
* obj0 
= 0 ; 
7442         (char *) "self", NULL 
 
7445     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
; 
7446     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7447     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7449         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7450         result 
= (long)((wxTextAttr 
const *)arg1
)->GetRightIndent(); 
7452         wxPyEndAllowThreads(__tstate
); 
7453         if (PyErr_Occurred()) SWIG_fail
; 
7455     resultobj 
= SWIG_FromLong((long)result
); 
7462 static PyObject 
*_wrap_TextAttr_GetFlags(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7463     PyObject 
*resultobj
; 
7464     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7466     PyObject 
* obj0 
= 0 ; 
7468         (char *) "self", NULL 
 
7471     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
; 
7472     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7473     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7475         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7476         result 
= (long)((wxTextAttr 
const *)arg1
)->GetFlags(); 
7478         wxPyEndAllowThreads(__tstate
); 
7479         if (PyErr_Occurred()) SWIG_fail
; 
7481     resultobj 
= SWIG_FromLong((long)result
); 
7488 static PyObject 
*_wrap_TextAttr_IsDefault(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7489     PyObject 
*resultobj
; 
7490     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
7492     PyObject 
* obj0 
= 0 ; 
7494         (char *) "self", NULL 
 
7497     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
; 
7498     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7499     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7501         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7502         result 
= (bool)((wxTextAttr 
const *)arg1
)->IsDefault(); 
7504         wxPyEndAllowThreads(__tstate
); 
7505         if (PyErr_Occurred()) SWIG_fail
; 
7508         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7516 static PyObject 
*_wrap_TextAttr_Combine(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7517     PyObject 
*resultobj
; 
7518     wxTextAttr 
*arg1 
= 0 ; 
7519     wxTextAttr 
*arg2 
= 0 ; 
7520     wxTextCtrl 
*arg3 
= (wxTextCtrl 
*) 0 ; 
7522     PyObject 
* obj0 
= 0 ; 
7523     PyObject 
* obj1 
= 0 ; 
7524     PyObject 
* obj2 
= 0 ; 
7526         (char *) "attr",(char *) "attrDef",(char *) "text", NULL 
 
7529     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
7530     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
, 
7531     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
7534         PyErr_SetString(PyExc_TypeError
,"null reference"); 
7537     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
, 
7538     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
7541         PyErr_SetString(PyExc_TypeError
,"null reference"); 
7544     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
, 
7545     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7547         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7548         result 
= wxTextAttr::Combine((wxTextAttr 
const &)*arg1
,(wxTextAttr 
const &)*arg2
,(wxTextCtrl 
const *)arg3
); 
7550         wxPyEndAllowThreads(__tstate
); 
7551         if (PyErr_Occurred()) SWIG_fail
; 
7554         wxTextAttr 
* resultptr
; 
7555         resultptr 
= new wxTextAttr((wxTextAttr 
&) result
); 
7556         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1); 
7564 static PyObject 
* TextAttr_swigregister(PyObject 
*self
, PyObject 
*args
) { 
7566     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7567     SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
); 
7569     return Py_BuildValue((char *)""); 
7571 static PyObject 
*_wrap_new_TextCtrl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7572     PyObject 
*resultobj
; 
7573     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
7575     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
7576     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
7577     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
7578     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
7579     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
7580     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
7581     long arg6 
= (long) 0 ; 
7582     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
7583     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
7584     wxString 
const &arg8_defvalue 
= wxPyTextCtrlNameStr 
; 
7585     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
7587     bool temp3 
= False 
; 
7590     bool temp8 
= False 
; 
7591     PyObject 
* obj0 
= 0 ; 
7592     PyObject 
* obj1 
= 0 ; 
7593     PyObject 
* obj2 
= 0 ; 
7594     PyObject 
* obj3 
= 0 ; 
7595     PyObject 
* obj4 
= 0 ; 
7596     PyObject 
* obj5 
= 0 ; 
7597     PyObject 
* obj6 
= 0 ; 
7598     PyObject 
* obj7 
= 0 ; 
7600         (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
7603     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
7604     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
7605     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7606     arg2 
= (int) SWIG_AsInt(obj1
);  
7607     if (PyErr_Occurred()) SWIG_fail
; 
7610             arg3 
= wxString_in_helper(obj2
); 
7611             if (arg3 
== NULL
) SWIG_fail
; 
7618             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
7624             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
7628         arg6 
= (long) SWIG_AsLong(obj5
);  
7629         if (PyErr_Occurred()) SWIG_fail
; 
7632         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
, 
7633         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
7636             PyErr_SetString(PyExc_TypeError
,"null reference"); 
7642             arg8 
= wxString_in_helper(obj7
); 
7643             if (arg8 
== NULL
) SWIG_fail
; 
7648         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7649         result 
= (wxTextCtrl 
*)new wxTextCtrl(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
7651         wxPyEndAllowThreads(__tstate
); 
7652         if (PyErr_Occurred()) SWIG_fail
; 
7655         resultobj 
= wxPyMake_wxObject(result
);  
7679 static PyObject 
*_wrap_new_PreTextCtrl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7680     PyObject 
*resultobj
; 
7686     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
; 
7688         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7689         result 
= (wxTextCtrl 
*)new wxTextCtrl(); 
7691         wxPyEndAllowThreads(__tstate
); 
7692         if (PyErr_Occurred()) SWIG_fail
; 
7695         resultobj 
= wxPyMake_wxObject(result
);  
7703 static PyObject 
*_wrap_TextCtrl_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7704     PyObject 
*resultobj
; 
7705     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
7706     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
7708     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
7709     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
7710     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
7711     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
7712     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
7713     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
7714     long arg7 
= (long) 0 ; 
7715     wxValidator 
const &arg8_defvalue 
= wxDefaultValidator 
; 
7716     wxValidator 
*arg8 
= (wxValidator 
*) &arg8_defvalue 
; 
7717     wxString 
const &arg9_defvalue 
= wxPyTextCtrlNameStr 
; 
7718     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
7720     bool temp4 
= False 
; 
7723     bool temp9 
= False 
; 
7724     PyObject 
* obj0 
= 0 ; 
7725     PyObject 
* obj1 
= 0 ; 
7726     PyObject 
* obj2 
= 0 ; 
7727     PyObject 
* obj3 
= 0 ; 
7728     PyObject 
* obj4 
= 0 ; 
7729     PyObject 
* obj5 
= 0 ; 
7730     PyObject 
* obj6 
= 0 ; 
7731     PyObject 
* obj7 
= 0 ; 
7732     PyObject 
* obj8 
= 0 ; 
7734         (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
7737     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
7738     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
7739     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7740     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
7741     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7742     arg3 
= (int) SWIG_AsInt(obj2
);  
7743     if (PyErr_Occurred()) SWIG_fail
; 
7746             arg4 
= wxString_in_helper(obj3
); 
7747             if (arg4 
== NULL
) SWIG_fail
; 
7754             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
7760             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
7764         arg7 
= (long) SWIG_AsLong(obj6
);  
7765         if (PyErr_Occurred()) SWIG_fail
; 
7768         if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
, 
7769         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
7772             PyErr_SetString(PyExc_TypeError
,"null reference"); 
7778             arg9 
= wxString_in_helper(obj8
); 
7779             if (arg9 
== NULL
) SWIG_fail
; 
7784         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7785         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxValidator 
const &)*arg8
,(wxString 
const &)*arg9
); 
7787         wxPyEndAllowThreads(__tstate
); 
7788         if (PyErr_Occurred()) SWIG_fail
; 
7791         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7815 static PyObject 
*_wrap_TextCtrl_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7816     PyObject 
*resultobj
; 
7817     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
7819     PyObject 
* obj0 
= 0 ; 
7821         (char *) "self", NULL 
 
7824     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
; 
7825     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
7826     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7828         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7829         result 
= ((wxTextCtrl 
const *)arg1
)->GetValue(); 
7831         wxPyEndAllowThreads(__tstate
); 
7832         if (PyErr_Occurred()) SWIG_fail
; 
7836         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
7838         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
7847 static PyObject 
*_wrap_TextCtrl_SetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7848     PyObject 
*resultobj
; 
7849     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
7850     wxString 
*arg2 
= 0 ; 
7851     bool temp2 
= False 
; 
7852     PyObject 
* obj0 
= 0 ; 
7853     PyObject 
* obj1 
= 0 ; 
7855         (char *) "self",(char *) "value", NULL 
 
7858     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
7859     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
7860     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7862         arg2 
= wxString_in_helper(obj1
); 
7863         if (arg2 
== NULL
) SWIG_fail
; 
7867         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7868         (arg1
)->SetValue((wxString 
const &)*arg2
); 
7870         wxPyEndAllowThreads(__tstate
); 
7871         if (PyErr_Occurred()) SWIG_fail
; 
7873     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7888 static PyObject 
*_wrap_TextCtrl_GetRange(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7889     PyObject 
*resultobj
; 
7890     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
7894     PyObject 
* obj0 
= 0 ; 
7895     PyObject 
* obj1 
= 0 ; 
7896     PyObject 
* obj2 
= 0 ; 
7898         (char *) "self",(char *) "from",(char *) "to", NULL 
 
7901     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
7902     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
7903     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7904     arg2 
= (long) SWIG_AsLong(obj1
);  
7905     if (PyErr_Occurred()) SWIG_fail
; 
7906     arg3 
= (long) SWIG_AsLong(obj2
);  
7907     if (PyErr_Occurred()) SWIG_fail
; 
7909         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7910         result 
= ((wxTextCtrl 
const *)arg1
)->GetRange(arg2
,arg3
); 
7912         wxPyEndAllowThreads(__tstate
); 
7913         if (PyErr_Occurred()) SWIG_fail
; 
7917         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
7919         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
7928 static PyObject 
*_wrap_TextCtrl_GetLineLength(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7929     PyObject 
*resultobj
; 
7930     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
7933     PyObject 
* obj0 
= 0 ; 
7934     PyObject 
* obj1 
= 0 ; 
7936         (char *) "self",(char *) "lineNo", NULL 
 
7939     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
; 
7940     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
7941     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7942     arg2 
= (long) SWIG_AsLong(obj1
);  
7943     if (PyErr_Occurred()) SWIG_fail
; 
7945         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7946         result 
= (int)((wxTextCtrl 
const *)arg1
)->GetLineLength(arg2
); 
7948         wxPyEndAllowThreads(__tstate
); 
7949         if (PyErr_Occurred()) SWIG_fail
; 
7951     resultobj 
= SWIG_FromInt((int)result
); 
7958 static PyObject 
*_wrap_TextCtrl_GetLineText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7959     PyObject 
*resultobj
; 
7960     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
7963     PyObject 
* obj0 
= 0 ; 
7964     PyObject 
* obj1 
= 0 ; 
7966         (char *) "self",(char *) "lineNo", NULL 
 
7969     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
; 
7970     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
7971     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7972     arg2 
= (long) SWIG_AsLong(obj1
);  
7973     if (PyErr_Occurred()) SWIG_fail
; 
7975         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7976         result 
= ((wxTextCtrl 
const *)arg1
)->GetLineText(arg2
); 
7978         wxPyEndAllowThreads(__tstate
); 
7979         if (PyErr_Occurred()) SWIG_fail
; 
7983         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
7985         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
7994 static PyObject 
*_wrap_TextCtrl_GetNumberOfLines(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7995     PyObject 
*resultobj
; 
7996     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
7998     PyObject 
* obj0 
= 0 ; 
8000         (char *) "self", NULL 
 
8003     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
; 
8004     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8005     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8007         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8008         result 
= (int)((wxTextCtrl 
const *)arg1
)->GetNumberOfLines(); 
8010         wxPyEndAllowThreads(__tstate
); 
8011         if (PyErr_Occurred()) SWIG_fail
; 
8013     resultobj 
= SWIG_FromInt((int)result
); 
8020 static PyObject 
*_wrap_TextCtrl_IsModified(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8021     PyObject 
*resultobj
; 
8022     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8024     PyObject 
* obj0 
= 0 ; 
8026         (char *) "self", NULL 
 
8029     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
; 
8030     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8031     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8033         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8034         result 
= (bool)((wxTextCtrl 
const *)arg1
)->IsModified(); 
8036         wxPyEndAllowThreads(__tstate
); 
8037         if (PyErr_Occurred()) SWIG_fail
; 
8040         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8048 static PyObject 
*_wrap_TextCtrl_IsEditable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8049     PyObject 
*resultobj
; 
8050     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8052     PyObject 
* obj0 
= 0 ; 
8054         (char *) "self", NULL 
 
8057     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
; 
8058     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8059     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8061         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8062         result 
= (bool)((wxTextCtrl 
const *)arg1
)->IsEditable(); 
8064         wxPyEndAllowThreads(__tstate
); 
8065         if (PyErr_Occurred()) SWIG_fail
; 
8068         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8076 static PyObject 
*_wrap_TextCtrl_IsSingleLine(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8077     PyObject 
*resultobj
; 
8078     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8080     PyObject 
* obj0 
= 0 ; 
8082         (char *) "self", NULL 
 
8085     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
; 
8086     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8087     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8089         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8090         result 
= (bool)((wxTextCtrl 
const *)arg1
)->IsSingleLine(); 
8092         wxPyEndAllowThreads(__tstate
); 
8093         if (PyErr_Occurred()) SWIG_fail
; 
8096         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8104 static PyObject 
*_wrap_TextCtrl_IsMultiLine(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8105     PyObject 
*resultobj
; 
8106     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8108     PyObject 
* obj0 
= 0 ; 
8110         (char *) "self", NULL 
 
8113     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
; 
8114     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8115     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8117         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8118         result 
= (bool)((wxTextCtrl 
const *)arg1
)->IsMultiLine(); 
8120         wxPyEndAllowThreads(__tstate
); 
8121         if (PyErr_Occurred()) SWIG_fail
; 
8124         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8132 static PyObject 
*_wrap_TextCtrl_GetSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8133     PyObject 
*resultobj
; 
8134     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8135     long *arg2 
= (long *) 0 ; 
8136     long *arg3 
= (long *) 0 ; 
8139     PyObject 
* obj0 
= 0 ; 
8141         (char *) "self", NULL 
 
8146     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
; 
8147     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8148     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8150         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8151         ((wxTextCtrl 
const *)arg1
)->GetSelection(arg2
,arg3
); 
8153         wxPyEndAllowThreads(__tstate
); 
8154         if (PyErr_Occurred()) SWIG_fail
; 
8156     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8158         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
8159         resultobj 
= t_output_helper(resultobj
,o
); 
8162         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
8163         resultobj 
= t_output_helper(resultobj
,o
); 
8171 static PyObject 
*_wrap_TextCtrl_GetStringSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8172     PyObject 
*resultobj
; 
8173     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8175     PyObject 
* obj0 
= 0 ; 
8177         (char *) "self", NULL 
 
8180     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
; 
8181     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8182     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8184         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8185         result 
= ((wxTextCtrl 
const *)arg1
)->GetStringSelection(); 
8187         wxPyEndAllowThreads(__tstate
); 
8188         if (PyErr_Occurred()) SWIG_fail
; 
8192         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8194         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8203 static PyObject 
*_wrap_TextCtrl_Clear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8204     PyObject 
*resultobj
; 
8205     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8206     PyObject 
* obj0 
= 0 ; 
8208         (char *) "self", NULL 
 
8211     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
; 
8212     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8213     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8215         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8218         wxPyEndAllowThreads(__tstate
); 
8219         if (PyErr_Occurred()) SWIG_fail
; 
8221     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8228 static PyObject 
*_wrap_TextCtrl_Replace(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8229     PyObject 
*resultobj
; 
8230     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8233     wxString 
*arg4 
= 0 ; 
8234     bool temp4 
= False 
; 
8235     PyObject 
* obj0 
= 0 ; 
8236     PyObject 
* obj1 
= 0 ; 
8237     PyObject 
* obj2 
= 0 ; 
8238     PyObject 
* obj3 
= 0 ; 
8240         (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL 
 
8243     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
8244     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8245     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8246     arg2 
= (long) SWIG_AsLong(obj1
);  
8247     if (PyErr_Occurred()) SWIG_fail
; 
8248     arg3 
= (long) SWIG_AsLong(obj2
);  
8249     if (PyErr_Occurred()) SWIG_fail
; 
8251         arg4 
= wxString_in_helper(obj3
); 
8252         if (arg4 
== NULL
) SWIG_fail
; 
8256         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8257         (arg1
)->Replace(arg2
,arg3
,(wxString 
const &)*arg4
); 
8259         wxPyEndAllowThreads(__tstate
); 
8260         if (PyErr_Occurred()) SWIG_fail
; 
8262     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8277 static PyObject 
*_wrap_TextCtrl_Remove(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8278     PyObject 
*resultobj
; 
8279     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8282     PyObject 
* obj0 
= 0 ; 
8283     PyObject 
* obj1 
= 0 ; 
8284     PyObject 
* obj2 
= 0 ; 
8286         (char *) "self",(char *) "from",(char *) "to", NULL 
 
8289     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8290     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8291     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8292     arg2 
= (long) SWIG_AsLong(obj1
);  
8293     if (PyErr_Occurred()) SWIG_fail
; 
8294     arg3 
= (long) SWIG_AsLong(obj2
);  
8295     if (PyErr_Occurred()) SWIG_fail
; 
8297         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8298         (arg1
)->Remove(arg2
,arg3
); 
8300         wxPyEndAllowThreads(__tstate
); 
8301         if (PyErr_Occurred()) SWIG_fail
; 
8303     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8310 static PyObject 
*_wrap_TextCtrl_LoadFile(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8311     PyObject 
*resultobj
; 
8312     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8313     wxString 
*arg2 
= 0 ; 
8315     bool temp2 
= False 
; 
8316     PyObject 
* obj0 
= 0 ; 
8317     PyObject 
* obj1 
= 0 ; 
8319         (char *) "self",(char *) "file", NULL 
 
8322     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
; 
8323     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8324     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8326         arg2 
= wxString_in_helper(obj1
); 
8327         if (arg2 
== NULL
) SWIG_fail
; 
8331         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8332         result 
= (bool)(arg1
)->LoadFile((wxString 
const &)*arg2
); 
8334         wxPyEndAllowThreads(__tstate
); 
8335         if (PyErr_Occurred()) SWIG_fail
; 
8338         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8354 static PyObject 
*_wrap_TextCtrl_SaveFile(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8355     PyObject 
*resultobj
; 
8356     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8357     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
8358     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
8360     bool temp2 
= False 
; 
8361     PyObject 
* obj0 
= 0 ; 
8362     PyObject 
* obj1 
= 0 ; 
8364         (char *) "self",(char *) "file", NULL 
 
8367     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
; 
8368     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8369     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8372             arg2 
= wxString_in_helper(obj1
); 
8373             if (arg2 
== NULL
) SWIG_fail
; 
8378         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8379         result 
= (bool)(arg1
)->SaveFile((wxString 
const &)*arg2
); 
8381         wxPyEndAllowThreads(__tstate
); 
8382         if (PyErr_Occurred()) SWIG_fail
; 
8385         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8401 static PyObject 
*_wrap_TextCtrl_MarkDirty(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8402     PyObject 
*resultobj
; 
8403     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8404     PyObject 
* obj0 
= 0 ; 
8406         (char *) "self", NULL 
 
8409     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
; 
8410     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8411     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8413         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8414         (arg1
)->MarkDirty(); 
8416         wxPyEndAllowThreads(__tstate
); 
8417         if (PyErr_Occurred()) SWIG_fail
; 
8419     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8426 static PyObject 
*_wrap_TextCtrl_DiscardEdits(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8427     PyObject 
*resultobj
; 
8428     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8429     PyObject 
* obj0 
= 0 ; 
8431         (char *) "self", NULL 
 
8434     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
; 
8435     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8436     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8438         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8439         (arg1
)->DiscardEdits(); 
8441         wxPyEndAllowThreads(__tstate
); 
8442         if (PyErr_Occurred()) SWIG_fail
; 
8444     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8451 static PyObject 
*_wrap_TextCtrl_SetMaxLength(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8452     PyObject 
*resultobj
; 
8453     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8454     unsigned long arg2 
; 
8455     PyObject 
* obj0 
= 0 ; 
8456     PyObject 
* obj1 
= 0 ; 
8458         (char *) "self",(char *) "len", NULL 
 
8461     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
; 
8462     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8463     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8464     arg2 
= (unsigned long) SWIG_AsUnsignedLong(obj1
);  
8465     if (PyErr_Occurred()) SWIG_fail
; 
8467         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8468         (arg1
)->SetMaxLength(arg2
); 
8470         wxPyEndAllowThreads(__tstate
); 
8471         if (PyErr_Occurred()) SWIG_fail
; 
8473     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8480 static PyObject 
*_wrap_TextCtrl_WriteText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8481     PyObject 
*resultobj
; 
8482     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8483     wxString 
*arg2 
= 0 ; 
8484     bool temp2 
= False 
; 
8485     PyObject 
* obj0 
= 0 ; 
8486     PyObject 
* obj1 
= 0 ; 
8488         (char *) "self",(char *) "text", NULL 
 
8491     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
; 
8492     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8493     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8495         arg2 
= wxString_in_helper(obj1
); 
8496         if (arg2 
== NULL
) SWIG_fail
; 
8500         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8501         (arg1
)->WriteText((wxString 
const &)*arg2
); 
8503         wxPyEndAllowThreads(__tstate
); 
8504         if (PyErr_Occurred()) SWIG_fail
; 
8506     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8521 static PyObject 
*_wrap_TextCtrl_AppendText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8522     PyObject 
*resultobj
; 
8523     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8524     wxString 
*arg2 
= 0 ; 
8525     bool temp2 
= False 
; 
8526     PyObject 
* obj0 
= 0 ; 
8527     PyObject 
* obj1 
= 0 ; 
8529         (char *) "self",(char *) "text", NULL 
 
8532     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
; 
8533     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8534     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8536         arg2 
= wxString_in_helper(obj1
); 
8537         if (arg2 
== NULL
) SWIG_fail
; 
8541         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8542         (arg1
)->AppendText((wxString 
const &)*arg2
); 
8544         wxPyEndAllowThreads(__tstate
); 
8545         if (PyErr_Occurred()) SWIG_fail
; 
8547     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8562 static PyObject 
*_wrap_TextCtrl_EmulateKeyPress(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8563     PyObject 
*resultobj
; 
8564     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8565     wxKeyEvent 
*arg2 
= 0 ; 
8567     PyObject 
* obj0 
= 0 ; 
8568     PyObject 
* obj1 
= 0 ; 
8570         (char *) "self",(char *) "event", NULL 
 
8573     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
; 
8574     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8575     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8576     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
, 
8577     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
8580         PyErr_SetString(PyExc_TypeError
,"null reference"); 
8584         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8585         result 
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent 
const &)*arg2
); 
8587         wxPyEndAllowThreads(__tstate
); 
8588         if (PyErr_Occurred()) SWIG_fail
; 
8591         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8599 static PyObject 
*_wrap_TextCtrl_SetStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8600     PyObject 
*resultobj
; 
8601     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8604     wxTextAttr 
*arg4 
= 0 ; 
8606     PyObject 
* obj0 
= 0 ; 
8607     PyObject 
* obj1 
= 0 ; 
8608     PyObject 
* obj2 
= 0 ; 
8609     PyObject 
* obj3 
= 0 ; 
8611         (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL 
 
8614     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
8615     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8616     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8617     arg2 
= (long) SWIG_AsLong(obj1
);  
8618     if (PyErr_Occurred()) SWIG_fail
; 
8619     arg3 
= (long) SWIG_AsLong(obj2
);  
8620     if (PyErr_Occurred()) SWIG_fail
; 
8621     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
, 
8622     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
8625         PyErr_SetString(PyExc_TypeError
,"null reference"); 
8629         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8630         result 
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr 
const &)*arg4
); 
8632         wxPyEndAllowThreads(__tstate
); 
8633         if (PyErr_Occurred()) SWIG_fail
; 
8636         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8644 static PyObject 
*_wrap_TextCtrl_GetStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8645     PyObject 
*resultobj
; 
8646     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8648     wxTextAttr 
*arg3 
= 0 ; 
8650     PyObject 
* obj0 
= 0 ; 
8651     PyObject 
* obj1 
= 0 ; 
8652     PyObject 
* obj2 
= 0 ; 
8654         (char *) "self",(char *) "position",(char *) "style", NULL 
 
8657     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8658     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8659     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8660     arg2 
= (long) SWIG_AsLong(obj1
);  
8661     if (PyErr_Occurred()) SWIG_fail
; 
8662     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
, 
8663     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
8666         PyErr_SetString(PyExc_TypeError
,"null reference"); 
8670         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8671         result 
= (bool)(arg1
)->GetStyle(arg2
,*arg3
); 
8673         wxPyEndAllowThreads(__tstate
); 
8674         if (PyErr_Occurred()) SWIG_fail
; 
8677         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8685 static PyObject 
*_wrap_TextCtrl_SetDefaultStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8686     PyObject 
*resultobj
; 
8687     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8688     wxTextAttr 
*arg2 
= 0 ; 
8690     PyObject 
* obj0 
= 0 ; 
8691     PyObject 
* obj1 
= 0 ; 
8693         (char *) "self",(char *) "style", NULL 
 
8696     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
; 
8697     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8698     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8699     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
, 
8700     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
8703         PyErr_SetString(PyExc_TypeError
,"null reference"); 
8707         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8708         result 
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr 
const &)*arg2
); 
8710         wxPyEndAllowThreads(__tstate
); 
8711         if (PyErr_Occurred()) SWIG_fail
; 
8714         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8722 static PyObject 
*_wrap_TextCtrl_GetDefaultStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8723     PyObject 
*resultobj
; 
8724     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8726     PyObject 
* obj0 
= 0 ; 
8728         (char *) "self", NULL 
 
8731     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
; 
8732     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8733     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8735         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8737             wxTextAttr 
const &_result_ref 
= ((wxTextCtrl 
const *)arg1
)->GetDefaultStyle(); 
8738             result 
= (wxTextAttr 
*) &_result_ref
; 
8741         wxPyEndAllowThreads(__tstate
); 
8742         if (PyErr_Occurred()) SWIG_fail
; 
8744     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0); 
8751 static PyObject 
*_wrap_TextCtrl_XYToPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8752     PyObject 
*resultobj
; 
8753     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8757     PyObject 
* obj0 
= 0 ; 
8758     PyObject 
* obj1 
= 0 ; 
8759     PyObject 
* obj2 
= 0 ; 
8761         (char *) "self",(char *) "x",(char *) "y", NULL 
 
8764     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8765     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8766     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8767     arg2 
= (long) SWIG_AsLong(obj1
);  
8768     if (PyErr_Occurred()) SWIG_fail
; 
8769     arg3 
= (long) SWIG_AsLong(obj2
);  
8770     if (PyErr_Occurred()) SWIG_fail
; 
8772         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8773         result 
= (long)((wxTextCtrl 
const *)arg1
)->XYToPosition(arg2
,arg3
); 
8775         wxPyEndAllowThreads(__tstate
); 
8776         if (PyErr_Occurred()) SWIG_fail
; 
8778     resultobj 
= SWIG_FromLong((long)result
); 
8785 static PyObject 
*_wrap_TextCtrl_PositionToXY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8786     PyObject 
*resultobj
; 
8787     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8789     long *arg3 
= (long *) 0 ; 
8790     long *arg4 
= (long *) 0 ; 
8793     PyObject 
* obj0 
= 0 ; 
8794     PyObject 
* obj1 
= 0 ; 
8796         (char *) "self",(char *) "pos", NULL 
 
8801     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
; 
8802     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8803     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8804     arg2 
= (long) SWIG_AsLong(obj1
);  
8805     if (PyErr_Occurred()) SWIG_fail
; 
8807         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8808         ((wxTextCtrl 
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
); 
8810         wxPyEndAllowThreads(__tstate
); 
8811         if (PyErr_Occurred()) SWIG_fail
; 
8813     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8815         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
8816         resultobj 
= t_output_helper(resultobj
,o
); 
8819         PyObject 
*o 
= PyInt_FromLong((long) (*arg4
)); 
8820         resultobj 
= t_output_helper(resultobj
,o
); 
8828 static PyObject 
*_wrap_TextCtrl_ShowPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8829     PyObject 
*resultobj
; 
8830     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8832     PyObject 
* obj0 
= 0 ; 
8833     PyObject 
* obj1 
= 0 ; 
8835         (char *) "self",(char *) "pos", NULL 
 
8838     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
8839     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8840     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8841     arg2 
= (long) SWIG_AsLong(obj1
);  
8842     if (PyErr_Occurred()) SWIG_fail
; 
8844         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8845         (arg1
)->ShowPosition(arg2
); 
8847         wxPyEndAllowThreads(__tstate
); 
8848         if (PyErr_Occurred()) SWIG_fail
; 
8850     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8857 static PyObject 
*_wrap_TextCtrl_HitTest(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8858     PyObject 
*resultobj
; 
8859     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8861     long *arg3 
= (long *) 0 ; 
8862     long *arg4 
= (long *) 0 ; 
8867     PyObject 
* obj0 
= 0 ; 
8868     PyObject 
* obj1 
= 0 ; 
8870         (char *) "self",(char *) "pt", NULL 
 
8875     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
; 
8876     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8877     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8880         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
8883         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8884         result 
= (int)((wxTextCtrl 
const *)arg1
)->HitTest((wxPoint 
const &)*arg2
,arg3
,arg4
); 
8886         wxPyEndAllowThreads(__tstate
); 
8887         if (PyErr_Occurred()) SWIG_fail
; 
8889     resultobj 
= SWIG_FromInt((int)result
); 
8891         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
8892         resultobj 
= t_output_helper(resultobj
,o
); 
8895         PyObject 
*o 
= PyInt_FromLong((long) (*arg4
)); 
8896         resultobj 
= t_output_helper(resultobj
,o
); 
8904 static PyObject 
*_wrap_TextCtrl_Copy(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8905     PyObject 
*resultobj
; 
8906     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8907     PyObject 
* obj0 
= 0 ; 
8909         (char *) "self", NULL 
 
8912     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
; 
8913     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8914     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8916         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8919         wxPyEndAllowThreads(__tstate
); 
8920         if (PyErr_Occurred()) SWIG_fail
; 
8922     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8929 static PyObject 
*_wrap_TextCtrl_Cut(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8930     PyObject 
*resultobj
; 
8931     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8932     PyObject 
* obj0 
= 0 ; 
8934         (char *) "self", NULL 
 
8937     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
; 
8938     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8939     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8941         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8944         wxPyEndAllowThreads(__tstate
); 
8945         if (PyErr_Occurred()) SWIG_fail
; 
8947     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8954 static PyObject 
*_wrap_TextCtrl_Paste(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8955     PyObject 
*resultobj
; 
8956     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8957     PyObject 
* obj0 
= 0 ; 
8959         (char *) "self", NULL 
 
8962     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
; 
8963     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8964     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8966         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8969         wxPyEndAllowThreads(__tstate
); 
8970         if (PyErr_Occurred()) SWIG_fail
; 
8972     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8979 static PyObject 
*_wrap_TextCtrl_CanCopy(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8980     PyObject 
*resultobj
; 
8981     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8983     PyObject 
* obj0 
= 0 ; 
8985         (char *) "self", NULL 
 
8988     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
; 
8989     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8990     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8992         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8993         result 
= (bool)((wxTextCtrl 
const *)arg1
)->CanCopy(); 
8995         wxPyEndAllowThreads(__tstate
); 
8996         if (PyErr_Occurred()) SWIG_fail
; 
8999         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9007 static PyObject 
*_wrap_TextCtrl_CanCut(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9008     PyObject 
*resultobj
; 
9009     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9011     PyObject 
* obj0 
= 0 ; 
9013         (char *) "self", NULL 
 
9016     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
; 
9017     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9018     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9020         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9021         result 
= (bool)((wxTextCtrl 
const *)arg1
)->CanCut(); 
9023         wxPyEndAllowThreads(__tstate
); 
9024         if (PyErr_Occurred()) SWIG_fail
; 
9027         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9035 static PyObject 
*_wrap_TextCtrl_CanPaste(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9036     PyObject 
*resultobj
; 
9037     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9039     PyObject 
* obj0 
= 0 ; 
9041         (char *) "self", NULL 
 
9044     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
; 
9045     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9046     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9048         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9049         result 
= (bool)((wxTextCtrl 
const *)arg1
)->CanPaste(); 
9051         wxPyEndAllowThreads(__tstate
); 
9052         if (PyErr_Occurred()) SWIG_fail
; 
9055         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9063 static PyObject 
*_wrap_TextCtrl_Undo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9064     PyObject 
*resultobj
; 
9065     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9066     PyObject 
* obj0 
= 0 ; 
9068         (char *) "self", NULL 
 
9071     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
; 
9072     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9073     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9075         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9078         wxPyEndAllowThreads(__tstate
); 
9079         if (PyErr_Occurred()) SWIG_fail
; 
9081     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9088 static PyObject 
*_wrap_TextCtrl_Redo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9089     PyObject 
*resultobj
; 
9090     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9091     PyObject 
* obj0 
= 0 ; 
9093         (char *) "self", NULL 
 
9096     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
; 
9097     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9098     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9100         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9103         wxPyEndAllowThreads(__tstate
); 
9104         if (PyErr_Occurred()) SWIG_fail
; 
9106     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9113 static PyObject 
*_wrap_TextCtrl_CanUndo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9114     PyObject 
*resultobj
; 
9115     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9117     PyObject 
* obj0 
= 0 ; 
9119         (char *) "self", NULL 
 
9122     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
; 
9123     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9124     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9126         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9127         result 
= (bool)((wxTextCtrl 
const *)arg1
)->CanUndo(); 
9129         wxPyEndAllowThreads(__tstate
); 
9130         if (PyErr_Occurred()) SWIG_fail
; 
9133         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9141 static PyObject 
*_wrap_TextCtrl_CanRedo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9142     PyObject 
*resultobj
; 
9143     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9145     PyObject 
* obj0 
= 0 ; 
9147         (char *) "self", NULL 
 
9150     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
; 
9151     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9152     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9154         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9155         result 
= (bool)((wxTextCtrl 
const *)arg1
)->CanRedo(); 
9157         wxPyEndAllowThreads(__tstate
); 
9158         if (PyErr_Occurred()) SWIG_fail
; 
9161         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9169 static PyObject 
*_wrap_TextCtrl_SetInsertionPoint(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9170     PyObject 
*resultobj
; 
9171     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9173     PyObject 
* obj0 
= 0 ; 
9174     PyObject 
* obj1 
= 0 ; 
9176         (char *) "self",(char *) "pos", NULL 
 
9179     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
9180     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9181     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9182     arg2 
= (long) SWIG_AsLong(obj1
);  
9183     if (PyErr_Occurred()) SWIG_fail
; 
9185         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9186         (arg1
)->SetInsertionPoint(arg2
); 
9188         wxPyEndAllowThreads(__tstate
); 
9189         if (PyErr_Occurred()) SWIG_fail
; 
9191     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9198 static PyObject 
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9199     PyObject 
*resultobj
; 
9200     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9201     PyObject 
* obj0 
= 0 ; 
9203         (char *) "self", NULL 
 
9206     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
; 
9207     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9208     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9210         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9211         (arg1
)->SetInsertionPointEnd(); 
9213         wxPyEndAllowThreads(__tstate
); 
9214         if (PyErr_Occurred()) SWIG_fail
; 
9216     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9223 static PyObject 
*_wrap_TextCtrl_GetInsertionPoint(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9224     PyObject 
*resultobj
; 
9225     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9227     PyObject 
* obj0 
= 0 ; 
9229         (char *) "self", NULL 
 
9232     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
; 
9233     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9234     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9236         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9237         result 
= (long)((wxTextCtrl 
const *)arg1
)->GetInsertionPoint(); 
9239         wxPyEndAllowThreads(__tstate
); 
9240         if (PyErr_Occurred()) SWIG_fail
; 
9242     resultobj 
= SWIG_FromLong((long)result
); 
9249 static PyObject 
*_wrap_TextCtrl_GetLastPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9250     PyObject 
*resultobj
; 
9251     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9253     PyObject 
* obj0 
= 0 ; 
9255         (char *) "self", NULL 
 
9258     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
; 
9259     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9260     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9262         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9263         result 
= (long)((wxTextCtrl 
const *)arg1
)->GetLastPosition(); 
9265         wxPyEndAllowThreads(__tstate
); 
9266         if (PyErr_Occurred()) SWIG_fail
; 
9268     resultobj 
= SWIG_FromLong((long)result
); 
9275 static PyObject 
*_wrap_TextCtrl_SetSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9276     PyObject 
*resultobj
; 
9277     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9280     PyObject 
* obj0 
= 0 ; 
9281     PyObject 
* obj1 
= 0 ; 
9282     PyObject 
* obj2 
= 0 ; 
9284         (char *) "self",(char *) "from",(char *) "to", NULL 
 
9287     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9288     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9289     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9290     arg2 
= (long) SWIG_AsLong(obj1
);  
9291     if (PyErr_Occurred()) SWIG_fail
; 
9292     arg3 
= (long) SWIG_AsLong(obj2
);  
9293     if (PyErr_Occurred()) SWIG_fail
; 
9295         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9296         (arg1
)->SetSelection(arg2
,arg3
); 
9298         wxPyEndAllowThreads(__tstate
); 
9299         if (PyErr_Occurred()) SWIG_fail
; 
9301     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9308 static PyObject 
*_wrap_TextCtrl_SelectAll(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9309     PyObject 
*resultobj
; 
9310     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9311     PyObject 
* obj0 
= 0 ; 
9313         (char *) "self", NULL 
 
9316     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
; 
9317     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9318     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9320         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9321         (arg1
)->SelectAll(); 
9323         wxPyEndAllowThreads(__tstate
); 
9324         if (PyErr_Occurred()) SWIG_fail
; 
9326     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9333 static PyObject 
*_wrap_TextCtrl_SetEditable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9334     PyObject 
*resultobj
; 
9335     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9337     PyObject 
* obj0 
= 0 ; 
9338     PyObject 
* obj1 
= 0 ; 
9340         (char *) "self",(char *) "editable", NULL 
 
9343     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
; 
9344     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9345     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9346     arg2 
= (bool) SWIG_AsBool(obj1
);  
9347     if (PyErr_Occurred()) SWIG_fail
; 
9349         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9350         (arg1
)->SetEditable(arg2
); 
9352         wxPyEndAllowThreads(__tstate
); 
9353         if (PyErr_Occurred()) SWIG_fail
; 
9355     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9362 static PyObject 
*_wrap_TextCtrl_write(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9363     PyObject 
*resultobj
; 
9364     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9365     wxString 
*arg2 
= 0 ; 
9366     bool temp2 
= False 
; 
9367     PyObject 
* obj0 
= 0 ; 
9368     PyObject 
* obj1 
= 0 ; 
9370         (char *) "self",(char *) "text", NULL 
 
9373     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
; 
9374     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9375     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9377         arg2 
= wxString_in_helper(obj1
); 
9378         if (arg2 
== NULL
) SWIG_fail
; 
9382         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9383         wxTextCtrl_write(arg1
,(wxString 
const &)*arg2
); 
9385         wxPyEndAllowThreads(__tstate
); 
9386         if (PyErr_Occurred()) SWIG_fail
; 
9388     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9403 static PyObject 
*_wrap_TextCtrl_GetString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9404     PyObject 
*resultobj
; 
9405     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9409     PyObject 
* obj0 
= 0 ; 
9410     PyObject 
* obj1 
= 0 ; 
9411     PyObject 
* obj2 
= 0 ; 
9413         (char *) "self",(char *) "from",(char *) "to", NULL 
 
9416     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9417     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
9418     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9419     arg2 
= (long) SWIG_AsLong(obj1
);  
9420     if (PyErr_Occurred()) SWIG_fail
; 
9421     arg3 
= (long) SWIG_AsLong(obj2
);  
9422     if (PyErr_Occurred()) SWIG_fail
; 
9424         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9425         result 
= wxTextCtrl_GetString(arg1
,arg2
,arg3
); 
9427         wxPyEndAllowThreads(__tstate
); 
9428         if (PyErr_Occurred()) SWIG_fail
; 
9432         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9434         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9443 static PyObject 
* TextCtrl_swigregister(PyObject 
*self
, PyObject 
*args
) { 
9445     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
9446     SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
); 
9448     return Py_BuildValue((char *)""); 
9450 static PyObject 
*_wrap_new_TextUrlEvent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9451     PyObject 
*resultobj
; 
9453     wxMouseEvent 
*arg2 
= 0 ; 
9456     wxTextUrlEvent 
*result
; 
9457     PyObject 
* obj0 
= 0 ; 
9458     PyObject 
* obj1 
= 0 ; 
9459     PyObject 
* obj2 
= 0 ; 
9460     PyObject 
* obj3 
= 0 ; 
9462         (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL 
 
9465     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
9466     arg1 
= (int) SWIG_AsInt(obj0
);  
9467     if (PyErr_Occurred()) SWIG_fail
; 
9468     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
, 
9469     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
9472         PyErr_SetString(PyExc_TypeError
,"null reference"); 
9475     arg3 
= (long) SWIG_AsLong(obj2
);  
9476     if (PyErr_Occurred()) SWIG_fail
; 
9477     arg4 
= (long) SWIG_AsLong(obj3
);  
9478     if (PyErr_Occurred()) SWIG_fail
; 
9480         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9481         result 
= (wxTextUrlEvent 
*)new wxTextUrlEvent(arg1
,(wxMouseEvent 
const &)*arg2
,arg3
,arg4
); 
9483         wxPyEndAllowThreads(__tstate
); 
9484         if (PyErr_Occurred()) SWIG_fail
; 
9486     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1); 
9493 static PyObject 
*_wrap_TextUrlEvent_GetMouseEvent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9494     PyObject 
*resultobj
; 
9495     wxTextUrlEvent 
*arg1 
= (wxTextUrlEvent 
*) 0 ; 
9496     wxMouseEvent 
*result
; 
9497     PyObject 
* obj0 
= 0 ; 
9499         (char *) "self", NULL 
 
9502     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
; 
9503     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
, 
9504     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9506         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9508             wxMouseEvent 
const &_result_ref 
= (arg1
)->GetMouseEvent(); 
9509             result 
= (wxMouseEvent 
*) &_result_ref
; 
9512         wxPyEndAllowThreads(__tstate
); 
9513         if (PyErr_Occurred()) SWIG_fail
; 
9515     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0); 
9522 static PyObject 
*_wrap_TextUrlEvent_GetURLStart(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9523     PyObject 
*resultobj
; 
9524     wxTextUrlEvent 
*arg1 
= (wxTextUrlEvent 
*) 0 ; 
9526     PyObject 
* obj0 
= 0 ; 
9528         (char *) "self", NULL 
 
9531     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
; 
9532     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
, 
9533     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9535         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9536         result 
= (long)((wxTextUrlEvent 
const *)arg1
)->GetURLStart(); 
9538         wxPyEndAllowThreads(__tstate
); 
9539         if (PyErr_Occurred()) SWIG_fail
; 
9541     resultobj 
= SWIG_FromLong((long)result
); 
9548 static PyObject 
*_wrap_TextUrlEvent_GetURLEnd(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9549     PyObject 
*resultobj
; 
9550     wxTextUrlEvent 
*arg1 
= (wxTextUrlEvent 
*) 0 ; 
9552     PyObject 
* obj0 
= 0 ; 
9554         (char *) "self", NULL 
 
9557     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
; 
9558     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
, 
9559     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9561         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9562         result 
= (long)((wxTextUrlEvent 
const *)arg1
)->GetURLEnd(); 
9564         wxPyEndAllowThreads(__tstate
); 
9565         if (PyErr_Occurred()) SWIG_fail
; 
9567     resultobj 
= SWIG_FromLong((long)result
); 
9574 static PyObject 
* TextUrlEvent_swigregister(PyObject 
*self
, PyObject 
*args
) { 
9576     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
9577     SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
); 
9579     return Py_BuildValue((char *)""); 
9581 static int _wrap_ScrollBarNameStr_set(PyObject 
*_val
) { 
9582     PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only."); 
9587 static PyObject 
*_wrap_ScrollBarNameStr_get() { 
9592         pyobj 
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len()); 
9594         pyobj 
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len()); 
9601 static PyObject 
*_wrap_new_ScrollBar(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9602     PyObject 
*resultobj
; 
9603     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
9604     int arg2 
= (int) -1 ; 
9605     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
9606     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
9607     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
9608     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
9609     long arg5 
= (long) wxSB_HORIZONTAL 
; 
9610     wxValidator 
const &arg6_defvalue 
= wxDefaultValidator 
; 
9611     wxValidator 
*arg6 
= (wxValidator 
*) &arg6_defvalue 
; 
9612     wxString 
const &arg7_defvalue 
= wxPyScrollBarNameStr 
; 
9613     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
9614     wxScrollBar 
*result
; 
9617     bool temp7 
= False 
; 
9618     PyObject 
* obj0 
= 0 ; 
9619     PyObject 
* obj1 
= 0 ; 
9620     PyObject 
* obj2 
= 0 ; 
9621     PyObject 
* obj3 
= 0 ; 
9622     PyObject 
* obj4 
= 0 ; 
9623     PyObject 
* obj5 
= 0 ; 
9624     PyObject 
* obj6 
= 0 ; 
9626         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
9629     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
9630     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
9631     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9633         arg2 
= (int) SWIG_AsInt(obj1
);  
9634         if (PyErr_Occurred()) SWIG_fail
; 
9639             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
9645             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
9649         arg5 
= (long) SWIG_AsLong(obj4
);  
9650         if (PyErr_Occurred()) SWIG_fail
; 
9653         if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
, 
9654         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
9657             PyErr_SetString(PyExc_TypeError
,"null reference"); 
9663             arg7 
= wxString_in_helper(obj6
); 
9664             if (arg7 
== NULL
) SWIG_fail
; 
9669         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9670         result 
= (wxScrollBar 
*)new wxScrollBar(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxValidator 
const &)*arg6
,(wxString 
const &)*arg7
); 
9672         wxPyEndAllowThreads(__tstate
); 
9673         if (PyErr_Occurred()) SWIG_fail
; 
9675     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1); 
9690 static PyObject 
*_wrap_new_PreScrollBar(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9691     PyObject 
*resultobj
; 
9692     wxScrollBar 
*result
; 
9697     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
; 
9699         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9700         result 
= (wxScrollBar 
*)new wxScrollBar(); 
9702         wxPyEndAllowThreads(__tstate
); 
9703         if (PyErr_Occurred()) SWIG_fail
; 
9705     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1); 
9712 static PyObject 
*_wrap_ScrollBar_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9713     PyObject 
*resultobj
; 
9714     wxScrollBar 
*arg1 
= (wxScrollBar 
*) 0 ; 
9715     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
9716     int arg3 
= (int) -1 ; 
9717     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
9718     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
9719     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
9720     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
9721     long arg6 
= (long) wxSB_HORIZONTAL 
; 
9722     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
9723     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
9724     wxString 
const &arg8_defvalue 
= wxPyScrollBarNameStr 
; 
9725     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
9729     bool temp8 
= False 
; 
9730     PyObject 
* obj0 
= 0 ; 
9731     PyObject 
* obj1 
= 0 ; 
9732     PyObject 
* obj2 
= 0 ; 
9733     PyObject 
* obj3 
= 0 ; 
9734     PyObject 
* obj4 
= 0 ; 
9735     PyObject 
* obj5 
= 0 ; 
9736     PyObject 
* obj6 
= 0 ; 
9737     PyObject 
* obj7 
= 0 ; 
9739         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
9742     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
9743     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
, 
9744     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9745     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
9746     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9748         arg3 
= (int) SWIG_AsInt(obj2
);  
9749         if (PyErr_Occurred()) SWIG_fail
; 
9754             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
9760             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
9764         arg6 
= (long) SWIG_AsLong(obj5
);  
9765         if (PyErr_Occurred()) SWIG_fail
; 
9768         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
, 
9769         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
9772             PyErr_SetString(PyExc_TypeError
,"null reference"); 
9778             arg8 
= wxString_in_helper(obj7
); 
9779             if (arg8 
== NULL
) SWIG_fail
; 
9784         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9785         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
9787         wxPyEndAllowThreads(__tstate
); 
9788         if (PyErr_Occurred()) SWIG_fail
; 
9791         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9807 static PyObject 
*_wrap_ScrollBar_GetThumbPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9808     PyObject 
*resultobj
; 
9809     wxScrollBar 
*arg1 
= (wxScrollBar 
*) 0 ; 
9811     PyObject 
* obj0 
= 0 ; 
9813         (char *) "self", NULL 
 
9816     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
; 
9817     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
, 
9818     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9820         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9821         result 
= (int)((wxScrollBar 
const *)arg1
)->GetThumbPosition(); 
9823         wxPyEndAllowThreads(__tstate
); 
9824         if (PyErr_Occurred()) SWIG_fail
; 
9826     resultobj 
= SWIG_FromInt((int)result
); 
9833 static PyObject 
*_wrap_ScrollBar_GetThumbSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9834     PyObject 
*resultobj
; 
9835     wxScrollBar 
*arg1 
= (wxScrollBar 
*) 0 ; 
9837     PyObject 
* obj0 
= 0 ; 
9839         (char *) "self", NULL 
 
9842     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
; 
9843     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
, 
9844     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9846         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9847         result 
= (int)((wxScrollBar 
const *)arg1
)->GetThumbSize(); 
9849         wxPyEndAllowThreads(__tstate
); 
9850         if (PyErr_Occurred()) SWIG_fail
; 
9852     resultobj 
= SWIG_FromInt((int)result
); 
9859 static PyObject 
*_wrap_ScrollBar_GetPageSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9860     PyObject 
*resultobj
; 
9861     wxScrollBar 
*arg1 
= (wxScrollBar 
*) 0 ; 
9863     PyObject 
* obj0 
= 0 ; 
9865         (char *) "self", NULL 
 
9868     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
; 
9869     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
, 
9870     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9872         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9873         result 
= (int)((wxScrollBar 
const *)arg1
)->GetPageSize(); 
9875         wxPyEndAllowThreads(__tstate
); 
9876         if (PyErr_Occurred()) SWIG_fail
; 
9878     resultobj 
= SWIG_FromInt((int)result
); 
9885 static PyObject 
*_wrap_ScrollBar_GetRange(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9886     PyObject 
*resultobj
; 
9887     wxScrollBar 
*arg1 
= (wxScrollBar 
*) 0 ; 
9889     PyObject 
* obj0 
= 0 ; 
9891         (char *) "self", NULL 
 
9894     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
; 
9895     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
, 
9896     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9898         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9899         result 
= (int)((wxScrollBar 
const *)arg1
)->GetRange(); 
9901         wxPyEndAllowThreads(__tstate
); 
9902         if (PyErr_Occurred()) SWIG_fail
; 
9904     resultobj 
= SWIG_FromInt((int)result
); 
9911 static PyObject 
*_wrap_ScrollBar_IsVertical(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9912     PyObject 
*resultobj
; 
9913     wxScrollBar 
*arg1 
= (wxScrollBar 
*) 0 ; 
9915     PyObject 
* obj0 
= 0 ; 
9917         (char *) "self", NULL 
 
9920     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
; 
9921     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
, 
9922     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9924         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9925         result 
= (bool)((wxScrollBar 
const *)arg1
)->IsVertical(); 
9927         wxPyEndAllowThreads(__tstate
); 
9928         if (PyErr_Occurred()) SWIG_fail
; 
9931         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9939 static PyObject 
*_wrap_ScrollBar_SetThumbPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9940     PyObject 
*resultobj
; 
9941     wxScrollBar 
*arg1 
= (wxScrollBar 
*) 0 ; 
9943     PyObject 
* obj0 
= 0 ; 
9944     PyObject 
* obj1 
= 0 ; 
9946         (char *) "self",(char *) "viewStart", NULL 
 
9949     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
9950     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
, 
9951     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9952     arg2 
= (int) SWIG_AsInt(obj1
);  
9953     if (PyErr_Occurred()) SWIG_fail
; 
9955         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9956         (arg1
)->SetThumbPosition(arg2
); 
9958         wxPyEndAllowThreads(__tstate
); 
9959         if (PyErr_Occurred()) SWIG_fail
; 
9961     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9968 static PyObject 
*_wrap_ScrollBar_SetScrollbar(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9969     PyObject 
*resultobj
; 
9970     wxScrollBar 
*arg1 
= (wxScrollBar 
*) 0 ; 
9975     bool arg6 
= (bool) True 
; 
9976     PyObject 
* obj0 
= 0 ; 
9977     PyObject 
* obj1 
= 0 ; 
9978     PyObject 
* obj2 
= 0 ; 
9979     PyObject 
* obj3 
= 0 ; 
9980     PyObject 
* obj4 
= 0 ; 
9981     PyObject 
* obj5 
= 0 ; 
9983         (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL 
 
9986     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
9987     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
, 
9988     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9989     arg2 
= (int) SWIG_AsInt(obj1
);  
9990     if (PyErr_Occurred()) SWIG_fail
; 
9991     arg3 
= (int) SWIG_AsInt(obj2
);  
9992     if (PyErr_Occurred()) SWIG_fail
; 
9993     arg4 
= (int) SWIG_AsInt(obj3
);  
9994     if (PyErr_Occurred()) SWIG_fail
; 
9995     arg5 
= (int) SWIG_AsInt(obj4
);  
9996     if (PyErr_Occurred()) SWIG_fail
; 
9998         arg6 
= (bool) SWIG_AsBool(obj5
);  
9999         if (PyErr_Occurred()) SWIG_fail
; 
10002         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10003         (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
); 
10005         wxPyEndAllowThreads(__tstate
); 
10006         if (PyErr_Occurred()) SWIG_fail
; 
10008     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10015 static PyObject 
* ScrollBar_swigregister(PyObject 
*self
, PyObject 
*args
) { 
10017     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
10018     SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
); 
10020     return Py_BuildValue((char *)""); 
10022 static int _wrap_SPIN_BUTTON_NAME_set(PyObject 
*_val
) { 
10023     PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only."); 
10028 static PyObject 
*_wrap_SPIN_BUTTON_NAME_get() { 
10033         pyobj 
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len()); 
10035         pyobj 
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len()); 
10042 static int _wrap_SpinCtrlNameStr_set(PyObject 
*_val
) { 
10043     PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only."); 
10048 static PyObject 
*_wrap_SpinCtrlNameStr_get() { 
10053         pyobj 
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len()); 
10055         pyobj 
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len()); 
10062 static PyObject 
*_wrap_new_SpinButton(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10063     PyObject 
*resultobj
; 
10064     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
10065     int arg2 
= (int) -1 ; 
10066     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
10067     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
10068     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
10069     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
10070     long arg5 
= (long) wxSP_HORIZONTAL 
; 
10071     wxString 
const &arg6_defvalue 
= wxPySPIN_BUTTON_NAME 
; 
10072     wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
10073     wxSpinButton 
*result
; 
10076     bool temp6 
= False 
; 
10077     PyObject 
* obj0 
= 0 ; 
10078     PyObject 
* obj1 
= 0 ; 
10079     PyObject 
* obj2 
= 0 ; 
10080     PyObject 
* obj3 
= 0 ; 
10081     PyObject 
* obj4 
= 0 ; 
10082     PyObject 
* obj5 
= 0 ; 
10083     char *kwnames
[] = { 
10084         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
10087     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
10088     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
10089     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10091         arg2 
= (int) SWIG_AsInt(obj1
);  
10092         if (PyErr_Occurred()) SWIG_fail
; 
10097             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
10103             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
10107         arg5 
= (long) SWIG_AsLong(obj4
);  
10108         if (PyErr_Occurred()) SWIG_fail
; 
10112             arg6 
= wxString_in_helper(obj5
); 
10113             if (arg6 
== NULL
) SWIG_fail
; 
10118         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10119         result 
= (wxSpinButton 
*)new wxSpinButton(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
10121         wxPyEndAllowThreads(__tstate
); 
10122         if (PyErr_Occurred()) SWIG_fail
; 
10124     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1); 
10139 static PyObject 
*_wrap_new_PreSpinButton(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10140     PyObject 
*resultobj
; 
10141     wxSpinButton 
*result
; 
10142     char *kwnames
[] = { 
10146     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
; 
10148         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10149         result 
= (wxSpinButton 
*)new wxSpinButton(); 
10151         wxPyEndAllowThreads(__tstate
); 
10152         if (PyErr_Occurred()) SWIG_fail
; 
10154     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1); 
10161 static PyObject 
*_wrap_SpinButton_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10162     PyObject 
*resultobj
; 
10163     wxSpinButton 
*arg1 
= (wxSpinButton 
*) 0 ; 
10164     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
10165     int arg3 
= (int) -1 ; 
10166     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
10167     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
10168     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
10169     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
10170     long arg6 
= (long) wxSP_HORIZONTAL 
; 
10171     wxString 
const &arg7_defvalue 
= wxPySPIN_BUTTON_NAME 
; 
10172     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
10176     bool temp7 
= False 
; 
10177     PyObject 
* obj0 
= 0 ; 
10178     PyObject 
* obj1 
= 0 ; 
10179     PyObject 
* obj2 
= 0 ; 
10180     PyObject 
* obj3 
= 0 ; 
10181     PyObject 
* obj4 
= 0 ; 
10182     PyObject 
* obj5 
= 0 ; 
10183     PyObject 
* obj6 
= 0 ; 
10184     char *kwnames
[] = { 
10185         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
10188     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
10189     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
, 
10190     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10191     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
10192     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10194         arg3 
= (int) SWIG_AsInt(obj2
);  
10195         if (PyErr_Occurred()) SWIG_fail
; 
10200             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
10206             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
10210         arg6 
= (long) SWIG_AsLong(obj5
);  
10211         if (PyErr_Occurred()) SWIG_fail
; 
10215             arg7 
= wxString_in_helper(obj6
); 
10216             if (arg7 
== NULL
) SWIG_fail
; 
10221         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10222         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
10224         wxPyEndAllowThreads(__tstate
); 
10225         if (PyErr_Occurred()) SWIG_fail
; 
10228         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10244 static PyObject 
*_wrap_SpinButton_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10245     PyObject 
*resultobj
; 
10246     wxSpinButton 
*arg1 
= (wxSpinButton 
*) 0 ; 
10248     PyObject 
* obj0 
= 0 ; 
10249     char *kwnames
[] = { 
10250         (char *) "self", NULL 
 
10253     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
; 
10254     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
, 
10255     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10257         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10258         result 
= (int)((wxSpinButton 
const *)arg1
)->GetValue(); 
10260         wxPyEndAllowThreads(__tstate
); 
10261         if (PyErr_Occurred()) SWIG_fail
; 
10263     resultobj 
= SWIG_FromInt((int)result
); 
10270 static PyObject 
*_wrap_SpinButton_GetMin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10271     PyObject 
*resultobj
; 
10272     wxSpinButton 
*arg1 
= (wxSpinButton 
*) 0 ; 
10274     PyObject 
* obj0 
= 0 ; 
10275     char *kwnames
[] = { 
10276         (char *) "self", NULL 
 
10279     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
; 
10280     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
, 
10281     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10283         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10284         result 
= (int)((wxSpinButton 
const *)arg1
)->GetMin(); 
10286         wxPyEndAllowThreads(__tstate
); 
10287         if (PyErr_Occurred()) SWIG_fail
; 
10289     resultobj 
= SWIG_FromInt((int)result
); 
10296 static PyObject 
*_wrap_SpinButton_GetMax(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10297     PyObject 
*resultobj
; 
10298     wxSpinButton 
*arg1 
= (wxSpinButton 
*) 0 ; 
10300     PyObject 
* obj0 
= 0 ; 
10301     char *kwnames
[] = { 
10302         (char *) "self", NULL 
 
10305     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
; 
10306     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
, 
10307     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10309         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10310         result 
= (int)((wxSpinButton 
const *)arg1
)->GetMax(); 
10312         wxPyEndAllowThreads(__tstate
); 
10313         if (PyErr_Occurred()) SWIG_fail
; 
10315     resultobj 
= SWIG_FromInt((int)result
); 
10322 static PyObject 
*_wrap_SpinButton_SetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10323     PyObject 
*resultobj
; 
10324     wxSpinButton 
*arg1 
= (wxSpinButton 
*) 0 ; 
10326     PyObject 
* obj0 
= 0 ; 
10327     PyObject 
* obj1 
= 0 ; 
10328     char *kwnames
[] = { 
10329         (char *) "self",(char *) "val", NULL 
 
10332     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
10333     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
, 
10334     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10335     arg2 
= (int) SWIG_AsInt(obj1
);  
10336     if (PyErr_Occurred()) SWIG_fail
; 
10338         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10339         (arg1
)->SetValue(arg2
); 
10341         wxPyEndAllowThreads(__tstate
); 
10342         if (PyErr_Occurred()) SWIG_fail
; 
10344     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10351 static PyObject 
*_wrap_SpinButton_SetMin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10352     PyObject 
*resultobj
; 
10353     wxSpinButton 
*arg1 
= (wxSpinButton 
*) 0 ; 
10355     PyObject 
* obj0 
= 0 ; 
10356     PyObject 
* obj1 
= 0 ; 
10357     char *kwnames
[] = { 
10358         (char *) "self",(char *) "minVal", NULL 
 
10361     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
; 
10362     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
, 
10363     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10364     arg2 
= (int) SWIG_AsInt(obj1
);  
10365     if (PyErr_Occurred()) SWIG_fail
; 
10367         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10368         (arg1
)->SetMin(arg2
); 
10370         wxPyEndAllowThreads(__tstate
); 
10371         if (PyErr_Occurred()) SWIG_fail
; 
10373     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10380 static PyObject 
*_wrap_SpinButton_SetMax(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10381     PyObject 
*resultobj
; 
10382     wxSpinButton 
*arg1 
= (wxSpinButton 
*) 0 ; 
10384     PyObject 
* obj0 
= 0 ; 
10385     PyObject 
* obj1 
= 0 ; 
10386     char *kwnames
[] = { 
10387         (char *) "self",(char *) "maxVal", NULL 
 
10390     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
; 
10391     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
, 
10392     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10393     arg2 
= (int) SWIG_AsInt(obj1
);  
10394     if (PyErr_Occurred()) SWIG_fail
; 
10396         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10397         (arg1
)->SetMax(arg2
); 
10399         wxPyEndAllowThreads(__tstate
); 
10400         if (PyErr_Occurred()) SWIG_fail
; 
10402     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10409 static PyObject 
*_wrap_SpinButton_SetRange(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10410     PyObject 
*resultobj
; 
10411     wxSpinButton 
*arg1 
= (wxSpinButton 
*) 0 ; 
10414     PyObject 
* obj0 
= 0 ; 
10415     PyObject 
* obj1 
= 0 ; 
10416     PyObject 
* obj2 
= 0 ; 
10417     char *kwnames
[] = { 
10418         (char *) "self",(char *) "minVal",(char *) "maxVal", NULL 
 
10421     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10422     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
, 
10423     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10424     arg2 
= (int) SWIG_AsInt(obj1
);  
10425     if (PyErr_Occurred()) SWIG_fail
; 
10426     arg3 
= (int) SWIG_AsInt(obj2
);  
10427     if (PyErr_Occurred()) SWIG_fail
; 
10429         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10430         (arg1
)->SetRange(arg2
,arg3
); 
10432         wxPyEndAllowThreads(__tstate
); 
10433         if (PyErr_Occurred()) SWIG_fail
; 
10435     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10442 static PyObject 
*_wrap_SpinButton_IsVertical(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10443     PyObject 
*resultobj
; 
10444     wxSpinButton 
*arg1 
= (wxSpinButton 
*) 0 ; 
10446     PyObject 
* obj0 
= 0 ; 
10447     char *kwnames
[] = { 
10448         (char *) "self", NULL 
 
10451     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
; 
10452     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
, 
10453     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10455         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10456         result 
= (bool)((wxSpinButton 
const *)arg1
)->IsVertical(); 
10458         wxPyEndAllowThreads(__tstate
); 
10459         if (PyErr_Occurred()) SWIG_fail
; 
10462         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10470 static PyObject 
* SpinButton_swigregister(PyObject 
*self
, PyObject 
*args
) { 
10472     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
10473     SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
); 
10475     return Py_BuildValue((char *)""); 
10477 static PyObject 
*_wrap_new_SpinCtrl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10478     PyObject 
*resultobj
; 
10479     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
10480     int arg2 
= (int) -1 ; 
10481     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
10482     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
10483     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
10484     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
10485     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
10486     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
10487     long arg6 
= (long) wxSP_ARROW_KEYS 
; 
10488     int arg7 
= (int) 0 ; 
10489     int arg8 
= (int) 100 ; 
10490     int arg9 
= (int) 0 ; 
10491     wxString 
const &arg10_defvalue 
= wxPySpinCtrlNameStr 
; 
10492     wxString 
*arg10 
= (wxString 
*) &arg10_defvalue 
; 
10493     wxSpinCtrl 
*result
; 
10494     bool temp3 
= False 
; 
10497     bool temp10 
= False 
; 
10498     PyObject 
* obj0 
= 0 ; 
10499     PyObject 
* obj1 
= 0 ; 
10500     PyObject 
* obj2 
= 0 ; 
10501     PyObject 
* obj3 
= 0 ; 
10502     PyObject 
* obj4 
= 0 ; 
10503     PyObject 
* obj5 
= 0 ; 
10504     PyObject 
* obj6 
= 0 ; 
10505     PyObject 
* obj7 
= 0 ; 
10506     PyObject 
* obj8 
= 0 ; 
10507     PyObject 
* obj9 
= 0 ; 
10508     char *kwnames
[] = { 
10509         (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL 
 
10512     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
; 
10513     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
10514     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10516         arg2 
= (int) SWIG_AsInt(obj1
);  
10517         if (PyErr_Occurred()) SWIG_fail
; 
10521             arg3 
= wxString_in_helper(obj2
); 
10522             if (arg3 
== NULL
) SWIG_fail
; 
10529             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
10535             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
10539         arg6 
= (long) SWIG_AsLong(obj5
);  
10540         if (PyErr_Occurred()) SWIG_fail
; 
10543         arg7 
= (int) SWIG_AsInt(obj6
);  
10544         if (PyErr_Occurred()) SWIG_fail
; 
10547         arg8 
= (int) SWIG_AsInt(obj7
);  
10548         if (PyErr_Occurred()) SWIG_fail
; 
10551         arg9 
= (int) SWIG_AsInt(obj8
);  
10552         if (PyErr_Occurred()) SWIG_fail
; 
10556             arg10 
= wxString_in_helper(obj9
); 
10557             if (arg10 
== NULL
) SWIG_fail
; 
10562         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10563         result 
= (wxSpinCtrl 
*)new wxSpinCtrl(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString 
const &)*arg10
); 
10565         wxPyEndAllowThreads(__tstate
); 
10566         if (PyErr_Occurred()) SWIG_fail
; 
10568     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1); 
10591 static PyObject 
*_wrap_new_PreSpinCtrl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10592     PyObject 
*resultobj
; 
10593     wxSpinCtrl 
*result
; 
10594     char *kwnames
[] = { 
10598     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
; 
10600         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10601         result 
= (wxSpinCtrl 
*)new wxSpinCtrl(); 
10603         wxPyEndAllowThreads(__tstate
); 
10604         if (PyErr_Occurred()) SWIG_fail
; 
10606     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1); 
10613 static PyObject 
*_wrap_SpinCtrl_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10614     PyObject 
*resultobj
; 
10615     wxSpinCtrl 
*arg1 
= (wxSpinCtrl 
*) 0 ; 
10616     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
10617     int arg3 
= (int) -1 ; 
10618     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
10619     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
10620     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
10621     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
10622     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
10623     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
10624     long arg7 
= (long) wxSP_ARROW_KEYS 
; 
10625     int arg8 
= (int) 0 ; 
10626     int arg9 
= (int) 100 ; 
10627     int arg10 
= (int) 0 ; 
10628     wxString 
const &arg11_defvalue 
= wxPySpinCtrlNameStr 
; 
10629     wxString 
*arg11 
= (wxString 
*) &arg11_defvalue 
; 
10631     bool temp4 
= False 
; 
10634     bool temp11 
= False 
; 
10635     PyObject 
* obj0 
= 0 ; 
10636     PyObject 
* obj1 
= 0 ; 
10637     PyObject 
* obj2 
= 0 ; 
10638     PyObject 
* obj3 
= 0 ; 
10639     PyObject 
* obj4 
= 0 ; 
10640     PyObject 
* obj5 
= 0 ; 
10641     PyObject 
* obj6 
= 0 ; 
10642     PyObject 
* obj7 
= 0 ; 
10643     PyObject 
* obj8 
= 0 ; 
10644     PyObject 
* obj9 
= 0 ; 
10645     PyObject 
* obj10 
= 0 ; 
10646     char *kwnames
[] = { 
10647         (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL 
 
10650     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
; 
10651     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
, 
10652     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10653     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
10654     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10656         arg3 
= (int) SWIG_AsInt(obj2
);  
10657         if (PyErr_Occurred()) SWIG_fail
; 
10661             arg4 
= wxString_in_helper(obj3
); 
10662             if (arg4 
== NULL
) SWIG_fail
; 
10669             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
10675             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
10679         arg7 
= (long) SWIG_AsLong(obj6
);  
10680         if (PyErr_Occurred()) SWIG_fail
; 
10683         arg8 
= (int) SWIG_AsInt(obj7
);  
10684         if (PyErr_Occurred()) SWIG_fail
; 
10687         arg9 
= (int) SWIG_AsInt(obj8
);  
10688         if (PyErr_Occurred()) SWIG_fail
; 
10691         arg10 
= (int) SWIG_AsInt(obj9
);  
10692         if (PyErr_Occurred()) SWIG_fail
; 
10696             arg11 
= wxString_in_helper(obj10
); 
10697             if (arg11 
== NULL
) SWIG_fail
; 
10702         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10703         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString 
const &)*arg11
); 
10705         wxPyEndAllowThreads(__tstate
); 
10706         if (PyErr_Occurred()) SWIG_fail
; 
10709         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10733 static PyObject 
*_wrap_SpinCtrl_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10734     PyObject 
*resultobj
; 
10735     wxSpinCtrl 
*arg1 
= (wxSpinCtrl 
*) 0 ; 
10737     PyObject 
* obj0 
= 0 ; 
10738     char *kwnames
[] = { 
10739         (char *) "self", NULL 
 
10742     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
; 
10743     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
, 
10744     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10746         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10747         result 
= (int)((wxSpinCtrl 
const *)arg1
)->GetValue(); 
10749         wxPyEndAllowThreads(__tstate
); 
10750         if (PyErr_Occurred()) SWIG_fail
; 
10752     resultobj 
= SWIG_FromInt((int)result
); 
10759 static PyObject 
*_wrap_SpinCtrl_SetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10760     PyObject 
*resultobj
; 
10761     wxSpinCtrl 
*arg1 
= (wxSpinCtrl 
*) 0 ; 
10763     PyObject 
* obj0 
= 0 ; 
10764     PyObject 
* obj1 
= 0 ; 
10765     char *kwnames
[] = { 
10766         (char *) "self",(char *) "value", NULL 
 
10769     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
10770     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
, 
10771     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10772     arg2 
= (int) SWIG_AsInt(obj1
);  
10773     if (PyErr_Occurred()) SWIG_fail
; 
10775         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10776         (arg1
)->SetValue(arg2
); 
10778         wxPyEndAllowThreads(__tstate
); 
10779         if (PyErr_Occurred()) SWIG_fail
; 
10781     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10788 static PyObject 
*_wrap_SpinCtrl_SetValueString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10789     PyObject 
*resultobj
; 
10790     wxSpinCtrl 
*arg1 
= (wxSpinCtrl 
*) 0 ; 
10791     wxString 
*arg2 
= 0 ; 
10792     bool temp2 
= False 
; 
10793     PyObject 
* obj0 
= 0 ; 
10794     PyObject 
* obj1 
= 0 ; 
10795     char *kwnames
[] = { 
10796         (char *) "self",(char *) "text", NULL 
 
10799     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
; 
10800     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
, 
10801     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10803         arg2 
= wxString_in_helper(obj1
); 
10804         if (arg2 
== NULL
) SWIG_fail
; 
10808         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10809         (arg1
)->SetValue((wxString 
const &)*arg2
); 
10811         wxPyEndAllowThreads(__tstate
); 
10812         if (PyErr_Occurred()) SWIG_fail
; 
10814     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10829 static PyObject 
*_wrap_SpinCtrl_SetRange(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10830     PyObject 
*resultobj
; 
10831     wxSpinCtrl 
*arg1 
= (wxSpinCtrl 
*) 0 ; 
10834     PyObject 
* obj0 
= 0 ; 
10835     PyObject 
* obj1 
= 0 ; 
10836     PyObject 
* obj2 
= 0 ; 
10837     char *kwnames
[] = { 
10838         (char *) "self",(char *) "minVal",(char *) "maxVal", NULL 
 
10841     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10842     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
, 
10843     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10844     arg2 
= (int) SWIG_AsInt(obj1
);  
10845     if (PyErr_Occurred()) SWIG_fail
; 
10846     arg3 
= (int) SWIG_AsInt(obj2
);  
10847     if (PyErr_Occurred()) SWIG_fail
; 
10849         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10850         (arg1
)->SetRange(arg2
,arg3
); 
10852         wxPyEndAllowThreads(__tstate
); 
10853         if (PyErr_Occurred()) SWIG_fail
; 
10855     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10862 static PyObject 
*_wrap_SpinCtrl_GetMin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10863     PyObject 
*resultobj
; 
10864     wxSpinCtrl 
*arg1 
= (wxSpinCtrl 
*) 0 ; 
10866     PyObject 
* obj0 
= 0 ; 
10867     char *kwnames
[] = { 
10868         (char *) "self", NULL 
 
10871     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
; 
10872     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
, 
10873     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10875         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10876         result 
= (int)((wxSpinCtrl 
const *)arg1
)->GetMin(); 
10878         wxPyEndAllowThreads(__tstate
); 
10879         if (PyErr_Occurred()) SWIG_fail
; 
10881     resultobj 
= SWIG_FromInt((int)result
); 
10888 static PyObject 
*_wrap_SpinCtrl_GetMax(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10889     PyObject 
*resultobj
; 
10890     wxSpinCtrl 
*arg1 
= (wxSpinCtrl 
*) 0 ; 
10892     PyObject 
* obj0 
= 0 ; 
10893     char *kwnames
[] = { 
10894         (char *) "self", NULL 
 
10897     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
; 
10898     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
, 
10899     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10901         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10902         result 
= (int)((wxSpinCtrl 
const *)arg1
)->GetMax(); 
10904         wxPyEndAllowThreads(__tstate
); 
10905         if (PyErr_Occurred()) SWIG_fail
; 
10907     resultobj 
= SWIG_FromInt((int)result
); 
10914 static PyObject 
*_wrap_SpinCtrl_SetSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10915     PyObject 
*resultobj
; 
10916     wxSpinCtrl 
*arg1 
= (wxSpinCtrl 
*) 0 ; 
10919     PyObject 
* obj0 
= 0 ; 
10920     PyObject 
* obj1 
= 0 ; 
10921     PyObject 
* obj2 
= 0 ; 
10922     char *kwnames
[] = { 
10923         (char *) "self",(char *) "from",(char *) "to", NULL 
 
10926     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10927     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
, 
10928     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10929     arg2 
= (long) SWIG_AsLong(obj1
);  
10930     if (PyErr_Occurred()) SWIG_fail
; 
10931     arg3 
= (long) SWIG_AsLong(obj2
);  
10932     if (PyErr_Occurred()) SWIG_fail
; 
10934         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10935         (arg1
)->SetSelection(arg2
,arg3
); 
10937         wxPyEndAllowThreads(__tstate
); 
10938         if (PyErr_Occurred()) SWIG_fail
; 
10940     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10947 static PyObject 
* SpinCtrl_swigregister(PyObject 
*self
, PyObject 
*args
) { 
10949     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
10950     SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
); 
10952     return Py_BuildValue((char *)""); 
10954 static PyObject 
*_wrap_new_SpinEvent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10955     PyObject 
*resultobj
; 
10956     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
10957     int arg2 
= (int) 0 ; 
10958     wxSpinEvent 
*result
; 
10959     PyObject 
* obj0 
= 0 ; 
10960     PyObject 
* obj1 
= 0 ; 
10961     char *kwnames
[] = { 
10962         (char *) "commandType",(char *) "winid", NULL 
 
10965     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
; 
10967         arg1 
= (wxEventType
) SWIG_AsInt(obj0
);  
10968         if (PyErr_Occurred()) SWIG_fail
; 
10971         arg2 
= (int) SWIG_AsInt(obj1
);  
10972         if (PyErr_Occurred()) SWIG_fail
; 
10975         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10976         result 
= (wxSpinEvent 
*)new wxSpinEvent(arg1
,arg2
); 
10978         wxPyEndAllowThreads(__tstate
); 
10979         if (PyErr_Occurred()) SWIG_fail
; 
10981     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1); 
10988 static PyObject 
*_wrap_SpinEvent_GetPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10989     PyObject 
*resultobj
; 
10990     wxSpinEvent 
*arg1 
= (wxSpinEvent 
*) 0 ; 
10992     PyObject 
* obj0 
= 0 ; 
10993     char *kwnames
[] = { 
10994         (char *) "self", NULL 
 
10997     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
; 
10998     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
, 
10999     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11001         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11002         result 
= (int)((wxSpinEvent 
const *)arg1
)->GetPosition(); 
11004         wxPyEndAllowThreads(__tstate
); 
11005         if (PyErr_Occurred()) SWIG_fail
; 
11007     resultobj 
= SWIG_FromInt((int)result
); 
11014 static PyObject 
*_wrap_SpinEvent_SetPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11015     PyObject 
*resultobj
; 
11016     wxSpinEvent 
*arg1 
= (wxSpinEvent 
*) 0 ; 
11018     PyObject 
* obj0 
= 0 ; 
11019     PyObject 
* obj1 
= 0 ; 
11020     char *kwnames
[] = { 
11021         (char *) "self",(char *) "pos", NULL 
 
11024     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
11025     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
, 
11026     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11027     arg2 
= (int) SWIG_AsInt(obj1
);  
11028     if (PyErr_Occurred()) SWIG_fail
; 
11030         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11031         (arg1
)->SetPosition(arg2
); 
11033         wxPyEndAllowThreads(__tstate
); 
11034         if (PyErr_Occurred()) SWIG_fail
; 
11036     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11043 static PyObject 
* SpinEvent_swigregister(PyObject 
*self
, PyObject 
*args
) { 
11045     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
11046     SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
); 
11048     return Py_BuildValue((char *)""); 
11050 static int _wrap_RadioBoxNameStr_set(PyObject 
*_val
) { 
11051     PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only."); 
11056 static PyObject 
*_wrap_RadioBoxNameStr_get() { 
11061         pyobj 
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len()); 
11063         pyobj 
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len()); 
11070 static int _wrap_RadioButtonNameStr_set(PyObject 
*_val
) { 
11071     PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only."); 
11076 static PyObject 
*_wrap_RadioButtonNameStr_get() { 
11081         pyobj 
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len()); 
11083         pyobj 
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len()); 
11090 static PyObject 
*_wrap_new_RadioBox(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11091     PyObject 
*resultobj
; 
11092     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
11094     wxString 
*arg3 
= 0 ; 
11095     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
11096     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
11097     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
11098     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
11099     wxArrayString 
const &arg6_defvalue 
= wxPyEmptyStringArray 
; 
11100     wxArrayString 
*arg6 
= (wxArrayString 
*) &arg6_defvalue 
; 
11101     int arg7 
= (int) 0 ; 
11102     long arg8 
= (long) wxRA_HORIZONTAL 
; 
11103     wxValidator 
const &arg9_defvalue 
= wxDefaultValidator 
; 
11104     wxValidator 
*arg9 
= (wxValidator 
*) &arg9_defvalue 
; 
11105     wxString 
const &arg10_defvalue 
= wxPyRadioBoxNameStr 
; 
11106     wxString 
*arg10 
= (wxString 
*) &arg10_defvalue 
; 
11107     wxRadioBox 
*result
; 
11108     bool temp3 
= False 
; 
11111     bool temp6 
= False 
; 
11112     bool temp10 
= False 
; 
11113     PyObject 
* obj0 
= 0 ; 
11114     PyObject 
* obj1 
= 0 ; 
11115     PyObject 
* obj2 
= 0 ; 
11116     PyObject 
* obj3 
= 0 ; 
11117     PyObject 
* obj4 
= 0 ; 
11118     PyObject 
* obj5 
= 0 ; 
11119     PyObject 
* obj6 
= 0 ; 
11120     PyObject 
* obj7 
= 0 ; 
11121     PyObject 
* obj8 
= 0 ; 
11122     PyObject 
* obj9 
= 0 ; 
11123     char *kwnames
[] = { 
11124         (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
11127     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
; 
11128     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
11129     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11130     arg2 
= (int) SWIG_AsInt(obj1
);  
11131     if (PyErr_Occurred()) SWIG_fail
; 
11133         arg3 
= wxString_in_helper(obj2
); 
11134         if (arg3 
== NULL
) SWIG_fail
; 
11140             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
11146             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
11151             if (! PySequence_Check(obj5
)) { 
11152                 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
11155             arg6 
= new wxArrayString
; 
11157             int i
, len
=PySequence_Length(obj5
); 
11158             for (i
=0; i
<len
; i
++) { 
11159                 PyObject
* item 
= PySequence_GetItem(obj5
, i
); 
11161                 PyObject
* str  
= PyObject_Unicode(item
); 
11163                 PyObject
* str  
= PyObject_Str(item
); 
11165                 if (PyErr_Occurred())  SWIG_fail
; 
11166                 arg6
->Add(Py2wxString(str
)); 
11173         arg7 
= (int) SWIG_AsInt(obj6
);  
11174         if (PyErr_Occurred()) SWIG_fail
; 
11177         arg8 
= (long) SWIG_AsLong(obj7
);  
11178         if (PyErr_Occurred()) SWIG_fail
; 
11181         if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
, 
11182         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
11184         if (arg9 
== NULL
) { 
11185             PyErr_SetString(PyExc_TypeError
,"null reference"); 
11191             arg10 
= wxString_in_helper(obj9
); 
11192             if (arg10 
== NULL
) SWIG_fail
; 
11197         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11198         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
); 
11200         wxPyEndAllowThreads(__tstate
); 
11201         if (PyErr_Occurred()) SWIG_fail
; 
11203     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1); 
11209         if (temp6
) delete arg6
; 
11222         if (temp6
) delete arg6
; 
11232 static PyObject 
*_wrap_new_PreRadioBox(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11233     PyObject 
*resultobj
; 
11234     wxRadioBox 
*result
; 
11235     char *kwnames
[] = { 
11239     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
; 
11241         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11242         result 
= (wxRadioBox 
*)new wxRadioBox(); 
11244         wxPyEndAllowThreads(__tstate
); 
11245         if (PyErr_Occurred()) SWIG_fail
; 
11247     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1); 
11254 static PyObject 
*_wrap_RadioBox_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11255     PyObject 
*resultobj
; 
11256     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
11257     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
11259     wxString 
*arg4 
= 0 ; 
11260     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
11261     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
11262     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
11263     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
11264     wxArrayString 
const &arg7_defvalue 
= wxPyEmptyStringArray 
; 
11265     wxArrayString 
*arg7 
= (wxArrayString 
*) &arg7_defvalue 
; 
11266     int arg8 
= (int) 0 ; 
11267     long arg9 
= (long) wxRA_HORIZONTAL 
; 
11268     wxValidator 
const &arg10_defvalue 
= wxDefaultValidator 
; 
11269     wxValidator 
*arg10 
= (wxValidator 
*) &arg10_defvalue 
; 
11270     wxString 
const &arg11_defvalue 
= wxPyRadioBoxNameStr 
; 
11271     wxString 
*arg11 
= (wxString 
*) &arg11_defvalue 
; 
11273     bool temp4 
= False 
; 
11276     bool temp7 
= False 
; 
11277     bool temp11 
= False 
; 
11278     PyObject 
* obj0 
= 0 ; 
11279     PyObject 
* obj1 
= 0 ; 
11280     PyObject 
* obj2 
= 0 ; 
11281     PyObject 
* obj3 
= 0 ; 
11282     PyObject 
* obj4 
= 0 ; 
11283     PyObject 
* obj5 
= 0 ; 
11284     PyObject 
* obj6 
= 0 ; 
11285     PyObject 
* obj7 
= 0 ; 
11286     PyObject 
* obj8 
= 0 ; 
11287     PyObject 
* obj9 
= 0 ; 
11288     PyObject 
* obj10 
= 0 ; 
11289     char *kwnames
[] = { 
11290         (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
11293     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
; 
11294     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
, 
11295     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11296     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
11297     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11298     arg3 
= (int) SWIG_AsInt(obj2
);  
11299     if (PyErr_Occurred()) SWIG_fail
; 
11301         arg4 
= wxString_in_helper(obj3
); 
11302         if (arg4 
== NULL
) SWIG_fail
; 
11308             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
11314             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
11319             if (! PySequence_Check(obj6
)) { 
11320                 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
11323             arg7 
= new wxArrayString
; 
11325             int i
, len
=PySequence_Length(obj6
); 
11326             for (i
=0; i
<len
; i
++) { 
11327                 PyObject
* item 
= PySequence_GetItem(obj6
, i
); 
11329                 PyObject
* str  
= PyObject_Unicode(item
); 
11331                 PyObject
* str  
= PyObject_Str(item
); 
11333                 if (PyErr_Occurred())  SWIG_fail
; 
11334                 arg7
->Add(Py2wxString(str
)); 
11341         arg8 
= (int) SWIG_AsInt(obj7
);  
11342         if (PyErr_Occurred()) SWIG_fail
; 
11345         arg9 
= (long) SWIG_AsLong(obj8
);  
11346         if (PyErr_Occurred()) SWIG_fail
; 
11349         if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
, 
11350         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
11352         if (arg10 
== NULL
) { 
11353             PyErr_SetString(PyExc_TypeError
,"null reference"); 
11359             arg11 
= wxString_in_helper(obj10
); 
11360             if (arg11 
== NULL
) SWIG_fail
; 
11365         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11366         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
); 
11368         wxPyEndAllowThreads(__tstate
); 
11369         if (PyErr_Occurred()) SWIG_fail
; 
11372         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11379         if (temp7
) delete arg7
; 
11392         if (temp7
) delete arg7
; 
11402 static PyObject 
*_wrap_RadioBox_SetSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11403     PyObject 
*resultobj
; 
11404     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
11406     PyObject 
* obj0 
= 0 ; 
11407     PyObject 
* obj1 
= 0 ; 
11408     char *kwnames
[] = { 
11409         (char *) "self",(char *) "n", NULL 
 
11412     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
11413     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
, 
11414     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11415     arg2 
= (int) SWIG_AsInt(obj1
);  
11416     if (PyErr_Occurred()) SWIG_fail
; 
11418         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11419         (arg1
)->SetSelection(arg2
); 
11421         wxPyEndAllowThreads(__tstate
); 
11422         if (PyErr_Occurred()) SWIG_fail
; 
11424     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11431 static PyObject 
*_wrap_RadioBox_GetSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11432     PyObject 
*resultobj
; 
11433     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
11435     PyObject 
* obj0 
= 0 ; 
11436     char *kwnames
[] = { 
11437         (char *) "self", NULL 
 
11440     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
; 
11441     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
, 
11442     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11444         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11445         result 
= (int)((wxRadioBox 
const *)arg1
)->GetSelection(); 
11447         wxPyEndAllowThreads(__tstate
); 
11448         if (PyErr_Occurred()) SWIG_fail
; 
11450     resultobj 
= SWIG_FromInt((int)result
); 
11457 static PyObject 
*_wrap_RadioBox_GetStringSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11458     PyObject 
*resultobj
; 
11459     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
11461     PyObject 
* obj0 
= 0 ; 
11462     char *kwnames
[] = { 
11463         (char *) "self", NULL 
 
11466     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
; 
11467     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
, 
11468     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11470         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11471         result 
= ((wxRadioBox 
const *)arg1
)->GetStringSelection(); 
11473         wxPyEndAllowThreads(__tstate
); 
11474         if (PyErr_Occurred()) SWIG_fail
; 
11478         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
11480         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
11489 static PyObject 
*_wrap_RadioBox_SetStringSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11490     PyObject 
*resultobj
; 
11491     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
11492     wxString 
*arg2 
= 0 ; 
11494     bool temp2 
= False 
; 
11495     PyObject 
* obj0 
= 0 ; 
11496     PyObject 
* obj1 
= 0 ; 
11497     char *kwnames
[] = { 
11498         (char *) "self",(char *) "s", NULL 
 
11501     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
11502     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
, 
11503     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11505         arg2 
= wxString_in_helper(obj1
); 
11506         if (arg2 
== NULL
) SWIG_fail
; 
11510         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11511         result 
= (bool)(arg1
)->SetStringSelection((wxString 
const &)*arg2
); 
11513         wxPyEndAllowThreads(__tstate
); 
11514         if (PyErr_Occurred()) SWIG_fail
; 
11517         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11533 static PyObject 
*_wrap_RadioBox_GetCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11534     PyObject 
*resultobj
; 
11535     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
11537     PyObject 
* obj0 
= 0 ; 
11538     char *kwnames
[] = { 
11539         (char *) "self", NULL 
 
11542     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
; 
11543     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
, 
11544     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11546         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11547         result 
= (int)((wxRadioBox 
const *)arg1
)->GetCount(); 
11549         wxPyEndAllowThreads(__tstate
); 
11550         if (PyErr_Occurred()) SWIG_fail
; 
11552     resultobj 
= SWIG_FromInt((int)result
); 
11559 static PyObject 
*_wrap_RadioBox_FindString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11560     PyObject 
*resultobj
; 
11561     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
11562     wxString 
*arg2 
= 0 ; 
11564     bool temp2 
= False 
; 
11565     PyObject 
* obj0 
= 0 ; 
11566     PyObject 
* obj1 
= 0 ; 
11567     char *kwnames
[] = { 
11568         (char *) "self",(char *) "s", NULL 
 
11571     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
; 
11572     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
, 
11573     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11575         arg2 
= wxString_in_helper(obj1
); 
11576         if (arg2 
== NULL
) SWIG_fail
; 
11580         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11581         result 
= (int)((wxRadioBox 
const *)arg1
)->FindString((wxString 
const &)*arg2
); 
11583         wxPyEndAllowThreads(__tstate
); 
11584         if (PyErr_Occurred()) SWIG_fail
; 
11586     resultobj 
= SWIG_FromInt((int)result
); 
11601 static PyObject 
*_wrap_RadioBox_GetString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11602     PyObject 
*resultobj
; 
11603     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
11606     PyObject 
* obj0 
= 0 ; 
11607     PyObject 
* obj1 
= 0 ; 
11608     char *kwnames
[] = { 
11609         (char *) "self",(char *) "n", NULL 
 
11612     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
; 
11613     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
, 
11614     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11615     arg2 
= (int) SWIG_AsInt(obj1
);  
11616     if (PyErr_Occurred()) SWIG_fail
; 
11618         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11619         result 
= ((wxRadioBox 
const *)arg1
)->GetString(arg2
); 
11621         wxPyEndAllowThreads(__tstate
); 
11622         if (PyErr_Occurred()) SWIG_fail
; 
11626         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
11628         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
11637 static PyObject 
*_wrap_RadioBox_SetString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11638     PyObject 
*resultobj
; 
11639     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
11641     wxString 
*arg3 
= 0 ; 
11642     bool temp3 
= False 
; 
11643     PyObject 
* obj0 
= 0 ; 
11644     PyObject 
* obj1 
= 0 ; 
11645     PyObject 
* obj2 
= 0 ; 
11646     char *kwnames
[] = { 
11647         (char *) "self",(char *) "n",(char *) "label", NULL 
 
11650     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11651     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
, 
11652     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11653     arg2 
= (int) SWIG_AsInt(obj1
);  
11654     if (PyErr_Occurred()) SWIG_fail
; 
11656         arg3 
= wxString_in_helper(obj2
); 
11657         if (arg3 
== NULL
) SWIG_fail
; 
11661         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11662         (arg1
)->SetString(arg2
,(wxString 
const &)*arg3
); 
11664         wxPyEndAllowThreads(__tstate
); 
11665         if (PyErr_Occurred()) SWIG_fail
; 
11667     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11682 static PyObject 
*_wrap_RadioBox_EnableItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11683     PyObject 
*resultobj
; 
11684     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
11686     bool arg3 
= (bool) True 
; 
11687     PyObject 
* obj0 
= 0 ; 
11688     PyObject 
* obj1 
= 0 ; 
11689     PyObject 
* obj2 
= 0 ; 
11690     char *kwnames
[] = { 
11691         (char *) "self",(char *) "n",(char *) "enable", NULL 
 
11694     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11695     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
, 
11696     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11697     arg2 
= (int) SWIG_AsInt(obj1
);  
11698     if (PyErr_Occurred()) SWIG_fail
; 
11700         arg3 
= (bool) SWIG_AsBool(obj2
);  
11701         if (PyErr_Occurred()) SWIG_fail
; 
11704         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11705         (arg1
)->Enable(arg2
,arg3
); 
11707         wxPyEndAllowThreads(__tstate
); 
11708         if (PyErr_Occurred()) SWIG_fail
; 
11710     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11717 static PyObject 
*_wrap_RadioBox_ShowItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11718     PyObject 
*resultobj
; 
11719     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
11721     bool arg3 
= (bool) True 
; 
11722     PyObject 
* obj0 
= 0 ; 
11723     PyObject 
* obj1 
= 0 ; 
11724     PyObject 
* obj2 
= 0 ; 
11725     char *kwnames
[] = { 
11726         (char *) "self",(char *) "n",(char *) "show", NULL 
 
11729     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11730     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
, 
11731     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11732     arg2 
= (int) SWIG_AsInt(obj1
);  
11733     if (PyErr_Occurred()) SWIG_fail
; 
11735         arg3 
= (bool) SWIG_AsBool(obj2
);  
11736         if (PyErr_Occurred()) SWIG_fail
; 
11739         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11740         (arg1
)->Show(arg2
,arg3
); 
11742         wxPyEndAllowThreads(__tstate
); 
11743         if (PyErr_Occurred()) SWIG_fail
; 
11745     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11752 static PyObject 
*_wrap_RadioBox_GetColumnCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11753     PyObject 
*resultobj
; 
11754     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
11756     PyObject 
* obj0 
= 0 ; 
11757     char *kwnames
[] = { 
11758         (char *) "self", NULL 
 
11761     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
; 
11762     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
, 
11763     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11765         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11766         result 
= (int)((wxRadioBox 
const *)arg1
)->GetColumnCount(); 
11768         wxPyEndAllowThreads(__tstate
); 
11769         if (PyErr_Occurred()) SWIG_fail
; 
11771     resultobj 
= SWIG_FromInt((int)result
); 
11778 static PyObject 
*_wrap_RadioBox_GetRowCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11779     PyObject 
*resultobj
; 
11780     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
11782     PyObject 
* obj0 
= 0 ; 
11783     char *kwnames
[] = { 
11784         (char *) "self", NULL 
 
11787     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
; 
11788     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
, 
11789     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11791         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11792         result 
= (int)((wxRadioBox 
const *)arg1
)->GetRowCount(); 
11794         wxPyEndAllowThreads(__tstate
); 
11795         if (PyErr_Occurred()) SWIG_fail
; 
11797     resultobj 
= SWIG_FromInt((int)result
); 
11804 static PyObject 
*_wrap_RadioBox_GetNextItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11805     PyObject 
*resultobj
; 
11806     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
11811     PyObject 
* obj0 
= 0 ; 
11812     PyObject 
* obj1 
= 0 ; 
11813     PyObject 
* obj2 
= 0 ; 
11814     PyObject 
* obj3 
= 0 ; 
11815     char *kwnames
[] = { 
11816         (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL 
 
11819     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
11820     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
, 
11821     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11822     arg2 
= (int) SWIG_AsInt(obj1
);  
11823     if (PyErr_Occurred()) SWIG_fail
; 
11824     arg3 
= (wxDirection
) SWIG_AsInt(obj2
);  
11825     if (PyErr_Occurred()) SWIG_fail
; 
11826     arg4 
= (long) SWIG_AsLong(obj3
);  
11827     if (PyErr_Occurred()) SWIG_fail
; 
11829         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11830         result 
= (int)((wxRadioBox 
const *)arg1
)->GetNextItem(arg2
,(wxDirection 
)arg3
,arg4
); 
11832         wxPyEndAllowThreads(__tstate
); 
11833         if (PyErr_Occurred()) SWIG_fail
; 
11835     resultobj 
= SWIG_FromInt((int)result
); 
11842 static PyObject 
* RadioBox_swigregister(PyObject 
*self
, PyObject 
*args
) { 
11844     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
11845     SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
); 
11847     return Py_BuildValue((char *)""); 
11849 static PyObject 
*_wrap_new_RadioButton(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11850     PyObject 
*resultobj
; 
11851     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
11853     wxString 
*arg3 
= 0 ; 
11854     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
11855     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
11856     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
11857     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
11858     long arg6 
= (long) 0 ; 
11859     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
11860     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
11861     wxString 
const &arg8_defvalue 
= wxPyRadioButtonNameStr 
; 
11862     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
11863     wxRadioButton 
*result
; 
11864     bool temp3 
= False 
; 
11867     bool temp8 
= False 
; 
11868     PyObject 
* obj0 
= 0 ; 
11869     PyObject 
* obj1 
= 0 ; 
11870     PyObject 
* obj2 
= 0 ; 
11871     PyObject 
* obj3 
= 0 ; 
11872     PyObject 
* obj4 
= 0 ; 
11873     PyObject 
* obj5 
= 0 ; 
11874     PyObject 
* obj6 
= 0 ; 
11875     PyObject 
* obj7 
= 0 ; 
11876     char *kwnames
[] = { 
11877         (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
11880     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
11881     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
11882     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11883     arg2 
= (int) SWIG_AsInt(obj1
);  
11884     if (PyErr_Occurred()) SWIG_fail
; 
11886         arg3 
= wxString_in_helper(obj2
); 
11887         if (arg3 
== NULL
) SWIG_fail
; 
11893             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
11899             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
11903         arg6 
= (long) SWIG_AsLong(obj5
);  
11904         if (PyErr_Occurred()) SWIG_fail
; 
11907         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
, 
11908         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
11910         if (arg7 
== NULL
) { 
11911             PyErr_SetString(PyExc_TypeError
,"null reference"); 
11917             arg8 
= wxString_in_helper(obj7
); 
11918             if (arg8 
== NULL
) SWIG_fail
; 
11923         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11924         result 
= (wxRadioButton 
*)new wxRadioButton(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
11926         wxPyEndAllowThreads(__tstate
); 
11927         if (PyErr_Occurred()) SWIG_fail
; 
11929     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1); 
11952 static PyObject 
*_wrap_new_PreRadioButton(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11953     PyObject 
*resultobj
; 
11954     wxRadioButton 
*result
; 
11955     char *kwnames
[] = { 
11959     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
; 
11961         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11962         result 
= (wxRadioButton 
*)new wxRadioButton(); 
11964         wxPyEndAllowThreads(__tstate
); 
11965         if (PyErr_Occurred()) SWIG_fail
; 
11967     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1); 
11974 static PyObject 
*_wrap_RadioButton_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11975     PyObject 
*resultobj
; 
11976     wxRadioButton 
*arg1 
= (wxRadioButton 
*) 0 ; 
11977     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
11979     wxString 
*arg4 
= 0 ; 
11980     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
11981     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
11982     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
11983     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
11984     long arg7 
= (long) 0 ; 
11985     wxValidator 
const &arg8_defvalue 
= wxDefaultValidator 
; 
11986     wxValidator 
*arg8 
= (wxValidator 
*) &arg8_defvalue 
; 
11987     wxString 
const &arg9_defvalue 
= wxPyRadioButtonNameStr 
; 
11988     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
11990     bool temp4 
= False 
; 
11993     bool temp9 
= False 
; 
11994     PyObject 
* obj0 
= 0 ; 
11995     PyObject 
* obj1 
= 0 ; 
11996     PyObject 
* obj2 
= 0 ; 
11997     PyObject 
* obj3 
= 0 ; 
11998     PyObject 
* obj4 
= 0 ; 
11999     PyObject 
* obj5 
= 0 ; 
12000     PyObject 
* obj6 
= 0 ; 
12001     PyObject 
* obj7 
= 0 ; 
12002     PyObject 
* obj8 
= 0 ; 
12003     char *kwnames
[] = { 
12004         (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
12007     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
12008     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
, 
12009     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12010     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
12011     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12012     arg3 
= (int) SWIG_AsInt(obj2
);  
12013     if (PyErr_Occurred()) SWIG_fail
; 
12015         arg4 
= wxString_in_helper(obj3
); 
12016         if (arg4 
== NULL
) SWIG_fail
; 
12022             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
12028             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
12032         arg7 
= (long) SWIG_AsLong(obj6
);  
12033         if (PyErr_Occurred()) SWIG_fail
; 
12036         if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
, 
12037         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
12039         if (arg8 
== NULL
) { 
12040             PyErr_SetString(PyExc_TypeError
,"null reference"); 
12046             arg9 
= wxString_in_helper(obj8
); 
12047             if (arg9 
== NULL
) SWIG_fail
; 
12052         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12053         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxValidator 
const &)*arg8
,(wxString 
const &)*arg9
); 
12055         wxPyEndAllowThreads(__tstate
); 
12056         if (PyErr_Occurred()) SWIG_fail
; 
12059         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12083 static PyObject 
*_wrap_RadioButton_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12084     PyObject 
*resultobj
; 
12085     wxRadioButton 
*arg1 
= (wxRadioButton 
*) 0 ; 
12087     PyObject 
* obj0 
= 0 ; 
12088     char *kwnames
[] = { 
12089         (char *) "self", NULL 
 
12092     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
; 
12093     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
, 
12094     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12096         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12097         result 
= (bool)(arg1
)->GetValue(); 
12099         wxPyEndAllowThreads(__tstate
); 
12100         if (PyErr_Occurred()) SWIG_fail
; 
12103         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12111 static PyObject 
*_wrap_RadioButton_SetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12112     PyObject 
*resultobj
; 
12113     wxRadioButton 
*arg1 
= (wxRadioButton 
*) 0 ; 
12115     PyObject 
* obj0 
= 0 ; 
12116     PyObject 
* obj1 
= 0 ; 
12117     char *kwnames
[] = { 
12118         (char *) "self",(char *) "value", NULL 
 
12121     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
12122     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
, 
12123     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12124     arg2 
= (bool) SWIG_AsBool(obj1
);  
12125     if (PyErr_Occurred()) SWIG_fail
; 
12127         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12128         (arg1
)->SetValue(arg2
); 
12130         wxPyEndAllowThreads(__tstate
); 
12131         if (PyErr_Occurred()) SWIG_fail
; 
12133     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12140 static PyObject 
* RadioButton_swigregister(PyObject 
*self
, PyObject 
*args
) { 
12142     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
12143     SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
); 
12145     return Py_BuildValue((char *)""); 
12147 static int _wrap_SliderNameStr_set(PyObject 
*_val
) { 
12148     PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only."); 
12153 static PyObject 
*_wrap_SliderNameStr_get() { 
12158         pyobj 
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len()); 
12160         pyobj 
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len()); 
12167 static PyObject 
*_wrap_new_Slider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12168     PyObject 
*resultobj
; 
12169     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
12174     wxPoint 
const &arg6_defvalue 
= wxDefaultPosition 
; 
12175     wxPoint 
*arg6 
= (wxPoint 
*) &arg6_defvalue 
; 
12176     wxSize 
const &arg7_defvalue 
= wxDefaultSize 
; 
12177     wxSize 
*arg7 
= (wxSize 
*) &arg7_defvalue 
; 
12178     long arg8 
= (long) wxSL_HORIZONTAL 
; 
12179     wxValidator 
const &arg9_defvalue 
= wxDefaultValidator 
; 
12180     wxValidator 
*arg9 
= (wxValidator 
*) &arg9_defvalue 
; 
12181     wxString 
const &arg10_defvalue 
= wxPySliderNameStr 
; 
12182     wxString 
*arg10 
= (wxString 
*) &arg10_defvalue 
; 
12186     bool temp10 
= False 
; 
12187     PyObject 
* obj0 
= 0 ; 
12188     PyObject 
* obj1 
= 0 ; 
12189     PyObject 
* obj2 
= 0 ; 
12190     PyObject 
* obj3 
= 0 ; 
12191     PyObject 
* obj4 
= 0 ; 
12192     PyObject 
* obj5 
= 0 ; 
12193     PyObject 
* obj6 
= 0 ; 
12194     PyObject 
* obj7 
= 0 ; 
12195     PyObject 
* obj8 
= 0 ; 
12196     PyObject 
* obj9 
= 0 ; 
12197     char *kwnames
[] = { 
12198         (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
12201     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
; 
12202     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
12203     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12204     arg2 
= (int) SWIG_AsInt(obj1
);  
12205     if (PyErr_Occurred()) SWIG_fail
; 
12206     arg3 
= (int) SWIG_AsInt(obj2
);  
12207     if (PyErr_Occurred()) SWIG_fail
; 
12208     arg4 
= (int) SWIG_AsInt(obj3
);  
12209     if (PyErr_Occurred()) SWIG_fail
; 
12210     arg5 
= (int) SWIG_AsInt(obj4
);  
12211     if (PyErr_Occurred()) SWIG_fail
; 
12215             if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
; 
12221             if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
; 
12225         arg8 
= (long) SWIG_AsLong(obj7
);  
12226         if (PyErr_Occurred()) SWIG_fail
; 
12229         if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
, 
12230         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
12232         if (arg9 
== NULL
) { 
12233             PyErr_SetString(PyExc_TypeError
,"null reference"); 
12239             arg10 
= wxString_in_helper(obj9
); 
12240             if (arg10 
== NULL
) SWIG_fail
; 
12245         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12246         result 
= (wxSlider 
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint 
const &)*arg6
,(wxSize 
const &)*arg7
,arg8
,(wxValidator 
const &)*arg9
,(wxString 
const &)*arg10
); 
12248         wxPyEndAllowThreads(__tstate
); 
12249         if (PyErr_Occurred()) SWIG_fail
; 
12251     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1); 
12266 static PyObject 
*_wrap_new_PreSlider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12267     PyObject 
*resultobj
; 
12269     char *kwnames
[] = { 
12273     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
; 
12275         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12276         result 
= (wxSlider 
*)new wxSlider(); 
12278         wxPyEndAllowThreads(__tstate
); 
12279         if (PyErr_Occurred()) SWIG_fail
; 
12281     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1); 
12288 static PyObject 
*_wrap_Slider_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12289     PyObject 
*resultobj
; 
12290     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
12291     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
12296     wxPoint 
const &arg7_defvalue 
= wxDefaultPosition 
; 
12297     wxPoint 
*arg7 
= (wxPoint 
*) &arg7_defvalue 
; 
12298     wxSize 
const &arg8_defvalue 
= wxDefaultSize 
; 
12299     wxSize 
*arg8 
= (wxSize 
*) &arg8_defvalue 
; 
12300     long arg9 
= (long) wxSL_HORIZONTAL 
; 
12301     wxValidator 
const &arg10_defvalue 
= wxDefaultValidator 
; 
12302     wxValidator 
*arg10 
= (wxValidator 
*) &arg10_defvalue 
; 
12303     wxString 
const &arg11_defvalue 
= wxPySliderNameStr 
; 
12304     wxString 
*arg11 
= (wxString 
*) &arg11_defvalue 
; 
12308     bool temp11 
= False 
; 
12309     PyObject 
* obj0 
= 0 ; 
12310     PyObject 
* obj1 
= 0 ; 
12311     PyObject 
* obj2 
= 0 ; 
12312     PyObject 
* obj3 
= 0 ; 
12313     PyObject 
* obj4 
= 0 ; 
12314     PyObject 
* obj5 
= 0 ; 
12315     PyObject 
* obj6 
= 0 ; 
12316     PyObject 
* obj7 
= 0 ; 
12317     PyObject 
* obj8 
= 0 ; 
12318     PyObject 
* obj9 
= 0 ; 
12319     PyObject 
* obj10 
= 0 ; 
12320     char *kwnames
[] = { 
12321         (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
12324     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
; 
12325     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
12326     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12327     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
12328     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12329     arg3 
= (int) SWIG_AsInt(obj2
);  
12330     if (PyErr_Occurred()) SWIG_fail
; 
12331     arg4 
= (int) SWIG_AsInt(obj3
);  
12332     if (PyErr_Occurred()) SWIG_fail
; 
12333     arg5 
= (int) SWIG_AsInt(obj4
);  
12334     if (PyErr_Occurred()) SWIG_fail
; 
12335     arg6 
= (int) SWIG_AsInt(obj5
);  
12336     if (PyErr_Occurred()) SWIG_fail
; 
12340             if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
; 
12346             if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
; 
12350         arg9 
= (long) SWIG_AsLong(obj8
);  
12351         if (PyErr_Occurred()) SWIG_fail
; 
12354         if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
, 
12355         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
12357         if (arg10 
== NULL
) { 
12358             PyErr_SetString(PyExc_TypeError
,"null reference"); 
12364             arg11 
= wxString_in_helper(obj10
); 
12365             if (arg11 
== NULL
) SWIG_fail
; 
12370         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12371         result 
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint 
const &)*arg7
,(wxSize 
const &)*arg8
,arg9
,(wxValidator 
const &)*arg10
,(wxString 
const &)*arg11
); 
12373         wxPyEndAllowThreads(__tstate
); 
12374         if (PyErr_Occurred()) SWIG_fail
; 
12377         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12393 static PyObject 
*_wrap_Slider_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12394     PyObject 
*resultobj
; 
12395     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
12397     PyObject 
* obj0 
= 0 ; 
12398     char *kwnames
[] = { 
12399         (char *) "self", NULL 
 
12402     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
; 
12403     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
12404     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12406         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12407         result 
= (int)((wxSlider 
const *)arg1
)->GetValue(); 
12409         wxPyEndAllowThreads(__tstate
); 
12410         if (PyErr_Occurred()) SWIG_fail
; 
12412     resultobj 
= SWIG_FromInt((int)result
); 
12419 static PyObject 
*_wrap_Slider_SetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12420     PyObject 
*resultobj
; 
12421     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
12423     PyObject 
* obj0 
= 0 ; 
12424     PyObject 
* obj1 
= 0 ; 
12425     char *kwnames
[] = { 
12426         (char *) "self",(char *) "value", NULL 
 
12429     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
12430     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
12431     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12432     arg2 
= (int) SWIG_AsInt(obj1
);  
12433     if (PyErr_Occurred()) SWIG_fail
; 
12435         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12436         (arg1
)->SetValue(arg2
); 
12438         wxPyEndAllowThreads(__tstate
); 
12439         if (PyErr_Occurred()) SWIG_fail
; 
12441     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12448 static PyObject 
*_wrap_Slider_SetRange(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12449     PyObject 
*resultobj
; 
12450     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
12453     PyObject 
* obj0 
= 0 ; 
12454     PyObject 
* obj1 
= 0 ; 
12455     PyObject 
* obj2 
= 0 ; 
12456     char *kwnames
[] = { 
12457         (char *) "self",(char *) "minValue",(char *) "maxValue", NULL 
 
12460     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12461     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
12462     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12463     arg2 
= (int) SWIG_AsInt(obj1
);  
12464     if (PyErr_Occurred()) SWIG_fail
; 
12465     arg3 
= (int) SWIG_AsInt(obj2
);  
12466     if (PyErr_Occurred()) SWIG_fail
; 
12468         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12469         (arg1
)->SetRange(arg2
,arg3
); 
12471         wxPyEndAllowThreads(__tstate
); 
12472         if (PyErr_Occurred()) SWIG_fail
; 
12474     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12481 static PyObject 
*_wrap_Slider_GetMin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12482     PyObject 
*resultobj
; 
12483     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
12485     PyObject 
* obj0 
= 0 ; 
12486     char *kwnames
[] = { 
12487         (char *) "self", NULL 
 
12490     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
; 
12491     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
12492     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12494         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12495         result 
= (int)((wxSlider 
const *)arg1
)->GetMin(); 
12497         wxPyEndAllowThreads(__tstate
); 
12498         if (PyErr_Occurred()) SWIG_fail
; 
12500     resultobj 
= SWIG_FromInt((int)result
); 
12507 static PyObject 
*_wrap_Slider_GetMax(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12508     PyObject 
*resultobj
; 
12509     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
12511     PyObject 
* obj0 
= 0 ; 
12512     char *kwnames
[] = { 
12513         (char *) "self", NULL 
 
12516     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
; 
12517     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
12518     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12520         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12521         result 
= (int)((wxSlider 
const *)arg1
)->GetMax(); 
12523         wxPyEndAllowThreads(__tstate
); 
12524         if (PyErr_Occurred()) SWIG_fail
; 
12526     resultobj 
= SWIG_FromInt((int)result
); 
12533 static PyObject 
*_wrap_Slider_SetMin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12534     PyObject 
*resultobj
; 
12535     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
12537     PyObject 
* obj0 
= 0 ; 
12538     PyObject 
* obj1 
= 0 ; 
12539     char *kwnames
[] = { 
12540         (char *) "self",(char *) "minValue", NULL 
 
12543     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
; 
12544     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
12545     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12546     arg2 
= (int) SWIG_AsInt(obj1
);  
12547     if (PyErr_Occurred()) SWIG_fail
; 
12549         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12550         (arg1
)->SetMin(arg2
); 
12552         wxPyEndAllowThreads(__tstate
); 
12553         if (PyErr_Occurred()) SWIG_fail
; 
12555     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12562 static PyObject 
*_wrap_Slider_SetMax(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12563     PyObject 
*resultobj
; 
12564     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
12566     PyObject 
* obj0 
= 0 ; 
12567     PyObject 
* obj1 
= 0 ; 
12568     char *kwnames
[] = { 
12569         (char *) "self",(char *) "maxValue", NULL 
 
12572     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
; 
12573     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
12574     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12575     arg2 
= (int) SWIG_AsInt(obj1
);  
12576     if (PyErr_Occurred()) SWIG_fail
; 
12578         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12579         (arg1
)->SetMax(arg2
); 
12581         wxPyEndAllowThreads(__tstate
); 
12582         if (PyErr_Occurred()) SWIG_fail
; 
12584     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12591 static PyObject 
*_wrap_Slider_SetLineSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12592     PyObject 
*resultobj
; 
12593     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
12595     PyObject 
* obj0 
= 0 ; 
12596     PyObject 
* obj1 
= 0 ; 
12597     char *kwnames
[] = { 
12598         (char *) "self",(char *) "lineSize", NULL 
 
12601     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
12602     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
12603     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12604     arg2 
= (int) SWIG_AsInt(obj1
);  
12605     if (PyErr_Occurred()) SWIG_fail
; 
12607         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12608         (arg1
)->SetLineSize(arg2
); 
12610         wxPyEndAllowThreads(__tstate
); 
12611         if (PyErr_Occurred()) SWIG_fail
; 
12613     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12620 static PyObject 
*_wrap_Slider_SetPageSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12621     PyObject 
*resultobj
; 
12622     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
12624     PyObject 
* obj0 
= 0 ; 
12625     PyObject 
* obj1 
= 0 ; 
12626     char *kwnames
[] = { 
12627         (char *) "self",(char *) "pageSize", NULL 
 
12630     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
12631     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
12632     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12633     arg2 
= (int) SWIG_AsInt(obj1
);  
12634     if (PyErr_Occurred()) SWIG_fail
; 
12636         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12637         (arg1
)->SetPageSize(arg2
); 
12639         wxPyEndAllowThreads(__tstate
); 
12640         if (PyErr_Occurred()) SWIG_fail
; 
12642     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12649 static PyObject 
*_wrap_Slider_GetLineSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12650     PyObject 
*resultobj
; 
12651     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
12653     PyObject 
* obj0 
= 0 ; 
12654     char *kwnames
[] = { 
12655         (char *) "self", NULL 
 
12658     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
; 
12659     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
12660     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12662         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12663         result 
= (int)((wxSlider 
const *)arg1
)->GetLineSize(); 
12665         wxPyEndAllowThreads(__tstate
); 
12666         if (PyErr_Occurred()) SWIG_fail
; 
12668     resultobj 
= SWIG_FromInt((int)result
); 
12675 static PyObject 
*_wrap_Slider_GetPageSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12676     PyObject 
*resultobj
; 
12677     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
12679     PyObject 
* obj0 
= 0 ; 
12680     char *kwnames
[] = { 
12681         (char *) "self", NULL 
 
12684     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
; 
12685     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
12686     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12688         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12689         result 
= (int)((wxSlider 
const *)arg1
)->GetPageSize(); 
12691         wxPyEndAllowThreads(__tstate
); 
12692         if (PyErr_Occurred()) SWIG_fail
; 
12694     resultobj 
= SWIG_FromInt((int)result
); 
12701 static PyObject 
*_wrap_Slider_SetThumbLength(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12702     PyObject 
*resultobj
; 
12703     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
12705     PyObject 
* obj0 
= 0 ; 
12706     PyObject 
* obj1 
= 0 ; 
12707     char *kwnames
[] = { 
12708         (char *) "self",(char *) "lenPixels", NULL 
 
12711     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
; 
12712     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
12713     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12714     arg2 
= (int) SWIG_AsInt(obj1
);  
12715     if (PyErr_Occurred()) SWIG_fail
; 
12717         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12718         (arg1
)->SetThumbLength(arg2
); 
12720         wxPyEndAllowThreads(__tstate
); 
12721         if (PyErr_Occurred()) SWIG_fail
; 
12723     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12730 static PyObject 
*_wrap_Slider_GetThumbLength(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12731     PyObject 
*resultobj
; 
12732     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
12734     PyObject 
* obj0 
= 0 ; 
12735     char *kwnames
[] = { 
12736         (char *) "self", NULL 
 
12739     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
; 
12740     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
12741     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12743         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12744         result 
= (int)((wxSlider 
const *)arg1
)->GetThumbLength(); 
12746         wxPyEndAllowThreads(__tstate
); 
12747         if (PyErr_Occurred()) SWIG_fail
; 
12749     resultobj 
= SWIG_FromInt((int)result
); 
12756 static PyObject 
*_wrap_Slider_SetTickFreq(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12757     PyObject 
*resultobj
; 
12758     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
12760     int arg3 
= (int) 1 ; 
12761     PyObject 
* obj0 
= 0 ; 
12762     PyObject 
* obj1 
= 0 ; 
12763     PyObject 
* obj2 
= 0 ; 
12764     char *kwnames
[] = { 
12765         (char *) "self",(char *) "n",(char *) "pos", NULL 
 
12768     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12769     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
12770     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12771     arg2 
= (int) SWIG_AsInt(obj1
);  
12772     if (PyErr_Occurred()) SWIG_fail
; 
12774         arg3 
= (int) SWIG_AsInt(obj2
);  
12775         if (PyErr_Occurred()) SWIG_fail
; 
12778         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12779         (arg1
)->SetTickFreq(arg2
,arg3
); 
12781         wxPyEndAllowThreads(__tstate
); 
12782         if (PyErr_Occurred()) SWIG_fail
; 
12784     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12791 static PyObject 
*_wrap_Slider_GetTickFreq(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12792     PyObject 
*resultobj
; 
12793     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
12795     PyObject 
* obj0 
= 0 ; 
12796     char *kwnames
[] = { 
12797         (char *) "self", NULL 
 
12800     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
; 
12801     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
12802     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12804         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12805         result 
= (int)((wxSlider 
const *)arg1
)->GetTickFreq(); 
12807         wxPyEndAllowThreads(__tstate
); 
12808         if (PyErr_Occurred()) SWIG_fail
; 
12810     resultobj 
= SWIG_FromInt((int)result
); 
12817 static PyObject 
*_wrap_Slider_ClearTicks(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12818     PyObject 
*resultobj
; 
12819     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
12820     PyObject 
* obj0 
= 0 ; 
12821     char *kwnames
[] = { 
12822         (char *) "self", NULL 
 
12825     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
; 
12826     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
12827     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12829         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12830         (arg1
)->ClearTicks(); 
12832         wxPyEndAllowThreads(__tstate
); 
12833         if (PyErr_Occurred()) SWIG_fail
; 
12835     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12842 static PyObject 
*_wrap_Slider_SetTick(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12843     PyObject 
*resultobj
; 
12844     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
12846     PyObject 
* obj0 
= 0 ; 
12847     PyObject 
* obj1 
= 0 ; 
12848     char *kwnames
[] = { 
12849         (char *) "self",(char *) "tickPos", NULL 
 
12852     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
; 
12853     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
12854     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12855     arg2 
= (int) SWIG_AsInt(obj1
);  
12856     if (PyErr_Occurred()) SWIG_fail
; 
12858         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12859         (arg1
)->SetTick(arg2
); 
12861         wxPyEndAllowThreads(__tstate
); 
12862         if (PyErr_Occurred()) SWIG_fail
; 
12864     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12871 static PyObject 
*_wrap_Slider_ClearSel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12872     PyObject 
*resultobj
; 
12873     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
12874     PyObject 
* obj0 
= 0 ; 
12875     char *kwnames
[] = { 
12876         (char *) "self", NULL 
 
12879     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
; 
12880     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
12881     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12883         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12884         (arg1
)->ClearSel(); 
12886         wxPyEndAllowThreads(__tstate
); 
12887         if (PyErr_Occurred()) SWIG_fail
; 
12889     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12896 static PyObject 
*_wrap_Slider_GetSelEnd(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12897     PyObject 
*resultobj
; 
12898     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
12900     PyObject 
* obj0 
= 0 ; 
12901     char *kwnames
[] = { 
12902         (char *) "self", NULL 
 
12905     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
; 
12906     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
12907     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12909         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12910         result 
= (int)((wxSlider 
const *)arg1
)->GetSelEnd(); 
12912         wxPyEndAllowThreads(__tstate
); 
12913         if (PyErr_Occurred()) SWIG_fail
; 
12915     resultobj 
= SWIG_FromInt((int)result
); 
12922 static PyObject 
*_wrap_Slider_GetSelStart(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12923     PyObject 
*resultobj
; 
12924     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
12926     PyObject 
* obj0 
= 0 ; 
12927     char *kwnames
[] = { 
12928         (char *) "self", NULL 
 
12931     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
; 
12932     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
12933     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12935         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12936         result 
= (int)((wxSlider 
const *)arg1
)->GetSelStart(); 
12938         wxPyEndAllowThreads(__tstate
); 
12939         if (PyErr_Occurred()) SWIG_fail
; 
12941     resultobj 
= SWIG_FromInt((int)result
); 
12948 static PyObject 
*_wrap_Slider_SetSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12949     PyObject 
*resultobj
; 
12950     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
12953     PyObject 
* obj0 
= 0 ; 
12954     PyObject 
* obj1 
= 0 ; 
12955     PyObject 
* obj2 
= 0 ; 
12956     char *kwnames
[] = { 
12957         (char *) "self",(char *) "min",(char *) "max", NULL 
 
12960     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12961     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
, 
12962     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12963     arg2 
= (int) SWIG_AsInt(obj1
);  
12964     if (PyErr_Occurred()) SWIG_fail
; 
12965     arg3 
= (int) SWIG_AsInt(obj2
);  
12966     if (PyErr_Occurred()) SWIG_fail
; 
12968         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12969         (arg1
)->SetSelection(arg2
,arg3
); 
12971         wxPyEndAllowThreads(__tstate
); 
12972         if (PyErr_Occurred()) SWIG_fail
; 
12974     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12981 static PyObject 
* Slider_swigregister(PyObject 
*self
, PyObject 
*args
) { 
12983     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
12984     SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
); 
12986     return Py_BuildValue((char *)""); 
12988 static int _wrap_ToggleButtonNameStr_set(PyObject 
*_val
) { 
12989     PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only."); 
12994 static PyObject 
*_wrap_ToggleButtonNameStr_get() { 
12999         pyobj 
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len()); 
13001         pyobj 
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len()); 
13008 static PyObject 
*_wrap_new_ToggleButton(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13009     PyObject 
*resultobj
; 
13010     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
13012     wxString 
*arg3 
= 0 ; 
13013     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
13014     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
13015     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
13016     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
13017     long arg6 
= (long) 0 ; 
13018     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
13019     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
13020     wxString 
const &arg8_defvalue 
= wxPyToggleButtonNameStr 
; 
13021     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
13022     wxToggleButton 
*result
; 
13023     bool temp3 
= False 
; 
13026     bool temp8 
= False 
; 
13027     PyObject 
* obj0 
= 0 ; 
13028     PyObject 
* obj1 
= 0 ; 
13029     PyObject 
* obj2 
= 0 ; 
13030     PyObject 
* obj3 
= 0 ; 
13031     PyObject 
* obj4 
= 0 ; 
13032     PyObject 
* obj5 
= 0 ; 
13033     PyObject 
* obj6 
= 0 ; 
13034     PyObject 
* obj7 
= 0 ; 
13035     char *kwnames
[] = { 
13036         (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
13039     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
13040     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
13041     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13042     arg2 
= (int) SWIG_AsInt(obj1
);  
13043     if (PyErr_Occurred()) SWIG_fail
; 
13045         arg3 
= wxString_in_helper(obj2
); 
13046         if (arg3 
== NULL
) SWIG_fail
; 
13052             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
13058             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
13062         arg6 
= (long) SWIG_AsLong(obj5
);  
13063         if (PyErr_Occurred()) SWIG_fail
; 
13066         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
, 
13067         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
13069         if (arg7 
== NULL
) { 
13070             PyErr_SetString(PyExc_TypeError
,"null reference"); 
13076             arg8 
= wxString_in_helper(obj7
); 
13077             if (arg8 
== NULL
) SWIG_fail
; 
13082         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13083         result 
= (wxToggleButton 
*)new wxToggleButton(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
13085         wxPyEndAllowThreads(__tstate
); 
13086         if (PyErr_Occurred()) SWIG_fail
; 
13088     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1); 
13111 static PyObject 
*_wrap_new_PreToggleButton(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13112     PyObject 
*resultobj
; 
13113     wxToggleButton 
*result
; 
13114     char *kwnames
[] = { 
13118     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
; 
13120         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13121         result 
= (wxToggleButton 
*)new wxToggleButton(); 
13123         wxPyEndAllowThreads(__tstate
); 
13124         if (PyErr_Occurred()) SWIG_fail
; 
13126     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1); 
13133 static PyObject 
*_wrap_ToggleButton_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13134     PyObject 
*resultobj
; 
13135     wxToggleButton 
*arg1 
= (wxToggleButton 
*) 0 ; 
13136     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
13138     wxString 
*arg4 
= 0 ; 
13139     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
13140     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
13141     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
13142     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
13143     long arg7 
= (long) 0 ; 
13144     wxValidator 
const &arg8_defvalue 
= wxDefaultValidator 
; 
13145     wxValidator 
*arg8 
= (wxValidator 
*) &arg8_defvalue 
; 
13146     wxString 
const &arg9_defvalue 
= wxPyToggleButtonNameStr 
; 
13147     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
13149     bool temp4 
= False 
; 
13152     bool temp9 
= False 
; 
13153     PyObject 
* obj0 
= 0 ; 
13154     PyObject 
* obj1 
= 0 ; 
13155     PyObject 
* obj2 
= 0 ; 
13156     PyObject 
* obj3 
= 0 ; 
13157     PyObject 
* obj4 
= 0 ; 
13158     PyObject 
* obj5 
= 0 ; 
13159     PyObject 
* obj6 
= 0 ; 
13160     PyObject 
* obj7 
= 0 ; 
13161     PyObject 
* obj8 
= 0 ; 
13162     char *kwnames
[] = { 
13163         (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
13166     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
13167     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
, 
13168     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13169     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
13170     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13171     arg3 
= (int) SWIG_AsInt(obj2
);  
13172     if (PyErr_Occurred()) SWIG_fail
; 
13174         arg4 
= wxString_in_helper(obj3
); 
13175         if (arg4 
== NULL
) SWIG_fail
; 
13181             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
13187             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
13191         arg7 
= (long) SWIG_AsLong(obj6
);  
13192         if (PyErr_Occurred()) SWIG_fail
; 
13195         if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
, 
13196         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
13198         if (arg8 
== NULL
) { 
13199             PyErr_SetString(PyExc_TypeError
,"null reference"); 
13205             arg9 
= wxString_in_helper(obj8
); 
13206             if (arg9 
== NULL
) SWIG_fail
; 
13211         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13212         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxValidator 
const &)*arg8
,(wxString 
const &)*arg9
); 
13214         wxPyEndAllowThreads(__tstate
); 
13215         if (PyErr_Occurred()) SWIG_fail
; 
13218         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13242 static PyObject 
*_wrap_ToggleButton_SetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13243     PyObject 
*resultobj
; 
13244     wxToggleButton 
*arg1 
= (wxToggleButton 
*) 0 ; 
13246     PyObject 
* obj0 
= 0 ; 
13247     PyObject 
* obj1 
= 0 ; 
13248     char *kwnames
[] = { 
13249         (char *) "self",(char *) "value", NULL 
 
13252     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
13253     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
, 
13254     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13255     arg2 
= (bool) SWIG_AsBool(obj1
);  
13256     if (PyErr_Occurred()) SWIG_fail
; 
13258         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13259         (arg1
)->SetValue(arg2
); 
13261         wxPyEndAllowThreads(__tstate
); 
13262         if (PyErr_Occurred()) SWIG_fail
; 
13264     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13271 static PyObject 
*_wrap_ToggleButton_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13272     PyObject 
*resultobj
; 
13273     wxToggleButton 
*arg1 
= (wxToggleButton 
*) 0 ; 
13275     PyObject 
* obj0 
= 0 ; 
13276     char *kwnames
[] = { 
13277         (char *) "self", NULL 
 
13280     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
; 
13281     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
, 
13282     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13284         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13285         result 
= (bool)((wxToggleButton 
const *)arg1
)->GetValue(); 
13287         wxPyEndAllowThreads(__tstate
); 
13288         if (PyErr_Occurred()) SWIG_fail
; 
13291         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13299 static PyObject 
*_wrap_ToggleButton_SetLabel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13300     PyObject 
*resultobj
; 
13301     wxToggleButton 
*arg1 
= (wxToggleButton 
*) 0 ; 
13302     wxString 
*arg2 
= 0 ; 
13303     bool temp2 
= False 
; 
13304     PyObject 
* obj0 
= 0 ; 
13305     PyObject 
* obj1 
= 0 ; 
13306     char *kwnames
[] = { 
13307         (char *) "self",(char *) "label", NULL 
 
13310     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
; 
13311     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
, 
13312     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13314         arg2 
= wxString_in_helper(obj1
); 
13315         if (arg2 
== NULL
) SWIG_fail
; 
13319         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13320         (arg1
)->SetLabel((wxString 
const &)*arg2
); 
13322         wxPyEndAllowThreads(__tstate
); 
13323         if (PyErr_Occurred()) SWIG_fail
; 
13325     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13340 static PyObject 
* ToggleButton_swigregister(PyObject 
*self
, PyObject 
*args
) { 
13342     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
13343     SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
); 
13345     return Py_BuildValue((char *)""); 
13347 static int _wrap_NOTEBOOK_NAME_set(PyObject 
*_val
) { 
13348     PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only."); 
13353 static PyObject 
*_wrap_NOTEBOOK_NAME_get() { 
13358         pyobj 
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len()); 
13360         pyobj 
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len()); 
13367 static PyObject 
*_wrap_BookCtrl_GetPageCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13368     PyObject 
*resultobj
; 
13369     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
13371     PyObject 
* obj0 
= 0 ; 
13372     char *kwnames
[] = { 
13373         (char *) "self", NULL 
 
13376     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
; 
13377     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
13378     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13380         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13381         result 
= (size_t)((wxBookCtrl 
const *)arg1
)->GetPageCount(); 
13383         wxPyEndAllowThreads(__tstate
); 
13384         if (PyErr_Occurred()) SWIG_fail
; 
13386     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
13393 static PyObject 
*_wrap_BookCtrl_GetPage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13394     PyObject 
*resultobj
; 
13395     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
13398     PyObject 
* obj0 
= 0 ; 
13399     PyObject 
* obj1 
= 0 ; 
13400     char *kwnames
[] = { 
13401         (char *) "self",(char *) "n", NULL 
 
13404     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
; 
13405     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
13406     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13407     arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
13408     if (PyErr_Occurred()) SWIG_fail
; 
13410         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13411         result 
= (wxWindow 
*)(arg1
)->GetPage(arg2
); 
13413         wxPyEndAllowThreads(__tstate
); 
13414         if (PyErr_Occurred()) SWIG_fail
; 
13417         resultobj 
= wxPyMake_wxObject(result
);  
13425 static PyObject 
*_wrap_BookCtrl_GetSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13426     PyObject 
*resultobj
; 
13427     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
13429     PyObject 
* obj0 
= 0 ; 
13430     char *kwnames
[] = { 
13431         (char *) "self", NULL 
 
13434     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
; 
13435     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
13436     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13438         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13439         result 
= (int)((wxBookCtrl 
const *)arg1
)->GetSelection(); 
13441         wxPyEndAllowThreads(__tstate
); 
13442         if (PyErr_Occurred()) SWIG_fail
; 
13444     resultobj 
= SWIG_FromInt((int)result
); 
13451 static PyObject 
*_wrap_BookCtrl_SetPageText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13452     PyObject 
*resultobj
; 
13453     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
13455     wxString 
*arg3 
= 0 ; 
13457     bool temp3 
= False 
; 
13458     PyObject 
* obj0 
= 0 ; 
13459     PyObject 
* obj1 
= 0 ; 
13460     PyObject 
* obj2 
= 0 ; 
13461     char *kwnames
[] = { 
13462         (char *) "self",(char *) "n",(char *) "strText", NULL 
 
13465     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13466     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
13467     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13468     arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
13469     if (PyErr_Occurred()) SWIG_fail
; 
13471         arg3 
= wxString_in_helper(obj2
); 
13472         if (arg3 
== NULL
) SWIG_fail
; 
13476         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13477         result 
= (bool)(arg1
)->SetPageText(arg2
,(wxString 
const &)*arg3
); 
13479         wxPyEndAllowThreads(__tstate
); 
13480         if (PyErr_Occurred()) SWIG_fail
; 
13483         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13499 static PyObject 
*_wrap_BookCtrl_GetPageText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13500     PyObject 
*resultobj
; 
13501     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
13504     PyObject 
* obj0 
= 0 ; 
13505     PyObject 
* obj1 
= 0 ; 
13506     char *kwnames
[] = { 
13507         (char *) "self",(char *) "n", NULL 
 
13510     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
; 
13511     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
13512     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13513     arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
13514     if (PyErr_Occurred()) SWIG_fail
; 
13516         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13517         result 
= ((wxBookCtrl 
const *)arg1
)->GetPageText(arg2
); 
13519         wxPyEndAllowThreads(__tstate
); 
13520         if (PyErr_Occurred()) SWIG_fail
; 
13524         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
13526         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
13535 static PyObject 
*_wrap_BookCtrl_SetImageList(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13536     PyObject 
*resultobj
; 
13537     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
13538     wxImageList 
*arg2 
= (wxImageList 
*) 0 ; 
13539     PyObject 
* obj0 
= 0 ; 
13540     PyObject 
* obj1 
= 0 ; 
13541     char *kwnames
[] = { 
13542         (char *) "self",(char *) "imageList", NULL 
 
13545     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
; 
13546     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
13547     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13548     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
, 
13549     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13551         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13552         (arg1
)->SetImageList(arg2
); 
13554         wxPyEndAllowThreads(__tstate
); 
13555         if (PyErr_Occurred()) SWIG_fail
; 
13557     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13564 static PyObject 
*_wrap_BookCtrl_AssignImageList(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13565     PyObject 
*resultobj
; 
13566     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
13567     wxImageList 
*arg2 
= (wxImageList 
*) 0 ; 
13568     PyObject 
* obj0 
= 0 ; 
13569     PyObject 
* obj1 
= 0 ; 
13570     char *kwnames
[] = { 
13571         (char *) "self",(char *) "imageList", NULL 
 
13574     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
; 
13575     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
13576     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13577     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
, 
13578     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
13580         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13581         (arg1
)->AssignImageList(arg2
); 
13583         wxPyEndAllowThreads(__tstate
); 
13584         if (PyErr_Occurred()) SWIG_fail
; 
13586     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13593 static PyObject 
*_wrap_BookCtrl_GetImageList(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13594     PyObject 
*resultobj
; 
13595     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
13596     wxImageList 
*result
; 
13597     PyObject 
* obj0 
= 0 ; 
13598     char *kwnames
[] = { 
13599         (char *) "self", NULL 
 
13602     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
; 
13603     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
13604     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13606         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13607         result 
= (wxImageList 
*)((wxBookCtrl 
const *)arg1
)->GetImageList(); 
13609         wxPyEndAllowThreads(__tstate
); 
13610         if (PyErr_Occurred()) SWIG_fail
; 
13613         resultobj 
= wxPyMake_wxObject(result
);  
13621 static PyObject 
*_wrap_BookCtrl_GetPageImage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13622     PyObject 
*resultobj
; 
13623     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
13626     PyObject 
* obj0 
= 0 ; 
13627     PyObject 
* obj1 
= 0 ; 
13628     char *kwnames
[] = { 
13629         (char *) "self",(char *) "n", NULL 
 
13632     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
; 
13633     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
13634     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13635     arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
13636     if (PyErr_Occurred()) SWIG_fail
; 
13638         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13639         result 
= (int)((wxBookCtrl 
const *)arg1
)->GetPageImage(arg2
); 
13641         wxPyEndAllowThreads(__tstate
); 
13642         if (PyErr_Occurred()) SWIG_fail
; 
13644     resultobj 
= SWIG_FromInt((int)result
); 
13651 static PyObject 
*_wrap_BookCtrl_SetPageImage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13652     PyObject 
*resultobj
; 
13653     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
13657     PyObject 
* obj0 
= 0 ; 
13658     PyObject 
* obj1 
= 0 ; 
13659     PyObject 
* obj2 
= 0 ; 
13660     char *kwnames
[] = { 
13661         (char *) "self",(char *) "n",(char *) "imageId", NULL 
 
13664     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13665     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
13666     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13667     arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
13668     if (PyErr_Occurred()) SWIG_fail
; 
13669     arg3 
= (int) SWIG_AsInt(obj2
);  
13670     if (PyErr_Occurred()) SWIG_fail
; 
13672         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13673         result 
= (bool)(arg1
)->SetPageImage(arg2
,arg3
); 
13675         wxPyEndAllowThreads(__tstate
); 
13676         if (PyErr_Occurred()) SWIG_fail
; 
13679         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13687 static PyObject 
*_wrap_BookCtrl_SetPageSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13688     PyObject 
*resultobj
; 
13689     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
13692     PyObject 
* obj0 
= 0 ; 
13693     PyObject 
* obj1 
= 0 ; 
13694     char *kwnames
[] = { 
13695         (char *) "self",(char *) "size", NULL 
 
13698     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
13699     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
13700     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13703         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
13706         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13707         (arg1
)->SetPageSize((wxSize 
const &)*arg2
); 
13709         wxPyEndAllowThreads(__tstate
); 
13710         if (PyErr_Occurred()) SWIG_fail
; 
13712     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13719 static PyObject 
*_wrap_BookCtrl_CalcSizeFromPage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13720     PyObject 
*resultobj
; 
13721     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
13725     PyObject 
* obj0 
= 0 ; 
13726     PyObject 
* obj1 
= 0 ; 
13727     char *kwnames
[] = { 
13728         (char *) "self",(char *) "sizePage", NULL 
 
13731     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
; 
13732     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
13733     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13736         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
13739         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13740         result 
= ((wxBookCtrl 
const *)arg1
)->CalcSizeFromPage((wxSize 
const &)*arg2
); 
13742         wxPyEndAllowThreads(__tstate
); 
13743         if (PyErr_Occurred()) SWIG_fail
; 
13746         wxSize 
* resultptr
; 
13747         resultptr 
= new wxSize((wxSize 
&) result
); 
13748         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
13756 static PyObject 
*_wrap_BookCtrl_DeletePage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13757     PyObject 
*resultobj
; 
13758     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
13761     PyObject 
* obj0 
= 0 ; 
13762     PyObject 
* obj1 
= 0 ; 
13763     char *kwnames
[] = { 
13764         (char *) "self",(char *) "n", NULL 
 
13767     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
; 
13768     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
13769     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13770     arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
13771     if (PyErr_Occurred()) SWIG_fail
; 
13773         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13774         result 
= (bool)(arg1
)->DeletePage(arg2
); 
13776         wxPyEndAllowThreads(__tstate
); 
13777         if (PyErr_Occurred()) SWIG_fail
; 
13780         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13788 static PyObject 
*_wrap_BookCtrl_RemovePage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13789     PyObject 
*resultobj
; 
13790     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
13793     PyObject 
* obj0 
= 0 ; 
13794     PyObject 
* obj1 
= 0 ; 
13795     char *kwnames
[] = { 
13796         (char *) "self",(char *) "n", NULL 
 
13799     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
; 
13800     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
13801     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13802     arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
13803     if (PyErr_Occurred()) SWIG_fail
; 
13805         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13806         result 
= (bool)(arg1
)->RemovePage(arg2
); 
13808         wxPyEndAllowThreads(__tstate
); 
13809         if (PyErr_Occurred()) SWIG_fail
; 
13812         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13820 static PyObject 
*_wrap_BookCtrl_DeleteAllPages(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13821     PyObject 
*resultobj
; 
13822     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
13824     PyObject 
* obj0 
= 0 ; 
13825     char *kwnames
[] = { 
13826         (char *) "self", NULL 
 
13829     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
; 
13830     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
13831     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13833         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13834         result 
= (bool)(arg1
)->DeleteAllPages(); 
13836         wxPyEndAllowThreads(__tstate
); 
13837         if (PyErr_Occurred()) SWIG_fail
; 
13840         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13848 static PyObject 
*_wrap_BookCtrl_AddPage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13849     PyObject 
*resultobj
; 
13850     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
13851     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
13852     wxString 
*arg3 
= 0 ; 
13853     bool arg4 
= (bool) False 
; 
13854     int arg5 
= (int) -1 ; 
13856     bool temp3 
= False 
; 
13857     PyObject 
* obj0 
= 0 ; 
13858     PyObject 
* obj1 
= 0 ; 
13859     PyObject 
* obj2 
= 0 ; 
13860     PyObject 
* obj3 
= 0 ; 
13861     PyObject 
* obj4 
= 0 ; 
13862     char *kwnames
[] = { 
13863         (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL 
 
13866     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
13867     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
13868     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13869     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
13870     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13872         arg3 
= wxString_in_helper(obj2
); 
13873         if (arg3 
== NULL
) SWIG_fail
; 
13877         arg4 
= (bool) SWIG_AsBool(obj3
);  
13878         if (PyErr_Occurred()) SWIG_fail
; 
13881         arg5 
= (int) SWIG_AsInt(obj4
);  
13882         if (PyErr_Occurred()) SWIG_fail
; 
13885         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13886         result 
= (bool)(arg1
)->AddPage(arg2
,(wxString 
const &)*arg3
,arg4
,arg5
); 
13888         wxPyEndAllowThreads(__tstate
); 
13889         if (PyErr_Occurred()) SWIG_fail
; 
13892         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13908 static PyObject 
*_wrap_BookCtrl_InsertPage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13909     PyObject 
*resultobj
; 
13910     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
13912     wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
13913     wxString 
*arg4 
= 0 ; 
13914     bool arg5 
= (bool) False 
; 
13915     int arg6 
= (int) -1 ; 
13917     bool temp4 
= False 
; 
13918     PyObject 
* obj0 
= 0 ; 
13919     PyObject 
* obj1 
= 0 ; 
13920     PyObject 
* obj2 
= 0 ; 
13921     PyObject 
* obj3 
= 0 ; 
13922     PyObject 
* obj4 
= 0 ; 
13923     PyObject 
* obj5 
= 0 ; 
13924     char *kwnames
[] = { 
13925         (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL 
 
13928     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
13929     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
13930     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13931     arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
13932     if (PyErr_Occurred()) SWIG_fail
; 
13933     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
, 
13934     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13936         arg4 
= wxString_in_helper(obj3
); 
13937         if (arg4 
== NULL
) SWIG_fail
; 
13941         arg5 
= (bool) SWIG_AsBool(obj4
);  
13942         if (PyErr_Occurred()) SWIG_fail
; 
13945         arg6 
= (int) SWIG_AsInt(obj5
);  
13946         if (PyErr_Occurred()) SWIG_fail
; 
13949         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13950         result 
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString 
const &)*arg4
,arg5
,arg6
); 
13952         wxPyEndAllowThreads(__tstate
); 
13953         if (PyErr_Occurred()) SWIG_fail
; 
13956         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13972 static PyObject 
*_wrap_BookCtrl_SetSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13973     PyObject 
*resultobj
; 
13974     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
13977     PyObject 
* obj0 
= 0 ; 
13978     PyObject 
* obj1 
= 0 ; 
13979     char *kwnames
[] = { 
13980         (char *) "self",(char *) "n", NULL 
 
13983     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
13984     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
13985     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13986     arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
13987     if (PyErr_Occurred()) SWIG_fail
; 
13989         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13990         result 
= (int)(arg1
)->SetSelection(arg2
); 
13992         wxPyEndAllowThreads(__tstate
); 
13993         if (PyErr_Occurred()) SWIG_fail
; 
13995     resultobj 
= SWIG_FromInt((int)result
); 
14002 static PyObject 
*_wrap_BookCtrl_AdvanceSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14003     PyObject 
*resultobj
; 
14004     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
14005     bool arg2 
= (bool) True 
; 
14006     PyObject 
* obj0 
= 0 ; 
14007     PyObject 
* obj1 
= 0 ; 
14008     char *kwnames
[] = { 
14009         (char *) "self",(char *) "forward", NULL 
 
14012     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
14013     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
14014     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14016         arg2 
= (bool) SWIG_AsBool(obj1
);  
14017         if (PyErr_Occurred()) SWIG_fail
; 
14020         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14021         (arg1
)->AdvanceSelection(arg2
); 
14023         wxPyEndAllowThreads(__tstate
); 
14024         if (PyErr_Occurred()) SWIG_fail
; 
14026     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14033 static PyObject 
* BookCtrl_swigregister(PyObject 
*self
, PyObject 
*args
) { 
14035     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14036     SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
); 
14038     return Py_BuildValue((char *)""); 
14040 static PyObject 
*_wrap_new_BookCtrlEvent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14041     PyObject 
*resultobj
; 
14042     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
14043     int arg2 
= (int) 0 ; 
14044     int arg3 
= (int) -1 ; 
14045     int arg4 
= (int) -1 ; 
14046     wxBookCtrlEvent 
*result
; 
14047     PyObject 
* obj0 
= 0 ; 
14048     PyObject 
* obj1 
= 0 ; 
14049     PyObject 
* obj2 
= 0 ; 
14050     PyObject 
* obj3 
= 0 ; 
14051     char *kwnames
[] = { 
14052         (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL 
 
14055     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
14057         arg1 
= (wxEventType
) SWIG_AsInt(obj0
);  
14058         if (PyErr_Occurred()) SWIG_fail
; 
14061         arg2 
= (int) SWIG_AsInt(obj1
);  
14062         if (PyErr_Occurred()) SWIG_fail
; 
14065         arg3 
= (int) SWIG_AsInt(obj2
);  
14066         if (PyErr_Occurred()) SWIG_fail
; 
14069         arg4 
= (int) SWIG_AsInt(obj3
);  
14070         if (PyErr_Occurred()) SWIG_fail
; 
14073         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14074         result 
= (wxBookCtrlEvent 
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
); 
14076         wxPyEndAllowThreads(__tstate
); 
14077         if (PyErr_Occurred()) SWIG_fail
; 
14079     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1); 
14086 static PyObject 
*_wrap_BookCtrlEvent_GetSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14087     PyObject 
*resultobj
; 
14088     wxBookCtrlEvent 
*arg1 
= (wxBookCtrlEvent 
*) 0 ; 
14090     PyObject 
* obj0 
= 0 ; 
14091     char *kwnames
[] = { 
14092         (char *) "self", NULL 
 
14095     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
; 
14096     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
, 
14097     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14099         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14100         result 
= (int)((wxBookCtrlEvent 
const *)arg1
)->GetSelection(); 
14102         wxPyEndAllowThreads(__tstate
); 
14103         if (PyErr_Occurred()) SWIG_fail
; 
14105     resultobj 
= SWIG_FromInt((int)result
); 
14112 static PyObject 
*_wrap_BookCtrlEvent_SetSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14113     PyObject 
*resultobj
; 
14114     wxBookCtrlEvent 
*arg1 
= (wxBookCtrlEvent 
*) 0 ; 
14116     PyObject 
* obj0 
= 0 ; 
14117     PyObject 
* obj1 
= 0 ; 
14118     char *kwnames
[] = { 
14119         (char *) "self",(char *) "nSel", NULL 
 
14122     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
14123     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
, 
14124     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14125     arg2 
= (int) SWIG_AsInt(obj1
);  
14126     if (PyErr_Occurred()) SWIG_fail
; 
14128         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14129         (arg1
)->SetSelection(arg2
); 
14131         wxPyEndAllowThreads(__tstate
); 
14132         if (PyErr_Occurred()) SWIG_fail
; 
14134     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14141 static PyObject 
*_wrap_BookCtrlEvent_GetOldSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14142     PyObject 
*resultobj
; 
14143     wxBookCtrlEvent 
*arg1 
= (wxBookCtrlEvent 
*) 0 ; 
14145     PyObject 
* obj0 
= 0 ; 
14146     char *kwnames
[] = { 
14147         (char *) "self", NULL 
 
14150     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
; 
14151     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
, 
14152     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14154         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14155         result 
= (int)((wxBookCtrlEvent 
const *)arg1
)->GetOldSelection(); 
14157         wxPyEndAllowThreads(__tstate
); 
14158         if (PyErr_Occurred()) SWIG_fail
; 
14160     resultobj 
= SWIG_FromInt((int)result
); 
14167 static PyObject 
*_wrap_BookCtrlEvent_SetOldSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14168     PyObject 
*resultobj
; 
14169     wxBookCtrlEvent 
*arg1 
= (wxBookCtrlEvent 
*) 0 ; 
14171     PyObject 
* obj0 
= 0 ; 
14172     PyObject 
* obj1 
= 0 ; 
14173     char *kwnames
[] = { 
14174         (char *) "self",(char *) "nOldSel", NULL 
 
14177     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
14178     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
, 
14179     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14180     arg2 
= (int) SWIG_AsInt(obj1
);  
14181     if (PyErr_Occurred()) SWIG_fail
; 
14183         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14184         (arg1
)->SetOldSelection(arg2
); 
14186         wxPyEndAllowThreads(__tstate
); 
14187         if (PyErr_Occurred()) SWIG_fail
; 
14189     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14196 static PyObject 
* BookCtrlEvent_swigregister(PyObject 
*self
, PyObject 
*args
) { 
14198     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14199     SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
); 
14201     return Py_BuildValue((char *)""); 
14203 static PyObject 
*_wrap_new_Notebook(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14204     PyObject 
*resultobj
; 
14205     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
14206     int arg2 
= (int) -1 ; 
14207     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
14208     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
14209     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
14210     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
14211     long arg5 
= (long) 0 ; 
14212     wxString 
const &arg6_defvalue 
= wxPyNOTEBOOK_NAME 
; 
14213     wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
14214     wxNotebook 
*result
; 
14217     bool temp6 
= False 
; 
14218     PyObject 
* obj0 
= 0 ; 
14219     PyObject 
* obj1 
= 0 ; 
14220     PyObject 
* obj2 
= 0 ; 
14221     PyObject 
* obj3 
= 0 ; 
14222     PyObject 
* obj4 
= 0 ; 
14223     PyObject 
* obj5 
= 0 ; 
14224     char *kwnames
[] = { 
14225         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
14228     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
14229     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
14230     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14232         arg2 
= (int) SWIG_AsInt(obj1
);  
14233         if (PyErr_Occurred()) SWIG_fail
; 
14238             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
14244             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
14248         arg5 
= (long) SWIG_AsLong(obj4
);  
14249         if (PyErr_Occurred()) SWIG_fail
; 
14253             arg6 
= wxString_in_helper(obj5
); 
14254             if (arg6 
== NULL
) SWIG_fail
; 
14259         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14260         result 
= (wxNotebook 
*)new wxNotebook(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
14262         wxPyEndAllowThreads(__tstate
); 
14263         if (PyErr_Occurred()) SWIG_fail
; 
14266         resultobj 
= wxPyMake_wxObject(result
);  
14282 static PyObject 
*_wrap_new_PreNotebook(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14283     PyObject 
*resultobj
; 
14284     wxNotebook 
*result
; 
14285     char *kwnames
[] = { 
14289     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
; 
14291         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14292         result 
= (wxNotebook 
*)new wxNotebook(); 
14294         wxPyEndAllowThreads(__tstate
); 
14295         if (PyErr_Occurred()) SWIG_fail
; 
14298         resultobj 
= wxPyMake_wxObject(result
);  
14306 static PyObject 
*_wrap_Notebook_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14307     PyObject 
*resultobj
; 
14308     wxNotebook 
*arg1 
= (wxNotebook 
*) 0 ; 
14309     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
14311     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
14312     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
14313     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
14314     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
14315     long arg6 
= (long) 0 ; 
14316     wxString 
const &arg7_defvalue 
= wxPyNOTEBOOK_NAME 
; 
14317     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
14321     bool temp7 
= False 
; 
14322     PyObject 
* obj0 
= 0 ; 
14323     PyObject 
* obj1 
= 0 ; 
14324     PyObject 
* obj2 
= 0 ; 
14325     PyObject 
* obj3 
= 0 ; 
14326     PyObject 
* obj4 
= 0 ; 
14327     PyObject 
* obj5 
= 0 ; 
14328     PyObject 
* obj6 
= 0 ; 
14329     char *kwnames
[] = { 
14330         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
14333     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
14334     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
, 
14335     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14336     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
14337     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14338     arg3 
= (int) SWIG_AsInt(obj2
);  
14339     if (PyErr_Occurred()) SWIG_fail
; 
14343             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
14349             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
14353         arg6 
= (long) SWIG_AsLong(obj5
);  
14354         if (PyErr_Occurred()) SWIG_fail
; 
14358             arg7 
= wxString_in_helper(obj6
); 
14359             if (arg7 
== NULL
) SWIG_fail
; 
14364         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14365         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
14367         wxPyEndAllowThreads(__tstate
); 
14368         if (PyErr_Occurred()) SWIG_fail
; 
14371         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14387 static PyObject 
*_wrap_Notebook_GetRowCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14388     PyObject 
*resultobj
; 
14389     wxNotebook 
*arg1 
= (wxNotebook 
*) 0 ; 
14391     PyObject 
* obj0 
= 0 ; 
14392     char *kwnames
[] = { 
14393         (char *) "self", NULL 
 
14396     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
; 
14397     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
, 
14398     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14400         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14401         result 
= (int)((wxNotebook 
const *)arg1
)->GetRowCount(); 
14403         wxPyEndAllowThreads(__tstate
); 
14404         if (PyErr_Occurred()) SWIG_fail
; 
14406     resultobj 
= SWIG_FromInt((int)result
); 
14413 static PyObject 
*_wrap_Notebook_SetPadding(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14414     PyObject 
*resultobj
; 
14415     wxNotebook 
*arg1 
= (wxNotebook 
*) 0 ; 
14418     PyObject 
* obj0 
= 0 ; 
14419     PyObject 
* obj1 
= 0 ; 
14420     char *kwnames
[] = { 
14421         (char *) "self",(char *) "padding", NULL 
 
14424     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
; 
14425     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
, 
14426     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14429         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
14432         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14433         (arg1
)->SetPadding((wxSize 
const &)*arg2
); 
14435         wxPyEndAllowThreads(__tstate
); 
14436         if (PyErr_Occurred()) SWIG_fail
; 
14438     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14445 static PyObject 
*_wrap_Notebook_SetTabSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14446     PyObject 
*resultobj
; 
14447     wxNotebook 
*arg1 
= (wxNotebook 
*) 0 ; 
14450     PyObject 
* obj0 
= 0 ; 
14451     PyObject 
* obj1 
= 0 ; 
14452     char *kwnames
[] = { 
14453         (char *) "self",(char *) "sz", NULL 
 
14456     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
14457     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
, 
14458     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14461         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
14464         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14465         (arg1
)->SetTabSize((wxSize 
const &)*arg2
); 
14467         wxPyEndAllowThreads(__tstate
); 
14468         if (PyErr_Occurred()) SWIG_fail
; 
14470     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14477 static PyObject 
*_wrap_Notebook_HitTest(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14478     PyObject 
*resultobj
; 
14479     wxNotebook 
*arg1 
= (wxNotebook 
*) 0 ; 
14480     wxPoint 
*arg2 
= 0 ; 
14481     long *arg3 
= (long *) 0 ; 
14485     PyObject 
* obj0 
= 0 ; 
14486     PyObject 
* obj1 
= 0 ; 
14487     char *kwnames
[] = { 
14488         (char *) "self",(char *) "pt", NULL 
 
14492     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
; 
14493     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
, 
14494     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14497         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
14500         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14501         result 
= (int)((wxNotebook 
const *)arg1
)->HitTest((wxPoint 
const &)*arg2
,arg3
); 
14503         wxPyEndAllowThreads(__tstate
); 
14504         if (PyErr_Occurred()) SWIG_fail
; 
14506     resultobj 
= SWIG_FromInt((int)result
); 
14508         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
14509         resultobj 
= t_output_helper(resultobj
,o
); 
14517 static PyObject 
*_wrap_Notebook_CalcSizeFromPage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14518     PyObject 
*resultobj
; 
14519     wxNotebook 
*arg1 
= (wxNotebook 
*) 0 ; 
14523     PyObject 
* obj0 
= 0 ; 
14524     PyObject 
* obj1 
= 0 ; 
14525     char *kwnames
[] = { 
14526         (char *) "self",(char *) "sizePage", NULL 
 
14529     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
; 
14530     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
, 
14531     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14534         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
14537         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14538         result 
= ((wxNotebook 
const *)arg1
)->CalcSizeFromPage((wxSize 
const &)*arg2
); 
14540         wxPyEndAllowThreads(__tstate
); 
14541         if (PyErr_Occurred()) SWIG_fail
; 
14544         wxSize 
* resultptr
; 
14545         resultptr 
= new wxSize((wxSize 
&) result
); 
14546         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
14554 static PyObject 
* Notebook_swigregister(PyObject 
*self
, PyObject 
*args
) { 
14556     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14557     SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
); 
14559     return Py_BuildValue((char *)""); 
14561 static PyObject 
*_wrap_new_NotebookEvent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14562     PyObject 
*resultobj
; 
14563     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
14564     int arg2 
= (int) 0 ; 
14565     int arg3 
= (int) -1 ; 
14566     int arg4 
= (int) -1 ; 
14567     wxNotebookEvent 
*result
; 
14568     PyObject 
* obj0 
= 0 ; 
14569     PyObject 
* obj1 
= 0 ; 
14570     PyObject 
* obj2 
= 0 ; 
14571     PyObject 
* obj3 
= 0 ; 
14572     char *kwnames
[] = { 
14573         (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL 
 
14576     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
14578         arg1 
= (wxEventType
) SWIG_AsInt(obj0
);  
14579         if (PyErr_Occurred()) SWIG_fail
; 
14582         arg2 
= (int) SWIG_AsInt(obj1
);  
14583         if (PyErr_Occurred()) SWIG_fail
; 
14586         arg3 
= (int) SWIG_AsInt(obj2
);  
14587         if (PyErr_Occurred()) SWIG_fail
; 
14590         arg4 
= (int) SWIG_AsInt(obj3
);  
14591         if (PyErr_Occurred()) SWIG_fail
; 
14594         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14595         result 
= (wxNotebookEvent 
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
); 
14597         wxPyEndAllowThreads(__tstate
); 
14598         if (PyErr_Occurred()) SWIG_fail
; 
14600     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1); 
14607 static PyObject 
* NotebookEvent_swigregister(PyObject 
*self
, PyObject 
*args
) { 
14609     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14610     SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
); 
14612     return Py_BuildValue((char *)""); 
14614 static PyObject 
*_wrap_new_Listbook(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14615     PyObject 
*resultobj
; 
14616     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
14617     int arg2 
= (int) -1 ; 
14618     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
14619     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
14620     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
14621     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
14622     long arg5 
= (long) 0 ; 
14623     wxString 
const &arg6_defvalue 
= wxPyEmptyString 
; 
14624     wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
14625     wxListbook 
*result
; 
14628     bool temp6 
= False 
; 
14629     PyObject 
* obj0 
= 0 ; 
14630     PyObject 
* obj1 
= 0 ; 
14631     PyObject 
* obj2 
= 0 ; 
14632     PyObject 
* obj3 
= 0 ; 
14633     PyObject 
* obj4 
= 0 ; 
14634     PyObject 
* obj5 
= 0 ; 
14635     char *kwnames
[] = { 
14636         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
14639     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
14640     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
14641     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14643         arg2 
= (int) SWIG_AsInt(obj1
);  
14644         if (PyErr_Occurred()) SWIG_fail
; 
14649             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
14655             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
14659         arg5 
= (long) SWIG_AsLong(obj4
);  
14660         if (PyErr_Occurred()) SWIG_fail
; 
14664             arg6 
= wxString_in_helper(obj5
); 
14665             if (arg6 
== NULL
) SWIG_fail
; 
14670         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14671         result 
= (wxListbook 
*)new wxListbook(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
14673         wxPyEndAllowThreads(__tstate
); 
14674         if (PyErr_Occurred()) SWIG_fail
; 
14676     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1); 
14691 static PyObject 
*_wrap_new_PreListbook(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14692     PyObject 
*resultobj
; 
14693     wxListbook 
*result
; 
14694     char *kwnames
[] = { 
14698     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
; 
14700         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14701         result 
= (wxListbook 
*)new wxListbook(); 
14703         wxPyEndAllowThreads(__tstate
); 
14704         if (PyErr_Occurred()) SWIG_fail
; 
14706     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1); 
14713 static PyObject 
*_wrap_Listbook_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14714     PyObject 
*resultobj
; 
14715     wxListbook 
*arg1 
= (wxListbook 
*) 0 ; 
14716     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
14718     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
14719     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
14720     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
14721     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
14722     long arg6 
= (long) 0 ; 
14723     wxString 
const &arg7_defvalue 
= wxPyEmptyString 
; 
14724     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
14728     bool temp7 
= False 
; 
14729     PyObject 
* obj0 
= 0 ; 
14730     PyObject 
* obj1 
= 0 ; 
14731     PyObject 
* obj2 
= 0 ; 
14732     PyObject 
* obj3 
= 0 ; 
14733     PyObject 
* obj4 
= 0 ; 
14734     PyObject 
* obj5 
= 0 ; 
14735     PyObject 
* obj6 
= 0 ; 
14736     char *kwnames
[] = { 
14737         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
14740     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
14741     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
, 
14742     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14743     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
14744     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14745     arg3 
= (int) SWIG_AsInt(obj2
);  
14746     if (PyErr_Occurred()) SWIG_fail
; 
14750             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
14756             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
14760         arg6 
= (long) SWIG_AsLong(obj5
);  
14761         if (PyErr_Occurred()) SWIG_fail
; 
14765             arg7 
= wxString_in_helper(obj6
); 
14766             if (arg7 
== NULL
) SWIG_fail
; 
14771         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14772         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
14774         wxPyEndAllowThreads(__tstate
); 
14775         if (PyErr_Occurred()) SWIG_fail
; 
14778         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14794 static PyObject 
*_wrap_Listbook_IsVertical(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14795     PyObject 
*resultobj
; 
14796     wxListbook 
*arg1 
= (wxListbook 
*) 0 ; 
14798     PyObject 
* obj0 
= 0 ; 
14799     char *kwnames
[] = { 
14800         (char *) "self", NULL 
 
14803     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
; 
14804     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
, 
14805     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14807         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14808         result 
= (bool)((wxListbook 
const *)arg1
)->IsVertical(); 
14810         wxPyEndAllowThreads(__tstate
); 
14811         if (PyErr_Occurred()) SWIG_fail
; 
14814         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14822 static PyObject 
* Listbook_swigregister(PyObject 
*self
, PyObject 
*args
) { 
14824     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14825     SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
); 
14827     return Py_BuildValue((char *)""); 
14829 static PyObject 
*_wrap_new_ListbookEvent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14830     PyObject 
*resultobj
; 
14831     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
14832     int arg2 
= (int) 0 ; 
14833     int arg3 
= (int) -1 ; 
14834     int arg4 
= (int) -1 ; 
14835     wxListbookEvent 
*result
; 
14836     PyObject 
* obj0 
= 0 ; 
14837     PyObject 
* obj1 
= 0 ; 
14838     PyObject 
* obj2 
= 0 ; 
14839     PyObject 
* obj3 
= 0 ; 
14840     char *kwnames
[] = { 
14841         (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL 
 
14844     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
14846         arg1 
= (wxEventType
) SWIG_AsInt(obj0
);  
14847         if (PyErr_Occurred()) SWIG_fail
; 
14850         arg2 
= (int) SWIG_AsInt(obj1
);  
14851         if (PyErr_Occurred()) SWIG_fail
; 
14854         arg3 
= (int) SWIG_AsInt(obj2
);  
14855         if (PyErr_Occurred()) SWIG_fail
; 
14858         arg4 
= (int) SWIG_AsInt(obj3
);  
14859         if (PyErr_Occurred()) SWIG_fail
; 
14862         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14863         result 
= (wxListbookEvent 
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
); 
14865         wxPyEndAllowThreads(__tstate
); 
14866         if (PyErr_Occurred()) SWIG_fail
; 
14868     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1); 
14875 static PyObject 
* ListbookEvent_swigregister(PyObject 
*self
, PyObject 
*args
) { 
14877     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14878     SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
); 
14880     return Py_BuildValue((char *)""); 
14882 static PyObject 
*_wrap_new_BookCtrlSizer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14883     PyObject 
*resultobj
; 
14884     wxBookCtrl 
*arg1 
= (wxBookCtrl 
*) 0 ; 
14885     wxBookCtrlSizer 
*result
; 
14886     PyObject 
* obj0 
= 0 ; 
14887     char *kwnames
[] = { 
14888         (char *) "nb", NULL 
 
14891     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
; 
14892     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
, 
14893     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14895         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14896         result 
= (wxBookCtrlSizer 
*)new wxBookCtrlSizer(arg1
); 
14898         wxPyEndAllowThreads(__tstate
); 
14899         if (PyErr_Occurred()) SWIG_fail
; 
14901     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1); 
14908 static PyObject 
*_wrap_BookCtrlSizer_RecalcSizes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14909     PyObject 
*resultobj
; 
14910     wxBookCtrlSizer 
*arg1 
= (wxBookCtrlSizer 
*) 0 ; 
14911     PyObject 
* obj0 
= 0 ; 
14912     char *kwnames
[] = { 
14913         (char *) "self", NULL 
 
14916     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
; 
14917     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
, 
14918     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14920         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14921         (arg1
)->RecalcSizes(); 
14923         wxPyEndAllowThreads(__tstate
); 
14924         if (PyErr_Occurred()) SWIG_fail
; 
14926     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14933 static PyObject 
*_wrap_BookCtrlSizer_CalcMin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14934     PyObject 
*resultobj
; 
14935     wxBookCtrlSizer 
*arg1 
= (wxBookCtrlSizer 
*) 0 ; 
14937     PyObject 
* obj0 
= 0 ; 
14938     char *kwnames
[] = { 
14939         (char *) "self", NULL 
 
14942     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
; 
14943     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
, 
14944     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14946         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14947         result 
= (arg1
)->CalcMin(); 
14949         wxPyEndAllowThreads(__tstate
); 
14950         if (PyErr_Occurred()) SWIG_fail
; 
14953         wxSize 
* resultptr
; 
14954         resultptr 
= new wxSize((wxSize 
&) result
); 
14955         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
14963 static PyObject 
*_wrap_BookCtrlSizer_GetControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14964     PyObject 
*resultobj
; 
14965     wxBookCtrlSizer 
*arg1 
= (wxBookCtrlSizer 
*) 0 ; 
14966     wxBookCtrl 
*result
; 
14967     PyObject 
* obj0 
= 0 ; 
14968     char *kwnames
[] = { 
14969         (char *) "self", NULL 
 
14972     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
; 
14973     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
, 
14974     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14976         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14977         result 
= (wxBookCtrl 
*)(arg1
)->GetControl(); 
14979         wxPyEndAllowThreads(__tstate
); 
14980         if (PyErr_Occurred()) SWIG_fail
; 
14982     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0); 
14989 static PyObject 
* BookCtrlSizer_swigregister(PyObject 
*self
, PyObject 
*args
) { 
14991     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14992     SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
); 
14994     return Py_BuildValue((char *)""); 
14996 static PyObject 
*_wrap_new_NotebookSizer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14997     PyObject 
*resultobj
; 
14998     wxNotebook 
*arg1 
= (wxNotebook 
*) 0 ; 
14999     wxNotebookSizer 
*result
; 
15000     PyObject 
* obj0 
= 0 ; 
15001     char *kwnames
[] = { 
15002         (char *) "nb", NULL 
 
15005     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
; 
15006     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
, 
15007     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15009         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15010         result 
= (wxNotebookSizer 
*)new wxNotebookSizer(arg1
); 
15012         wxPyEndAllowThreads(__tstate
); 
15013         if (PyErr_Occurred()) SWIG_fail
; 
15015     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1); 
15022 static PyObject 
*_wrap_NotebookSizer_RecalcSizes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15023     PyObject 
*resultobj
; 
15024     wxNotebookSizer 
*arg1 
= (wxNotebookSizer 
*) 0 ; 
15025     PyObject 
* obj0 
= 0 ; 
15026     char *kwnames
[] = { 
15027         (char *) "self", NULL 
 
15030     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
; 
15031     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
, 
15032     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15034         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15035         (arg1
)->RecalcSizes(); 
15037         wxPyEndAllowThreads(__tstate
); 
15038         if (PyErr_Occurred()) SWIG_fail
; 
15040     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15047 static PyObject 
*_wrap_NotebookSizer_CalcMin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15048     PyObject 
*resultobj
; 
15049     wxNotebookSizer 
*arg1 
= (wxNotebookSizer 
*) 0 ; 
15051     PyObject 
* obj0 
= 0 ; 
15052     char *kwnames
[] = { 
15053         (char *) "self", NULL 
 
15056     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
; 
15057     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
, 
15058     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15060         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15061         result 
= (arg1
)->CalcMin(); 
15063         wxPyEndAllowThreads(__tstate
); 
15064         if (PyErr_Occurred()) SWIG_fail
; 
15067         wxSize 
* resultptr
; 
15068         resultptr 
= new wxSize((wxSize 
&) result
); 
15069         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
15077 static PyObject 
*_wrap_NotebookSizer_GetNotebook(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15078     PyObject 
*resultobj
; 
15079     wxNotebookSizer 
*arg1 
= (wxNotebookSizer 
*) 0 ; 
15080     wxNotebook 
*result
; 
15081     PyObject 
* obj0 
= 0 ; 
15082     char *kwnames
[] = { 
15083         (char *) "self", NULL 
 
15086     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
; 
15087     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
, 
15088     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15090         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15091         result 
= (wxNotebook 
*)(arg1
)->GetNotebook(); 
15093         wxPyEndAllowThreads(__tstate
); 
15094         if (PyErr_Occurred()) SWIG_fail
; 
15097         resultobj 
= wxPyMake_wxObject(result
);  
15105 static PyObject 
* NotebookSizer_swigregister(PyObject 
*self
, PyObject 
*args
) { 
15107     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
15108     SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
); 
15110     return Py_BuildValue((char *)""); 
15112 static PyObject 
*_wrap_ToolBarToolBase_GetId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15113     PyObject 
*resultobj
; 
15114     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
15116     PyObject 
* obj0 
= 0 ; 
15117     char *kwnames
[] = { 
15118         (char *) "self", NULL 
 
15121     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
; 
15122     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
15123     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15125         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15126         result 
= (int)(arg1
)->GetId(); 
15128         wxPyEndAllowThreads(__tstate
); 
15129         if (PyErr_Occurred()) SWIG_fail
; 
15131     resultobj 
= SWIG_FromInt((int)result
); 
15138 static PyObject 
*_wrap_ToolBarToolBase_GetControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15139     PyObject 
*resultobj
; 
15140     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
15142     PyObject 
* obj0 
= 0 ; 
15143     char *kwnames
[] = { 
15144         (char *) "self", NULL 
 
15147     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
; 
15148     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
15149     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15151         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15152         result 
= (wxControl 
*)(arg1
)->GetControl(); 
15154         wxPyEndAllowThreads(__tstate
); 
15155         if (PyErr_Occurred()) SWIG_fail
; 
15158         resultobj 
= wxPyMake_wxObject(result
);  
15166 static PyObject 
*_wrap_ToolBarToolBase_GetToolBar(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15167     PyObject 
*resultobj
; 
15168     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
15169     wxToolBarBase 
*result
; 
15170     PyObject 
* obj0 
= 0 ; 
15171     char *kwnames
[] = { 
15172         (char *) "self", NULL 
 
15175     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
; 
15176     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
15177     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15179         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15180         result 
= (wxToolBarBase 
*)(arg1
)->GetToolBar(); 
15182         wxPyEndAllowThreads(__tstate
); 
15183         if (PyErr_Occurred()) SWIG_fail
; 
15186         resultobj 
= wxPyMake_wxObject(result
);  
15194 static PyObject 
*_wrap_ToolBarToolBase_IsButton(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15195     PyObject 
*resultobj
; 
15196     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
15198     PyObject 
* obj0 
= 0 ; 
15199     char *kwnames
[] = { 
15200         (char *) "self", NULL 
 
15203     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
; 
15204     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
15205     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15207         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15208         result 
= (int)(arg1
)->IsButton(); 
15210         wxPyEndAllowThreads(__tstate
); 
15211         if (PyErr_Occurred()) SWIG_fail
; 
15213     resultobj 
= SWIG_FromInt((int)result
); 
15220 static PyObject 
*_wrap_ToolBarToolBase_IsControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15221     PyObject 
*resultobj
; 
15222     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
15224     PyObject 
* obj0 
= 0 ; 
15225     char *kwnames
[] = { 
15226         (char *) "self", NULL 
 
15229     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
; 
15230     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
15231     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15233         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15234         result 
= (int)(arg1
)->IsControl(); 
15236         wxPyEndAllowThreads(__tstate
); 
15237         if (PyErr_Occurred()) SWIG_fail
; 
15239     resultobj 
= SWIG_FromInt((int)result
); 
15246 static PyObject 
*_wrap_ToolBarToolBase_IsSeparator(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15247     PyObject 
*resultobj
; 
15248     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
15250     PyObject 
* obj0 
= 0 ; 
15251     char *kwnames
[] = { 
15252         (char *) "self", NULL 
 
15255     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
; 
15256     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
15257     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15259         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15260         result 
= (int)(arg1
)->IsSeparator(); 
15262         wxPyEndAllowThreads(__tstate
); 
15263         if (PyErr_Occurred()) SWIG_fail
; 
15265     resultobj 
= SWIG_FromInt((int)result
); 
15272 static PyObject 
*_wrap_ToolBarToolBase_GetStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15273     PyObject 
*resultobj
; 
15274     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
15276     PyObject 
* obj0 
= 0 ; 
15277     char *kwnames
[] = { 
15278         (char *) "self", NULL 
 
15281     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
; 
15282     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
15283     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15285         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15286         result 
= (int)(arg1
)->GetStyle(); 
15288         wxPyEndAllowThreads(__tstate
); 
15289         if (PyErr_Occurred()) SWIG_fail
; 
15291     resultobj 
= SWIG_FromInt((int)result
); 
15298 static PyObject 
*_wrap_ToolBarToolBase_GetKind(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15299     PyObject 
*resultobj
; 
15300     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
15302     PyObject 
* obj0 
= 0 ; 
15303     char *kwnames
[] = { 
15304         (char *) "self", NULL 
 
15307     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
; 
15308     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
15309     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15311         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15312         result 
= (int)(arg1
)->GetKind(); 
15314         wxPyEndAllowThreads(__tstate
); 
15315         if (PyErr_Occurred()) SWIG_fail
; 
15317     resultobj 
= SWIG_FromInt((int)result
); 
15324 static PyObject 
*_wrap_ToolBarToolBase_IsEnabled(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15325     PyObject 
*resultobj
; 
15326     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
15328     PyObject 
* obj0 
= 0 ; 
15329     char *kwnames
[] = { 
15330         (char *) "self", NULL 
 
15333     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
; 
15334     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
15335     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15337         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15338         result 
= (bool)(arg1
)->IsEnabled(); 
15340         wxPyEndAllowThreads(__tstate
); 
15341         if (PyErr_Occurred()) SWIG_fail
; 
15344         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15352 static PyObject 
*_wrap_ToolBarToolBase_IsToggled(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15353     PyObject 
*resultobj
; 
15354     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
15356     PyObject 
* obj0 
= 0 ; 
15357     char *kwnames
[] = { 
15358         (char *) "self", NULL 
 
15361     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
; 
15362     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
15363     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15365         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15366         result 
= (bool)(arg1
)->IsToggled(); 
15368         wxPyEndAllowThreads(__tstate
); 
15369         if (PyErr_Occurred()) SWIG_fail
; 
15372         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15380 static PyObject 
*_wrap_ToolBarToolBase_CanBeToggled(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15381     PyObject 
*resultobj
; 
15382     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
15384     PyObject 
* obj0 
= 0 ; 
15385     char *kwnames
[] = { 
15386         (char *) "self", NULL 
 
15389     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
; 
15390     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
15391     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15393         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15394         result 
= (bool)(arg1
)->CanBeToggled(); 
15396         wxPyEndAllowThreads(__tstate
); 
15397         if (PyErr_Occurred()) SWIG_fail
; 
15400         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15408 static PyObject 
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15409     PyObject 
*resultobj
; 
15410     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
15412     PyObject 
* obj0 
= 0 ; 
15413     char *kwnames
[] = { 
15414         (char *) "self", NULL 
 
15417     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
; 
15418     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
15419     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15421         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15423             wxBitmap 
const &_result_ref 
= (arg1
)->GetNormalBitmap(); 
15424             result 
= (wxBitmap 
*) &_result_ref
; 
15427         wxPyEndAllowThreads(__tstate
); 
15428         if (PyErr_Occurred()) SWIG_fail
; 
15431         wxBitmap
* resultptr 
= new wxBitmap(*result
); 
15432         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
15440 static PyObject 
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15441     PyObject 
*resultobj
; 
15442     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
15444     PyObject 
* obj0 
= 0 ; 
15445     char *kwnames
[] = { 
15446         (char *) "self", NULL 
 
15449     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
; 
15450     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
15451     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15453         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15455             wxBitmap 
const &_result_ref 
= (arg1
)->GetDisabledBitmap(); 
15456             result 
= (wxBitmap 
*) &_result_ref
; 
15459         wxPyEndAllowThreads(__tstate
); 
15460         if (PyErr_Occurred()) SWIG_fail
; 
15463         wxBitmap
* resultptr 
= new wxBitmap(*result
); 
15464         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
15472 static PyObject 
*_wrap_ToolBarToolBase_GetBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15473     PyObject 
*resultobj
; 
15474     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
15476     PyObject 
* obj0 
= 0 ; 
15477     char *kwnames
[] = { 
15478         (char *) "self", NULL 
 
15481     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
; 
15482     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
15483     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15485         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15486         result 
= (arg1
)->GetBitmap(); 
15488         wxPyEndAllowThreads(__tstate
); 
15489         if (PyErr_Occurred()) SWIG_fail
; 
15492         wxBitmap 
* resultptr
; 
15493         resultptr 
= new wxBitmap((wxBitmap 
&) result
); 
15494         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
15502 static PyObject 
*_wrap_ToolBarToolBase_GetLabel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15503     PyObject 
*resultobj
; 
15504     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
15506     PyObject 
* obj0 
= 0 ; 
15507     char *kwnames
[] = { 
15508         (char *) "self", NULL 
 
15511     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
; 
15512     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
15513     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15515         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15516         result 
= (arg1
)->GetLabel(); 
15518         wxPyEndAllowThreads(__tstate
); 
15519         if (PyErr_Occurred()) SWIG_fail
; 
15523         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
15525         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
15534 static PyObject 
*_wrap_ToolBarToolBase_GetShortHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15535     PyObject 
*resultobj
; 
15536     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
15538     PyObject 
* obj0 
= 0 ; 
15539     char *kwnames
[] = { 
15540         (char *) "self", NULL 
 
15543     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
; 
15544     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
15545     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15547         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15548         result 
= (arg1
)->GetShortHelp(); 
15550         wxPyEndAllowThreads(__tstate
); 
15551         if (PyErr_Occurred()) SWIG_fail
; 
15555         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
15557         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
15566 static PyObject 
*_wrap_ToolBarToolBase_GetLongHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15567     PyObject 
*resultobj
; 
15568     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
15570     PyObject 
* obj0 
= 0 ; 
15571     char *kwnames
[] = { 
15572         (char *) "self", NULL 
 
15575     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
; 
15576     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
15577     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15579         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15580         result 
= (arg1
)->GetLongHelp(); 
15582         wxPyEndAllowThreads(__tstate
); 
15583         if (PyErr_Occurred()) SWIG_fail
; 
15587         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
15589         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
15598 static PyObject 
*_wrap_ToolBarToolBase_Enable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15599     PyObject 
*resultobj
; 
15600     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
15603     PyObject 
* obj0 
= 0 ; 
15604     PyObject 
* obj1 
= 0 ; 
15605     char *kwnames
[] = { 
15606         (char *) "self",(char *) "enable", NULL 
 
15609     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
; 
15610     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
15611     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15612     arg2 
= (bool) SWIG_AsBool(obj1
);  
15613     if (PyErr_Occurred()) SWIG_fail
; 
15615         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15616         result 
= (bool)(arg1
)->Enable(arg2
); 
15618         wxPyEndAllowThreads(__tstate
); 
15619         if (PyErr_Occurred()) SWIG_fail
; 
15622         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15630 static PyObject 
*_wrap_ToolBarToolBase_Toggle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15631     PyObject 
*resultobj
; 
15632     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
15633     PyObject 
* obj0 
= 0 ; 
15634     char *kwnames
[] = { 
15635         (char *) "self", NULL 
 
15638     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
; 
15639     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
15640     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15642         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15645         wxPyEndAllowThreads(__tstate
); 
15646         if (PyErr_Occurred()) SWIG_fail
; 
15648     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15655 static PyObject 
*_wrap_ToolBarToolBase_SetToggle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15656     PyObject 
*resultobj
; 
15657     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
15660     PyObject 
* obj0 
= 0 ; 
15661     PyObject 
* obj1 
= 0 ; 
15662     char *kwnames
[] = { 
15663         (char *) "self",(char *) "toggle", NULL 
 
15666     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
; 
15667     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
15668     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15669     arg2 
= (bool) SWIG_AsBool(obj1
);  
15670     if (PyErr_Occurred()) SWIG_fail
; 
15672         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15673         result 
= (bool)(arg1
)->SetToggle(arg2
); 
15675         wxPyEndAllowThreads(__tstate
); 
15676         if (PyErr_Occurred()) SWIG_fail
; 
15679         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15687 static PyObject 
*_wrap_ToolBarToolBase_SetShortHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15688     PyObject 
*resultobj
; 
15689     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
15690     wxString 
*arg2 
= 0 ; 
15692     bool temp2 
= False 
; 
15693     PyObject 
* obj0 
= 0 ; 
15694     PyObject 
* obj1 
= 0 ; 
15695     char *kwnames
[] = { 
15696         (char *) "self",(char *) "help", NULL 
 
15699     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
; 
15700     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
15701     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15703         arg2 
= wxString_in_helper(obj1
); 
15704         if (arg2 
== NULL
) SWIG_fail
; 
15708         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15709         result 
= (bool)(arg1
)->SetShortHelp((wxString 
const &)*arg2
); 
15711         wxPyEndAllowThreads(__tstate
); 
15712         if (PyErr_Occurred()) SWIG_fail
; 
15715         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15731 static PyObject 
*_wrap_ToolBarToolBase_SetLongHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15732     PyObject 
*resultobj
; 
15733     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
15734     wxString 
*arg2 
= 0 ; 
15736     bool temp2 
= False 
; 
15737     PyObject 
* obj0 
= 0 ; 
15738     PyObject 
* obj1 
= 0 ; 
15739     char *kwnames
[] = { 
15740         (char *) "self",(char *) "help", NULL 
 
15743     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
; 
15744     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
15745     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15747         arg2 
= wxString_in_helper(obj1
); 
15748         if (arg2 
== NULL
) SWIG_fail
; 
15752         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15753         result 
= (bool)(arg1
)->SetLongHelp((wxString 
const &)*arg2
); 
15755         wxPyEndAllowThreads(__tstate
); 
15756         if (PyErr_Occurred()) SWIG_fail
; 
15759         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15775 static PyObject 
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15776     PyObject 
*resultobj
; 
15777     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
15778     wxBitmap 
*arg2 
= 0 ; 
15779     PyObject 
* obj0 
= 0 ; 
15780     PyObject 
* obj1 
= 0 ; 
15781     char *kwnames
[] = { 
15782         (char *) "self",(char *) "bmp", NULL 
 
15785     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
15786     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
15787     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15788     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
15789     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
15791     if (arg2 
== NULL
) { 
15792         PyErr_SetString(PyExc_TypeError
,"null reference"); 
15796         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15797         (arg1
)->SetNormalBitmap((wxBitmap 
const &)*arg2
); 
15799         wxPyEndAllowThreads(__tstate
); 
15800         if (PyErr_Occurred()) SWIG_fail
; 
15802     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15809 static PyObject 
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15810     PyObject 
*resultobj
; 
15811     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
15812     wxBitmap 
*arg2 
= 0 ; 
15813     PyObject 
* obj0 
= 0 ; 
15814     PyObject 
* obj1 
= 0 ; 
15815     char *kwnames
[] = { 
15816         (char *) "self",(char *) "bmp", NULL 
 
15819     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
15820     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
15821     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15822     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
15823     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
15825     if (arg2 
== NULL
) { 
15826         PyErr_SetString(PyExc_TypeError
,"null reference"); 
15830         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15831         (arg1
)->SetDisabledBitmap((wxBitmap 
const &)*arg2
); 
15833         wxPyEndAllowThreads(__tstate
); 
15834         if (PyErr_Occurred()) SWIG_fail
; 
15836     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15843 static PyObject 
*_wrap_ToolBarToolBase_SetLabel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15844     PyObject 
*resultobj
; 
15845     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
15846     wxString 
*arg2 
= 0 ; 
15847     bool temp2 
= False 
; 
15848     PyObject 
* obj0 
= 0 ; 
15849     PyObject 
* obj1 
= 0 ; 
15850     char *kwnames
[] = { 
15851         (char *) "self",(char *) "label", NULL 
 
15854     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
; 
15855     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
15856     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15858         arg2 
= wxString_in_helper(obj1
); 
15859         if (arg2 
== NULL
) SWIG_fail
; 
15863         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15864         (arg1
)->SetLabel((wxString 
const &)*arg2
); 
15866         wxPyEndAllowThreads(__tstate
); 
15867         if (PyErr_Occurred()) SWIG_fail
; 
15869     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15884 static PyObject 
*_wrap_ToolBarToolBase_Detach(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15885     PyObject 
*resultobj
; 
15886     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
15887     PyObject 
* obj0 
= 0 ; 
15888     char *kwnames
[] = { 
15889         (char *) "self", NULL 
 
15892     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
; 
15893     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
15894     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15896         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15899         wxPyEndAllowThreads(__tstate
); 
15900         if (PyErr_Occurred()) SWIG_fail
; 
15902     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15909 static PyObject 
*_wrap_ToolBarToolBase_Attach(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15910     PyObject 
*resultobj
; 
15911     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
15912     wxToolBarBase 
*arg2 
= (wxToolBarBase 
*) 0 ; 
15913     PyObject 
* obj0 
= 0 ; 
15914     PyObject 
* obj1 
= 0 ; 
15915     char *kwnames
[] = { 
15916         (char *) "self",(char *) "tbar", NULL 
 
15919     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
; 
15920     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
15921     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15922     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
, 
15923     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15925         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15926         (arg1
)->Attach(arg2
); 
15928         wxPyEndAllowThreads(__tstate
); 
15929         if (PyErr_Occurred()) SWIG_fail
; 
15931     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15938 static PyObject 
*_wrap_ToolBarToolBase_GetClientData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15939     PyObject 
*resultobj
; 
15940     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
15942     PyObject 
* obj0 
= 0 ; 
15943     char *kwnames
[] = { 
15944         (char *) "self", NULL 
 
15947     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
; 
15948     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
15949     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15951         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15952         result 
= (PyObject 
*)wxToolBarToolBase_GetClientData(arg1
); 
15954         wxPyEndAllowThreads(__tstate
); 
15955         if (PyErr_Occurred()) SWIG_fail
; 
15957     resultobj 
= result
; 
15964 static PyObject 
*_wrap_ToolBarToolBase_SetClientData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15965     PyObject 
*resultobj
; 
15966     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
15967     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
15968     PyObject 
* obj0 
= 0 ; 
15969     PyObject 
* obj1 
= 0 ; 
15970     char *kwnames
[] = { 
15971         (char *) "self",(char *) "clientData", NULL 
 
15974     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
; 
15975     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
, 
15976     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15979         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15980         wxToolBarToolBase_SetClientData(arg1
,arg2
); 
15982         wxPyEndAllowThreads(__tstate
); 
15983         if (PyErr_Occurred()) SWIG_fail
; 
15985     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15992 static PyObject 
* ToolBarToolBase_swigregister(PyObject 
*self
, PyObject 
*args
) { 
15994     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
15995     SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
); 
15997     return Py_BuildValue((char *)""); 
15999 static PyObject 
*_wrap_ToolBarBase_DoAddTool(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16000     PyObject 
*resultobj
; 
16001     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
16003     wxString 
*arg3 
= 0 ; 
16004     wxBitmap 
*arg4 
= 0 ; 
16005     wxBitmap 
const &arg5_defvalue 
= wxNullBitmap 
; 
16006     wxBitmap 
*arg5 
= (wxBitmap 
*) &arg5_defvalue 
; 
16007     int arg6 
= (int) wxITEM_NORMAL 
; 
16008     wxString 
const &arg7_defvalue 
= wxPyEmptyString 
; 
16009     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
16010     wxString 
const &arg8_defvalue 
= wxPyEmptyString 
; 
16011     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
16012     PyObject 
*arg9 
= (PyObject 
*) NULL 
; 
16013     wxToolBarToolBase 
*result
; 
16014     bool temp3 
= False 
; 
16015     bool temp7 
= False 
; 
16016     bool temp8 
= False 
; 
16017     PyObject 
* obj0 
= 0 ; 
16018     PyObject 
* obj1 
= 0 ; 
16019     PyObject 
* obj2 
= 0 ; 
16020     PyObject 
* obj3 
= 0 ; 
16021     PyObject 
* obj4 
= 0 ; 
16022     PyObject 
* obj5 
= 0 ; 
16023     PyObject 
* obj6 
= 0 ; 
16024     PyObject 
* obj7 
= 0 ; 
16025     PyObject 
* obj8 
= 0 ; 
16026     char *kwnames
[] = { 
16027         (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL 
 
16030     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
16031     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
16032     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16033     arg2 
= (int) SWIG_AsInt(obj1
);  
16034     if (PyErr_Occurred()) SWIG_fail
; 
16036         arg3 
= wxString_in_helper(obj2
); 
16037         if (arg3 
== NULL
) SWIG_fail
; 
16040     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
, 
16041     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
16043     if (arg4 
== NULL
) { 
16044         PyErr_SetString(PyExc_TypeError
,"null reference"); 
16048         if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
, 
16049         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
16051         if (arg5 
== NULL
) { 
16052             PyErr_SetString(PyExc_TypeError
,"null reference"); 
16057         arg6 
= (wxItemKind
) SWIG_AsInt(obj5
);  
16058         if (PyErr_Occurred()) SWIG_fail
; 
16062             arg7 
= wxString_in_helper(obj6
); 
16063             if (arg7 
== NULL
) SWIG_fail
; 
16069             arg8 
= wxString_in_helper(obj7
); 
16070             if (arg8 
== NULL
) SWIG_fail
; 
16078         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16079         result 
= (wxToolBarToolBase 
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString 
const &)*arg3
,(wxBitmap 
const &)*arg4
,(wxBitmap 
const &)*arg5
,(wxItemKind 
)arg6
,(wxString 
const &)*arg7
,(wxString 
const &)*arg8
,arg9
); 
16081         wxPyEndAllowThreads(__tstate
); 
16082         if (PyErr_Occurred()) SWIG_fail
; 
16085         resultobj 
= wxPyMake_wxObject(result
);  
16117 static PyObject 
*_wrap_ToolBarBase_DoInsertTool(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16118     PyObject 
*resultobj
; 
16119     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
16122     wxString 
*arg4 
= 0 ; 
16123     wxBitmap 
*arg5 
= 0 ; 
16124     wxBitmap 
const &arg6_defvalue 
= wxNullBitmap 
; 
16125     wxBitmap 
*arg6 
= (wxBitmap 
*) &arg6_defvalue 
; 
16126     int arg7 
= (int) wxITEM_NORMAL 
; 
16127     wxString 
const &arg8_defvalue 
= wxPyEmptyString 
; 
16128     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
16129     wxString 
const &arg9_defvalue 
= wxPyEmptyString 
; 
16130     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
16131     PyObject 
*arg10 
= (PyObject 
*) NULL 
; 
16132     wxToolBarToolBase 
*result
; 
16133     bool temp4 
= False 
; 
16134     bool temp8 
= False 
; 
16135     bool temp9 
= False 
; 
16136     PyObject 
* obj0 
= 0 ; 
16137     PyObject 
* obj1 
= 0 ; 
16138     PyObject 
* obj2 
= 0 ; 
16139     PyObject 
* obj3 
= 0 ; 
16140     PyObject 
* obj4 
= 0 ; 
16141     PyObject 
* obj5 
= 0 ; 
16142     PyObject 
* obj6 
= 0 ; 
16143     PyObject 
* obj7 
= 0 ; 
16144     PyObject 
* obj8 
= 0 ; 
16145     PyObject 
* obj9 
= 0 ; 
16146     char *kwnames
[] = { 
16147         (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL 
 
16150     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
; 
16151     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
16152     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16153     arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
16154     if (PyErr_Occurred()) SWIG_fail
; 
16155     arg3 
= (int) SWIG_AsInt(obj2
);  
16156     if (PyErr_Occurred()) SWIG_fail
; 
16158         arg4 
= wxString_in_helper(obj3
); 
16159         if (arg4 
== NULL
) SWIG_fail
; 
16162     if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
, 
16163     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
16165     if (arg5 
== NULL
) { 
16166         PyErr_SetString(PyExc_TypeError
,"null reference"); 
16170         if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
, 
16171         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
16173         if (arg6 
== NULL
) { 
16174             PyErr_SetString(PyExc_TypeError
,"null reference"); 
16179         arg7 
= (wxItemKind
) SWIG_AsInt(obj6
);  
16180         if (PyErr_Occurred()) SWIG_fail
; 
16184             arg8 
= wxString_in_helper(obj7
); 
16185             if (arg8 
== NULL
) SWIG_fail
; 
16191             arg9 
= wxString_in_helper(obj8
); 
16192             if (arg9 
== NULL
) SWIG_fail
; 
16200         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16201         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
); 
16203         wxPyEndAllowThreads(__tstate
); 
16204         if (PyErr_Occurred()) SWIG_fail
; 
16207         resultobj 
= wxPyMake_wxObject(result
);  
16239 static PyObject 
*_wrap_ToolBarBase_AddToolItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16240     PyObject 
*resultobj
; 
16241     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
16242     wxToolBarToolBase 
*arg2 
= (wxToolBarToolBase 
*) 0 ; 
16243     wxToolBarToolBase 
*result
; 
16244     PyObject 
* obj0 
= 0 ; 
16245     PyObject 
* obj1 
= 0 ; 
16246     char *kwnames
[] = { 
16247         (char *) "self",(char *) "tool", NULL 
 
16250     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
16251     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
16252     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16253     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
, 
16254     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16256         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16257         result 
= (wxToolBarToolBase 
*)(arg1
)->AddTool(arg2
); 
16259         wxPyEndAllowThreads(__tstate
); 
16260         if (PyErr_Occurred()) SWIG_fail
; 
16263         resultobj 
= wxPyMake_wxObject(result
);  
16271 static PyObject 
*_wrap_ToolBarBase_InsertToolItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16272     PyObject 
*resultobj
; 
16273     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
16275     wxToolBarToolBase 
*arg3 
= (wxToolBarToolBase 
*) 0 ; 
16276     wxToolBarToolBase 
*result
; 
16277     PyObject 
* obj0 
= 0 ; 
16278     PyObject 
* obj1 
= 0 ; 
16279     PyObject 
* obj2 
= 0 ; 
16280     char *kwnames
[] = { 
16281         (char *) "self",(char *) "pos",(char *) "tool", NULL 
 
16284     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
16285     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
16286     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16287     arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
16288     if (PyErr_Occurred()) SWIG_fail
; 
16289     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
, 
16290     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16292         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16293         result 
= (wxToolBarToolBase 
*)(arg1
)->InsertTool(arg2
,arg3
); 
16295         wxPyEndAllowThreads(__tstate
); 
16296         if (PyErr_Occurred()) SWIG_fail
; 
16299         resultobj 
= wxPyMake_wxObject(result
);  
16307 static PyObject 
*_wrap_ToolBarBase_AddControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16308     PyObject 
*resultobj
; 
16309     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
16310     wxControl 
*arg2 
= (wxControl 
*) 0 ; 
16311     wxToolBarToolBase 
*result
; 
16312     PyObject 
* obj0 
= 0 ; 
16313     PyObject 
* obj1 
= 0 ; 
16314     char *kwnames
[] = { 
16315         (char *) "self",(char *) "control", NULL 
 
16318     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
; 
16319     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
16320     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16321     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
, 
16322     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16324         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16325         result 
= (wxToolBarToolBase 
*)(arg1
)->AddControl(arg2
); 
16327         wxPyEndAllowThreads(__tstate
); 
16328         if (PyErr_Occurred()) SWIG_fail
; 
16331         resultobj 
= wxPyMake_wxObject(result
);  
16339 static PyObject 
*_wrap_ToolBarBase_InsertControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16340     PyObject 
*resultobj
; 
16341     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
16343     wxControl 
*arg3 
= (wxControl 
*) 0 ; 
16344     wxToolBarToolBase 
*result
; 
16345     PyObject 
* obj0 
= 0 ; 
16346     PyObject 
* obj1 
= 0 ; 
16347     PyObject 
* obj2 
= 0 ; 
16348     char *kwnames
[] = { 
16349         (char *) "self",(char *) "pos",(char *) "control", NULL 
 
16352     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
16353     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
16354     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16355     arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
16356     if (PyErr_Occurred()) SWIG_fail
; 
16357     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
, 
16358     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16360         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16361         result 
= (wxToolBarToolBase 
*)(arg1
)->InsertControl(arg2
,arg3
); 
16363         wxPyEndAllowThreads(__tstate
); 
16364         if (PyErr_Occurred()) SWIG_fail
; 
16367         resultobj 
= wxPyMake_wxObject(result
);  
16375 static PyObject 
*_wrap_ToolBarBase_FindControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16376     PyObject 
*resultobj
; 
16377     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
16380     PyObject 
* obj0 
= 0 ; 
16381     PyObject 
* obj1 
= 0 ; 
16382     char *kwnames
[] = { 
16383         (char *) "self",(char *) "id", NULL 
 
16386     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
; 
16387     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
16388     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16389     arg2 
= (int) SWIG_AsInt(obj1
);  
16390     if (PyErr_Occurred()) SWIG_fail
; 
16392         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16393         result 
= (wxControl 
*)(arg1
)->FindControl(arg2
); 
16395         wxPyEndAllowThreads(__tstate
); 
16396         if (PyErr_Occurred()) SWIG_fail
; 
16399         resultobj 
= wxPyMake_wxObject(result
);  
16407 static PyObject 
*_wrap_ToolBarBase_AddSeparator(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16408     PyObject 
*resultobj
; 
16409     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
16410     wxToolBarToolBase 
*result
; 
16411     PyObject 
* obj0 
= 0 ; 
16412     char *kwnames
[] = { 
16413         (char *) "self", NULL 
 
16416     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
; 
16417     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
16418     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16420         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16421         result 
= (wxToolBarToolBase 
*)(arg1
)->AddSeparator(); 
16423         wxPyEndAllowThreads(__tstate
); 
16424         if (PyErr_Occurred()) SWIG_fail
; 
16427         resultobj 
= wxPyMake_wxObject(result
);  
16435 static PyObject 
*_wrap_ToolBarBase_InsertSeparator(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16436     PyObject 
*resultobj
; 
16437     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
16439     wxToolBarToolBase 
*result
; 
16440     PyObject 
* obj0 
= 0 ; 
16441     PyObject 
* obj1 
= 0 ; 
16442     char *kwnames
[] = { 
16443         (char *) "self",(char *) "pos", NULL 
 
16446     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
; 
16447     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
16448     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16449     arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
16450     if (PyErr_Occurred()) SWIG_fail
; 
16452         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16453         result 
= (wxToolBarToolBase 
*)(arg1
)->InsertSeparator(arg2
); 
16455         wxPyEndAllowThreads(__tstate
); 
16456         if (PyErr_Occurred()) SWIG_fail
; 
16459         resultobj 
= wxPyMake_wxObject(result
);  
16467 static PyObject 
*_wrap_ToolBarBase_RemoveTool(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16468     PyObject 
*resultobj
; 
16469     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
16471     wxToolBarToolBase 
*result
; 
16472     PyObject 
* obj0 
= 0 ; 
16473     PyObject 
* obj1 
= 0 ; 
16474     char *kwnames
[] = { 
16475         (char *) "self",(char *) "id", NULL 
 
16478     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
; 
16479     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
16480     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16481     arg2 
= (int) SWIG_AsInt(obj1
);  
16482     if (PyErr_Occurred()) SWIG_fail
; 
16484         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16485         result 
= (wxToolBarToolBase 
*)(arg1
)->RemoveTool(arg2
); 
16487         wxPyEndAllowThreads(__tstate
); 
16488         if (PyErr_Occurred()) SWIG_fail
; 
16491         resultobj 
= wxPyMake_wxObject(result
);  
16499 static PyObject 
*_wrap_ToolBarBase_DeleteToolByPos(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16500     PyObject 
*resultobj
; 
16501     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
16504     PyObject 
* obj0 
= 0 ; 
16505     PyObject 
* obj1 
= 0 ; 
16506     char *kwnames
[] = { 
16507         (char *) "self",(char *) "pos", NULL 
 
16510     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
; 
16511     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
16512     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16513     arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
16514     if (PyErr_Occurred()) SWIG_fail
; 
16516         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16517         result 
= (bool)(arg1
)->DeleteToolByPos(arg2
); 
16519         wxPyEndAllowThreads(__tstate
); 
16520         if (PyErr_Occurred()) SWIG_fail
; 
16523         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16531 static PyObject 
*_wrap_ToolBarBase_DeleteTool(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16532     PyObject 
*resultobj
; 
16533     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
16536     PyObject 
* obj0 
= 0 ; 
16537     PyObject 
* obj1 
= 0 ; 
16538     char *kwnames
[] = { 
16539         (char *) "self",(char *) "id", NULL 
 
16542     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
; 
16543     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
16544     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16545     arg2 
= (int) SWIG_AsInt(obj1
);  
16546     if (PyErr_Occurred()) SWIG_fail
; 
16548         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16549         result 
= (bool)(arg1
)->DeleteTool(arg2
); 
16551         wxPyEndAllowThreads(__tstate
); 
16552         if (PyErr_Occurred()) SWIG_fail
; 
16555         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16563 static PyObject 
*_wrap_ToolBarBase_ClearTools(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16564     PyObject 
*resultobj
; 
16565     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
16566     PyObject 
* obj0 
= 0 ; 
16567     char *kwnames
[] = { 
16568         (char *) "self", NULL 
 
16571     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
; 
16572     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
16573     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16575         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16576         (arg1
)->ClearTools(); 
16578         wxPyEndAllowThreads(__tstate
); 
16579         if (PyErr_Occurred()) SWIG_fail
; 
16581     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16588 static PyObject 
*_wrap_ToolBarBase_Realize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16589     PyObject 
*resultobj
; 
16590     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
16592     PyObject 
* obj0 
= 0 ; 
16593     char *kwnames
[] = { 
16594         (char *) "self", NULL 
 
16597     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
; 
16598     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
16599     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16601         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16602         result 
= (bool)(arg1
)->Realize(); 
16604         wxPyEndAllowThreads(__tstate
); 
16605         if (PyErr_Occurred()) SWIG_fail
; 
16608         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16616 static PyObject 
*_wrap_ToolBarBase_EnableTool(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16617     PyObject 
*resultobj
; 
16618     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
16621     PyObject 
* obj0 
= 0 ; 
16622     PyObject 
* obj1 
= 0 ; 
16623     PyObject 
* obj2 
= 0 ; 
16624     char *kwnames
[] = { 
16625         (char *) "self",(char *) "id",(char *) "enable", NULL 
 
16628     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
16629     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
16630     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16631     arg2 
= (int) SWIG_AsInt(obj1
);  
16632     if (PyErr_Occurred()) SWIG_fail
; 
16633     arg3 
= (bool) SWIG_AsBool(obj2
);  
16634     if (PyErr_Occurred()) SWIG_fail
; 
16636         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16637         (arg1
)->EnableTool(arg2
,arg3
); 
16639         wxPyEndAllowThreads(__tstate
); 
16640         if (PyErr_Occurred()) SWIG_fail
; 
16642     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16649 static PyObject 
*_wrap_ToolBarBase_ToggleTool(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16650     PyObject 
*resultobj
; 
16651     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
16654     PyObject 
* obj0 
= 0 ; 
16655     PyObject 
* obj1 
= 0 ; 
16656     PyObject 
* obj2 
= 0 ; 
16657     char *kwnames
[] = { 
16658         (char *) "self",(char *) "id",(char *) "toggle", NULL 
 
16661     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
16662     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
16663     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16664     arg2 
= (int) SWIG_AsInt(obj1
);  
16665     if (PyErr_Occurred()) SWIG_fail
; 
16666     arg3 
= (bool) SWIG_AsBool(obj2
);  
16667     if (PyErr_Occurred()) SWIG_fail
; 
16669         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16670         (arg1
)->ToggleTool(arg2
,arg3
); 
16672         wxPyEndAllowThreads(__tstate
); 
16673         if (PyErr_Occurred()) SWIG_fail
; 
16675     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16682 static PyObject 
*_wrap_ToolBarBase_SetToggle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16683     PyObject 
*resultobj
; 
16684     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
16687     PyObject 
* obj0 
= 0 ; 
16688     PyObject 
* obj1 
= 0 ; 
16689     PyObject 
* obj2 
= 0 ; 
16690     char *kwnames
[] = { 
16691         (char *) "self",(char *) "id",(char *) "toggle", NULL 
 
16694     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
16695     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
16696     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16697     arg2 
= (int) SWIG_AsInt(obj1
);  
16698     if (PyErr_Occurred()) SWIG_fail
; 
16699     arg3 
= (bool) SWIG_AsBool(obj2
);  
16700     if (PyErr_Occurred()) SWIG_fail
; 
16702         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16703         (arg1
)->SetToggle(arg2
,arg3
); 
16705         wxPyEndAllowThreads(__tstate
); 
16706         if (PyErr_Occurred()) SWIG_fail
; 
16708     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16715 static PyObject 
*_wrap_ToolBarBase_GetToolClientData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16716     PyObject 
*resultobj
; 
16717     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
16720     PyObject 
* obj0 
= 0 ; 
16721     PyObject 
* obj1 
= 0 ; 
16722     char *kwnames
[] = { 
16723         (char *) "self",(char *) "id", NULL 
 
16726     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
; 
16727     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
16728     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16729     arg2 
= (int) SWIG_AsInt(obj1
);  
16730     if (PyErr_Occurred()) SWIG_fail
; 
16732         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16733         result 
= (PyObject 
*)wxToolBarBase_GetToolClientData(arg1
,arg2
); 
16735         wxPyEndAllowThreads(__tstate
); 
16736         if (PyErr_Occurred()) SWIG_fail
; 
16738     resultobj 
= result
; 
16745 static PyObject 
*_wrap_ToolBarBase_SetToolClientData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16746     PyObject 
*resultobj
; 
16747     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
16749     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
16750     PyObject 
* obj0 
= 0 ; 
16751     PyObject 
* obj1 
= 0 ; 
16752     PyObject 
* obj2 
= 0 ; 
16753     char *kwnames
[] = { 
16754         (char *) "self",(char *) "id",(char *) "clientData", NULL 
 
16757     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
16758     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
16759     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16760     arg2 
= (int) SWIG_AsInt(obj1
);  
16761     if (PyErr_Occurred()) SWIG_fail
; 
16764         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16765         wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
); 
16767         wxPyEndAllowThreads(__tstate
); 
16768         if (PyErr_Occurred()) SWIG_fail
; 
16770     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16777 static PyObject 
*_wrap_ToolBarBase_GetToolPos(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16778     PyObject 
*resultobj
; 
16779     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
16782     PyObject 
* obj0 
= 0 ; 
16783     PyObject 
* obj1 
= 0 ; 
16784     char *kwnames
[] = { 
16785         (char *) "self",(char *) "id", NULL 
 
16788     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
; 
16789     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
16790     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16791     arg2 
= (int) SWIG_AsInt(obj1
);  
16792     if (PyErr_Occurred()) SWIG_fail
; 
16794         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16795         result 
= (int)((wxToolBarBase 
const *)arg1
)->GetToolPos(arg2
); 
16797         wxPyEndAllowThreads(__tstate
); 
16798         if (PyErr_Occurred()) SWIG_fail
; 
16800     resultobj 
= SWIG_FromInt((int)result
); 
16807 static PyObject 
*_wrap_ToolBarBase_GetToolState(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16808     PyObject 
*resultobj
; 
16809     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
16812     PyObject 
* obj0 
= 0 ; 
16813     PyObject 
* obj1 
= 0 ; 
16814     char *kwnames
[] = { 
16815         (char *) "self",(char *) "id", NULL 
 
16818     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
; 
16819     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
16820     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16821     arg2 
= (int) SWIG_AsInt(obj1
);  
16822     if (PyErr_Occurred()) SWIG_fail
; 
16824         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16825         result 
= (bool)(arg1
)->GetToolState(arg2
); 
16827         wxPyEndAllowThreads(__tstate
); 
16828         if (PyErr_Occurred()) SWIG_fail
; 
16831         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16839 static PyObject 
*_wrap_ToolBarBase_GetToolEnabled(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16840     PyObject 
*resultobj
; 
16841     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
16844     PyObject 
* obj0 
= 0 ; 
16845     PyObject 
* obj1 
= 0 ; 
16846     char *kwnames
[] = { 
16847         (char *) "self",(char *) "id", NULL 
 
16850     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
; 
16851     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
16852     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16853     arg2 
= (int) SWIG_AsInt(obj1
);  
16854     if (PyErr_Occurred()) SWIG_fail
; 
16856         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16857         result 
= (bool)(arg1
)->GetToolEnabled(arg2
); 
16859         wxPyEndAllowThreads(__tstate
); 
16860         if (PyErr_Occurred()) SWIG_fail
; 
16863         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16871 static PyObject 
*_wrap_ToolBarBase_SetToolShortHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16872     PyObject 
*resultobj
; 
16873     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
16875     wxString 
*arg3 
= 0 ; 
16876     bool temp3 
= False 
; 
16877     PyObject 
* obj0 
= 0 ; 
16878     PyObject 
* obj1 
= 0 ; 
16879     PyObject 
* obj2 
= 0 ; 
16880     char *kwnames
[] = { 
16881         (char *) "self",(char *) "id",(char *) "helpString", NULL 
 
16884     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
16885     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
16886     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16887     arg2 
= (int) SWIG_AsInt(obj1
);  
16888     if (PyErr_Occurred()) SWIG_fail
; 
16890         arg3 
= wxString_in_helper(obj2
); 
16891         if (arg3 
== NULL
) SWIG_fail
; 
16895         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16896         (arg1
)->SetToolShortHelp(arg2
,(wxString 
const &)*arg3
); 
16898         wxPyEndAllowThreads(__tstate
); 
16899         if (PyErr_Occurred()) SWIG_fail
; 
16901     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16916 static PyObject 
*_wrap_ToolBarBase_GetToolShortHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16917     PyObject 
*resultobj
; 
16918     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
16921     PyObject 
* obj0 
= 0 ; 
16922     PyObject 
* obj1 
= 0 ; 
16923     char *kwnames
[] = { 
16924         (char *) "self",(char *) "id", NULL 
 
16927     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
; 
16928     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
16929     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16930     arg2 
= (int) SWIG_AsInt(obj1
);  
16931     if (PyErr_Occurred()) SWIG_fail
; 
16933         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16934         result 
= (arg1
)->GetToolShortHelp(arg2
); 
16936         wxPyEndAllowThreads(__tstate
); 
16937         if (PyErr_Occurred()) SWIG_fail
; 
16941         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
16943         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
16952 static PyObject 
*_wrap_ToolBarBase_SetToolLongHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16953     PyObject 
*resultobj
; 
16954     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
16956     wxString 
*arg3 
= 0 ; 
16957     bool temp3 
= False 
; 
16958     PyObject 
* obj0 
= 0 ; 
16959     PyObject 
* obj1 
= 0 ; 
16960     PyObject 
* obj2 
= 0 ; 
16961     char *kwnames
[] = { 
16962         (char *) "self",(char *) "id",(char *) "helpString", NULL 
 
16965     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
16966     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
16967     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16968     arg2 
= (int) SWIG_AsInt(obj1
);  
16969     if (PyErr_Occurred()) SWIG_fail
; 
16971         arg3 
= wxString_in_helper(obj2
); 
16972         if (arg3 
== NULL
) SWIG_fail
; 
16976         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16977         (arg1
)->SetToolLongHelp(arg2
,(wxString 
const &)*arg3
); 
16979         wxPyEndAllowThreads(__tstate
); 
16980         if (PyErr_Occurred()) SWIG_fail
; 
16982     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16997 static PyObject 
*_wrap_ToolBarBase_GetToolLongHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16998     PyObject 
*resultobj
; 
16999     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17002     PyObject 
* obj0 
= 0 ; 
17003     PyObject 
* obj1 
= 0 ; 
17004     char *kwnames
[] = { 
17005         (char *) "self",(char *) "id", NULL 
 
17008     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
; 
17009     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17010     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17011     arg2 
= (int) SWIG_AsInt(obj1
);  
17012     if (PyErr_Occurred()) SWIG_fail
; 
17014         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17015         result 
= (arg1
)->GetToolLongHelp(arg2
); 
17017         wxPyEndAllowThreads(__tstate
); 
17018         if (PyErr_Occurred()) SWIG_fail
; 
17022         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
17024         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
17033 static PyObject 
*_wrap_ToolBarBase_SetMarginsXY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17034     PyObject 
*resultobj
; 
17035     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17038     PyObject 
* obj0 
= 0 ; 
17039     PyObject 
* obj1 
= 0 ; 
17040     PyObject 
* obj2 
= 0 ; 
17041     char *kwnames
[] = { 
17042         (char *) "self",(char *) "x",(char *) "y", NULL 
 
17045     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
17046     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17047     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17048     arg2 
= (int) SWIG_AsInt(obj1
);  
17049     if (PyErr_Occurred()) SWIG_fail
; 
17050     arg3 
= (int) SWIG_AsInt(obj2
);  
17051     if (PyErr_Occurred()) SWIG_fail
; 
17053         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17054         (arg1
)->SetMargins(arg2
,arg3
); 
17056         wxPyEndAllowThreads(__tstate
); 
17057         if (PyErr_Occurred()) SWIG_fail
; 
17059     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17066 static PyObject 
*_wrap_ToolBarBase_SetMargins(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17067     PyObject 
*resultobj
; 
17068     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17071     PyObject 
* obj0 
= 0 ; 
17072     PyObject 
* obj1 
= 0 ; 
17073     char *kwnames
[] = { 
17074         (char *) "self",(char *) "size", NULL 
 
17077     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
; 
17078     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17079     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17082         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
17085         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17086         (arg1
)->SetMargins((wxSize 
const &)*arg2
); 
17088         wxPyEndAllowThreads(__tstate
); 
17089         if (PyErr_Occurred()) SWIG_fail
; 
17091     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17098 static PyObject 
*_wrap_ToolBarBase_SetToolPacking(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17099     PyObject 
*resultobj
; 
17100     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17102     PyObject 
* obj0 
= 0 ; 
17103     PyObject 
* obj1 
= 0 ; 
17104     char *kwnames
[] = { 
17105         (char *) "self",(char *) "packing", NULL 
 
17108     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
; 
17109     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17110     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17111     arg2 
= (int) SWIG_AsInt(obj1
);  
17112     if (PyErr_Occurred()) SWIG_fail
; 
17114         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17115         (arg1
)->SetToolPacking(arg2
); 
17117         wxPyEndAllowThreads(__tstate
); 
17118         if (PyErr_Occurred()) SWIG_fail
; 
17120     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17127 static PyObject 
*_wrap_ToolBarBase_SetToolSeparation(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17128     PyObject 
*resultobj
; 
17129     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17131     PyObject 
* obj0 
= 0 ; 
17132     PyObject 
* obj1 
= 0 ; 
17133     char *kwnames
[] = { 
17134         (char *) "self",(char *) "separation", NULL 
 
17137     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
; 
17138     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17139     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17140     arg2 
= (int) SWIG_AsInt(obj1
);  
17141     if (PyErr_Occurred()) SWIG_fail
; 
17143         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17144         (arg1
)->SetToolSeparation(arg2
); 
17146         wxPyEndAllowThreads(__tstate
); 
17147         if (PyErr_Occurred()) SWIG_fail
; 
17149     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17156 static PyObject 
*_wrap_ToolBarBase_GetToolMargins(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17157     PyObject 
*resultobj
; 
17158     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17160     PyObject 
* obj0 
= 0 ; 
17161     char *kwnames
[] = { 
17162         (char *) "self", NULL 
 
17165     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
; 
17166     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17167     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17169         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17170         result 
= (arg1
)->GetToolMargins(); 
17172         wxPyEndAllowThreads(__tstate
); 
17173         if (PyErr_Occurred()) SWIG_fail
; 
17176         wxSize 
* resultptr
; 
17177         resultptr 
= new wxSize((wxSize 
&) result
); 
17178         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
17186 static PyObject 
*_wrap_ToolBarBase_GetMargins(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17187     PyObject 
*resultobj
; 
17188     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17190     PyObject 
* obj0 
= 0 ; 
17191     char *kwnames
[] = { 
17192         (char *) "self", NULL 
 
17195     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
; 
17196     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17197     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17199         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17200         result 
= (arg1
)->GetMargins(); 
17202         wxPyEndAllowThreads(__tstate
); 
17203         if (PyErr_Occurred()) SWIG_fail
; 
17206         wxSize 
* resultptr
; 
17207         resultptr 
= new wxSize((wxSize 
&) result
); 
17208         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
17216 static PyObject 
*_wrap_ToolBarBase_GetToolPacking(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17217     PyObject 
*resultobj
; 
17218     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17220     PyObject 
* obj0 
= 0 ; 
17221     char *kwnames
[] = { 
17222         (char *) "self", NULL 
 
17225     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
; 
17226     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17227     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17229         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17230         result 
= (int)(arg1
)->GetToolPacking(); 
17232         wxPyEndAllowThreads(__tstate
); 
17233         if (PyErr_Occurred()) SWIG_fail
; 
17235     resultobj 
= SWIG_FromInt((int)result
); 
17242 static PyObject 
*_wrap_ToolBarBase_GetToolSeparation(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17243     PyObject 
*resultobj
; 
17244     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17246     PyObject 
* obj0 
= 0 ; 
17247     char *kwnames
[] = { 
17248         (char *) "self", NULL 
 
17251     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
; 
17252     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17253     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17255         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17256         result 
= (int)(arg1
)->GetToolSeparation(); 
17258         wxPyEndAllowThreads(__tstate
); 
17259         if (PyErr_Occurred()) SWIG_fail
; 
17261     resultobj 
= SWIG_FromInt((int)result
); 
17268 static PyObject 
*_wrap_ToolBarBase_SetRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17269     PyObject 
*resultobj
; 
17270     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17272     PyObject 
* obj0 
= 0 ; 
17273     PyObject 
* obj1 
= 0 ; 
17274     char *kwnames
[] = { 
17275         (char *) "self",(char *) "nRows", NULL 
 
17278     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
; 
17279     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17280     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17281     arg2 
= (int) SWIG_AsInt(obj1
);  
17282     if (PyErr_Occurred()) SWIG_fail
; 
17284         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17285         (arg1
)->SetRows(arg2
); 
17287         wxPyEndAllowThreads(__tstate
); 
17288         if (PyErr_Occurred()) SWIG_fail
; 
17290     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17297 static PyObject 
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17298     PyObject 
*resultobj
; 
17299     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17302     PyObject 
* obj0 
= 0 ; 
17303     PyObject 
* obj1 
= 0 ; 
17304     PyObject 
* obj2 
= 0 ; 
17305     char *kwnames
[] = { 
17306         (char *) "self",(char *) "rows",(char *) "cols", NULL 
 
17309     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
17310     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17311     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17312     arg2 
= (int) SWIG_AsInt(obj1
);  
17313     if (PyErr_Occurred()) SWIG_fail
; 
17314     arg3 
= (int) SWIG_AsInt(obj2
);  
17315     if (PyErr_Occurred()) SWIG_fail
; 
17317         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17318         (arg1
)->SetMaxRowsCols(arg2
,arg3
); 
17320         wxPyEndAllowThreads(__tstate
); 
17321         if (PyErr_Occurred()) SWIG_fail
; 
17323     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17330 static PyObject 
*_wrap_ToolBarBase_GetMaxRows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17331     PyObject 
*resultobj
; 
17332     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17334     PyObject 
* obj0 
= 0 ; 
17335     char *kwnames
[] = { 
17336         (char *) "self", NULL 
 
17339     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
; 
17340     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17341     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17343         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17344         result 
= (int)(arg1
)->GetMaxRows(); 
17346         wxPyEndAllowThreads(__tstate
); 
17347         if (PyErr_Occurred()) SWIG_fail
; 
17349     resultobj 
= SWIG_FromInt((int)result
); 
17356 static PyObject 
*_wrap_ToolBarBase_GetMaxCols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17357     PyObject 
*resultobj
; 
17358     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17360     PyObject 
* obj0 
= 0 ; 
17361     char *kwnames
[] = { 
17362         (char *) "self", NULL 
 
17365     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
; 
17366     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17367     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17369         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17370         result 
= (int)(arg1
)->GetMaxCols(); 
17372         wxPyEndAllowThreads(__tstate
); 
17373         if (PyErr_Occurred()) SWIG_fail
; 
17375     resultobj 
= SWIG_FromInt((int)result
); 
17382 static PyObject 
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17383     PyObject 
*resultobj
; 
17384     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17387     PyObject 
* obj0 
= 0 ; 
17388     PyObject 
* obj1 
= 0 ; 
17389     char *kwnames
[] = { 
17390         (char *) "self",(char *) "size", NULL 
 
17393     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
17394     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17395     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17398         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
17401         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17402         (arg1
)->SetToolBitmapSize((wxSize 
const &)*arg2
); 
17404         wxPyEndAllowThreads(__tstate
); 
17405         if (PyErr_Occurred()) SWIG_fail
; 
17407     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17414 static PyObject 
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17415     PyObject 
*resultobj
; 
17416     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17418     PyObject 
* obj0 
= 0 ; 
17419     char *kwnames
[] = { 
17420         (char *) "self", NULL 
 
17423     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
; 
17424     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17425     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17427         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17428         result 
= (arg1
)->GetToolBitmapSize(); 
17430         wxPyEndAllowThreads(__tstate
); 
17431         if (PyErr_Occurred()) SWIG_fail
; 
17434         wxSize 
* resultptr
; 
17435         resultptr 
= new wxSize((wxSize 
&) result
); 
17436         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
17444 static PyObject 
*_wrap_ToolBarBase_GetToolSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17445     PyObject 
*resultobj
; 
17446     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17448     PyObject 
* obj0 
= 0 ; 
17449     char *kwnames
[] = { 
17450         (char *) "self", NULL 
 
17453     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
; 
17454     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17455     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17457         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17458         result 
= (arg1
)->GetToolSize(); 
17460         wxPyEndAllowThreads(__tstate
); 
17461         if (PyErr_Occurred()) SWIG_fail
; 
17464         wxSize 
* resultptr
; 
17465         resultptr 
= new wxSize((wxSize 
&) result
); 
17466         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
17474 static PyObject 
*_wrap_ToolBarBase_FindToolForPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17475     PyObject 
*resultobj
; 
17476     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17479     wxToolBarToolBase 
*result
; 
17480     PyObject 
* obj0 
= 0 ; 
17481     PyObject 
* obj1 
= 0 ; 
17482     PyObject 
* obj2 
= 0 ; 
17483     char *kwnames
[] = { 
17484         (char *) "self",(char *) "x",(char *) "y", NULL 
 
17487     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
17488     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17489     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17490     arg2 
= (int) SWIG_AsInt(obj1
);  
17491     if (PyErr_Occurred()) SWIG_fail
; 
17492     arg3 
= (int) SWIG_AsInt(obj2
);  
17493     if (PyErr_Occurred()) SWIG_fail
; 
17495         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17496         result 
= (wxToolBarToolBase 
*)(arg1
)->FindToolForPosition(arg2
,arg3
); 
17498         wxPyEndAllowThreads(__tstate
); 
17499         if (PyErr_Occurred()) SWIG_fail
; 
17502         resultobj 
= wxPyMake_wxObject(result
);  
17510 static PyObject 
*_wrap_ToolBarBase_FindById(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17511     PyObject 
*resultobj
; 
17512     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17514     wxToolBarToolBase 
*result
; 
17515     PyObject 
* obj0 
= 0 ; 
17516     PyObject 
* obj1 
= 0 ; 
17517     char *kwnames
[] = { 
17518         (char *) "self",(char *) "toolid", NULL 
 
17521     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
; 
17522     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17523     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17524     arg2 
= (int) SWIG_AsInt(obj1
);  
17525     if (PyErr_Occurred()) SWIG_fail
; 
17527         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17528         result 
= (wxToolBarToolBase 
*)((wxToolBarBase 
const *)arg1
)->FindById(arg2
); 
17530         wxPyEndAllowThreads(__tstate
); 
17531         if (PyErr_Occurred()) SWIG_fail
; 
17534         resultobj 
= wxPyMake_wxObject(result
);  
17542 static PyObject 
*_wrap_ToolBarBase_IsVertical(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17543     PyObject 
*resultobj
; 
17544     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
17546     PyObject 
* obj0 
= 0 ; 
17547     char *kwnames
[] = { 
17548         (char *) "self", NULL 
 
17551     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
; 
17552     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
, 
17553     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17555         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17556         result 
= (bool)(arg1
)->IsVertical(); 
17558         wxPyEndAllowThreads(__tstate
); 
17559         if (PyErr_Occurred()) SWIG_fail
; 
17562         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17570 static PyObject 
* ToolBarBase_swigregister(PyObject 
*self
, PyObject 
*args
) { 
17572     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
17573     SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
); 
17575     return Py_BuildValue((char *)""); 
17577 static PyObject 
*_wrap_new_ToolBar(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17578     PyObject 
*resultobj
; 
17579     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
17581     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
17582     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
17583     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
17584     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
17585     long arg5 
= (long) wxNO_BORDER
|wxTB_HORIZONTAL 
; 
17586     wxString 
const &arg6_defvalue 
= wxPyToolBarNameStr 
; 
17587     wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
17591     bool temp6 
= False 
; 
17592     PyObject 
* obj0 
= 0 ; 
17593     PyObject 
* obj1 
= 0 ; 
17594     PyObject 
* obj2 
= 0 ; 
17595     PyObject 
* obj3 
= 0 ; 
17596     PyObject 
* obj4 
= 0 ; 
17597     PyObject 
* obj5 
= 0 ; 
17598     char *kwnames
[] = { 
17599         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
17602     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
17603     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
17604     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17605     arg2 
= (int) SWIG_AsInt(obj1
);  
17606     if (PyErr_Occurred()) SWIG_fail
; 
17610             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
17616             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
17620         arg5 
= (long) SWIG_AsLong(obj4
);  
17621         if (PyErr_Occurred()) SWIG_fail
; 
17625             arg6 
= wxString_in_helper(obj5
); 
17626             if (arg6 
== NULL
) SWIG_fail
; 
17631         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17632         result 
= (wxToolBar 
*)new wxToolBar(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
17634         wxPyEndAllowThreads(__tstate
); 
17635         if (PyErr_Occurred()) SWIG_fail
; 
17638         resultobj 
= wxPyMake_wxObject(result
);  
17654 static PyObject 
*_wrap_new_PreToolBar(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17655     PyObject 
*resultobj
; 
17657     char *kwnames
[] = { 
17661     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
; 
17663         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17664         result 
= (wxToolBar 
*)new wxToolBar(); 
17666         wxPyEndAllowThreads(__tstate
); 
17667         if (PyErr_Occurred()) SWIG_fail
; 
17670         resultobj 
= wxPyMake_wxObject(result
);  
17678 static PyObject 
*_wrap_ToolBar_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17679     PyObject 
*resultobj
; 
17680     wxToolBar 
*arg1 
= (wxToolBar 
*) 0 ; 
17681     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
17683     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
17684     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
17685     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
17686     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
17687     long arg6 
= (long) wxNO_BORDER
|wxTB_HORIZONTAL 
; 
17688     wxString 
const &arg7_defvalue 
= wxPyToolBarNameStr 
; 
17689     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
17693     bool temp7 
= False 
; 
17694     PyObject 
* obj0 
= 0 ; 
17695     PyObject 
* obj1 
= 0 ; 
17696     PyObject 
* obj2 
= 0 ; 
17697     PyObject 
* obj3 
= 0 ; 
17698     PyObject 
* obj4 
= 0 ; 
17699     PyObject 
* obj5 
= 0 ; 
17700     PyObject 
* obj6 
= 0 ; 
17701     char *kwnames
[] = { 
17702         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
17705     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
17706     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
, 
17707     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17708     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
17709     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17710     arg3 
= (int) SWIG_AsInt(obj2
);  
17711     if (PyErr_Occurred()) SWIG_fail
; 
17715             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
17721             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
17725         arg6 
= (long) SWIG_AsLong(obj5
);  
17726         if (PyErr_Occurred()) SWIG_fail
; 
17730             arg7 
= wxString_in_helper(obj6
); 
17731             if (arg7 
== NULL
) SWIG_fail
; 
17736         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17737         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
17739         wxPyEndAllowThreads(__tstate
); 
17740         if (PyErr_Occurred()) SWIG_fail
; 
17743         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17759 static PyObject 
*_wrap_ToolBar_FindToolForPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17760     PyObject 
*resultobj
; 
17761     wxToolBar 
*arg1 
= (wxToolBar 
*) 0 ; 
17764     wxToolBarToolBase 
*result
; 
17765     PyObject 
* obj0 
= 0 ; 
17766     PyObject 
* obj1 
= 0 ; 
17767     PyObject 
* obj2 
= 0 ; 
17768     char *kwnames
[] = { 
17769         (char *) "self",(char *) "x",(char *) "y", NULL 
 
17772     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
17773     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
, 
17774     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17775     arg2 
= (int) SWIG_AsInt(obj1
);  
17776     if (PyErr_Occurred()) SWIG_fail
; 
17777     arg3 
= (int) SWIG_AsInt(obj2
);  
17778     if (PyErr_Occurred()) SWIG_fail
; 
17780         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17781         result 
= (wxToolBarToolBase 
*)(arg1
)->FindToolForPosition(arg2
,arg3
); 
17783         wxPyEndAllowThreads(__tstate
); 
17784         if (PyErr_Occurred()) SWIG_fail
; 
17787         resultobj 
= wxPyMake_wxObject(result
);  
17795 static PyObject 
* ToolBar_swigregister(PyObject 
*self
, PyObject 
*args
) { 
17797     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
17798     SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
); 
17800     return Py_BuildValue((char *)""); 
17802 static int _wrap_ListCtrlNameStr_set(PyObject 
*_val
) { 
17803     PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only."); 
17808 static PyObject 
*_wrap_ListCtrlNameStr_get() { 
17813         pyobj 
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len()); 
17815         pyobj 
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len()); 
17822 static PyObject 
*_wrap_new_ListItemAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17823     PyObject 
*resultobj
; 
17824     wxColour 
const &arg1_defvalue 
= wxNullColour 
; 
17825     wxColour 
*arg1 
= (wxColour 
*) &arg1_defvalue 
; 
17826     wxColour 
const &arg2_defvalue 
= wxNullColour 
; 
17827     wxColour 
*arg2 
= (wxColour 
*) &arg2_defvalue 
; 
17828     wxFont 
const &arg3_defvalue 
= wxNullFont 
; 
17829     wxFont 
*arg3 
= (wxFont 
*) &arg3_defvalue 
; 
17830     wxListItemAttr 
*result
; 
17833     PyObject 
* obj0 
= 0 ; 
17834     PyObject 
* obj1 
= 0 ; 
17835     PyObject 
* obj2 
= 0 ; 
17836     char *kwnames
[] = { 
17837         (char *) "colText",(char *) "colBack",(char *) "font", NULL 
 
17840     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
17844             if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
; 
17850             if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
17854         if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
, 
17855         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
17857         if (arg3 
== NULL
) { 
17858             PyErr_SetString(PyExc_TypeError
,"null reference"); 
17863         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17864         result 
= (wxListItemAttr 
*)new wxListItemAttr((wxColour 
const &)*arg1
,(wxColour 
const &)*arg2
,(wxFont 
const &)*arg3
); 
17866         wxPyEndAllowThreads(__tstate
); 
17867         if (PyErr_Occurred()) SWIG_fail
; 
17869     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1); 
17876 static PyObject 
*_wrap_ListItemAttr_SetTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17877     PyObject 
*resultobj
; 
17878     wxListItemAttr 
*arg1 
= (wxListItemAttr 
*) 0 ; 
17879     wxColour 
*arg2 
= 0 ; 
17881     PyObject 
* obj0 
= 0 ; 
17882     PyObject 
* obj1 
= 0 ; 
17883     char *kwnames
[] = { 
17884         (char *) "self",(char *) "colText", NULL 
 
17887     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
17888     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
, 
17889     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17892         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
17895         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17896         (arg1
)->SetTextColour((wxColour 
const &)*arg2
); 
17898         wxPyEndAllowThreads(__tstate
); 
17899         if (PyErr_Occurred()) SWIG_fail
; 
17901     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17908 static PyObject 
*_wrap_ListItemAttr_SetBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17909     PyObject 
*resultobj
; 
17910     wxListItemAttr 
*arg1 
= (wxListItemAttr 
*) 0 ; 
17911     wxColour 
*arg2 
= 0 ; 
17913     PyObject 
* obj0 
= 0 ; 
17914     PyObject 
* obj1 
= 0 ; 
17915     char *kwnames
[] = { 
17916         (char *) "self",(char *) "colBack", NULL 
 
17919     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
17920     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
, 
17921     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17924         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
17927         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17928         (arg1
)->SetBackgroundColour((wxColour 
const &)*arg2
); 
17930         wxPyEndAllowThreads(__tstate
); 
17931         if (PyErr_Occurred()) SWIG_fail
; 
17933     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17940 static PyObject 
*_wrap_ListItemAttr_SetFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17941     PyObject 
*resultobj
; 
17942     wxListItemAttr 
*arg1 
= (wxListItemAttr 
*) 0 ; 
17944     PyObject 
* obj0 
= 0 ; 
17945     PyObject 
* obj1 
= 0 ; 
17946     char *kwnames
[] = { 
17947         (char *) "self",(char *) "font", NULL 
 
17950     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
17951     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
, 
17952     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17953     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
, 
17954     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
17956     if (arg2 
== NULL
) { 
17957         PyErr_SetString(PyExc_TypeError
,"null reference"); 
17961         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17962         (arg1
)->SetFont((wxFont 
const &)*arg2
); 
17964         wxPyEndAllowThreads(__tstate
); 
17965         if (PyErr_Occurred()) SWIG_fail
; 
17967     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17974 static PyObject 
*_wrap_ListItemAttr_HasTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17975     PyObject 
*resultobj
; 
17976     wxListItemAttr 
*arg1 
= (wxListItemAttr 
*) 0 ; 
17978     PyObject 
* obj0 
= 0 ; 
17979     char *kwnames
[] = { 
17980         (char *) "self", NULL 
 
17983     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
; 
17984     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
, 
17985     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17987         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17988         result 
= (bool)(arg1
)->HasTextColour(); 
17990         wxPyEndAllowThreads(__tstate
); 
17991         if (PyErr_Occurred()) SWIG_fail
; 
17994         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18002 static PyObject 
*_wrap_ListItemAttr_HasBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18003     PyObject 
*resultobj
; 
18004     wxListItemAttr 
*arg1 
= (wxListItemAttr 
*) 0 ; 
18006     PyObject 
* obj0 
= 0 ; 
18007     char *kwnames
[] = { 
18008         (char *) "self", NULL 
 
18011     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
; 
18012     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
, 
18013     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18015         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18016         result 
= (bool)(arg1
)->HasBackgroundColour(); 
18018         wxPyEndAllowThreads(__tstate
); 
18019         if (PyErr_Occurred()) SWIG_fail
; 
18022         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18030 static PyObject 
*_wrap_ListItemAttr_HasFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18031     PyObject 
*resultobj
; 
18032     wxListItemAttr 
*arg1 
= (wxListItemAttr 
*) 0 ; 
18034     PyObject 
* obj0 
= 0 ; 
18035     char *kwnames
[] = { 
18036         (char *) "self", NULL 
 
18039     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
; 
18040     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
, 
18041     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18043         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18044         result 
= (bool)(arg1
)->HasFont(); 
18046         wxPyEndAllowThreads(__tstate
); 
18047         if (PyErr_Occurred()) SWIG_fail
; 
18050         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18058 static PyObject 
*_wrap_ListItemAttr_GetTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18059     PyObject 
*resultobj
; 
18060     wxListItemAttr 
*arg1 
= (wxListItemAttr 
*) 0 ; 
18062     PyObject 
* obj0 
= 0 ; 
18063     char *kwnames
[] = { 
18064         (char *) "self", NULL 
 
18067     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
; 
18068     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
, 
18069     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18071         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18072         result 
= (arg1
)->GetTextColour(); 
18074         wxPyEndAllowThreads(__tstate
); 
18075         if (PyErr_Occurred()) SWIG_fail
; 
18078         wxColour 
* resultptr
; 
18079         resultptr 
= new wxColour((wxColour 
&) result
); 
18080         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
18088 static PyObject 
*_wrap_ListItemAttr_GetBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18089     PyObject 
*resultobj
; 
18090     wxListItemAttr 
*arg1 
= (wxListItemAttr 
*) 0 ; 
18092     PyObject 
* obj0 
= 0 ; 
18093     char *kwnames
[] = { 
18094         (char *) "self", NULL 
 
18097     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
; 
18098     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
, 
18099     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18101         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18102         result 
= (arg1
)->GetBackgroundColour(); 
18104         wxPyEndAllowThreads(__tstate
); 
18105         if (PyErr_Occurred()) SWIG_fail
; 
18108         wxColour 
* resultptr
; 
18109         resultptr 
= new wxColour((wxColour 
&) result
); 
18110         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
18118 static PyObject 
*_wrap_ListItemAttr_GetFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18119     PyObject 
*resultobj
; 
18120     wxListItemAttr 
*arg1 
= (wxListItemAttr 
*) 0 ; 
18122     PyObject 
* obj0 
= 0 ; 
18123     char *kwnames
[] = { 
18124         (char *) "self", NULL 
 
18127     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
; 
18128     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
, 
18129     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18131         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18132         result 
= (arg1
)->GetFont(); 
18134         wxPyEndAllowThreads(__tstate
); 
18135         if (PyErr_Occurred()) SWIG_fail
; 
18138         wxFont 
* resultptr
; 
18139         resultptr 
= new wxFont((wxFont 
&) result
); 
18140         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
18148 static PyObject 
*_wrap_ListItemAttr_Destroy(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18149     PyObject 
*resultobj
; 
18150     wxListItemAttr 
*arg1 
= (wxListItemAttr 
*) 0 ; 
18151     PyObject 
* obj0 
= 0 ; 
18152     char *kwnames
[] = { 
18153         (char *) "self", NULL 
 
18156     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
; 
18157     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
, 
18158     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18160         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18161         wxListItemAttr_Destroy(arg1
); 
18163         wxPyEndAllowThreads(__tstate
); 
18164         if (PyErr_Occurred()) SWIG_fail
; 
18166     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18173 static PyObject 
* ListItemAttr_swigregister(PyObject 
*self
, PyObject 
*args
) { 
18175     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
18176     SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
); 
18178     return Py_BuildValue((char *)""); 
18180 static PyObject 
*_wrap_new_ListItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18181     PyObject 
*resultobj
; 
18182     wxListItem 
*result
; 
18183     char *kwnames
[] = { 
18187     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
; 
18189         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18190         result 
= (wxListItem 
*)new wxListItem(); 
18192         wxPyEndAllowThreads(__tstate
); 
18193         if (PyErr_Occurred()) SWIG_fail
; 
18196         resultobj 
= wxPyMake_wxObject(result
);  
18204 static PyObject 
*_wrap_delete_ListItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18205     PyObject 
*resultobj
; 
18206     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
18207     PyObject 
* obj0 
= 0 ; 
18208     char *kwnames
[] = { 
18209         (char *) "self", NULL 
 
18212     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
; 
18213     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
18214     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18216         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18219         wxPyEndAllowThreads(__tstate
); 
18220         if (PyErr_Occurred()) SWIG_fail
; 
18222     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18229 static PyObject 
*_wrap_ListItem_Clear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18230     PyObject 
*resultobj
; 
18231     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
18232     PyObject 
* obj0 
= 0 ; 
18233     char *kwnames
[] = { 
18234         (char *) "self", NULL 
 
18237     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
; 
18238     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
18239     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18241         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18244         wxPyEndAllowThreads(__tstate
); 
18245         if (PyErr_Occurred()) SWIG_fail
; 
18247     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18254 static PyObject 
*_wrap_ListItem_ClearAttributes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18255     PyObject 
*resultobj
; 
18256     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
18257     PyObject 
* obj0 
= 0 ; 
18258     char *kwnames
[] = { 
18259         (char *) "self", NULL 
 
18262     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
; 
18263     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
18264     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18266         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18267         (arg1
)->ClearAttributes(); 
18269         wxPyEndAllowThreads(__tstate
); 
18270         if (PyErr_Occurred()) SWIG_fail
; 
18272     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18279 static PyObject 
*_wrap_ListItem_SetMask(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18280     PyObject 
*resultobj
; 
18281     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
18283     PyObject 
* obj0 
= 0 ; 
18284     PyObject 
* obj1 
= 0 ; 
18285     char *kwnames
[] = { 
18286         (char *) "self",(char *) "mask", NULL 
 
18289     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
; 
18290     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
18291     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18292     arg2 
= (long) SWIG_AsLong(obj1
);  
18293     if (PyErr_Occurred()) SWIG_fail
; 
18295         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18296         (arg1
)->SetMask(arg2
); 
18298         wxPyEndAllowThreads(__tstate
); 
18299         if (PyErr_Occurred()) SWIG_fail
; 
18301     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18308 static PyObject 
*_wrap_ListItem_SetId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18309     PyObject 
*resultobj
; 
18310     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
18312     PyObject 
* obj0 
= 0 ; 
18313     PyObject 
* obj1 
= 0 ; 
18314     char *kwnames
[] = { 
18315         (char *) "self",(char *) "id", NULL 
 
18318     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
; 
18319     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
18320     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18321     arg2 
= (long) SWIG_AsLong(obj1
);  
18322     if (PyErr_Occurred()) SWIG_fail
; 
18324         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18325         (arg1
)->SetId(arg2
); 
18327         wxPyEndAllowThreads(__tstate
); 
18328         if (PyErr_Occurred()) SWIG_fail
; 
18330     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18337 static PyObject 
*_wrap_ListItem_SetColumn(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18338     PyObject 
*resultobj
; 
18339     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
18341     PyObject 
* obj0 
= 0 ; 
18342     PyObject 
* obj1 
= 0 ; 
18343     char *kwnames
[] = { 
18344         (char *) "self",(char *) "col", NULL 
 
18347     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
; 
18348     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
18349     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18350     arg2 
= (int) SWIG_AsInt(obj1
);  
18351     if (PyErr_Occurred()) SWIG_fail
; 
18353         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18354         (arg1
)->SetColumn(arg2
); 
18356         wxPyEndAllowThreads(__tstate
); 
18357         if (PyErr_Occurred()) SWIG_fail
; 
18359     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18366 static PyObject 
*_wrap_ListItem_SetState(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18367     PyObject 
*resultobj
; 
18368     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
18370     PyObject 
* obj0 
= 0 ; 
18371     PyObject 
* obj1 
= 0 ; 
18372     char *kwnames
[] = { 
18373         (char *) "self",(char *) "state", NULL 
 
18376     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
; 
18377     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
18378     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18379     arg2 
= (long) SWIG_AsLong(obj1
);  
18380     if (PyErr_Occurred()) SWIG_fail
; 
18382         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18383         (arg1
)->SetState(arg2
); 
18385         wxPyEndAllowThreads(__tstate
); 
18386         if (PyErr_Occurred()) SWIG_fail
; 
18388     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18395 static PyObject 
*_wrap_ListItem_SetStateMask(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18396     PyObject 
*resultobj
; 
18397     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
18399     PyObject 
* obj0 
= 0 ; 
18400     PyObject 
* obj1 
= 0 ; 
18401     char *kwnames
[] = { 
18402         (char *) "self",(char *) "stateMask", NULL 
 
18405     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
; 
18406     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
18407     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18408     arg2 
= (long) SWIG_AsLong(obj1
);  
18409     if (PyErr_Occurred()) SWIG_fail
; 
18411         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18412         (arg1
)->SetStateMask(arg2
); 
18414         wxPyEndAllowThreads(__tstate
); 
18415         if (PyErr_Occurred()) SWIG_fail
; 
18417     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18424 static PyObject 
*_wrap_ListItem_SetText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18425     PyObject 
*resultobj
; 
18426     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
18427     wxString 
*arg2 
= 0 ; 
18428     bool temp2 
= False 
; 
18429     PyObject 
* obj0 
= 0 ; 
18430     PyObject 
* obj1 
= 0 ; 
18431     char *kwnames
[] = { 
18432         (char *) "self",(char *) "text", NULL 
 
18435     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
; 
18436     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
18437     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18439         arg2 
= wxString_in_helper(obj1
); 
18440         if (arg2 
== NULL
) SWIG_fail
; 
18444         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18445         (arg1
)->SetText((wxString 
const &)*arg2
); 
18447         wxPyEndAllowThreads(__tstate
); 
18448         if (PyErr_Occurred()) SWIG_fail
; 
18450     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18465 static PyObject 
*_wrap_ListItem_SetImage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18466     PyObject 
*resultobj
; 
18467     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
18469     PyObject 
* obj0 
= 0 ; 
18470     PyObject 
* obj1 
= 0 ; 
18471     char *kwnames
[] = { 
18472         (char *) "self",(char *) "image", NULL 
 
18475     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
; 
18476     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
18477     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18478     arg2 
= (int) SWIG_AsInt(obj1
);  
18479     if (PyErr_Occurred()) SWIG_fail
; 
18481         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18482         (arg1
)->SetImage(arg2
); 
18484         wxPyEndAllowThreads(__tstate
); 
18485         if (PyErr_Occurred()) SWIG_fail
; 
18487     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18494 static PyObject 
*_wrap_ListItem_SetData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18495     PyObject 
*resultobj
; 
18496     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
18498     PyObject 
* obj0 
= 0 ; 
18499     PyObject 
* obj1 
= 0 ; 
18500     char *kwnames
[] = { 
18501         (char *) "self",(char *) "data", NULL 
 
18504     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
; 
18505     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
18506     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18507     arg2 
= (long) SWIG_AsLong(obj1
);  
18508     if (PyErr_Occurred()) SWIG_fail
; 
18510         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18511         (arg1
)->SetData(arg2
); 
18513         wxPyEndAllowThreads(__tstate
); 
18514         if (PyErr_Occurred()) SWIG_fail
; 
18516     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18523 static PyObject 
*_wrap_ListItem_SetWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18524     PyObject 
*resultobj
; 
18525     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
18527     PyObject 
* obj0 
= 0 ; 
18528     PyObject 
* obj1 
= 0 ; 
18529     char *kwnames
[] = { 
18530         (char *) "self",(char *) "width", NULL 
 
18533     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
18534     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
18535     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18536     arg2 
= (int) SWIG_AsInt(obj1
);  
18537     if (PyErr_Occurred()) SWIG_fail
; 
18539         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18540         (arg1
)->SetWidth(arg2
); 
18542         wxPyEndAllowThreads(__tstate
); 
18543         if (PyErr_Occurred()) SWIG_fail
; 
18545     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18552 static PyObject 
*_wrap_ListItem_SetAlign(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18553     PyObject 
*resultobj
; 
18554     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
18556     PyObject 
* obj0 
= 0 ; 
18557     PyObject 
* obj1 
= 0 ; 
18558     char *kwnames
[] = { 
18559         (char *) "self",(char *) "align", NULL 
 
18562     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
; 
18563     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
18564     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18565     arg2 
= (wxListColumnFormat
) SWIG_AsInt(obj1
);  
18566     if (PyErr_Occurred()) SWIG_fail
; 
18568         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18569         (arg1
)->SetAlign((wxListColumnFormat 
)arg2
); 
18571         wxPyEndAllowThreads(__tstate
); 
18572         if (PyErr_Occurred()) SWIG_fail
; 
18574     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18581 static PyObject 
*_wrap_ListItem_SetTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18582     PyObject 
*resultobj
; 
18583     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
18584     wxColour 
*arg2 
= 0 ; 
18586     PyObject 
* obj0 
= 0 ; 
18587     PyObject 
* obj1 
= 0 ; 
18588     char *kwnames
[] = { 
18589         (char *) "self",(char *) "colText", NULL 
 
18592     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
18593     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
18594     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18597         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
18600         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18601         (arg1
)->SetTextColour((wxColour 
const &)*arg2
); 
18603         wxPyEndAllowThreads(__tstate
); 
18604         if (PyErr_Occurred()) SWIG_fail
; 
18606     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18613 static PyObject 
*_wrap_ListItem_SetBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18614     PyObject 
*resultobj
; 
18615     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
18616     wxColour 
*arg2 
= 0 ; 
18618     PyObject 
* obj0 
= 0 ; 
18619     PyObject 
* obj1 
= 0 ; 
18620     char *kwnames
[] = { 
18621         (char *) "self",(char *) "colBack", NULL 
 
18624     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
18625     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
18626     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18629         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
18632         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18633         (arg1
)->SetBackgroundColour((wxColour 
const &)*arg2
); 
18635         wxPyEndAllowThreads(__tstate
); 
18636         if (PyErr_Occurred()) SWIG_fail
; 
18638     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18645 static PyObject 
*_wrap_ListItem_SetFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18646     PyObject 
*resultobj
; 
18647     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
18649     PyObject 
* obj0 
= 0 ; 
18650     PyObject 
* obj1 
= 0 ; 
18651     char *kwnames
[] = { 
18652         (char *) "self",(char *) "font", NULL 
 
18655     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
18656     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
18657     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18658     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
, 
18659     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
18661     if (arg2 
== NULL
) { 
18662         PyErr_SetString(PyExc_TypeError
,"null reference"); 
18666         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18667         (arg1
)->SetFont((wxFont 
const &)*arg2
); 
18669         wxPyEndAllowThreads(__tstate
); 
18670         if (PyErr_Occurred()) SWIG_fail
; 
18672     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18679 static PyObject 
*_wrap_ListItem_GetMask(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18680     PyObject 
*resultobj
; 
18681     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
18683     PyObject 
* obj0 
= 0 ; 
18684     char *kwnames
[] = { 
18685         (char *) "self", NULL 
 
18688     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
; 
18689     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
18690     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18692         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18693         result 
= (long)(arg1
)->GetMask(); 
18695         wxPyEndAllowThreads(__tstate
); 
18696         if (PyErr_Occurred()) SWIG_fail
; 
18698     resultobj 
= SWIG_FromLong((long)result
); 
18705 static PyObject 
*_wrap_ListItem_GetId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18706     PyObject 
*resultobj
; 
18707     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
18709     PyObject 
* obj0 
= 0 ; 
18710     char *kwnames
[] = { 
18711         (char *) "self", NULL 
 
18714     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
; 
18715     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
18716     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18718         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18719         result 
= (long)(arg1
)->GetId(); 
18721         wxPyEndAllowThreads(__tstate
); 
18722         if (PyErr_Occurred()) SWIG_fail
; 
18724     resultobj 
= SWIG_FromLong((long)result
); 
18731 static PyObject 
*_wrap_ListItem_GetColumn(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18732     PyObject 
*resultobj
; 
18733     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
18735     PyObject 
* obj0 
= 0 ; 
18736     char *kwnames
[] = { 
18737         (char *) "self", NULL 
 
18740     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
; 
18741     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
18742     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18744         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18745         result 
= (int)(arg1
)->GetColumn(); 
18747         wxPyEndAllowThreads(__tstate
); 
18748         if (PyErr_Occurred()) SWIG_fail
; 
18750     resultobj 
= SWIG_FromInt((int)result
); 
18757 static PyObject 
*_wrap_ListItem_GetState(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18758     PyObject 
*resultobj
; 
18759     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
18761     PyObject 
* obj0 
= 0 ; 
18762     char *kwnames
[] = { 
18763         (char *) "self", NULL 
 
18766     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
; 
18767     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
18768     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18770         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18771         result 
= (long)(arg1
)->GetState(); 
18773         wxPyEndAllowThreads(__tstate
); 
18774         if (PyErr_Occurred()) SWIG_fail
; 
18776     resultobj 
= SWIG_FromLong((long)result
); 
18783 static PyObject 
*_wrap_ListItem_GetText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18784     PyObject 
*resultobj
; 
18785     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
18787     PyObject 
* obj0 
= 0 ; 
18788     char *kwnames
[] = { 
18789         (char *) "self", NULL 
 
18792     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
; 
18793     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
18794     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18796         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18798             wxString 
const &_result_ref 
= (arg1
)->GetText(); 
18799             result 
= (wxString 
*) &_result_ref
; 
18802         wxPyEndAllowThreads(__tstate
); 
18803         if (PyErr_Occurred()) SWIG_fail
; 
18807         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
18809         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
18818 static PyObject 
*_wrap_ListItem_GetImage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18819     PyObject 
*resultobj
; 
18820     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
18822     PyObject 
* obj0 
= 0 ; 
18823     char *kwnames
[] = { 
18824         (char *) "self", NULL 
 
18827     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
; 
18828     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
18829     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18831         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18832         result 
= (int)(arg1
)->GetImage(); 
18834         wxPyEndAllowThreads(__tstate
); 
18835         if (PyErr_Occurred()) SWIG_fail
; 
18837     resultobj 
= SWIG_FromInt((int)result
); 
18844 static PyObject 
*_wrap_ListItem_GetData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18845     PyObject 
*resultobj
; 
18846     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
18848     PyObject 
* obj0 
= 0 ; 
18849     char *kwnames
[] = { 
18850         (char *) "self", NULL 
 
18853     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
; 
18854     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
18855     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18857         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18858         result 
= (long)(arg1
)->GetData(); 
18860         wxPyEndAllowThreads(__tstate
); 
18861         if (PyErr_Occurred()) SWIG_fail
; 
18863     resultobj 
= SWIG_FromLong((long)result
); 
18870 static PyObject 
*_wrap_ListItem_GetWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18871     PyObject 
*resultobj
; 
18872     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
18874     PyObject 
* obj0 
= 0 ; 
18875     char *kwnames
[] = { 
18876         (char *) "self", NULL 
 
18879     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
; 
18880     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
18881     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18883         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18884         result 
= (int)(arg1
)->GetWidth(); 
18886         wxPyEndAllowThreads(__tstate
); 
18887         if (PyErr_Occurred()) SWIG_fail
; 
18889     resultobj 
= SWIG_FromInt((int)result
); 
18896 static PyObject 
*_wrap_ListItem_GetAlign(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18897     PyObject 
*resultobj
; 
18898     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
18900     PyObject 
* obj0 
= 0 ; 
18901     char *kwnames
[] = { 
18902         (char *) "self", NULL 
 
18905     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
; 
18906     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
18907     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18909         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18910         result 
= (int)(arg1
)->GetAlign(); 
18912         wxPyEndAllowThreads(__tstate
); 
18913         if (PyErr_Occurred()) SWIG_fail
; 
18915     resultobj 
= SWIG_FromInt((int)result
); 
18922 static PyObject 
*_wrap_ListItem_GetAttributes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18923     PyObject 
*resultobj
; 
18924     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
18925     wxListItemAttr 
*result
; 
18926     PyObject 
* obj0 
= 0 ; 
18927     char *kwnames
[] = { 
18928         (char *) "self", NULL 
 
18931     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
; 
18932     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
18933     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18935         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18936         result 
= (wxListItemAttr 
*)(arg1
)->GetAttributes(); 
18938         wxPyEndAllowThreads(__tstate
); 
18939         if (PyErr_Occurred()) SWIG_fail
; 
18941     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0); 
18948 static PyObject 
*_wrap_ListItem_HasAttributes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18949     PyObject 
*resultobj
; 
18950     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
18952     PyObject 
* obj0 
= 0 ; 
18953     char *kwnames
[] = { 
18954         (char *) "self", NULL 
 
18957     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
; 
18958     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
18959     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18961         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18962         result 
= (bool)(arg1
)->HasAttributes(); 
18964         wxPyEndAllowThreads(__tstate
); 
18965         if (PyErr_Occurred()) SWIG_fail
; 
18968         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18976 static PyObject 
*_wrap_ListItem_GetTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18977     PyObject 
*resultobj
; 
18978     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
18980     PyObject 
* obj0 
= 0 ; 
18981     char *kwnames
[] = { 
18982         (char *) "self", NULL 
 
18985     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
; 
18986     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
18987     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18989         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18990         result 
= ((wxListItem 
const *)arg1
)->GetTextColour(); 
18992         wxPyEndAllowThreads(__tstate
); 
18993         if (PyErr_Occurred()) SWIG_fail
; 
18996         wxColour 
* resultptr
; 
18997         resultptr 
= new wxColour((wxColour 
&) result
); 
18998         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
19006 static PyObject 
*_wrap_ListItem_GetBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19007     PyObject 
*resultobj
; 
19008     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19010     PyObject 
* obj0 
= 0 ; 
19011     char *kwnames
[] = { 
19012         (char *) "self", NULL 
 
19015     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
; 
19016     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19017     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19019         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19020         result 
= ((wxListItem 
const *)arg1
)->GetBackgroundColour(); 
19022         wxPyEndAllowThreads(__tstate
); 
19023         if (PyErr_Occurred()) SWIG_fail
; 
19026         wxColour 
* resultptr
; 
19027         resultptr 
= new wxColour((wxColour 
&) result
); 
19028         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
19036 static PyObject 
*_wrap_ListItem_GetFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19037     PyObject 
*resultobj
; 
19038     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19040     PyObject 
* obj0 
= 0 ; 
19041     char *kwnames
[] = { 
19042         (char *) "self", NULL 
 
19045     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
; 
19046     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19047     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19049         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19050         result 
= ((wxListItem 
const *)arg1
)->GetFont(); 
19052         wxPyEndAllowThreads(__tstate
); 
19053         if (PyErr_Occurred()) SWIG_fail
; 
19056         wxFont 
* resultptr
; 
19057         resultptr 
= new wxFont((wxFont 
&) result
); 
19058         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
19066 static PyObject 
*_wrap_ListItem_m_mask_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19067     PyObject 
*resultobj
; 
19068     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19070     PyObject 
* obj0 
= 0 ; 
19071     PyObject 
* obj1 
= 0 ; 
19072     char *kwnames
[] = { 
19073         (char *) "self",(char *) "m_mask", NULL 
 
19076     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
19077     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19078     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19079     arg2 
= (long) SWIG_AsLong(obj1
);  
19080     if (PyErr_Occurred()) SWIG_fail
; 
19081     if (arg1
) (arg1
)->m_mask 
= arg2
; 
19083     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19090 static PyObject 
*_wrap_ListItem_m_mask_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19091     PyObject 
*resultobj
; 
19092     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19094     PyObject 
* obj0 
= 0 ; 
19095     char *kwnames
[] = { 
19096         (char *) "self", NULL 
 
19099     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
; 
19100     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19101     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19102     result 
= (long) ((arg1
)->m_mask
); 
19104     resultobj 
= SWIG_FromLong((long)result
); 
19111 static PyObject 
*_wrap_ListItem_m_itemId_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19112     PyObject 
*resultobj
; 
19113     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19115     PyObject 
* obj0 
= 0 ; 
19116     PyObject 
* obj1 
= 0 ; 
19117     char *kwnames
[] = { 
19118         (char *) "self",(char *) "m_itemId", NULL 
 
19121     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
19122     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19123     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19124     arg2 
= (long) SWIG_AsLong(obj1
);  
19125     if (PyErr_Occurred()) SWIG_fail
; 
19126     if (arg1
) (arg1
)->m_itemId 
= arg2
; 
19128     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19135 static PyObject 
*_wrap_ListItem_m_itemId_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19136     PyObject 
*resultobj
; 
19137     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19139     PyObject 
* obj0 
= 0 ; 
19140     char *kwnames
[] = { 
19141         (char *) "self", NULL 
 
19144     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
; 
19145     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19146     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19147     result 
= (long) ((arg1
)->m_itemId
); 
19149     resultobj 
= SWIG_FromLong((long)result
); 
19156 static PyObject 
*_wrap_ListItem_m_col_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19157     PyObject 
*resultobj
; 
19158     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19160     PyObject 
* obj0 
= 0 ; 
19161     PyObject 
* obj1 
= 0 ; 
19162     char *kwnames
[] = { 
19163         (char *) "self",(char *) "m_col", NULL 
 
19166     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
19167     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19168     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19169     arg2 
= (int) SWIG_AsInt(obj1
);  
19170     if (PyErr_Occurred()) SWIG_fail
; 
19171     if (arg1
) (arg1
)->m_col 
= arg2
; 
19173     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19180 static PyObject 
*_wrap_ListItem_m_col_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19181     PyObject 
*resultobj
; 
19182     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19184     PyObject 
* obj0 
= 0 ; 
19185     char *kwnames
[] = { 
19186         (char *) "self", NULL 
 
19189     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
; 
19190     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19191     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19192     result 
= (int) ((arg1
)->m_col
); 
19194     resultobj 
= SWIG_FromInt((int)result
); 
19201 static PyObject 
*_wrap_ListItem_m_state_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19202     PyObject 
*resultobj
; 
19203     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19205     PyObject 
* obj0 
= 0 ; 
19206     PyObject 
* obj1 
= 0 ; 
19207     char *kwnames
[] = { 
19208         (char *) "self",(char *) "m_state", NULL 
 
19211     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
19212     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19213     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19214     arg2 
= (long) SWIG_AsLong(obj1
);  
19215     if (PyErr_Occurred()) SWIG_fail
; 
19216     if (arg1
) (arg1
)->m_state 
= arg2
; 
19218     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19225 static PyObject 
*_wrap_ListItem_m_state_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19226     PyObject 
*resultobj
; 
19227     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19229     PyObject 
* obj0 
= 0 ; 
19230     char *kwnames
[] = { 
19231         (char *) "self", NULL 
 
19234     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
; 
19235     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19236     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19237     result 
= (long) ((arg1
)->m_state
); 
19239     resultobj 
= SWIG_FromLong((long)result
); 
19246 static PyObject 
*_wrap_ListItem_m_stateMask_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19247     PyObject 
*resultobj
; 
19248     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19250     PyObject 
* obj0 
= 0 ; 
19251     PyObject 
* obj1 
= 0 ; 
19252     char *kwnames
[] = { 
19253         (char *) "self",(char *) "m_stateMask", NULL 
 
19256     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
19257     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19258     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19259     arg2 
= (long) SWIG_AsLong(obj1
);  
19260     if (PyErr_Occurred()) SWIG_fail
; 
19261     if (arg1
) (arg1
)->m_stateMask 
= arg2
; 
19263     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19270 static PyObject 
*_wrap_ListItem_m_stateMask_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19271     PyObject 
*resultobj
; 
19272     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19274     PyObject 
* obj0 
= 0 ; 
19275     char *kwnames
[] = { 
19276         (char *) "self", NULL 
 
19279     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
; 
19280     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19281     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19282     result 
= (long) ((arg1
)->m_stateMask
); 
19284     resultobj 
= SWIG_FromLong((long)result
); 
19291 static PyObject 
*_wrap_ListItem_m_text_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19292     PyObject 
*resultobj
; 
19293     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19294     wxString 
*arg2 
= (wxString 
*) 0 ; 
19295     bool temp2 
= False 
; 
19296     PyObject 
* obj0 
= 0 ; 
19297     PyObject 
* obj1 
= 0 ; 
19298     char *kwnames
[] = { 
19299         (char *) "self",(char *) "m_text", NULL 
 
19302     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
19303     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19304     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19306         arg2 
= wxString_in_helper(obj1
); 
19307         if (arg2 
== NULL
) SWIG_fail
; 
19310     if (arg1
) (arg1
)->m_text 
= *arg2
; 
19312     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19327 static PyObject 
*_wrap_ListItem_m_text_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19328     PyObject 
*resultobj
; 
19329     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19331     PyObject 
* obj0 
= 0 ; 
19332     char *kwnames
[] = { 
19333         (char *) "self", NULL 
 
19336     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
; 
19337     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19338     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19339     result 
= (wxString 
*)& ((arg1
)->m_text
); 
19343         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
19345         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
19354 static PyObject 
*_wrap_ListItem_m_image_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19355     PyObject 
*resultobj
; 
19356     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19358     PyObject 
* obj0 
= 0 ; 
19359     PyObject 
* obj1 
= 0 ; 
19360     char *kwnames
[] = { 
19361         (char *) "self",(char *) "m_image", NULL 
 
19364     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
19365     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19366     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19367     arg2 
= (int) SWIG_AsInt(obj1
);  
19368     if (PyErr_Occurred()) SWIG_fail
; 
19369     if (arg1
) (arg1
)->m_image 
= arg2
; 
19371     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19378 static PyObject 
*_wrap_ListItem_m_image_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19379     PyObject 
*resultobj
; 
19380     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19382     PyObject 
* obj0 
= 0 ; 
19383     char *kwnames
[] = { 
19384         (char *) "self", NULL 
 
19387     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
; 
19388     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19389     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19390     result 
= (int) ((arg1
)->m_image
); 
19392     resultobj 
= SWIG_FromInt((int)result
); 
19399 static PyObject 
*_wrap_ListItem_m_data_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19400     PyObject 
*resultobj
; 
19401     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19403     PyObject 
* obj0 
= 0 ; 
19404     PyObject 
* obj1 
= 0 ; 
19405     char *kwnames
[] = { 
19406         (char *) "self",(char *) "m_data", NULL 
 
19409     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
19410     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19411     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19412     arg2 
= (long) SWIG_AsLong(obj1
);  
19413     if (PyErr_Occurred()) SWIG_fail
; 
19414     if (arg1
) (arg1
)->m_data 
= arg2
; 
19416     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19423 static PyObject 
*_wrap_ListItem_m_data_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19424     PyObject 
*resultobj
; 
19425     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19427     PyObject 
* obj0 
= 0 ; 
19428     char *kwnames
[] = { 
19429         (char *) "self", NULL 
 
19432     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
; 
19433     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19434     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19435     result 
= (long) ((arg1
)->m_data
); 
19437     resultobj 
= SWIG_FromLong((long)result
); 
19444 static PyObject 
*_wrap_ListItem_m_format_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19445     PyObject 
*resultobj
; 
19446     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19448     PyObject 
* obj0 
= 0 ; 
19449     PyObject 
* obj1 
= 0 ; 
19450     char *kwnames
[] = { 
19451         (char *) "self",(char *) "m_format", NULL 
 
19454     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
19455     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19456     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19457     arg2 
= (int) SWIG_AsInt(obj1
);  
19458     if (PyErr_Occurred()) SWIG_fail
; 
19459     if (arg1
) (arg1
)->m_format 
= arg2
; 
19461     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19468 static PyObject 
*_wrap_ListItem_m_format_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19469     PyObject 
*resultobj
; 
19470     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19472     PyObject 
* obj0 
= 0 ; 
19473     char *kwnames
[] = { 
19474         (char *) "self", NULL 
 
19477     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
; 
19478     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19479     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19480     result 
= (int) ((arg1
)->m_format
); 
19482     resultobj 
= SWIG_FromInt((int)result
); 
19489 static PyObject 
*_wrap_ListItem_m_width_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19490     PyObject 
*resultobj
; 
19491     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19493     PyObject 
* obj0 
= 0 ; 
19494     PyObject 
* obj1 
= 0 ; 
19495     char *kwnames
[] = { 
19496         (char *) "self",(char *) "m_width", NULL 
 
19499     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
19500     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19501     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19502     arg2 
= (int) SWIG_AsInt(obj1
);  
19503     if (PyErr_Occurred()) SWIG_fail
; 
19504     if (arg1
) (arg1
)->m_width 
= arg2
; 
19506     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19513 static PyObject 
*_wrap_ListItem_m_width_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19514     PyObject 
*resultobj
; 
19515     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
19517     PyObject 
* obj0 
= 0 ; 
19518     char *kwnames
[] = { 
19519         (char *) "self", NULL 
 
19522     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
; 
19523     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
, 
19524     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19525     result 
= (int) ((arg1
)->m_width
); 
19527     resultobj 
= SWIG_FromInt((int)result
); 
19534 static PyObject 
* ListItem_swigregister(PyObject 
*self
, PyObject 
*args
) { 
19536     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
19537     SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
); 
19539     return Py_BuildValue((char *)""); 
19541 static PyObject 
*_wrap_new_ListEvent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19542     PyObject 
*resultobj
; 
19543     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
19544     int arg2 
= (int) 0 ; 
19545     wxListEvent 
*result
; 
19546     PyObject 
* obj0 
= 0 ; 
19547     PyObject 
* obj1 
= 0 ; 
19548     char *kwnames
[] = { 
19549         (char *) "commandType",(char *) "id", NULL 
 
19552     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
; 
19554         arg1 
= (wxEventType
) SWIG_AsInt(obj0
);  
19555         if (PyErr_Occurred()) SWIG_fail
; 
19558         arg2 
= (int) SWIG_AsInt(obj1
);  
19559         if (PyErr_Occurred()) SWIG_fail
; 
19562         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19563         result 
= (wxListEvent 
*)new wxListEvent(arg1
,arg2
); 
19565         wxPyEndAllowThreads(__tstate
); 
19566         if (PyErr_Occurred()) SWIG_fail
; 
19568     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1); 
19575 static PyObject 
*_wrap_ListEvent_m_code_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19576     PyObject 
*resultobj
; 
19577     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
19579     PyObject 
* obj0 
= 0 ; 
19580     PyObject 
* obj1 
= 0 ; 
19581     char *kwnames
[] = { 
19582         (char *) "self",(char *) "m_code", NULL 
 
19585     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
19586     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
19587     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19588     arg2 
= (int) SWIG_AsInt(obj1
);  
19589     if (PyErr_Occurred()) SWIG_fail
; 
19590     if (arg1
) (arg1
)->m_code 
= arg2
; 
19592     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19599 static PyObject 
*_wrap_ListEvent_m_code_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19600     PyObject 
*resultobj
; 
19601     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
19603     PyObject 
* obj0 
= 0 ; 
19604     char *kwnames
[] = { 
19605         (char *) "self", NULL 
 
19608     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
; 
19609     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
19610     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19611     result 
= (int) ((arg1
)->m_code
); 
19613     resultobj 
= SWIG_FromInt((int)result
); 
19620 static PyObject 
*_wrap_ListEvent_m_oldItemIndex_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19621     PyObject 
*resultobj
; 
19622     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
19624     PyObject 
* obj0 
= 0 ; 
19625     PyObject 
* obj1 
= 0 ; 
19626     char *kwnames
[] = { 
19627         (char *) "self",(char *) "m_oldItemIndex", NULL 
 
19630     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
19631     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
19632     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19633     arg2 
= (long) SWIG_AsLong(obj1
);  
19634     if (PyErr_Occurred()) SWIG_fail
; 
19635     if (arg1
) (arg1
)->m_oldItemIndex 
= arg2
; 
19637     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19644 static PyObject 
*_wrap_ListEvent_m_oldItemIndex_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19645     PyObject 
*resultobj
; 
19646     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
19648     PyObject 
* obj0 
= 0 ; 
19649     char *kwnames
[] = { 
19650         (char *) "self", NULL 
 
19653     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
; 
19654     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
19655     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19656     result 
= (long) ((arg1
)->m_oldItemIndex
); 
19658     resultobj 
= SWIG_FromLong((long)result
); 
19665 static PyObject 
*_wrap_ListEvent_m_itemIndex_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19666     PyObject 
*resultobj
; 
19667     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
19669     PyObject 
* obj0 
= 0 ; 
19670     PyObject 
* obj1 
= 0 ; 
19671     char *kwnames
[] = { 
19672         (char *) "self",(char *) "m_itemIndex", NULL 
 
19675     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
19676     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
19677     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19678     arg2 
= (long) SWIG_AsLong(obj1
);  
19679     if (PyErr_Occurred()) SWIG_fail
; 
19680     if (arg1
) (arg1
)->m_itemIndex 
= arg2
; 
19682     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19689 static PyObject 
*_wrap_ListEvent_m_itemIndex_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19690     PyObject 
*resultobj
; 
19691     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
19693     PyObject 
* obj0 
= 0 ; 
19694     char *kwnames
[] = { 
19695         (char *) "self", NULL 
 
19698     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
; 
19699     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
19700     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19701     result 
= (long) ((arg1
)->m_itemIndex
); 
19703     resultobj 
= SWIG_FromLong((long)result
); 
19710 static PyObject 
*_wrap_ListEvent_m_col_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19711     PyObject 
*resultobj
; 
19712     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
19714     PyObject 
* obj0 
= 0 ; 
19715     PyObject 
* obj1 
= 0 ; 
19716     char *kwnames
[] = { 
19717         (char *) "self",(char *) "m_col", NULL 
 
19720     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
19721     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
19722     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19723     arg2 
= (int) SWIG_AsInt(obj1
);  
19724     if (PyErr_Occurred()) SWIG_fail
; 
19725     if (arg1
) (arg1
)->m_col 
= arg2
; 
19727     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19734 static PyObject 
*_wrap_ListEvent_m_col_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19735     PyObject 
*resultobj
; 
19736     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
19738     PyObject 
* obj0 
= 0 ; 
19739     char *kwnames
[] = { 
19740         (char *) "self", NULL 
 
19743     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
; 
19744     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
19745     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19746     result 
= (int) ((arg1
)->m_col
); 
19748     resultobj 
= SWIG_FromInt((int)result
); 
19755 static PyObject 
*_wrap_ListEvent_m_pointDrag_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19756     PyObject 
*resultobj
; 
19757     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
19758     wxPoint 
*arg2 
= (wxPoint 
*) 0 ; 
19759     PyObject 
* obj0 
= 0 ; 
19760     PyObject 
* obj1 
= 0 ; 
19761     char *kwnames
[] = { 
19762         (char *) "self",(char *) "m_pointDrag", NULL 
 
19765     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
19766     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
19767     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19768     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
, 
19769     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19770     if (arg1
) (arg1
)->m_pointDrag 
= *arg2
; 
19772     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19779 static PyObject 
*_wrap_ListEvent_m_pointDrag_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19780     PyObject 
*resultobj
; 
19781     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
19783     PyObject 
* obj0 
= 0 ; 
19784     char *kwnames
[] = { 
19785         (char *) "self", NULL 
 
19788     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
; 
19789     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
19790     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19791     result 
= (wxPoint 
*)& ((arg1
)->m_pointDrag
); 
19793     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0); 
19800 static PyObject 
*_wrap_ListEvent_m_item_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19801     PyObject 
*resultobj
; 
19802     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
19803     wxListItem 
*result
; 
19804     PyObject 
* obj0 
= 0 ; 
19805     char *kwnames
[] = { 
19806         (char *) "self", NULL 
 
19809     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
; 
19810     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
19811     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19812     result 
= (wxListItem 
*)& ((arg1
)->m_item
); 
19815         resultobj 
= wxPyMake_wxObject(result
);  
19823 static PyObject 
*_wrap_ListEvent_GetKeyCode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19824     PyObject 
*resultobj
; 
19825     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
19827     PyObject 
* obj0 
= 0 ; 
19828     char *kwnames
[] = { 
19829         (char *) "self", NULL 
 
19832     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
; 
19833     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
19834     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19836         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19837         result 
= (int)(arg1
)->GetKeyCode(); 
19839         wxPyEndAllowThreads(__tstate
); 
19840         if (PyErr_Occurred()) SWIG_fail
; 
19842     resultobj 
= SWIG_FromInt((int)result
); 
19849 static PyObject 
*_wrap_ListEvent_GetIndex(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19850     PyObject 
*resultobj
; 
19851     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
19853     PyObject 
* obj0 
= 0 ; 
19854     char *kwnames
[] = { 
19855         (char *) "self", NULL 
 
19858     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
; 
19859     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
19860     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19862         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19863         result 
= (long)(arg1
)->GetIndex(); 
19865         wxPyEndAllowThreads(__tstate
); 
19866         if (PyErr_Occurred()) SWIG_fail
; 
19868     resultobj 
= SWIG_FromLong((long)result
); 
19875 static PyObject 
*_wrap_ListEvent_GetColumn(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19876     PyObject 
*resultobj
; 
19877     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
19879     PyObject 
* obj0 
= 0 ; 
19880     char *kwnames
[] = { 
19881         (char *) "self", NULL 
 
19884     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
; 
19885     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
19886     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19888         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19889         result 
= (int)(arg1
)->GetColumn(); 
19891         wxPyEndAllowThreads(__tstate
); 
19892         if (PyErr_Occurred()) SWIG_fail
; 
19894     resultobj 
= SWIG_FromInt((int)result
); 
19901 static PyObject 
*_wrap_ListEvent_GetPoint(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19902     PyObject 
*resultobj
; 
19903     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
19905     PyObject 
* obj0 
= 0 ; 
19906     char *kwnames
[] = { 
19907         (char *) "self", NULL 
 
19910     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
; 
19911     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
19912     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19914         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19915         result 
= (arg1
)->GetPoint(); 
19917         wxPyEndAllowThreads(__tstate
); 
19918         if (PyErr_Occurred()) SWIG_fail
; 
19921         wxPoint 
* resultptr
; 
19922         resultptr 
= new wxPoint((wxPoint 
&) result
); 
19923         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
19931 static PyObject 
*_wrap_ListEvent_GetLabel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19932     PyObject 
*resultobj
; 
19933     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
19935     PyObject 
* obj0 
= 0 ; 
19936     char *kwnames
[] = { 
19937         (char *) "self", NULL 
 
19940     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
; 
19941     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
19942     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19944         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19946             wxString 
const &_result_ref 
= (arg1
)->GetLabel(); 
19947             result 
= (wxString 
*) &_result_ref
; 
19950         wxPyEndAllowThreads(__tstate
); 
19951         if (PyErr_Occurred()) SWIG_fail
; 
19955         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
19957         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
19966 static PyObject 
*_wrap_ListEvent_GetText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19967     PyObject 
*resultobj
; 
19968     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
19970     PyObject 
* obj0 
= 0 ; 
19971     char *kwnames
[] = { 
19972         (char *) "self", NULL 
 
19975     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
; 
19976     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
19977     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19979         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19981             wxString 
const &_result_ref 
= (arg1
)->GetText(); 
19982             result 
= (wxString 
*) &_result_ref
; 
19985         wxPyEndAllowThreads(__tstate
); 
19986         if (PyErr_Occurred()) SWIG_fail
; 
19990         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
19992         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
20001 static PyObject 
*_wrap_ListEvent_GetImage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20002     PyObject 
*resultobj
; 
20003     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
20005     PyObject 
* obj0 
= 0 ; 
20006     char *kwnames
[] = { 
20007         (char *) "self", NULL 
 
20010     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
; 
20011     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
20012     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20014         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20015         result 
= (int)(arg1
)->GetImage(); 
20017         wxPyEndAllowThreads(__tstate
); 
20018         if (PyErr_Occurred()) SWIG_fail
; 
20020     resultobj 
= SWIG_FromInt((int)result
); 
20027 static PyObject 
*_wrap_ListEvent_GetData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20028     PyObject 
*resultobj
; 
20029     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
20031     PyObject 
* obj0 
= 0 ; 
20032     char *kwnames
[] = { 
20033         (char *) "self", NULL 
 
20036     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
; 
20037     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
20038     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20040         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20041         result 
= (long)(arg1
)->GetData(); 
20043         wxPyEndAllowThreads(__tstate
); 
20044         if (PyErr_Occurred()) SWIG_fail
; 
20046     resultobj 
= SWIG_FromLong((long)result
); 
20053 static PyObject 
*_wrap_ListEvent_GetMask(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20054     PyObject 
*resultobj
; 
20055     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
20057     PyObject 
* obj0 
= 0 ; 
20058     char *kwnames
[] = { 
20059         (char *) "self", NULL 
 
20062     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
; 
20063     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
20064     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20066         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20067         result 
= (long)(arg1
)->GetMask(); 
20069         wxPyEndAllowThreads(__tstate
); 
20070         if (PyErr_Occurred()) SWIG_fail
; 
20072     resultobj 
= SWIG_FromLong((long)result
); 
20079 static PyObject 
*_wrap_ListEvent_GetItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20080     PyObject 
*resultobj
; 
20081     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
20082     wxListItem 
*result
; 
20083     PyObject 
* obj0 
= 0 ; 
20084     char *kwnames
[] = { 
20085         (char *) "self", NULL 
 
20088     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
; 
20089     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
20090     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20092         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20094             wxListItem 
const &_result_ref 
= (arg1
)->GetItem(); 
20095             result 
= (wxListItem 
*) &_result_ref
; 
20098         wxPyEndAllowThreads(__tstate
); 
20099         if (PyErr_Occurred()) SWIG_fail
; 
20101     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0); 
20108 static PyObject 
*_wrap_ListEvent_GetCacheFrom(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20109     PyObject 
*resultobj
; 
20110     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
20112     PyObject 
* obj0 
= 0 ; 
20113     char *kwnames
[] = { 
20114         (char *) "self", NULL 
 
20117     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
; 
20118     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
20119     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20121         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20122         result 
= (long)(arg1
)->GetCacheFrom(); 
20124         wxPyEndAllowThreads(__tstate
); 
20125         if (PyErr_Occurred()) SWIG_fail
; 
20127     resultobj 
= SWIG_FromLong((long)result
); 
20134 static PyObject 
*_wrap_ListEvent_GetCacheTo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20135     PyObject 
*resultobj
; 
20136     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
20138     PyObject 
* obj0 
= 0 ; 
20139     char *kwnames
[] = { 
20140         (char *) "self", NULL 
 
20143     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
; 
20144     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
20145     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20147         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20148         result 
= (long)(arg1
)->GetCacheTo(); 
20150         wxPyEndAllowThreads(__tstate
); 
20151         if (PyErr_Occurred()) SWIG_fail
; 
20153     resultobj 
= SWIG_FromLong((long)result
); 
20160 static PyObject 
*_wrap_ListEvent_IsEditCancelled(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20161     PyObject 
*resultobj
; 
20162     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
20164     PyObject 
* obj0 
= 0 ; 
20165     char *kwnames
[] = { 
20166         (char *) "self", NULL 
 
20169     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
; 
20170     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
20171     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20173         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20174         result 
= (bool)((wxListEvent 
const *)arg1
)->IsEditCancelled(); 
20176         wxPyEndAllowThreads(__tstate
); 
20177         if (PyErr_Occurred()) SWIG_fail
; 
20180         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20188 static PyObject 
*_wrap_ListEvent_SetEditCanceled(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20189     PyObject 
*resultobj
; 
20190     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
20192     PyObject 
* obj0 
= 0 ; 
20193     PyObject 
* obj1 
= 0 ; 
20194     char *kwnames
[] = { 
20195         (char *) "self",(char *) "editCancelled", NULL 
 
20198     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
; 
20199     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
, 
20200     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20201     arg2 
= (bool) SWIG_AsBool(obj1
);  
20202     if (PyErr_Occurred()) SWIG_fail
; 
20204         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20205         (arg1
)->SetEditCanceled(arg2
); 
20207         wxPyEndAllowThreads(__tstate
); 
20208         if (PyErr_Occurred()) SWIG_fail
; 
20210     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20217 static PyObject 
* ListEvent_swigregister(PyObject 
*self
, PyObject 
*args
) { 
20219     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
20220     SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
); 
20222     return Py_BuildValue((char *)""); 
20224 static PyObject 
*_wrap_new_ListCtrl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20225     PyObject 
*resultobj
; 
20226     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
20227     int arg2 
= (int) -1 ; 
20228     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
20229     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
20230     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
20231     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
20232     long arg5 
= (long) wxLC_ICON 
; 
20233     wxValidator 
const &arg6_defvalue 
= wxDefaultValidator 
; 
20234     wxValidator 
*arg6 
= (wxValidator 
*) &arg6_defvalue 
; 
20235     wxString 
const &arg7_defvalue 
= wxPyListCtrlNameStr 
; 
20236     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
20237     wxPyListCtrl 
*result
; 
20240     bool temp7 
= False 
; 
20241     PyObject 
* obj0 
= 0 ; 
20242     PyObject 
* obj1 
= 0 ; 
20243     PyObject 
* obj2 
= 0 ; 
20244     PyObject 
* obj3 
= 0 ; 
20245     PyObject 
* obj4 
= 0 ; 
20246     PyObject 
* obj5 
= 0 ; 
20247     PyObject 
* obj6 
= 0 ; 
20248     char *kwnames
[] = { 
20249         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
20252     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
20253     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
20254     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20256         arg2 
= (int) SWIG_AsInt(obj1
);  
20257         if (PyErr_Occurred()) SWIG_fail
; 
20262             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
20268             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
20272         arg5 
= (long) SWIG_AsLong(obj4
);  
20273         if (PyErr_Occurred()) SWIG_fail
; 
20276         if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
, 
20277         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20279         if (arg6 
== NULL
) { 
20280             PyErr_SetString(PyExc_TypeError
,"null reference"); 
20286             arg7 
= wxString_in_helper(obj6
); 
20287             if (arg7 
== NULL
) SWIG_fail
; 
20292         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20293         result 
= (wxPyListCtrl 
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxValidator 
const &)*arg6
,(wxString 
const &)*arg7
); 
20295         wxPyEndAllowThreads(__tstate
); 
20296         if (PyErr_Occurred()) SWIG_fail
; 
20298     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1); 
20313 static PyObject 
*_wrap_new_PreListCtrl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20314     PyObject 
*resultobj
; 
20315     wxPyListCtrl 
*result
; 
20316     char *kwnames
[] = { 
20320     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
; 
20322         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20323         result 
= (wxPyListCtrl 
*)new wxPyListCtrl(); 
20325         wxPyEndAllowThreads(__tstate
); 
20326         if (PyErr_Occurred()) SWIG_fail
; 
20328     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1); 
20335 static PyObject 
*_wrap_ListCtrl_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20336     PyObject 
*resultobj
; 
20337     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
20338     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
20339     int arg3 
= (int) -1 ; 
20340     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
20341     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
20342     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
20343     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
20344     long arg6 
= (long) wxLC_ICON 
; 
20345     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
20346     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
20347     wxString 
const &arg8_defvalue 
= wxPyListCtrlNameStr 
; 
20348     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
20352     bool temp8 
= False 
; 
20353     PyObject 
* obj0 
= 0 ; 
20354     PyObject 
* obj1 
= 0 ; 
20355     PyObject 
* obj2 
= 0 ; 
20356     PyObject 
* obj3 
= 0 ; 
20357     PyObject 
* obj4 
= 0 ; 
20358     PyObject 
* obj5 
= 0 ; 
20359     PyObject 
* obj6 
= 0 ; 
20360     PyObject 
* obj7 
= 0 ; 
20361     char *kwnames
[] = { 
20362         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
20365     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
20366     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
20367     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20368     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
20369     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20371         arg3 
= (int) SWIG_AsInt(obj2
);  
20372         if (PyErr_Occurred()) SWIG_fail
; 
20377             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
20383             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
20387         arg6 
= (long) SWIG_AsLong(obj5
);  
20388         if (PyErr_Occurred()) SWIG_fail
; 
20391         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
, 
20392         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20394         if (arg7 
== NULL
) { 
20395             PyErr_SetString(PyExc_TypeError
,"null reference"); 
20401             arg8 
= wxString_in_helper(obj7
); 
20402             if (arg8 
== NULL
) SWIG_fail
; 
20407         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20408         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
20410         wxPyEndAllowThreads(__tstate
); 
20411         if (PyErr_Occurred()) SWIG_fail
; 
20414         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20430 static PyObject 
*_wrap_ListCtrl__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20431     PyObject 
*resultobj
; 
20432     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
20433     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
20434     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
20435     PyObject 
* obj0 
= 0 ; 
20436     PyObject 
* obj1 
= 0 ; 
20437     PyObject 
* obj2 
= 0 ; 
20438     char *kwnames
[] = { 
20439         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
20442     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
20443     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
20444     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20448         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20449         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
20451         wxPyEndAllowThreads(__tstate
); 
20452         if (PyErr_Occurred()) SWIG_fail
; 
20454     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20461 static PyObject 
*_wrap_ListCtrl_SetForegroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20462     PyObject 
*resultobj
; 
20463     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
20464     wxColour 
*arg2 
= 0 ; 
20467     PyObject 
* obj0 
= 0 ; 
20468     PyObject 
* obj1 
= 0 ; 
20469     char *kwnames
[] = { 
20470         (char *) "self",(char *) "col", NULL 
 
20473     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
20474     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
20475     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20478         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
20481         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20482         result 
= (bool)(arg1
)->SetForegroundColour((wxColour 
const &)*arg2
); 
20484         wxPyEndAllowThreads(__tstate
); 
20485         if (PyErr_Occurred()) SWIG_fail
; 
20488         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20496 static PyObject 
*_wrap_ListCtrl_SetBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20497     PyObject 
*resultobj
; 
20498     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
20499     wxColour 
*arg2 
= 0 ; 
20502     PyObject 
* obj0 
= 0 ; 
20503     PyObject 
* obj1 
= 0 ; 
20504     char *kwnames
[] = { 
20505         (char *) "self",(char *) "col", NULL 
 
20508     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
20509     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
20510     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20513         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
20516         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20517         result 
= (bool)(arg1
)->SetBackgroundColour((wxColour 
const &)*arg2
); 
20519         wxPyEndAllowThreads(__tstate
); 
20520         if (PyErr_Occurred()) SWIG_fail
; 
20523         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20531 static PyObject 
*_wrap_ListCtrl_GetColumn(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20532     PyObject 
*resultobj
; 
20533     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
20535     wxListItem 
*result
; 
20536     PyObject 
* obj0 
= 0 ; 
20537     PyObject 
* obj1 
= 0 ; 
20538     char *kwnames
[] = { 
20539         (char *) "self",(char *) "col", NULL 
 
20542     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
; 
20543     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
20544     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20545     arg2 
= (int) SWIG_AsInt(obj1
);  
20546     if (PyErr_Occurred()) SWIG_fail
; 
20548         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20549         result 
= (wxListItem 
*)wxPyListCtrl_GetColumn(arg1
,arg2
); 
20551         wxPyEndAllowThreads(__tstate
); 
20552         if (PyErr_Occurred()) SWIG_fail
; 
20555         resultobj 
= wxPyMake_wxObject(result
);  
20563 static PyObject 
*_wrap_ListCtrl_SetColumn(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20564     PyObject 
*resultobj
; 
20565     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
20567     wxListItem 
*arg3 
= 0 ; 
20569     PyObject 
* obj0 
= 0 ; 
20570     PyObject 
* obj1 
= 0 ; 
20571     PyObject 
* obj2 
= 0 ; 
20572     char *kwnames
[] = { 
20573         (char *) "self",(char *) "col",(char *) "item", NULL 
 
20576     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
20577     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
20578     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20579     arg2 
= (int) SWIG_AsInt(obj1
);  
20580     if (PyErr_Occurred()) SWIG_fail
; 
20581     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
, 
20582     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20584     if (arg3 
== NULL
) { 
20585         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20589         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20590         result 
= (bool)(arg1
)->SetColumn(arg2
,*arg3
); 
20592         wxPyEndAllowThreads(__tstate
); 
20593         if (PyErr_Occurred()) SWIG_fail
; 
20596         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20604 static PyObject 
*_wrap_ListCtrl_GetColumnWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20605     PyObject 
*resultobj
; 
20606     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
20609     PyObject 
* obj0 
= 0 ; 
20610     PyObject 
* obj1 
= 0 ; 
20611     char *kwnames
[] = { 
20612         (char *) "self",(char *) "col", NULL 
 
20615     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
20616     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
20617     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20618     arg2 
= (int) SWIG_AsInt(obj1
);  
20619     if (PyErr_Occurred()) SWIG_fail
; 
20621         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20622         result 
= (int)((wxPyListCtrl 
const *)arg1
)->GetColumnWidth(arg2
); 
20624         wxPyEndAllowThreads(__tstate
); 
20625         if (PyErr_Occurred()) SWIG_fail
; 
20627     resultobj 
= SWIG_FromInt((int)result
); 
20634 static PyObject 
*_wrap_ListCtrl_SetColumnWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20635     PyObject 
*resultobj
; 
20636     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
20640     PyObject 
* obj0 
= 0 ; 
20641     PyObject 
* obj1 
= 0 ; 
20642     PyObject 
* obj2 
= 0 ; 
20643     char *kwnames
[] = { 
20644         (char *) "self",(char *) "col",(char *) "width", NULL 
 
20647     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
20648     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
20649     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20650     arg2 
= (int) SWIG_AsInt(obj1
);  
20651     if (PyErr_Occurred()) SWIG_fail
; 
20652     arg3 
= (int) SWIG_AsInt(obj2
);  
20653     if (PyErr_Occurred()) SWIG_fail
; 
20655         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20656         result 
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
); 
20658         wxPyEndAllowThreads(__tstate
); 
20659         if (PyErr_Occurred()) SWIG_fail
; 
20662         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20670 static PyObject 
*_wrap_ListCtrl_GetCountPerPage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20671     PyObject 
*resultobj
; 
20672     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
20674     PyObject 
* obj0 
= 0 ; 
20675     char *kwnames
[] = { 
20676         (char *) "self", NULL 
 
20679     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
; 
20680     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
20681     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20683         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20684         result 
= (int)((wxPyListCtrl 
const *)arg1
)->GetCountPerPage(); 
20686         wxPyEndAllowThreads(__tstate
); 
20687         if (PyErr_Occurred()) SWIG_fail
; 
20689     resultobj 
= SWIG_FromInt((int)result
); 
20696 static PyObject 
*_wrap_ListCtrl_GetViewRect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20697     PyObject 
*resultobj
; 
20698     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
20700     PyObject 
* obj0 
= 0 ; 
20701     char *kwnames
[] = { 
20702         (char *) "self", NULL 
 
20705     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
; 
20706     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
20707     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20709         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20710         result 
= ((wxPyListCtrl 
const *)arg1
)->GetViewRect(); 
20712         wxPyEndAllowThreads(__tstate
); 
20713         if (PyErr_Occurred()) SWIG_fail
; 
20716         wxRect 
* resultptr
; 
20717         resultptr 
= new wxRect((wxRect 
&) result
); 
20718         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
20726 static PyObject 
*_wrap_ListCtrl_GetItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20727     PyObject 
*resultobj
; 
20728     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
20730     int arg3 
= (int) 0 ; 
20731     wxListItem 
*result
; 
20732     PyObject 
* obj0 
= 0 ; 
20733     PyObject 
* obj1 
= 0 ; 
20734     PyObject 
* obj2 
= 0 ; 
20735     char *kwnames
[] = { 
20736         (char *) "self",(char *) "itemId",(char *) "col", NULL 
 
20739     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
20740     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
20741     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20742     arg2 
= (long) SWIG_AsLong(obj1
);  
20743     if (PyErr_Occurred()) SWIG_fail
; 
20745         arg3 
= (int) SWIG_AsInt(obj2
);  
20746         if (PyErr_Occurred()) SWIG_fail
; 
20749         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20750         result 
= (wxListItem 
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
); 
20752         wxPyEndAllowThreads(__tstate
); 
20753         if (PyErr_Occurred()) SWIG_fail
; 
20756         resultobj 
= wxPyMake_wxObject(result
);  
20764 static PyObject 
*_wrap_ListCtrl_SetItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20765     PyObject 
*resultobj
; 
20766     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
20767     wxListItem 
*arg2 
= 0 ; 
20769     PyObject 
* obj0 
= 0 ; 
20770     PyObject 
* obj1 
= 0 ; 
20771     char *kwnames
[] = { 
20772         (char *) "self",(char *) "info", NULL 
 
20775     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
20776     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
20777     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20778     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
, 
20779     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20781     if (arg2 
== NULL
) { 
20782         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20786         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20787         result 
= (bool)(arg1
)->SetItem(*arg2
); 
20789         wxPyEndAllowThreads(__tstate
); 
20790         if (PyErr_Occurred()) SWIG_fail
; 
20793         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20801 static PyObject 
*_wrap_ListCtrl_SetStringItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20802     PyObject 
*resultobj
; 
20803     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
20806     wxString 
*arg4 
= 0 ; 
20807     int arg5 
= (int) -1 ; 
20809     bool temp4 
= False 
; 
20810     PyObject 
* obj0 
= 0 ; 
20811     PyObject 
* obj1 
= 0 ; 
20812     PyObject 
* obj2 
= 0 ; 
20813     PyObject 
* obj3 
= 0 ; 
20814     PyObject 
* obj4 
= 0 ; 
20815     char *kwnames
[] = { 
20816         (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL 
 
20819     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
20820     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
20821     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20822     arg2 
= (long) SWIG_AsLong(obj1
);  
20823     if (PyErr_Occurred()) SWIG_fail
; 
20824     arg3 
= (int) SWIG_AsInt(obj2
);  
20825     if (PyErr_Occurred()) SWIG_fail
; 
20827         arg4 
= wxString_in_helper(obj3
); 
20828         if (arg4 
== NULL
) SWIG_fail
; 
20832         arg5 
= (int) SWIG_AsInt(obj4
);  
20833         if (PyErr_Occurred()) SWIG_fail
; 
20836         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20837         result 
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString 
const &)*arg4
,arg5
); 
20839         wxPyEndAllowThreads(__tstate
); 
20840         if (PyErr_Occurred()) SWIG_fail
; 
20842     resultobj 
= SWIG_FromLong((long)result
); 
20857 static PyObject 
*_wrap_ListCtrl_GetItemState(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20858     PyObject 
*resultobj
; 
20859     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
20863     PyObject 
* obj0 
= 0 ; 
20864     PyObject 
* obj1 
= 0 ; 
20865     PyObject 
* obj2 
= 0 ; 
20866     char *kwnames
[] = { 
20867         (char *) "self",(char *) "item",(char *) "stateMask", NULL 
 
20870     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
20871     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
20872     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20873     arg2 
= (long) SWIG_AsLong(obj1
);  
20874     if (PyErr_Occurred()) SWIG_fail
; 
20875     arg3 
= (long) SWIG_AsLong(obj2
);  
20876     if (PyErr_Occurred()) SWIG_fail
; 
20878         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20879         result 
= (int)((wxPyListCtrl 
const *)arg1
)->GetItemState(arg2
,arg3
); 
20881         wxPyEndAllowThreads(__tstate
); 
20882         if (PyErr_Occurred()) SWIG_fail
; 
20884     resultobj 
= SWIG_FromInt((int)result
); 
20891 static PyObject 
*_wrap_ListCtrl_SetItemState(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20892     PyObject 
*resultobj
; 
20893     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
20898     PyObject 
* obj0 
= 0 ; 
20899     PyObject 
* obj1 
= 0 ; 
20900     PyObject 
* obj2 
= 0 ; 
20901     PyObject 
* obj3 
= 0 ; 
20902     char *kwnames
[] = { 
20903         (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL 
 
20906     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
20907     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
20908     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20909     arg2 
= (long) SWIG_AsLong(obj1
);  
20910     if (PyErr_Occurred()) SWIG_fail
; 
20911     arg3 
= (long) SWIG_AsLong(obj2
);  
20912     if (PyErr_Occurred()) SWIG_fail
; 
20913     arg4 
= (long) SWIG_AsLong(obj3
);  
20914     if (PyErr_Occurred()) SWIG_fail
; 
20916         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20917         result 
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
); 
20919         wxPyEndAllowThreads(__tstate
); 
20920         if (PyErr_Occurred()) SWIG_fail
; 
20923         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20931 static PyObject 
*_wrap_ListCtrl_SetItemImage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20932     PyObject 
*resultobj
; 
20933     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
20938     PyObject 
* obj0 
= 0 ; 
20939     PyObject 
* obj1 
= 0 ; 
20940     PyObject 
* obj2 
= 0 ; 
20941     PyObject 
* obj3 
= 0 ; 
20942     char *kwnames
[] = { 
20943         (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL 
 
20946     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
20947     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
20948     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20949     arg2 
= (long) SWIG_AsLong(obj1
);  
20950     if (PyErr_Occurred()) SWIG_fail
; 
20951     arg3 
= (int) SWIG_AsInt(obj2
);  
20952     if (PyErr_Occurred()) SWIG_fail
; 
20953     arg4 
= (int) SWIG_AsInt(obj3
);  
20954     if (PyErr_Occurred()) SWIG_fail
; 
20956         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20957         result 
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
); 
20959         wxPyEndAllowThreads(__tstate
); 
20960         if (PyErr_Occurred()) SWIG_fail
; 
20963         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20971 static PyObject 
*_wrap_ListCtrl_GetItemText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20972     PyObject 
*resultobj
; 
20973     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
20976     PyObject 
* obj0 
= 0 ; 
20977     PyObject 
* obj1 
= 0 ; 
20978     char *kwnames
[] = { 
20979         (char *) "self",(char *) "item", NULL 
 
20982     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
; 
20983     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
20984     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20985     arg2 
= (long) SWIG_AsLong(obj1
);  
20986     if (PyErr_Occurred()) SWIG_fail
; 
20988         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20989         result 
= ((wxPyListCtrl 
const *)arg1
)->GetItemText(arg2
); 
20991         wxPyEndAllowThreads(__tstate
); 
20992         if (PyErr_Occurred()) SWIG_fail
; 
20996         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
20998         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
21007 static PyObject 
*_wrap_ListCtrl_SetItemText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21008     PyObject 
*resultobj
; 
21009     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21011     wxString 
*arg3 
= 0 ; 
21012     bool temp3 
= False 
; 
21013     PyObject 
* obj0 
= 0 ; 
21014     PyObject 
* obj1 
= 0 ; 
21015     PyObject 
* obj2 
= 0 ; 
21016     char *kwnames
[] = { 
21017         (char *) "self",(char *) "item",(char *) "str", NULL 
 
21020     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
21021     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21022     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21023     arg2 
= (long) SWIG_AsLong(obj1
);  
21024     if (PyErr_Occurred()) SWIG_fail
; 
21026         arg3 
= wxString_in_helper(obj2
); 
21027         if (arg3 
== NULL
) SWIG_fail
; 
21031         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21032         (arg1
)->SetItemText(arg2
,(wxString 
const &)*arg3
); 
21034         wxPyEndAllowThreads(__tstate
); 
21035         if (PyErr_Occurred()) SWIG_fail
; 
21037     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21052 static PyObject 
*_wrap_ListCtrl_GetItemData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21053     PyObject 
*resultobj
; 
21054     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21057     PyObject 
* obj0 
= 0 ; 
21058     PyObject 
* obj1 
= 0 ; 
21059     char *kwnames
[] = { 
21060         (char *) "self",(char *) "item", NULL 
 
21063     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
; 
21064     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21065     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21066     arg2 
= (long) SWIG_AsLong(obj1
);  
21067     if (PyErr_Occurred()) SWIG_fail
; 
21069         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21070         result 
= (long)((wxPyListCtrl 
const *)arg1
)->GetItemData(arg2
); 
21072         wxPyEndAllowThreads(__tstate
); 
21073         if (PyErr_Occurred()) SWIG_fail
; 
21075     resultobj 
= SWIG_FromLong((long)result
); 
21082 static PyObject 
*_wrap_ListCtrl_SetItemData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21083     PyObject 
*resultobj
; 
21084     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21088     PyObject 
* obj0 
= 0 ; 
21089     PyObject 
* obj1 
= 0 ; 
21090     PyObject 
* obj2 
= 0 ; 
21091     char *kwnames
[] = { 
21092         (char *) "self",(char *) "item",(char *) "data", NULL 
 
21095     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
21096     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21097     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21098     arg2 
= (long) SWIG_AsLong(obj1
);  
21099     if (PyErr_Occurred()) SWIG_fail
; 
21100     arg3 
= (long) SWIG_AsLong(obj2
);  
21101     if (PyErr_Occurred()) SWIG_fail
; 
21103         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21104         result 
= (bool)(arg1
)->SetItemData(arg2
,arg3
); 
21106         wxPyEndAllowThreads(__tstate
); 
21107         if (PyErr_Occurred()) SWIG_fail
; 
21110         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21118 static PyObject 
*_wrap_ListCtrl_GetItemPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21119     PyObject 
*resultobj
; 
21120     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21123     PyObject 
* obj0 
= 0 ; 
21124     PyObject 
* obj1 
= 0 ; 
21125     char *kwnames
[] = { 
21126         (char *) "self",(char *) "item", NULL 
 
21129     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
21130     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21131     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21132     arg2 
= (long) SWIG_AsLong(obj1
);  
21133     if (PyErr_Occurred()) SWIG_fail
; 
21135         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21136         result 
= wxPyListCtrl_GetItemPosition(arg1
,arg2
); 
21138         wxPyEndAllowThreads(__tstate
); 
21139         if (PyErr_Occurred()) SWIG_fail
; 
21142         wxPoint 
* resultptr
; 
21143         resultptr 
= new wxPoint((wxPoint 
&) result
); 
21144         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
21152 static PyObject 
*_wrap_ListCtrl_GetItemRect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21153     PyObject 
*resultobj
; 
21154     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21156     int arg3 
= (int) wxLIST_RECT_BOUNDS 
; 
21158     PyObject 
* obj0 
= 0 ; 
21159     PyObject 
* obj1 
= 0 ; 
21160     PyObject 
* obj2 
= 0 ; 
21161     char *kwnames
[] = { 
21162         (char *) "self",(char *) "item",(char *) "code", NULL 
 
21165     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
21166     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21167     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21168     arg2 
= (long) SWIG_AsLong(obj1
);  
21169     if (PyErr_Occurred()) SWIG_fail
; 
21171         arg3 
= (int) SWIG_AsInt(obj2
);  
21172         if (PyErr_Occurred()) SWIG_fail
; 
21175         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21176         result 
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
); 
21178         wxPyEndAllowThreads(__tstate
); 
21179         if (PyErr_Occurred()) SWIG_fail
; 
21182         wxRect 
* resultptr
; 
21183         resultptr 
= new wxRect((wxRect 
&) result
); 
21184         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
21192 static PyObject 
*_wrap_ListCtrl_SetItemPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21193     PyObject 
*resultobj
; 
21194     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21196     wxPoint 
*arg3 
= 0 ; 
21199     PyObject 
* obj0 
= 0 ; 
21200     PyObject 
* obj1 
= 0 ; 
21201     PyObject 
* obj2 
= 0 ; 
21202     char *kwnames
[] = { 
21203         (char *) "self",(char *) "item",(char *) "pos", NULL 
 
21206     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
21207     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21208     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21209     arg2 
= (long) SWIG_AsLong(obj1
);  
21210     if (PyErr_Occurred()) SWIG_fail
; 
21213         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
21216         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21217         result 
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint 
const &)*arg3
); 
21219         wxPyEndAllowThreads(__tstate
); 
21220         if (PyErr_Occurred()) SWIG_fail
; 
21223         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21231 static PyObject 
*_wrap_ListCtrl_GetItemCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21232     PyObject 
*resultobj
; 
21233     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21235     PyObject 
* obj0 
= 0 ; 
21236     char *kwnames
[] = { 
21237         (char *) "self", NULL 
 
21240     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
; 
21241     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21242     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21244         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21245         result 
= (int)((wxPyListCtrl 
const *)arg1
)->GetItemCount(); 
21247         wxPyEndAllowThreads(__tstate
); 
21248         if (PyErr_Occurred()) SWIG_fail
; 
21250     resultobj 
= SWIG_FromInt((int)result
); 
21257 static PyObject 
*_wrap_ListCtrl_GetColumnCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21258     PyObject 
*resultobj
; 
21259     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21261     PyObject 
* obj0 
= 0 ; 
21262     char *kwnames
[] = { 
21263         (char *) "self", NULL 
 
21266     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
; 
21267     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21268     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21270         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21271         result 
= (int)((wxPyListCtrl 
const *)arg1
)->GetColumnCount(); 
21273         wxPyEndAllowThreads(__tstate
); 
21274         if (PyErr_Occurred()) SWIG_fail
; 
21276     resultobj 
= SWIG_FromInt((int)result
); 
21283 static PyObject 
*_wrap_ListCtrl_GetItemSpacing(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21284     PyObject 
*resultobj
; 
21285     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21287     PyObject 
* obj0 
= 0 ; 
21288     char *kwnames
[] = { 
21289         (char *) "self", NULL 
 
21292     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
; 
21293     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21294     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21296         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21297         result 
= ((wxPyListCtrl 
const *)arg1
)->GetItemSpacing(); 
21299         wxPyEndAllowThreads(__tstate
); 
21300         if (PyErr_Occurred()) SWIG_fail
; 
21303         wxSize 
* resultptr
; 
21304         resultptr 
= new wxSize((wxSize 
&) result
); 
21305         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
21313 static PyObject 
*_wrap_ListCtrl_SetItemSpacing(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21314     PyObject 
*resultobj
; 
21315     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21317     bool arg3 
= (bool) False 
; 
21318     PyObject 
* obj0 
= 0 ; 
21319     PyObject 
* obj1 
= 0 ; 
21320     PyObject 
* obj2 
= 0 ; 
21321     char *kwnames
[] = { 
21322         (char *) "self",(char *) "spacing",(char *) "isSmall", NULL 
 
21325     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
21326     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21327     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21328     arg2 
= (int) SWIG_AsInt(obj1
);  
21329     if (PyErr_Occurred()) SWIG_fail
; 
21331         arg3 
= (bool) SWIG_AsBool(obj2
);  
21332         if (PyErr_Occurred()) SWIG_fail
; 
21335         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21336         (arg1
)->SetItemSpacing(arg2
,arg3
); 
21338         wxPyEndAllowThreads(__tstate
); 
21339         if (PyErr_Occurred()) SWIG_fail
; 
21341     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21348 static PyObject 
*_wrap_ListCtrl_GetSelectedItemCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21349     PyObject 
*resultobj
; 
21350     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21352     PyObject 
* obj0 
= 0 ; 
21353     char *kwnames
[] = { 
21354         (char *) "self", NULL 
 
21357     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
; 
21358     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21359     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21361         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21362         result 
= (int)((wxPyListCtrl 
const *)arg1
)->GetSelectedItemCount(); 
21364         wxPyEndAllowThreads(__tstate
); 
21365         if (PyErr_Occurred()) SWIG_fail
; 
21367     resultobj 
= SWIG_FromInt((int)result
); 
21374 static PyObject 
*_wrap_ListCtrl_GetTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21375     PyObject 
*resultobj
; 
21376     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21378     PyObject 
* obj0 
= 0 ; 
21379     char *kwnames
[] = { 
21380         (char *) "self", NULL 
 
21383     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
; 
21384     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21385     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21387         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21388         result 
= ((wxPyListCtrl 
const *)arg1
)->GetTextColour(); 
21390         wxPyEndAllowThreads(__tstate
); 
21391         if (PyErr_Occurred()) SWIG_fail
; 
21394         wxColour 
* resultptr
; 
21395         resultptr 
= new wxColour((wxColour 
&) result
); 
21396         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
21404 static PyObject 
*_wrap_ListCtrl_SetTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21405     PyObject 
*resultobj
; 
21406     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21407     wxColour 
*arg2 
= 0 ; 
21409     PyObject 
* obj0 
= 0 ; 
21410     PyObject 
* obj1 
= 0 ; 
21411     char *kwnames
[] = { 
21412         (char *) "self",(char *) "col", NULL 
 
21415     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
21416     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21417     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21420         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
21423         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21424         (arg1
)->SetTextColour((wxColour 
const &)*arg2
); 
21426         wxPyEndAllowThreads(__tstate
); 
21427         if (PyErr_Occurred()) SWIG_fail
; 
21429     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21436 static PyObject 
*_wrap_ListCtrl_GetTopItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21437     PyObject 
*resultobj
; 
21438     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21440     PyObject 
* obj0 
= 0 ; 
21441     char *kwnames
[] = { 
21442         (char *) "self", NULL 
 
21445     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
; 
21446     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21447     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21449         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21450         result 
= (long)((wxPyListCtrl 
const *)arg1
)->GetTopItem(); 
21452         wxPyEndAllowThreads(__tstate
); 
21453         if (PyErr_Occurred()) SWIG_fail
; 
21455     resultobj 
= SWIG_FromLong((long)result
); 
21462 static PyObject 
*_wrap_ListCtrl_SetSingleStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21463     PyObject 
*resultobj
; 
21464     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21466     bool arg3 
= (bool) True 
; 
21467     PyObject 
* obj0 
= 0 ; 
21468     PyObject 
* obj1 
= 0 ; 
21469     PyObject 
* obj2 
= 0 ; 
21470     char *kwnames
[] = { 
21471         (char *) "self",(char *) "style",(char *) "add", NULL 
 
21474     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
21475     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21476     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21477     arg2 
= (long) SWIG_AsLong(obj1
);  
21478     if (PyErr_Occurred()) SWIG_fail
; 
21480         arg3 
= (bool) SWIG_AsBool(obj2
);  
21481         if (PyErr_Occurred()) SWIG_fail
; 
21484         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21485         (arg1
)->SetSingleStyle(arg2
,arg3
); 
21487         wxPyEndAllowThreads(__tstate
); 
21488         if (PyErr_Occurred()) SWIG_fail
; 
21490     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21497 static PyObject 
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21498     PyObject 
*resultobj
; 
21499     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21501     PyObject 
* obj0 
= 0 ; 
21502     PyObject 
* obj1 
= 0 ; 
21503     char *kwnames
[] = { 
21504         (char *) "self",(char *) "style", NULL 
 
21507     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
; 
21508     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21509     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21510     arg2 
= (long) SWIG_AsLong(obj1
);  
21511     if (PyErr_Occurred()) SWIG_fail
; 
21513         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21514         (arg1
)->SetWindowStyleFlag(arg2
); 
21516         wxPyEndAllowThreads(__tstate
); 
21517         if (PyErr_Occurred()) SWIG_fail
; 
21519     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21526 static PyObject 
*_wrap_ListCtrl_GetNextItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21527     PyObject 
*resultobj
; 
21528     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21530     int arg3 
= (int) wxLIST_NEXT_ALL 
; 
21531     int arg4 
= (int) wxLIST_STATE_DONTCARE 
; 
21533     PyObject 
* obj0 
= 0 ; 
21534     PyObject 
* obj1 
= 0 ; 
21535     PyObject 
* obj2 
= 0 ; 
21536     PyObject 
* obj3 
= 0 ; 
21537     char *kwnames
[] = { 
21538         (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL 
 
21541     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
21542     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21543     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21544     arg2 
= (long) SWIG_AsLong(obj1
);  
21545     if (PyErr_Occurred()) SWIG_fail
; 
21547         arg3 
= (int) SWIG_AsInt(obj2
);  
21548         if (PyErr_Occurred()) SWIG_fail
; 
21551         arg4 
= (int) SWIG_AsInt(obj3
);  
21552         if (PyErr_Occurred()) SWIG_fail
; 
21555         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21556         result 
= (long)((wxPyListCtrl 
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
); 
21558         wxPyEndAllowThreads(__tstate
); 
21559         if (PyErr_Occurred()) SWIG_fail
; 
21561     resultobj 
= SWIG_FromLong((long)result
); 
21568 static PyObject 
*_wrap_ListCtrl_GetImageList(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21569     PyObject 
*resultobj
; 
21570     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21572     wxImageList 
*result
; 
21573     PyObject 
* obj0 
= 0 ; 
21574     PyObject 
* obj1 
= 0 ; 
21575     char *kwnames
[] = { 
21576         (char *) "self",(char *) "which", NULL 
 
21579     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
; 
21580     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21581     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21582     arg2 
= (int) SWIG_AsInt(obj1
);  
21583     if (PyErr_Occurred()) SWIG_fail
; 
21585         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21586         result 
= (wxImageList 
*)((wxPyListCtrl 
const *)arg1
)->GetImageList(arg2
); 
21588         wxPyEndAllowThreads(__tstate
); 
21589         if (PyErr_Occurred()) SWIG_fail
; 
21592         resultobj 
= wxPyMake_wxObject(result
);  
21600 static PyObject 
*_wrap_ListCtrl_SetImageList(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21601     PyObject 
*resultobj
; 
21602     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21603     wxImageList 
*arg2 
= (wxImageList 
*) 0 ; 
21605     PyObject 
* obj0 
= 0 ; 
21606     PyObject 
* obj1 
= 0 ; 
21607     PyObject 
* obj2 
= 0 ; 
21608     char *kwnames
[] = { 
21609         (char *) "self",(char *) "imageList",(char *) "which", NULL 
 
21612     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
21613     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21614     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21615     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
, 
21616     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21617     arg3 
= (int) SWIG_AsInt(obj2
);  
21618     if (PyErr_Occurred()) SWIG_fail
; 
21620         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21621         (arg1
)->SetImageList(arg2
,arg3
); 
21623         wxPyEndAllowThreads(__tstate
); 
21624         if (PyErr_Occurred()) SWIG_fail
; 
21626     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21633 static PyObject 
*_wrap_ListCtrl_AssignImageList(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21634     PyObject 
*resultobj
; 
21635     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21636     wxImageList 
*arg2 
= (wxImageList 
*) 0 ; 
21638     PyObject 
* obj0 
= 0 ; 
21639     PyObject 
* obj1 
= 0 ; 
21640     PyObject 
* obj2 
= 0 ; 
21641     char *kwnames
[] = { 
21642         (char *) "self",(char *) "imageList",(char *) "which", NULL 
 
21645     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
21646     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21647     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21648     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
, 
21649     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
21650     arg3 
= (int) SWIG_AsInt(obj2
);  
21651     if (PyErr_Occurred()) SWIG_fail
; 
21653         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21654         (arg1
)->AssignImageList(arg2
,arg3
); 
21656         wxPyEndAllowThreads(__tstate
); 
21657         if (PyErr_Occurred()) SWIG_fail
; 
21659     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21666 static PyObject 
*_wrap_ListCtrl_InReportView(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21667     PyObject 
*resultobj
; 
21668     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21670     PyObject 
* obj0 
= 0 ; 
21671     char *kwnames
[] = { 
21672         (char *) "self", NULL 
 
21675     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
; 
21676     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21677     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21679         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21680         result 
= (bool)((wxPyListCtrl 
const *)arg1
)->InReportView(); 
21682         wxPyEndAllowThreads(__tstate
); 
21683         if (PyErr_Occurred()) SWIG_fail
; 
21686         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21694 static PyObject 
*_wrap_ListCtrl_IsVirtual(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21695     PyObject 
*resultobj
; 
21696     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21698     PyObject 
* obj0 
= 0 ; 
21699     char *kwnames
[] = { 
21700         (char *) "self", NULL 
 
21703     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
; 
21704     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21705     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21707         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21708         result 
= (bool)((wxPyListCtrl 
const *)arg1
)->IsVirtual(); 
21710         wxPyEndAllowThreads(__tstate
); 
21711         if (PyErr_Occurred()) SWIG_fail
; 
21714         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21722 static PyObject 
*_wrap_ListCtrl_RefreshItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21723     PyObject 
*resultobj
; 
21724     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21726     PyObject 
* obj0 
= 0 ; 
21727     PyObject 
* obj1 
= 0 ; 
21728     char *kwnames
[] = { 
21729         (char *) "self",(char *) "item", NULL 
 
21732     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
21733     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21734     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21735     arg2 
= (long) SWIG_AsLong(obj1
);  
21736     if (PyErr_Occurred()) SWIG_fail
; 
21738         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21739         (arg1
)->RefreshItem(arg2
); 
21741         wxPyEndAllowThreads(__tstate
); 
21742         if (PyErr_Occurred()) SWIG_fail
; 
21744     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21751 static PyObject 
*_wrap_ListCtrl_RefreshItems(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21752     PyObject 
*resultobj
; 
21753     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21756     PyObject 
* obj0 
= 0 ; 
21757     PyObject 
* obj1 
= 0 ; 
21758     PyObject 
* obj2 
= 0 ; 
21759     char *kwnames
[] = { 
21760         (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL 
 
21763     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
21764     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21765     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21766     arg2 
= (long) SWIG_AsLong(obj1
);  
21767     if (PyErr_Occurred()) SWIG_fail
; 
21768     arg3 
= (long) SWIG_AsLong(obj2
);  
21769     if (PyErr_Occurred()) SWIG_fail
; 
21771         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21772         (arg1
)->RefreshItems(arg2
,arg3
); 
21774         wxPyEndAllowThreads(__tstate
); 
21775         if (PyErr_Occurred()) SWIG_fail
; 
21777     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21784 static PyObject 
*_wrap_ListCtrl_Arrange(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21785     PyObject 
*resultobj
; 
21786     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21787     int arg2 
= (int) wxLIST_ALIGN_DEFAULT 
; 
21789     PyObject 
* obj0 
= 0 ; 
21790     PyObject 
* obj1 
= 0 ; 
21791     char *kwnames
[] = { 
21792         (char *) "self",(char *) "flag", NULL 
 
21795     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
; 
21796     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21797     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21799         arg2 
= (int) SWIG_AsInt(obj1
);  
21800         if (PyErr_Occurred()) SWIG_fail
; 
21803         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21804         result 
= (bool)(arg1
)->Arrange(arg2
); 
21806         wxPyEndAllowThreads(__tstate
); 
21807         if (PyErr_Occurred()) SWIG_fail
; 
21810         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21818 static PyObject 
*_wrap_ListCtrl_DeleteItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21819     PyObject 
*resultobj
; 
21820     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21823     PyObject 
* obj0 
= 0 ; 
21824     PyObject 
* obj1 
= 0 ; 
21825     char *kwnames
[] = { 
21826         (char *) "self",(char *) "item", NULL 
 
21829     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
21830     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21831     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21832     arg2 
= (long) SWIG_AsLong(obj1
);  
21833     if (PyErr_Occurred()) SWIG_fail
; 
21835         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21836         result 
= (bool)(arg1
)->DeleteItem(arg2
); 
21838         wxPyEndAllowThreads(__tstate
); 
21839         if (PyErr_Occurred()) SWIG_fail
; 
21842         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21850 static PyObject 
*_wrap_ListCtrl_DeleteAllItems(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21851     PyObject 
*resultobj
; 
21852     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21854     PyObject 
* obj0 
= 0 ; 
21855     char *kwnames
[] = { 
21856         (char *) "self", NULL 
 
21859     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
; 
21860     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21861     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21863         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21864         result 
= (bool)(arg1
)->DeleteAllItems(); 
21866         wxPyEndAllowThreads(__tstate
); 
21867         if (PyErr_Occurred()) SWIG_fail
; 
21870         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21878 static PyObject 
*_wrap_ListCtrl_DeleteColumn(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21879     PyObject 
*resultobj
; 
21880     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21883     PyObject 
* obj0 
= 0 ; 
21884     PyObject 
* obj1 
= 0 ; 
21885     char *kwnames
[] = { 
21886         (char *) "self",(char *) "col", NULL 
 
21889     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
; 
21890     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21891     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21892     arg2 
= (int) SWIG_AsInt(obj1
);  
21893     if (PyErr_Occurred()) SWIG_fail
; 
21895         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21896         result 
= (bool)(arg1
)->DeleteColumn(arg2
); 
21898         wxPyEndAllowThreads(__tstate
); 
21899         if (PyErr_Occurred()) SWIG_fail
; 
21902         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21910 static PyObject 
*_wrap_ListCtrl_DeleteAllColumns(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21911     PyObject 
*resultobj
; 
21912     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21914     PyObject 
* obj0 
= 0 ; 
21915     char *kwnames
[] = { 
21916         (char *) "self", NULL 
 
21919     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
; 
21920     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21921     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21923         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21924         result 
= (bool)(arg1
)->DeleteAllColumns(); 
21926         wxPyEndAllowThreads(__tstate
); 
21927         if (PyErr_Occurred()) SWIG_fail
; 
21930         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21938 static PyObject 
*_wrap_ListCtrl_ClearAll(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21939     PyObject 
*resultobj
; 
21940     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21941     PyObject 
* obj0 
= 0 ; 
21942     char *kwnames
[] = { 
21943         (char *) "self", NULL 
 
21946     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
; 
21947     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21948     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21950         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21951         (arg1
)->ClearAll(); 
21953         wxPyEndAllowThreads(__tstate
); 
21954         if (PyErr_Occurred()) SWIG_fail
; 
21956     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21963 static PyObject 
*_wrap_ListCtrl_EditLabel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21964     PyObject 
*resultobj
; 
21965     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21967     PyObject 
* obj0 
= 0 ; 
21968     PyObject 
* obj1 
= 0 ; 
21969     char *kwnames
[] = { 
21970         (char *) "self",(char *) "item", NULL 
 
21973     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
; 
21974     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
21975     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21976     arg2 
= (long) SWIG_AsLong(obj1
);  
21977     if (PyErr_Occurred()) SWIG_fail
; 
21979         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21980         (arg1
)->EditLabel(arg2
); 
21982         wxPyEndAllowThreads(__tstate
); 
21983         if (PyErr_Occurred()) SWIG_fail
; 
21985     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21992 static PyObject 
*_wrap_ListCtrl_EnsureVisible(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21993     PyObject 
*resultobj
; 
21994     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
21997     PyObject 
* obj0 
= 0 ; 
21998     PyObject 
* obj1 
= 0 ; 
21999     char *kwnames
[] = { 
22000         (char *) "self",(char *) "item", NULL 
 
22003     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
; 
22004     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22005     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22006     arg2 
= (long) SWIG_AsLong(obj1
);  
22007     if (PyErr_Occurred()) SWIG_fail
; 
22009         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22010         result 
= (bool)(arg1
)->EnsureVisible(arg2
); 
22012         wxPyEndAllowThreads(__tstate
); 
22013         if (PyErr_Occurred()) SWIG_fail
; 
22016         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22024 static PyObject 
*_wrap_ListCtrl_FindItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22025     PyObject 
*resultobj
; 
22026     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22028     wxString 
*arg3 
= 0 ; 
22029     bool arg4 
= (bool) False 
; 
22031     bool temp3 
= False 
; 
22032     PyObject 
* obj0 
= 0 ; 
22033     PyObject 
* obj1 
= 0 ; 
22034     PyObject 
* obj2 
= 0 ; 
22035     PyObject 
* obj3 
= 0 ; 
22036     char *kwnames
[] = { 
22037         (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL 
 
22040     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
22041     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22042     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22043     arg2 
= (long) SWIG_AsLong(obj1
);  
22044     if (PyErr_Occurred()) SWIG_fail
; 
22046         arg3 
= wxString_in_helper(obj2
); 
22047         if (arg3 
== NULL
) SWIG_fail
; 
22051         arg4 
= (bool) SWIG_AsBool(obj3
);  
22052         if (PyErr_Occurred()) SWIG_fail
; 
22055         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22056         result 
= (long)(arg1
)->FindItem(arg2
,(wxString 
const &)*arg3
,arg4
); 
22058         wxPyEndAllowThreads(__tstate
); 
22059         if (PyErr_Occurred()) SWIG_fail
; 
22061     resultobj 
= SWIG_FromLong((long)result
); 
22076 static PyObject 
*_wrap_ListCtrl_FindItemData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22077     PyObject 
*resultobj
; 
22078     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22082     PyObject 
* obj0 
= 0 ; 
22083     PyObject 
* obj1 
= 0 ; 
22084     PyObject 
* obj2 
= 0 ; 
22085     char *kwnames
[] = { 
22086         (char *) "self",(char *) "start",(char *) "data", NULL 
 
22089     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
22090     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22091     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22092     arg2 
= (long) SWIG_AsLong(obj1
);  
22093     if (PyErr_Occurred()) SWIG_fail
; 
22094     arg3 
= (long) SWIG_AsLong(obj2
);  
22095     if (PyErr_Occurred()) SWIG_fail
; 
22097         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22098         result 
= (long)(arg1
)->FindItem(arg2
,arg3
); 
22100         wxPyEndAllowThreads(__tstate
); 
22101         if (PyErr_Occurred()) SWIG_fail
; 
22103     resultobj 
= SWIG_FromLong((long)result
); 
22110 static PyObject 
*_wrap_ListCtrl_FindItemAtPos(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22111     PyObject 
*resultobj
; 
22112     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22114     wxPoint 
*arg3 
= 0 ; 
22118     PyObject 
* obj0 
= 0 ; 
22119     PyObject 
* obj1 
= 0 ; 
22120     PyObject 
* obj2 
= 0 ; 
22121     PyObject 
* obj3 
= 0 ; 
22122     char *kwnames
[] = { 
22123         (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL 
 
22126     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
22127     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22128     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22129     arg2 
= (long) SWIG_AsLong(obj1
);  
22130     if (PyErr_Occurred()) SWIG_fail
; 
22133         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
22135     arg4 
= (int) SWIG_AsInt(obj3
);  
22136     if (PyErr_Occurred()) SWIG_fail
; 
22138         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22139         result 
= (long)(arg1
)->FindItem(arg2
,(wxPoint 
const &)*arg3
,arg4
); 
22141         wxPyEndAllowThreads(__tstate
); 
22142         if (PyErr_Occurred()) SWIG_fail
; 
22144     resultobj 
= SWIG_FromLong((long)result
); 
22151 static PyObject 
*_wrap_ListCtrl_HitTest(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22152     PyObject 
*resultobj
; 
22153     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22154     wxPoint 
*arg2 
= 0 ; 
22159     PyObject 
* obj0 
= 0 ; 
22160     PyObject 
* obj1 
= 0 ; 
22161     char *kwnames
[] = { 
22162         (char *) "self",(char *) "point", NULL 
 
22166     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
; 
22167     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22168     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22171         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
22174         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22175         result 
= (long)(arg1
)->HitTest((wxPoint 
const &)*arg2
,*arg3
); 
22177         wxPyEndAllowThreads(__tstate
); 
22178         if (PyErr_Occurred()) SWIG_fail
; 
22180     resultobj 
= SWIG_FromLong((long)result
); 
22182         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
22183         resultobj 
= t_output_helper(resultobj
,o
); 
22191 static PyObject 
*_wrap_ListCtrl_InsertItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22192     PyObject 
*resultobj
; 
22193     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22194     wxListItem 
*arg2 
= 0 ; 
22196     PyObject 
* obj0 
= 0 ; 
22197     PyObject 
* obj1 
= 0 ; 
22198     char *kwnames
[] = { 
22199         (char *) "self",(char *) "info", NULL 
 
22202     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
22203     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22204     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22205     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
, 
22206     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
22208     if (arg2 
== NULL
) { 
22209         PyErr_SetString(PyExc_TypeError
,"null reference"); 
22213         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22214         result 
= (long)(arg1
)->InsertItem(*arg2
); 
22216         wxPyEndAllowThreads(__tstate
); 
22217         if (PyErr_Occurred()) SWIG_fail
; 
22219     resultobj 
= SWIG_FromLong((long)result
); 
22226 static PyObject 
*_wrap_ListCtrl_InsertStringItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22227     PyObject 
*resultobj
; 
22228     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22230     wxString 
*arg3 
= 0 ; 
22232     bool temp3 
= False 
; 
22233     PyObject 
* obj0 
= 0 ; 
22234     PyObject 
* obj1 
= 0 ; 
22235     PyObject 
* obj2 
= 0 ; 
22236     char *kwnames
[] = { 
22237         (char *) "self",(char *) "index",(char *) "label", NULL 
 
22240     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
22241     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22242     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22243     arg2 
= (long) SWIG_AsLong(obj1
);  
22244     if (PyErr_Occurred()) SWIG_fail
; 
22246         arg3 
= wxString_in_helper(obj2
); 
22247         if (arg3 
== NULL
) SWIG_fail
; 
22251         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22252         result 
= (long)(arg1
)->InsertItem(arg2
,(wxString 
const &)*arg3
); 
22254         wxPyEndAllowThreads(__tstate
); 
22255         if (PyErr_Occurred()) SWIG_fail
; 
22257     resultobj 
= SWIG_FromLong((long)result
); 
22272 static PyObject 
*_wrap_ListCtrl_InsertImageItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22273     PyObject 
*resultobj
; 
22274     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22278     PyObject 
* obj0 
= 0 ; 
22279     PyObject 
* obj1 
= 0 ; 
22280     PyObject 
* obj2 
= 0 ; 
22281     char *kwnames
[] = { 
22282         (char *) "self",(char *) "index",(char *) "imageIndex", NULL 
 
22285     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
22286     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22287     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22288     arg2 
= (long) SWIG_AsLong(obj1
);  
22289     if (PyErr_Occurred()) SWIG_fail
; 
22290     arg3 
= (int) SWIG_AsInt(obj2
);  
22291     if (PyErr_Occurred()) SWIG_fail
; 
22293         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22294         result 
= (long)(arg1
)->InsertItem(arg2
,arg3
); 
22296         wxPyEndAllowThreads(__tstate
); 
22297         if (PyErr_Occurred()) SWIG_fail
; 
22299     resultobj 
= SWIG_FromLong((long)result
); 
22306 static PyObject 
*_wrap_ListCtrl_InsertImageStringItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22307     PyObject 
*resultobj
; 
22308     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22310     wxString 
*arg3 
= 0 ; 
22313     bool temp3 
= False 
; 
22314     PyObject 
* obj0 
= 0 ; 
22315     PyObject 
* obj1 
= 0 ; 
22316     PyObject 
* obj2 
= 0 ; 
22317     PyObject 
* obj3 
= 0 ; 
22318     char *kwnames
[] = { 
22319         (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL 
 
22322     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
22323     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22324     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22325     arg2 
= (long) SWIG_AsLong(obj1
);  
22326     if (PyErr_Occurred()) SWIG_fail
; 
22328         arg3 
= wxString_in_helper(obj2
); 
22329         if (arg3 
== NULL
) SWIG_fail
; 
22332     arg4 
= (int) SWIG_AsInt(obj3
);  
22333     if (PyErr_Occurred()) SWIG_fail
; 
22335         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22336         result 
= (long)(arg1
)->InsertItem(arg2
,(wxString 
const &)*arg3
,arg4
); 
22338         wxPyEndAllowThreads(__tstate
); 
22339         if (PyErr_Occurred()) SWIG_fail
; 
22341     resultobj 
= SWIG_FromLong((long)result
); 
22356 static PyObject 
*_wrap_ListCtrl_InsertColumnInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22357     PyObject 
*resultobj
; 
22358     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22360     wxListItem 
*arg3 
= 0 ; 
22362     PyObject 
* obj0 
= 0 ; 
22363     PyObject 
* obj1 
= 0 ; 
22364     PyObject 
* obj2 
= 0 ; 
22365     char *kwnames
[] = { 
22366         (char *) "self",(char *) "col",(char *) "info", NULL 
 
22369     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
22370     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22371     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22372     arg2 
= (long) SWIG_AsLong(obj1
);  
22373     if (PyErr_Occurred()) SWIG_fail
; 
22374     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
, 
22375     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
22377     if (arg3 
== NULL
) { 
22378         PyErr_SetString(PyExc_TypeError
,"null reference"); 
22382         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22383         result 
= (long)(arg1
)->InsertColumn(arg2
,*arg3
); 
22385         wxPyEndAllowThreads(__tstate
); 
22386         if (PyErr_Occurred()) SWIG_fail
; 
22388     resultobj 
= SWIG_FromLong((long)result
); 
22395 static PyObject 
*_wrap_ListCtrl_InsertColumn(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22396     PyObject 
*resultobj
; 
22397     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22399     wxString 
*arg3 
= 0 ; 
22400     int arg4 
= (int) wxLIST_FORMAT_LEFT 
; 
22401     int arg5 
= (int) -1 ; 
22403     bool temp3 
= False 
; 
22404     PyObject 
* obj0 
= 0 ; 
22405     PyObject 
* obj1 
= 0 ; 
22406     PyObject 
* obj2 
= 0 ; 
22407     PyObject 
* obj3 
= 0 ; 
22408     PyObject 
* obj4 
= 0 ; 
22409     char *kwnames
[] = { 
22410         (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL 
 
22413     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
22414     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22415     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22416     arg2 
= (long) SWIG_AsLong(obj1
);  
22417     if (PyErr_Occurred()) SWIG_fail
; 
22419         arg3 
= wxString_in_helper(obj2
); 
22420         if (arg3 
== NULL
) SWIG_fail
; 
22424         arg4 
= (int) SWIG_AsInt(obj3
);  
22425         if (PyErr_Occurred()) SWIG_fail
; 
22428         arg5 
= (int) SWIG_AsInt(obj4
);  
22429         if (PyErr_Occurred()) SWIG_fail
; 
22432         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22433         result 
= (long)(arg1
)->InsertColumn(arg2
,(wxString 
const &)*arg3
,arg4
,arg5
); 
22435         wxPyEndAllowThreads(__tstate
); 
22436         if (PyErr_Occurred()) SWIG_fail
; 
22438     resultobj 
= SWIG_FromLong((long)result
); 
22453 static PyObject 
*_wrap_ListCtrl_SetItemCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22454     PyObject 
*resultobj
; 
22455     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22457     PyObject 
* obj0 
= 0 ; 
22458     PyObject 
* obj1 
= 0 ; 
22459     char *kwnames
[] = { 
22460         (char *) "self",(char *) "count", NULL 
 
22463     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
; 
22464     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22465     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22466     arg2 
= (long) SWIG_AsLong(obj1
);  
22467     if (PyErr_Occurred()) SWIG_fail
; 
22469         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22470         (arg1
)->SetItemCount(arg2
); 
22472         wxPyEndAllowThreads(__tstate
); 
22473         if (PyErr_Occurred()) SWIG_fail
; 
22475     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22482 static PyObject 
*_wrap_ListCtrl_ScrollList(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22483     PyObject 
*resultobj
; 
22484     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22488     PyObject 
* obj0 
= 0 ; 
22489     PyObject 
* obj1 
= 0 ; 
22490     PyObject 
* obj2 
= 0 ; 
22491     char *kwnames
[] = { 
22492         (char *) "self",(char *) "dx",(char *) "dy", NULL 
 
22495     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
22496     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22497     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22498     arg2 
= (int) SWIG_AsInt(obj1
);  
22499     if (PyErr_Occurred()) SWIG_fail
; 
22500     arg3 
= (int) SWIG_AsInt(obj2
);  
22501     if (PyErr_Occurred()) SWIG_fail
; 
22503         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22504         result 
= (bool)(arg1
)->ScrollList(arg2
,arg3
); 
22506         wxPyEndAllowThreads(__tstate
); 
22507         if (PyErr_Occurred()) SWIG_fail
; 
22510         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22518 static PyObject 
*_wrap_ListCtrl_SetItemTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22519     PyObject 
*resultobj
; 
22520     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22522     wxColour 
*arg3 
= 0 ; 
22524     PyObject 
* obj0 
= 0 ; 
22525     PyObject 
* obj1 
= 0 ; 
22526     PyObject 
* obj2 
= 0 ; 
22527     char *kwnames
[] = { 
22528         (char *) "self",(char *) "item",(char *) "col", NULL 
 
22531     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
22532     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22533     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22534     arg2 
= (long) SWIG_AsLong(obj1
);  
22535     if (PyErr_Occurred()) SWIG_fail
; 
22538         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
22541         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22542         (arg1
)->SetItemTextColour(arg2
,(wxColour 
const &)*arg3
); 
22544         wxPyEndAllowThreads(__tstate
); 
22545         if (PyErr_Occurred()) SWIG_fail
; 
22547     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22554 static PyObject 
*_wrap_ListCtrl_GetItemTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22555     PyObject 
*resultobj
; 
22556     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22559     PyObject 
* obj0 
= 0 ; 
22560     PyObject 
* obj1 
= 0 ; 
22561     char *kwnames
[] = { 
22562         (char *) "self",(char *) "item", NULL 
 
22565     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
22566     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22567     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22568     arg2 
= (long) SWIG_AsLong(obj1
);  
22569     if (PyErr_Occurred()) SWIG_fail
; 
22571         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22572         result 
= ((wxPyListCtrl 
const *)arg1
)->GetItemTextColour(arg2
); 
22574         wxPyEndAllowThreads(__tstate
); 
22575         if (PyErr_Occurred()) SWIG_fail
; 
22578         wxColour 
* resultptr
; 
22579         resultptr 
= new wxColour((wxColour 
&) result
); 
22580         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
22588 static PyObject 
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22589     PyObject 
*resultobj
; 
22590     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22592     wxColour 
*arg3 
= 0 ; 
22594     PyObject 
* obj0 
= 0 ; 
22595     PyObject 
* obj1 
= 0 ; 
22596     PyObject 
* obj2 
= 0 ; 
22597     char *kwnames
[] = { 
22598         (char *) "self",(char *) "item",(char *) "col", NULL 
 
22601     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
22602     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22603     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22604     arg2 
= (long) SWIG_AsLong(obj1
);  
22605     if (PyErr_Occurred()) SWIG_fail
; 
22608         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
22611         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22612         (arg1
)->SetItemBackgroundColour(arg2
,(wxColour 
const &)*arg3
); 
22614         wxPyEndAllowThreads(__tstate
); 
22615         if (PyErr_Occurred()) SWIG_fail
; 
22617     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22624 static PyObject 
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22625     PyObject 
*resultobj
; 
22626     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22629     PyObject 
* obj0 
= 0 ; 
22630     PyObject 
* obj1 
= 0 ; 
22631     char *kwnames
[] = { 
22632         (char *) "self",(char *) "item", NULL 
 
22635     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
22636     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22637     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22638     arg2 
= (long) SWIG_AsLong(obj1
);  
22639     if (PyErr_Occurred()) SWIG_fail
; 
22641         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22642         result 
= ((wxPyListCtrl 
const *)arg1
)->GetItemBackgroundColour(arg2
); 
22644         wxPyEndAllowThreads(__tstate
); 
22645         if (PyErr_Occurred()) SWIG_fail
; 
22648         wxColour 
* resultptr
; 
22649         resultptr 
= new wxColour((wxColour 
&) result
); 
22650         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
22658 static PyObject 
*_wrap_ListCtrl_SortItems(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22659     PyObject 
*resultobj
; 
22660     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22661     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
22663     PyObject 
* obj0 
= 0 ; 
22664     PyObject 
* obj1 
= 0 ; 
22665     char *kwnames
[] = { 
22666         (char *) "self",(char *) "func", NULL 
 
22669     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
; 
22670     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22671     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22674         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22675         result 
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
); 
22677         wxPyEndAllowThreads(__tstate
); 
22678         if (PyErr_Occurred()) SWIG_fail
; 
22681         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22689 static PyObject 
*_wrap_ListCtrl_GetMainWindow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22690     PyObject 
*resultobj
; 
22691     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
22693     PyObject 
* obj0 
= 0 ; 
22694     char *kwnames
[] = { 
22695         (char *) "self", NULL 
 
22698     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
; 
22699     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
22700     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22702         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22703         result 
= (wxWindow 
*)wxPyListCtrl_GetMainWindow(arg1
); 
22705         wxPyEndAllowThreads(__tstate
); 
22706         if (PyErr_Occurred()) SWIG_fail
; 
22709         resultobj 
= wxPyMake_wxObject(result
);  
22717 static PyObject 
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22718     PyObject 
*resultobj
; 
22719     int arg1 
= (int) wxWINDOW_VARIANT_NORMAL 
; 
22720     wxVisualAttributes result
; 
22721     PyObject 
* obj0 
= 0 ; 
22722     char *kwnames
[] = { 
22723         (char *) "variant", NULL 
 
22726     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
22728         arg1 
= (wxWindowVariant
) SWIG_AsInt(obj0
);  
22729         if (PyErr_Occurred()) SWIG_fail
; 
22732         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22733         result 
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
22735         wxPyEndAllowThreads(__tstate
); 
22736         if (PyErr_Occurred()) SWIG_fail
; 
22739         wxVisualAttributes 
* resultptr
; 
22740         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&) result
); 
22741         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
22749 static PyObject 
* ListCtrl_swigregister(PyObject 
*self
, PyObject 
*args
) { 
22751     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
22752     SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
); 
22754     return Py_BuildValue((char *)""); 
22756 static PyObject 
*_wrap_new_ListView(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22757     PyObject 
*resultobj
; 
22758     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
22759     int arg2 
= (int) -1 ; 
22760     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
22761     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
22762     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
22763     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
22764     long arg5 
= (long) wxLC_REPORT 
; 
22765     wxValidator 
const &arg6_defvalue 
= wxDefaultValidator 
; 
22766     wxValidator 
*arg6 
= (wxValidator 
*) &arg6_defvalue 
; 
22767     wxString 
const &arg7_defvalue 
= wxPyListCtrlNameStr 
; 
22768     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
22769     wxListView 
*result
; 
22772     bool temp7 
= False 
; 
22773     PyObject 
* obj0 
= 0 ; 
22774     PyObject 
* obj1 
= 0 ; 
22775     PyObject 
* obj2 
= 0 ; 
22776     PyObject 
* obj3 
= 0 ; 
22777     PyObject 
* obj4 
= 0 ; 
22778     PyObject 
* obj5 
= 0 ; 
22779     PyObject 
* obj6 
= 0 ; 
22780     char *kwnames
[] = { 
22781         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
22784     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
22785     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
22786     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22788         arg2 
= (int) SWIG_AsInt(obj1
);  
22789         if (PyErr_Occurred()) SWIG_fail
; 
22794             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
22800             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
22804         arg5 
= (long) SWIG_AsLong(obj4
);  
22805         if (PyErr_Occurred()) SWIG_fail
; 
22808         if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
, 
22809         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
22811         if (arg6 
== NULL
) { 
22812             PyErr_SetString(PyExc_TypeError
,"null reference"); 
22818             arg7 
= wxString_in_helper(obj6
); 
22819             if (arg7 
== NULL
) SWIG_fail
; 
22824         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22825         result 
= (wxListView 
*)new wxListView(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxValidator 
const &)*arg6
,(wxString 
const &)*arg7
); 
22827         wxPyEndAllowThreads(__tstate
); 
22828         if (PyErr_Occurred()) SWIG_fail
; 
22830     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1); 
22845 static PyObject 
*_wrap_new_PreListView(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22846     PyObject 
*resultobj
; 
22847     wxListView 
*result
; 
22848     char *kwnames
[] = { 
22852     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
; 
22854         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22855         result 
= (wxListView 
*)new wxListView(); 
22857         wxPyEndAllowThreads(__tstate
); 
22858         if (PyErr_Occurred()) SWIG_fail
; 
22860     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1); 
22867 static PyObject 
*_wrap_ListView_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22868     PyObject 
*resultobj
; 
22869     wxListView 
*arg1 
= (wxListView 
*) 0 ; 
22870     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
22871     int arg3 
= (int) -1 ; 
22872     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
22873     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
22874     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
22875     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
22876     long arg6 
= (long) wxLC_REPORT 
; 
22877     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
22878     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
22879     wxString 
const &arg8_defvalue 
= wxPyListCtrlNameStr 
; 
22880     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
22884     bool temp8 
= False 
; 
22885     PyObject 
* obj0 
= 0 ; 
22886     PyObject 
* obj1 
= 0 ; 
22887     PyObject 
* obj2 
= 0 ; 
22888     PyObject 
* obj3 
= 0 ; 
22889     PyObject 
* obj4 
= 0 ; 
22890     PyObject 
* obj5 
= 0 ; 
22891     PyObject 
* obj6 
= 0 ; 
22892     PyObject 
* obj7 
= 0 ; 
22893     char *kwnames
[] = { 
22894         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
22897     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
22898     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
, 
22899     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22900     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
22901     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22903         arg3 
= (int) SWIG_AsInt(obj2
);  
22904         if (PyErr_Occurred()) SWIG_fail
; 
22909             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
22915             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
22919         arg6 
= (long) SWIG_AsLong(obj5
);  
22920         if (PyErr_Occurred()) SWIG_fail
; 
22923         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
, 
22924         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
22926         if (arg7 
== NULL
) { 
22927             PyErr_SetString(PyExc_TypeError
,"null reference"); 
22933             arg8 
= wxString_in_helper(obj7
); 
22934             if (arg8 
== NULL
) SWIG_fail
; 
22939         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22940         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
22942         wxPyEndAllowThreads(__tstate
); 
22943         if (PyErr_Occurred()) SWIG_fail
; 
22946         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22962 static PyObject 
*_wrap_ListView_Select(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22963     PyObject 
*resultobj
; 
22964     wxListView 
*arg1 
= (wxListView 
*) 0 ; 
22966     bool arg3 
= (bool) True 
; 
22967     PyObject 
* obj0 
= 0 ; 
22968     PyObject 
* obj1 
= 0 ; 
22969     PyObject 
* obj2 
= 0 ; 
22970     char *kwnames
[] = { 
22971         (char *) "self",(char *) "n",(char *) "on", NULL 
 
22974     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
22975     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
, 
22976     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22977     arg2 
= (long) SWIG_AsLong(obj1
);  
22978     if (PyErr_Occurred()) SWIG_fail
; 
22980         arg3 
= (bool) SWIG_AsBool(obj2
);  
22981         if (PyErr_Occurred()) SWIG_fail
; 
22984         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22985         (arg1
)->Select(arg2
,arg3
); 
22987         wxPyEndAllowThreads(__tstate
); 
22988         if (PyErr_Occurred()) SWIG_fail
; 
22990     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22997 static PyObject 
*_wrap_ListView_Focus(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22998     PyObject 
*resultobj
; 
22999     wxListView 
*arg1 
= (wxListView 
*) 0 ; 
23001     PyObject 
* obj0 
= 0 ; 
23002     PyObject 
* obj1 
= 0 ; 
23003     char *kwnames
[] = { 
23004         (char *) "self",(char *) "index", NULL 
 
23007     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
; 
23008     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
, 
23009     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23010     arg2 
= (long) SWIG_AsLong(obj1
);  
23011     if (PyErr_Occurred()) SWIG_fail
; 
23013         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23014         (arg1
)->Focus(arg2
); 
23016         wxPyEndAllowThreads(__tstate
); 
23017         if (PyErr_Occurred()) SWIG_fail
; 
23019     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23026 static PyObject 
*_wrap_ListView_GetFocusedItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23027     PyObject 
*resultobj
; 
23028     wxListView 
*arg1 
= (wxListView 
*) 0 ; 
23030     PyObject 
* obj0 
= 0 ; 
23031     char *kwnames
[] = { 
23032         (char *) "self", NULL 
 
23035     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
; 
23036     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
, 
23037     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23039         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23040         result 
= (long)((wxListView 
const *)arg1
)->GetFocusedItem(); 
23042         wxPyEndAllowThreads(__tstate
); 
23043         if (PyErr_Occurred()) SWIG_fail
; 
23045     resultobj 
= SWIG_FromLong((long)result
); 
23052 static PyObject 
*_wrap_ListView_GetNextSelected(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23053     PyObject 
*resultobj
; 
23054     wxListView 
*arg1 
= (wxListView 
*) 0 ; 
23057     PyObject 
* obj0 
= 0 ; 
23058     PyObject 
* obj1 
= 0 ; 
23059     char *kwnames
[] = { 
23060         (char *) "self",(char *) "item", NULL 
 
23063     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
; 
23064     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
, 
23065     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23066     arg2 
= (long) SWIG_AsLong(obj1
);  
23067     if (PyErr_Occurred()) SWIG_fail
; 
23069         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23070         result 
= (long)((wxListView 
const *)arg1
)->GetNextSelected(arg2
); 
23072         wxPyEndAllowThreads(__tstate
); 
23073         if (PyErr_Occurred()) SWIG_fail
; 
23075     resultobj 
= SWIG_FromLong((long)result
); 
23082 static PyObject 
*_wrap_ListView_GetFirstSelected(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23083     PyObject 
*resultobj
; 
23084     wxListView 
*arg1 
= (wxListView 
*) 0 ; 
23086     PyObject 
* obj0 
= 0 ; 
23087     char *kwnames
[] = { 
23088         (char *) "self", NULL 
 
23091     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
; 
23092     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
, 
23093     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23095         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23096         result 
= (long)((wxListView 
const *)arg1
)->GetFirstSelected(); 
23098         wxPyEndAllowThreads(__tstate
); 
23099         if (PyErr_Occurred()) SWIG_fail
; 
23101     resultobj 
= SWIG_FromLong((long)result
); 
23108 static PyObject 
*_wrap_ListView_IsSelected(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23109     PyObject 
*resultobj
; 
23110     wxListView 
*arg1 
= (wxListView 
*) 0 ; 
23113     PyObject 
* obj0 
= 0 ; 
23114     PyObject 
* obj1 
= 0 ; 
23115     char *kwnames
[] = { 
23116         (char *) "self",(char *) "index", NULL 
 
23119     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
; 
23120     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
, 
23121     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23122     arg2 
= (long) SWIG_AsLong(obj1
);  
23123     if (PyErr_Occurred()) SWIG_fail
; 
23125         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23126         result 
= (bool)(arg1
)->IsSelected(arg2
); 
23128         wxPyEndAllowThreads(__tstate
); 
23129         if (PyErr_Occurred()) SWIG_fail
; 
23132         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23140 static PyObject 
*_wrap_ListView_SetColumnImage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23141     PyObject 
*resultobj
; 
23142     wxListView 
*arg1 
= (wxListView 
*) 0 ; 
23145     PyObject 
* obj0 
= 0 ; 
23146     PyObject 
* obj1 
= 0 ; 
23147     PyObject 
* obj2 
= 0 ; 
23148     char *kwnames
[] = { 
23149         (char *) "self",(char *) "col",(char *) "image", NULL 
 
23152     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
23153     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
, 
23154     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23155     arg2 
= (int) SWIG_AsInt(obj1
);  
23156     if (PyErr_Occurred()) SWIG_fail
; 
23157     arg3 
= (int) SWIG_AsInt(obj2
);  
23158     if (PyErr_Occurred()) SWIG_fail
; 
23160         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23161         (arg1
)->SetColumnImage(arg2
,arg3
); 
23163         wxPyEndAllowThreads(__tstate
); 
23164         if (PyErr_Occurred()) SWIG_fail
; 
23166     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23173 static PyObject 
*_wrap_ListView_ClearColumnImage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23174     PyObject 
*resultobj
; 
23175     wxListView 
*arg1 
= (wxListView 
*) 0 ; 
23177     PyObject 
* obj0 
= 0 ; 
23178     PyObject 
* obj1 
= 0 ; 
23179     char *kwnames
[] = { 
23180         (char *) "self",(char *) "col", NULL 
 
23183     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
; 
23184     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
, 
23185     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23186     arg2 
= (int) SWIG_AsInt(obj1
);  
23187     if (PyErr_Occurred()) SWIG_fail
; 
23189         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23190         (arg1
)->ClearColumnImage(arg2
); 
23192         wxPyEndAllowThreads(__tstate
); 
23193         if (PyErr_Occurred()) SWIG_fail
; 
23195     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23202 static PyObject 
* ListView_swigregister(PyObject 
*self
, PyObject 
*args
) { 
23204     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
23205     SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
); 
23207     return Py_BuildValue((char *)""); 
23209 static int _wrap_TreeCtrlNameStr_set(PyObject 
*_val
) { 
23210     PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only."); 
23215 static PyObject 
*_wrap_TreeCtrlNameStr_get() { 
23220         pyobj 
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len()); 
23222         pyobj 
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len()); 
23229 static PyObject 
*_wrap_new_TreeItemId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23230     PyObject 
*resultobj
; 
23231     wxTreeItemId 
*result
; 
23232     char *kwnames
[] = { 
23236     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
; 
23238         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23239         result 
= (wxTreeItemId 
*)new wxTreeItemId(); 
23241         wxPyEndAllowThreads(__tstate
); 
23242         if (PyErr_Occurred()) SWIG_fail
; 
23244     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1); 
23251 static PyObject 
*_wrap_delete_TreeItemId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23252     PyObject 
*resultobj
; 
23253     wxTreeItemId 
*arg1 
= (wxTreeItemId 
*) 0 ; 
23254     PyObject 
* obj0 
= 0 ; 
23255     char *kwnames
[] = { 
23256         (char *) "self", NULL 
 
23259     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
; 
23260     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
, 
23261     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23263         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23266         wxPyEndAllowThreads(__tstate
); 
23267         if (PyErr_Occurred()) SWIG_fail
; 
23269     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23276 static PyObject 
*_wrap_TreeItemId_IsOk(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23277     PyObject 
*resultobj
; 
23278     wxTreeItemId 
*arg1 
= (wxTreeItemId 
*) 0 ; 
23280     PyObject 
* obj0 
= 0 ; 
23281     char *kwnames
[] = { 
23282         (char *) "self", NULL 
 
23285     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
; 
23286     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
, 
23287     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23289         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23290         result 
= (bool)((wxTreeItemId 
const *)arg1
)->IsOk(); 
23292         wxPyEndAllowThreads(__tstate
); 
23293         if (PyErr_Occurred()) SWIG_fail
; 
23296         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23304 static PyObject 
*_wrap_TreeItemId___eq__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23305     PyObject 
*resultobj
; 
23306     wxTreeItemId 
*arg1 
= (wxTreeItemId 
*) 0 ; 
23307     wxTreeItemId 
*arg2 
= (wxTreeItemId 
*) 0 ; 
23309     PyObject 
* obj0 
= 0 ; 
23310     PyObject 
* obj1 
= 0 ; 
23311     char *kwnames
[] = { 
23312         (char *) "self",(char *) "other", NULL 
 
23315     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23316     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
, 
23317     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23318     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
23319     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23321         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23322         result 
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId 
const *)arg2
); 
23324         wxPyEndAllowThreads(__tstate
); 
23325         if (PyErr_Occurred()) SWIG_fail
; 
23328         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23336 static PyObject 
*_wrap_TreeItemId___ne__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23337     PyObject 
*resultobj
; 
23338     wxTreeItemId 
*arg1 
= (wxTreeItemId 
*) 0 ; 
23339     wxTreeItemId 
*arg2 
= (wxTreeItemId 
*) 0 ; 
23341     PyObject 
* obj0 
= 0 ; 
23342     PyObject 
* obj1 
= 0 ; 
23343     char *kwnames
[] = { 
23344         (char *) "self",(char *) "other", NULL 
 
23347     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23348     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
, 
23349     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23350     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
23351     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23353         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23354         result 
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId 
const *)arg2
); 
23356         wxPyEndAllowThreads(__tstate
); 
23357         if (PyErr_Occurred()) SWIG_fail
; 
23360         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23368 static PyObject 
*_wrap_TreeItemId_m_pItem_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23369     PyObject 
*resultobj
; 
23370     wxTreeItemId 
*arg1 
= (wxTreeItemId 
*) 0 ; 
23371     void *arg2 
= (void *) 0 ; 
23372     PyObject 
* obj0 
= 0 ; 
23373     PyObject 
* obj1 
= 0 ; 
23374     char *kwnames
[] = { 
23375         (char *) "self",(char *) "m_pItem", NULL 
 
23378     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
23379     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
, 
23380     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23381     if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
23382     if (arg1
) (arg1
)->m_pItem 
= arg2
; 
23384     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23391 static PyObject 
*_wrap_TreeItemId_m_pItem_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23392     PyObject 
*resultobj
; 
23393     wxTreeItemId 
*arg1 
= (wxTreeItemId 
*) 0 ; 
23395     PyObject 
* obj0 
= 0 ; 
23396     char *kwnames
[] = { 
23397         (char *) "self", NULL 
 
23400     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
; 
23401     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
, 
23402     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23403     result 
= (void *) ((arg1
)->m_pItem
); 
23405     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0); 
23412 static PyObject 
* TreeItemId_swigregister(PyObject 
*self
, PyObject 
*args
) { 
23414     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
23415     SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
); 
23417     return Py_BuildValue((char *)""); 
23419 static PyObject 
*_wrap_new_TreeItemData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23420     PyObject 
*resultobj
; 
23421     PyObject 
*arg1 
= (PyObject 
*) NULL 
; 
23422     wxPyTreeItemData 
*result
; 
23423     PyObject 
* obj0 
= 0 ; 
23424     char *kwnames
[] = { 
23425         (char *) "obj", NULL 
 
23428     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
; 
23433         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23434         result 
= (wxPyTreeItemData 
*)new wxPyTreeItemData(arg1
); 
23436         wxPyEndAllowThreads(__tstate
); 
23437         if (PyErr_Occurred()) SWIG_fail
; 
23439     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1); 
23446 static PyObject 
*_wrap_TreeItemData_GetData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23447     PyObject 
*resultobj
; 
23448     wxPyTreeItemData 
*arg1 
= (wxPyTreeItemData 
*) 0 ; 
23450     PyObject 
* obj0 
= 0 ; 
23451     char *kwnames
[] = { 
23452         (char *) "self", NULL 
 
23455     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
; 
23456     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
, 
23457     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23459         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23460         result 
= (PyObject 
*)(arg1
)->GetData(); 
23462         wxPyEndAllowThreads(__tstate
); 
23463         if (PyErr_Occurred()) SWIG_fail
; 
23465     resultobj 
= result
; 
23472 static PyObject 
*_wrap_TreeItemData_SetData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23473     PyObject 
*resultobj
; 
23474     wxPyTreeItemData 
*arg1 
= (wxPyTreeItemData 
*) 0 ; 
23475     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
23476     PyObject 
* obj0 
= 0 ; 
23477     PyObject 
* obj1 
= 0 ; 
23478     char *kwnames
[] = { 
23479         (char *) "self",(char *) "obj", NULL 
 
23482     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
; 
23483     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
, 
23484     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23487         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23488         (arg1
)->SetData(arg2
); 
23490         wxPyEndAllowThreads(__tstate
); 
23491         if (PyErr_Occurred()) SWIG_fail
; 
23493     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23500 static PyObject 
*_wrap_TreeItemData_GetId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23501     PyObject 
*resultobj
; 
23502     wxPyTreeItemData 
*arg1 
= (wxPyTreeItemData 
*) 0 ; 
23503     wxTreeItemId 
*result
; 
23504     PyObject 
* obj0 
= 0 ; 
23505     char *kwnames
[] = { 
23506         (char *) "self", NULL 
 
23509     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
; 
23510     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
, 
23511     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23513         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23515             wxTreeItemId 
const &_result_ref 
= (arg1
)->GetId(); 
23516             result 
= (wxTreeItemId 
*) &_result_ref
; 
23519         wxPyEndAllowThreads(__tstate
); 
23520         if (PyErr_Occurred()) SWIG_fail
; 
23522     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0); 
23529 static PyObject 
*_wrap_TreeItemData_SetId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23530     PyObject 
*resultobj
; 
23531     wxPyTreeItemData 
*arg1 
= (wxPyTreeItemData 
*) 0 ; 
23532     wxTreeItemId 
*arg2 
= 0 ; 
23533     PyObject 
* obj0 
= 0 ; 
23534     PyObject 
* obj1 
= 0 ; 
23535     char *kwnames
[] = { 
23536         (char *) "self",(char *) "id", NULL 
 
23539     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
; 
23540     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
, 
23541     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23542     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
23543     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
23545     if (arg2 
== NULL
) { 
23546         PyErr_SetString(PyExc_TypeError
,"null reference"); 
23550         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23551         (arg1
)->SetId((wxTreeItemId 
const &)*arg2
); 
23553         wxPyEndAllowThreads(__tstate
); 
23554         if (PyErr_Occurred()) SWIG_fail
; 
23556     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23563 static PyObject 
*_wrap_TreeItemData_Destroy(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23564     PyObject 
*resultobj
; 
23565     wxPyTreeItemData 
*arg1 
= (wxPyTreeItemData 
*) 0 ; 
23566     PyObject 
* obj0 
= 0 ; 
23567     char *kwnames
[] = { 
23568         (char *) "self", NULL 
 
23571     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
; 
23572     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
, 
23573     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23575         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23576         wxPyTreeItemData_Destroy(arg1
); 
23578         wxPyEndAllowThreads(__tstate
); 
23579         if (PyErr_Occurred()) SWIG_fail
; 
23581     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23588 static PyObject 
* TreeItemData_swigregister(PyObject 
*self
, PyObject 
*args
) { 
23590     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
23591     SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
); 
23593     return Py_BuildValue((char *)""); 
23595 static PyObject 
*_wrap_new_TreeEvent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23596     PyObject 
*resultobj
; 
23597     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
23598     int arg2 
= (int) 0 ; 
23599     wxTreeEvent 
*result
; 
23600     PyObject 
* obj0 
= 0 ; 
23601     PyObject 
* obj1 
= 0 ; 
23602     char *kwnames
[] = { 
23603         (char *) "commandType",(char *) "id", NULL 
 
23606     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
; 
23608         arg1 
= (wxEventType
) SWIG_AsInt(obj0
);  
23609         if (PyErr_Occurred()) SWIG_fail
; 
23612         arg2 
= (int) SWIG_AsInt(obj1
);  
23613         if (PyErr_Occurred()) SWIG_fail
; 
23616         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23617         result 
= (wxTreeEvent 
*)new wxTreeEvent(arg1
,arg2
); 
23619         wxPyEndAllowThreads(__tstate
); 
23620         if (PyErr_Occurred()) SWIG_fail
; 
23622     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1); 
23629 static PyObject 
*_wrap_TreeEvent_GetItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23630     PyObject 
*resultobj
; 
23631     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
23632     wxTreeItemId result
; 
23633     PyObject 
* obj0 
= 0 ; 
23634     char *kwnames
[] = { 
23635         (char *) "self", NULL 
 
23638     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
; 
23639     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
, 
23640     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23642         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23643         result 
= ((wxTreeEvent 
const *)arg1
)->GetItem(); 
23645         wxPyEndAllowThreads(__tstate
); 
23646         if (PyErr_Occurred()) SWIG_fail
; 
23649         wxTreeItemId 
* resultptr
; 
23650         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
23651         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
23659 static PyObject 
*_wrap_TreeEvent_SetItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23660     PyObject 
*resultobj
; 
23661     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
23662     wxTreeItemId 
*arg2 
= 0 ; 
23663     PyObject 
* obj0 
= 0 ; 
23664     PyObject 
* obj1 
= 0 ; 
23665     char *kwnames
[] = { 
23666         (char *) "self",(char *) "item", NULL 
 
23669     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
23670     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
, 
23671     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23672     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
23673     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
23675     if (arg2 
== NULL
) { 
23676         PyErr_SetString(PyExc_TypeError
,"null reference"); 
23680         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23681         (arg1
)->SetItem((wxTreeItemId 
const &)*arg2
); 
23683         wxPyEndAllowThreads(__tstate
); 
23684         if (PyErr_Occurred()) SWIG_fail
; 
23686     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23693 static PyObject 
*_wrap_TreeEvent_GetOldItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23694     PyObject 
*resultobj
; 
23695     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
23696     wxTreeItemId result
; 
23697     PyObject 
* obj0 
= 0 ; 
23698     char *kwnames
[] = { 
23699         (char *) "self", NULL 
 
23702     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
; 
23703     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
, 
23704     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23706         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23707         result 
= ((wxTreeEvent 
const *)arg1
)->GetOldItem(); 
23709         wxPyEndAllowThreads(__tstate
); 
23710         if (PyErr_Occurred()) SWIG_fail
; 
23713         wxTreeItemId 
* resultptr
; 
23714         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
23715         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
23723 static PyObject 
*_wrap_TreeEvent_SetOldItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23724     PyObject 
*resultobj
; 
23725     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
23726     wxTreeItemId 
*arg2 
= 0 ; 
23727     PyObject 
* obj0 
= 0 ; 
23728     PyObject 
* obj1 
= 0 ; 
23729     char *kwnames
[] = { 
23730         (char *) "self",(char *) "item", NULL 
 
23733     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
23734     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
, 
23735     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23736     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
23737     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
23739     if (arg2 
== NULL
) { 
23740         PyErr_SetString(PyExc_TypeError
,"null reference"); 
23744         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23745         (arg1
)->SetOldItem((wxTreeItemId 
const &)*arg2
); 
23747         wxPyEndAllowThreads(__tstate
); 
23748         if (PyErr_Occurred()) SWIG_fail
; 
23750     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23757 static PyObject 
*_wrap_TreeEvent_GetPoint(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23758     PyObject 
*resultobj
; 
23759     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
23761     PyObject 
* obj0 
= 0 ; 
23762     char *kwnames
[] = { 
23763         (char *) "self", NULL 
 
23766     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
; 
23767     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
, 
23768     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23770         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23771         result 
= ((wxTreeEvent 
const *)arg1
)->GetPoint(); 
23773         wxPyEndAllowThreads(__tstate
); 
23774         if (PyErr_Occurred()) SWIG_fail
; 
23777         wxPoint 
* resultptr
; 
23778         resultptr 
= new wxPoint((wxPoint 
&) result
); 
23779         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
23787 static PyObject 
*_wrap_TreeEvent_SetPoint(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23788     PyObject 
*resultobj
; 
23789     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
23790     wxPoint 
*arg2 
= 0 ; 
23792     PyObject 
* obj0 
= 0 ; 
23793     PyObject 
* obj1 
= 0 ; 
23794     char *kwnames
[] = { 
23795         (char *) "self",(char *) "pt", NULL 
 
23798     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
23799     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
, 
23800     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23803         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
23806         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23807         (arg1
)->SetPoint((wxPoint 
const &)*arg2
); 
23809         wxPyEndAllowThreads(__tstate
); 
23810         if (PyErr_Occurred()) SWIG_fail
; 
23812     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23819 static PyObject 
*_wrap_TreeEvent_GetKeyEvent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23820     PyObject 
*resultobj
; 
23821     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
23822     wxKeyEvent 
*result
; 
23823     PyObject 
* obj0 
= 0 ; 
23824     char *kwnames
[] = { 
23825         (char *) "self", NULL 
 
23828     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
; 
23829     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
, 
23830     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23832         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23834             wxKeyEvent 
const &_result_ref 
= ((wxTreeEvent 
const *)arg1
)->GetKeyEvent(); 
23835             result 
= (wxKeyEvent 
*) &_result_ref
; 
23838         wxPyEndAllowThreads(__tstate
); 
23839         if (PyErr_Occurred()) SWIG_fail
; 
23841     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0); 
23848 static PyObject 
*_wrap_TreeEvent_GetKeyCode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23849     PyObject 
*resultobj
; 
23850     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
23852     PyObject 
* obj0 
= 0 ; 
23853     char *kwnames
[] = { 
23854         (char *) "self", NULL 
 
23857     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
; 
23858     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
, 
23859     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23861         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23862         result 
= (int)((wxTreeEvent 
const *)arg1
)->GetKeyCode(); 
23864         wxPyEndAllowThreads(__tstate
); 
23865         if (PyErr_Occurred()) SWIG_fail
; 
23867     resultobj 
= SWIG_FromInt((int)result
); 
23874 static PyObject 
*_wrap_TreeEvent_SetKeyEvent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23875     PyObject 
*resultobj
; 
23876     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
23877     wxKeyEvent 
*arg2 
= 0 ; 
23878     PyObject 
* obj0 
= 0 ; 
23879     PyObject 
* obj1 
= 0 ; 
23880     char *kwnames
[] = { 
23881         (char *) "self",(char *) "evt", NULL 
 
23884     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
; 
23885     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
, 
23886     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23887     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
, 
23888     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
23890     if (arg2 
== NULL
) { 
23891         PyErr_SetString(PyExc_TypeError
,"null reference"); 
23895         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23896         (arg1
)->SetKeyEvent((wxKeyEvent 
const &)*arg2
); 
23898         wxPyEndAllowThreads(__tstate
); 
23899         if (PyErr_Occurred()) SWIG_fail
; 
23901     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23908 static PyObject 
*_wrap_TreeEvent_GetLabel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23909     PyObject 
*resultobj
; 
23910     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
23912     PyObject 
* obj0 
= 0 ; 
23913     char *kwnames
[] = { 
23914         (char *) "self", NULL 
 
23917     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
; 
23918     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
, 
23919     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23921         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23923             wxString 
const &_result_ref 
= ((wxTreeEvent 
const *)arg1
)->GetLabel(); 
23924             result 
= (wxString 
*) &_result_ref
; 
23927         wxPyEndAllowThreads(__tstate
); 
23928         if (PyErr_Occurred()) SWIG_fail
; 
23932         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
23934         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
23943 static PyObject 
*_wrap_TreeEvent_SetLabel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23944     PyObject 
*resultobj
; 
23945     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
23946     wxString 
*arg2 
= 0 ; 
23947     bool temp2 
= False 
; 
23948     PyObject 
* obj0 
= 0 ; 
23949     PyObject 
* obj1 
= 0 ; 
23950     char *kwnames
[] = { 
23951         (char *) "self",(char *) "label", NULL 
 
23954     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
; 
23955     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
, 
23956     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23958         arg2 
= wxString_in_helper(obj1
); 
23959         if (arg2 
== NULL
) SWIG_fail
; 
23963         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23964         (arg1
)->SetLabel((wxString 
const &)*arg2
); 
23966         wxPyEndAllowThreads(__tstate
); 
23967         if (PyErr_Occurred()) SWIG_fail
; 
23969     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23984 static PyObject 
*_wrap_TreeEvent_IsEditCancelled(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23985     PyObject 
*resultobj
; 
23986     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
23988     PyObject 
* obj0 
= 0 ; 
23989     char *kwnames
[] = { 
23990         (char *) "self", NULL 
 
23993     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
; 
23994     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
, 
23995     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23997         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23998         result 
= (bool)((wxTreeEvent 
const *)arg1
)->IsEditCancelled(); 
24000         wxPyEndAllowThreads(__tstate
); 
24001         if (PyErr_Occurred()) SWIG_fail
; 
24004         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24012 static PyObject 
*_wrap_TreeEvent_SetEditCanceled(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24013     PyObject 
*resultobj
; 
24014     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
24016     PyObject 
* obj0 
= 0 ; 
24017     PyObject 
* obj1 
= 0 ; 
24018     char *kwnames
[] = { 
24019         (char *) "self",(char *) "editCancelled", NULL 
 
24022     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
; 
24023     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
, 
24024     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24025     arg2 
= (bool) SWIG_AsBool(obj1
);  
24026     if (PyErr_Occurred()) SWIG_fail
; 
24028         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24029         (arg1
)->SetEditCanceled(arg2
); 
24031         wxPyEndAllowThreads(__tstate
); 
24032         if (PyErr_Occurred()) SWIG_fail
; 
24034     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24041 static PyObject 
*_wrap_TreeEvent_SetToolTip(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24042     PyObject 
*resultobj
; 
24043     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
24044     wxString 
*arg2 
= 0 ; 
24045     bool temp2 
= False 
; 
24046     PyObject 
* obj0 
= 0 ; 
24047     PyObject 
* obj1 
= 0 ; 
24048     char *kwnames
[] = { 
24049         (char *) "self",(char *) "toolTip", NULL 
 
24052     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
; 
24053     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
, 
24054     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24056         arg2 
= wxString_in_helper(obj1
); 
24057         if (arg2 
== NULL
) SWIG_fail
; 
24061         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24062         (arg1
)->SetToolTip((wxString 
const &)*arg2
); 
24064         wxPyEndAllowThreads(__tstate
); 
24065         if (PyErr_Occurred()) SWIG_fail
; 
24067     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24082 static PyObject 
* TreeEvent_swigregister(PyObject 
*self
, PyObject 
*args
) { 
24084     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
24085     SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
); 
24087     return Py_BuildValue((char *)""); 
24089 static PyObject 
*_wrap_new_TreeCtrl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24090     PyObject 
*resultobj
; 
24091     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
24092     int arg2 
= (int) -1 ; 
24093     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
24094     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
24095     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
24096     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
24097     long arg5 
= (long) wxTR_DEFAULT_STYLE 
; 
24098     wxValidator 
const &arg6_defvalue 
= wxDefaultValidator 
; 
24099     wxValidator 
*arg6 
= (wxValidator 
*) &arg6_defvalue 
; 
24100     wxString 
const &arg7_defvalue 
= wxPyTreeCtrlNameStr 
; 
24101     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
24102     wxPyTreeCtrl 
*result
; 
24105     bool temp7 
= False 
; 
24106     PyObject 
* obj0 
= 0 ; 
24107     PyObject 
* obj1 
= 0 ; 
24108     PyObject 
* obj2 
= 0 ; 
24109     PyObject 
* obj3 
= 0 ; 
24110     PyObject 
* obj4 
= 0 ; 
24111     PyObject 
* obj5 
= 0 ; 
24112     PyObject 
* obj6 
= 0 ; 
24113     char *kwnames
[] = { 
24114         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
24117     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
24118     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
24119     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24121         arg2 
= (int) SWIG_AsInt(obj1
);  
24122         if (PyErr_Occurred()) SWIG_fail
; 
24127             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
24133             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
24137         arg5 
= (long) SWIG_AsLong(obj4
);  
24138         if (PyErr_Occurred()) SWIG_fail
; 
24141         if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
, 
24142         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24144         if (arg6 
== NULL
) { 
24145             PyErr_SetString(PyExc_TypeError
,"null reference"); 
24151             arg7 
= wxString_in_helper(obj6
); 
24152             if (arg7 
== NULL
) SWIG_fail
; 
24157         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24158         result 
= (wxPyTreeCtrl 
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxValidator 
const &)*arg6
,(wxString 
const &)*arg7
); 
24160         wxPyEndAllowThreads(__tstate
); 
24161         if (PyErr_Occurred()) SWIG_fail
; 
24164         resultobj 
= wxPyMake_wxObject(result
);  
24180 static PyObject 
*_wrap_new_PreTreeCtrl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24181     PyObject 
*resultobj
; 
24182     wxPyTreeCtrl 
*result
; 
24183     char *kwnames
[] = { 
24187     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
; 
24189         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24190         result 
= (wxPyTreeCtrl 
*)new wxPyTreeCtrl(); 
24192         wxPyEndAllowThreads(__tstate
); 
24193         if (PyErr_Occurred()) SWIG_fail
; 
24196         resultobj 
= wxPyMake_wxObject(result
);  
24204 static PyObject 
*_wrap_TreeCtrl_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24205     PyObject 
*resultobj
; 
24206     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
24207     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
24208     int arg3 
= (int) -1 ; 
24209     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
24210     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
24211     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
24212     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
24213     long arg6 
= (long) wxTR_DEFAULT_STYLE 
; 
24214     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
24215     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
24216     wxString 
const &arg8_defvalue 
= wxPyTreeCtrlNameStr 
; 
24217     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
24221     bool temp8 
= False 
; 
24222     PyObject 
* obj0 
= 0 ; 
24223     PyObject 
* obj1 
= 0 ; 
24224     PyObject 
* obj2 
= 0 ; 
24225     PyObject 
* obj3 
= 0 ; 
24226     PyObject 
* obj4 
= 0 ; 
24227     PyObject 
* obj5 
= 0 ; 
24228     PyObject 
* obj6 
= 0 ; 
24229     PyObject 
* obj7 
= 0 ; 
24230     char *kwnames
[] = { 
24231         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
24234     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
24235     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
24236     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24237     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
24238     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24240         arg3 
= (int) SWIG_AsInt(obj2
);  
24241         if (PyErr_Occurred()) SWIG_fail
; 
24246             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
24252             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
24256         arg6 
= (long) SWIG_AsLong(obj5
);  
24257         if (PyErr_Occurred()) SWIG_fail
; 
24260         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
, 
24261         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24263         if (arg7 
== NULL
) { 
24264             PyErr_SetString(PyExc_TypeError
,"null reference"); 
24270             arg8 
= wxString_in_helper(obj7
); 
24271             if (arg8 
== NULL
) SWIG_fail
; 
24276         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24277         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
24279         wxPyEndAllowThreads(__tstate
); 
24280         if (PyErr_Occurred()) SWIG_fail
; 
24283         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24299 static PyObject 
*_wrap_TreeCtrl__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24300     PyObject 
*resultobj
; 
24301     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
24302     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
24303     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
24304     PyObject 
* obj0 
= 0 ; 
24305     PyObject 
* obj1 
= 0 ; 
24306     PyObject 
* obj2 
= 0 ; 
24307     char *kwnames
[] = { 
24308         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
24311     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
24312     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
24313     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24317         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24318         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
24320         wxPyEndAllowThreads(__tstate
); 
24321         if (PyErr_Occurred()) SWIG_fail
; 
24323     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24330 static PyObject 
*_wrap_TreeCtrl_GetCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24331     PyObject 
*resultobj
; 
24332     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
24334     PyObject 
* obj0 
= 0 ; 
24335     char *kwnames
[] = { 
24336         (char *) "self", NULL 
 
24339     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
; 
24340     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
24341     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24343         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24344         result 
= (size_t)((wxPyTreeCtrl 
const *)arg1
)->GetCount(); 
24346         wxPyEndAllowThreads(__tstate
); 
24347         if (PyErr_Occurred()) SWIG_fail
; 
24349     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
24356 static PyObject 
*_wrap_TreeCtrl_GetIndent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24357     PyObject 
*resultobj
; 
24358     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
24359     unsigned int result
; 
24360     PyObject 
* obj0 
= 0 ; 
24361     char *kwnames
[] = { 
24362         (char *) "self", NULL 
 
24365     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
; 
24366     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
24367     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24369         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24370         result 
= (unsigned int)((wxPyTreeCtrl 
const *)arg1
)->GetIndent(); 
24372         wxPyEndAllowThreads(__tstate
); 
24373         if (PyErr_Occurred()) SWIG_fail
; 
24375     resultobj 
= SWIG_FromUnsignedInt((unsigned int)result
); 
24382 static PyObject 
*_wrap_TreeCtrl_SetIndent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24383     PyObject 
*resultobj
; 
24384     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
24385     unsigned int arg2 
; 
24386     PyObject 
* obj0 
= 0 ; 
24387     PyObject 
* obj1 
= 0 ; 
24388     char *kwnames
[] = { 
24389         (char *) "self",(char *) "indent", NULL 
 
24392     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
; 
24393     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
24394     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24395     arg2 
= (unsigned int) SWIG_AsUnsignedInt(obj1
);  
24396     if (PyErr_Occurred()) SWIG_fail
; 
24398         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24399         (arg1
)->SetIndent(arg2
); 
24401         wxPyEndAllowThreads(__tstate
); 
24402         if (PyErr_Occurred()) SWIG_fail
; 
24404     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24411 static PyObject 
*_wrap_TreeCtrl_GetSpacing(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24412     PyObject 
*resultobj
; 
24413     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
24414     unsigned int result
; 
24415     PyObject 
* obj0 
= 0 ; 
24416     char *kwnames
[] = { 
24417         (char *) "self", NULL 
 
24420     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
; 
24421     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
24422     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24424         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24425         result 
= (unsigned int)((wxPyTreeCtrl 
const *)arg1
)->GetSpacing(); 
24427         wxPyEndAllowThreads(__tstate
); 
24428         if (PyErr_Occurred()) SWIG_fail
; 
24430     resultobj 
= SWIG_FromUnsignedInt((unsigned int)result
); 
24437 static PyObject 
*_wrap_TreeCtrl_SetSpacing(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24438     PyObject 
*resultobj
; 
24439     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
24440     unsigned int arg2 
; 
24441     PyObject 
* obj0 
= 0 ; 
24442     PyObject 
* obj1 
= 0 ; 
24443     char *kwnames
[] = { 
24444         (char *) "self",(char *) "spacing", NULL 
 
24447     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
; 
24448     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
24449     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24450     arg2 
= (unsigned int) SWIG_AsUnsignedInt(obj1
);  
24451     if (PyErr_Occurred()) SWIG_fail
; 
24453         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24454         (arg1
)->SetSpacing(arg2
); 
24456         wxPyEndAllowThreads(__tstate
); 
24457         if (PyErr_Occurred()) SWIG_fail
; 
24459     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24466 static PyObject 
*_wrap_TreeCtrl_GetImageList(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24467     PyObject 
*resultobj
; 
24468     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
24469     wxImageList 
*result
; 
24470     PyObject 
* obj0 
= 0 ; 
24471     char *kwnames
[] = { 
24472         (char *) "self", NULL 
 
24475     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
; 
24476     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
24477     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24479         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24480         result 
= (wxImageList 
*)((wxPyTreeCtrl 
const *)arg1
)->GetImageList(); 
24482         wxPyEndAllowThreads(__tstate
); 
24483         if (PyErr_Occurred()) SWIG_fail
; 
24486         resultobj 
= wxPyMake_wxObject(result
);  
24494 static PyObject 
*_wrap_TreeCtrl_GetStateImageList(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24495     PyObject 
*resultobj
; 
24496     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
24497     wxImageList 
*result
; 
24498     PyObject 
* obj0 
= 0 ; 
24499     char *kwnames
[] = { 
24500         (char *) "self", NULL 
 
24503     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
; 
24504     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
24505     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24507         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24508         result 
= (wxImageList 
*)((wxPyTreeCtrl 
const *)arg1
)->GetStateImageList(); 
24510         wxPyEndAllowThreads(__tstate
); 
24511         if (PyErr_Occurred()) SWIG_fail
; 
24514         resultobj 
= wxPyMake_wxObject(result
);  
24522 static PyObject 
*_wrap_TreeCtrl_SetImageList(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24523     PyObject 
*resultobj
; 
24524     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
24525     wxImageList 
*arg2 
= (wxImageList 
*) 0 ; 
24526     PyObject 
* obj0 
= 0 ; 
24527     PyObject 
* obj1 
= 0 ; 
24528     char *kwnames
[] = { 
24529         (char *) "self",(char *) "imageList", NULL 
 
24532     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
; 
24533     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
24534     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24535     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
, 
24536     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24538         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24539         (arg1
)->SetImageList(arg2
); 
24541         wxPyEndAllowThreads(__tstate
); 
24542         if (PyErr_Occurred()) SWIG_fail
; 
24544     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24551 static PyObject 
*_wrap_TreeCtrl_SetStateImageList(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24552     PyObject 
*resultobj
; 
24553     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
24554     wxImageList 
*arg2 
= (wxImageList 
*) 0 ; 
24555     PyObject 
* obj0 
= 0 ; 
24556     PyObject 
* obj1 
= 0 ; 
24557     char *kwnames
[] = { 
24558         (char *) "self",(char *) "imageList", NULL 
 
24561     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
; 
24562     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
24563     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24564     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
, 
24565     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24567         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24568         (arg1
)->SetStateImageList(arg2
); 
24570         wxPyEndAllowThreads(__tstate
); 
24571         if (PyErr_Occurred()) SWIG_fail
; 
24573     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24580 static PyObject 
*_wrap_TreeCtrl_AssignImageList(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24581     PyObject 
*resultobj
; 
24582     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
24583     wxImageList 
*arg2 
= (wxImageList 
*) 0 ; 
24584     PyObject 
* obj0 
= 0 ; 
24585     PyObject 
* obj1 
= 0 ; 
24586     char *kwnames
[] = { 
24587         (char *) "self",(char *) "imageList", NULL 
 
24590     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
; 
24591     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
24592     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24593     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
, 
24594     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
24596         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24597         (arg1
)->AssignImageList(arg2
); 
24599         wxPyEndAllowThreads(__tstate
); 
24600         if (PyErr_Occurred()) SWIG_fail
; 
24602     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24609 static PyObject 
*_wrap_TreeCtrl_AssignStateImageList(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24610     PyObject 
*resultobj
; 
24611     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
24612     wxImageList 
*arg2 
= (wxImageList 
*) 0 ; 
24613     PyObject 
* obj0 
= 0 ; 
24614     PyObject 
* obj1 
= 0 ; 
24615     char *kwnames
[] = { 
24616         (char *) "self",(char *) "imageList", NULL 
 
24619     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
; 
24620     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
24621     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24622     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
, 
24623     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
24625         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24626         (arg1
)->AssignStateImageList(arg2
); 
24628         wxPyEndAllowThreads(__tstate
); 
24629         if (PyErr_Occurred()) SWIG_fail
; 
24631     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24638 static PyObject 
*_wrap_TreeCtrl_GetItemText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24639     PyObject 
*resultobj
; 
24640     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
24641     wxTreeItemId 
*arg2 
= 0 ; 
24643     PyObject 
* obj0 
= 0 ; 
24644     PyObject 
* obj1 
= 0 ; 
24645     char *kwnames
[] = { 
24646         (char *) "self",(char *) "item", NULL 
 
24649     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
; 
24650     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
24651     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24652     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
24653     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24655     if (arg2 
== NULL
) { 
24656         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24660         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24661         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetItemText((wxTreeItemId 
const &)*arg2
); 
24663         wxPyEndAllowThreads(__tstate
); 
24664         if (PyErr_Occurred()) SWIG_fail
; 
24668         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
24670         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
24679 static PyObject 
*_wrap_TreeCtrl_GetItemImage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24680     PyObject 
*resultobj
; 
24681     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
24682     wxTreeItemId 
*arg2 
= 0 ; 
24683     int arg3 
= (int) wxTreeItemIcon_Normal 
; 
24685     PyObject 
* obj0 
= 0 ; 
24686     PyObject 
* obj1 
= 0 ; 
24687     PyObject 
* obj2 
= 0 ; 
24688     char *kwnames
[] = { 
24689         (char *) "self",(char *) "item",(char *) "which", NULL 
 
24692     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
24693     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
24694     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24695     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
24696     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24698     if (arg2 
== NULL
) { 
24699         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24703         arg3 
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);  
24704         if (PyErr_Occurred()) SWIG_fail
; 
24707         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24708         result 
= (int)((wxPyTreeCtrl 
const *)arg1
)->GetItemImage((wxTreeItemId 
const &)*arg2
,(wxTreeItemIcon 
)arg3
); 
24710         wxPyEndAllowThreads(__tstate
); 
24711         if (PyErr_Occurred()) SWIG_fail
; 
24713     resultobj 
= SWIG_FromInt((int)result
); 
24720 static PyObject 
*_wrap_TreeCtrl_GetItemData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24721     PyObject 
*resultobj
; 
24722     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
24723     wxTreeItemId 
*arg2 
= 0 ; 
24724     wxPyTreeItemData 
*result
; 
24725     PyObject 
* obj0 
= 0 ; 
24726     PyObject 
* obj1 
= 0 ; 
24727     char *kwnames
[] = { 
24728         (char *) "self",(char *) "item", NULL 
 
24731     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
; 
24732     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
24733     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24734     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
24735     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24737     if (arg2 
== NULL
) { 
24738         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24742         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24743         result 
= (wxPyTreeItemData 
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId 
const &)*arg2
); 
24745         wxPyEndAllowThreads(__tstate
); 
24746         if (PyErr_Occurred()) SWIG_fail
; 
24748     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0); 
24755 static PyObject 
*_wrap_TreeCtrl_GetItemPyData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24756     PyObject 
*resultobj
; 
24757     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
24758     wxTreeItemId 
*arg2 
= 0 ; 
24760     PyObject 
* obj0 
= 0 ; 
24761     PyObject 
* obj1 
= 0 ; 
24762     char *kwnames
[] = { 
24763         (char *) "self",(char *) "item", NULL 
 
24766     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
; 
24767     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
24768     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24769     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
24770     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24772     if (arg2 
== NULL
) { 
24773         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24777         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24778         result 
= (PyObject 
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId 
const &)*arg2
); 
24780         wxPyEndAllowThreads(__tstate
); 
24781         if (PyErr_Occurred()) SWIG_fail
; 
24783     resultobj 
= result
; 
24790 static PyObject 
*_wrap_TreeCtrl_GetItemTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24791     PyObject 
*resultobj
; 
24792     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
24793     wxTreeItemId 
*arg2 
= 0 ; 
24795     PyObject 
* obj0 
= 0 ; 
24796     PyObject 
* obj1 
= 0 ; 
24797     char *kwnames
[] = { 
24798         (char *) "self",(char *) "item", NULL 
 
24801     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
24802     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
24803     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24804     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
24805     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24807     if (arg2 
== NULL
) { 
24808         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24812         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24813         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetItemTextColour((wxTreeItemId 
const &)*arg2
); 
24815         wxPyEndAllowThreads(__tstate
); 
24816         if (PyErr_Occurred()) SWIG_fail
; 
24819         wxColour 
* resultptr
; 
24820         resultptr 
= new wxColour((wxColour 
&) result
); 
24821         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
24829 static PyObject 
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24830     PyObject 
*resultobj
; 
24831     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
24832     wxTreeItemId 
*arg2 
= 0 ; 
24834     PyObject 
* obj0 
= 0 ; 
24835     PyObject 
* obj1 
= 0 ; 
24836     char *kwnames
[] = { 
24837         (char *) "self",(char *) "item", NULL 
 
24840     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
24841     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
24842     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24843     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
24844     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24846     if (arg2 
== NULL
) { 
24847         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24851         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24852         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId 
const &)*arg2
); 
24854         wxPyEndAllowThreads(__tstate
); 
24855         if (PyErr_Occurred()) SWIG_fail
; 
24858         wxColour 
* resultptr
; 
24859         resultptr 
= new wxColour((wxColour 
&) result
); 
24860         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
24868 static PyObject 
*_wrap_TreeCtrl_GetItemFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24869     PyObject 
*resultobj
; 
24870     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
24871     wxTreeItemId 
*arg2 
= 0 ; 
24873     PyObject 
* obj0 
= 0 ; 
24874     PyObject 
* obj1 
= 0 ; 
24875     char *kwnames
[] = { 
24876         (char *) "self",(char *) "item", NULL 
 
24879     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
24880     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
24881     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24882     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
24883     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24885     if (arg2 
== NULL
) { 
24886         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24890         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24891         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetItemFont((wxTreeItemId 
const &)*arg2
); 
24893         wxPyEndAllowThreads(__tstate
); 
24894         if (PyErr_Occurred()) SWIG_fail
; 
24897         wxFont 
* resultptr
; 
24898         resultptr 
= new wxFont((wxFont 
&) result
); 
24899         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
24907 static PyObject 
*_wrap_TreeCtrl_SetItemText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24908     PyObject 
*resultobj
; 
24909     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
24910     wxTreeItemId 
*arg2 
= 0 ; 
24911     wxString 
*arg3 
= 0 ; 
24912     bool temp3 
= False 
; 
24913     PyObject 
* obj0 
= 0 ; 
24914     PyObject 
* obj1 
= 0 ; 
24915     PyObject 
* obj2 
= 0 ; 
24916     char *kwnames
[] = { 
24917         (char *) "self",(char *) "item",(char *) "text", NULL 
 
24920     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
24921     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
24922     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24923     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
24924     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24926     if (arg2 
== NULL
) { 
24927         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24931         arg3 
= wxString_in_helper(obj2
); 
24932         if (arg3 
== NULL
) SWIG_fail
; 
24936         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24937         (arg1
)->SetItemText((wxTreeItemId 
const &)*arg2
,(wxString 
const &)*arg3
); 
24939         wxPyEndAllowThreads(__tstate
); 
24940         if (PyErr_Occurred()) SWIG_fail
; 
24942     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24957 static PyObject 
*_wrap_TreeCtrl_SetItemImage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24958     PyObject 
*resultobj
; 
24959     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
24960     wxTreeItemId 
*arg2 
= 0 ; 
24962     int arg4 
= (int) wxTreeItemIcon_Normal 
; 
24963     PyObject 
* obj0 
= 0 ; 
24964     PyObject 
* obj1 
= 0 ; 
24965     PyObject 
* obj2 
= 0 ; 
24966     PyObject 
* obj3 
= 0 ; 
24967     char *kwnames
[] = { 
24968         (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL 
 
24971     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
24972     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
24973     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24974     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
24975     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24977     if (arg2 
== NULL
) { 
24978         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24981     arg3 
= (int) SWIG_AsInt(obj2
);  
24982     if (PyErr_Occurred()) SWIG_fail
; 
24984         arg4 
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);  
24985         if (PyErr_Occurred()) SWIG_fail
; 
24988         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24989         (arg1
)->SetItemImage((wxTreeItemId 
const &)*arg2
,arg3
,(wxTreeItemIcon 
)arg4
); 
24991         wxPyEndAllowThreads(__tstate
); 
24992         if (PyErr_Occurred()) SWIG_fail
; 
24994     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25001 static PyObject 
*_wrap_TreeCtrl_SetItemData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25002     PyObject 
*resultobj
; 
25003     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25004     wxTreeItemId 
*arg2 
= 0 ; 
25005     wxPyTreeItemData 
*arg3 
= (wxPyTreeItemData 
*) 0 ; 
25006     PyObject 
* obj0 
= 0 ; 
25007     PyObject 
* obj1 
= 0 ; 
25008     PyObject 
* obj2 
= 0 ; 
25009     char *kwnames
[] = { 
25010         (char *) "self",(char *) "item",(char *) "data", NULL 
 
25013     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
25014     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25015     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25016     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
25017     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25019     if (arg2 
== NULL
) { 
25020         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25023     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
, 
25024     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25026         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25027         wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId 
const &)*arg2
,arg3
); 
25029         wxPyEndAllowThreads(__tstate
); 
25030         if (PyErr_Occurred()) SWIG_fail
; 
25032     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25039 static PyObject 
*_wrap_TreeCtrl_SetItemPyData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25040     PyObject 
*resultobj
; 
25041     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25042     wxTreeItemId 
*arg2 
= 0 ; 
25043     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
25044     PyObject 
* obj0 
= 0 ; 
25045     PyObject 
* obj1 
= 0 ; 
25046     PyObject 
* obj2 
= 0 ; 
25047     char *kwnames
[] = { 
25048         (char *) "self",(char *) "item",(char *) "obj", NULL 
 
25051     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
25052     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25053     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25054     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
25055     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25057     if (arg2 
== NULL
) { 
25058         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25063         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25064         wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId 
const &)*arg2
,arg3
); 
25066         wxPyEndAllowThreads(__tstate
); 
25067         if (PyErr_Occurred()) SWIG_fail
; 
25069     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25076 static PyObject 
*_wrap_TreeCtrl_SetItemHasChildren(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25077     PyObject 
*resultobj
; 
25078     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25079     wxTreeItemId 
*arg2 
= 0 ; 
25080     bool arg3 
= (bool) True 
; 
25081     PyObject 
* obj0 
= 0 ; 
25082     PyObject 
* obj1 
= 0 ; 
25083     PyObject 
* obj2 
= 0 ; 
25084     char *kwnames
[] = { 
25085         (char *) "self",(char *) "item",(char *) "has", NULL 
 
25088     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
25089     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25090     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25091     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
25092     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25094     if (arg2 
== NULL
) { 
25095         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25099         arg3 
= (bool) SWIG_AsBool(obj2
);  
25100         if (PyErr_Occurred()) SWIG_fail
; 
25103         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25104         (arg1
)->SetItemHasChildren((wxTreeItemId 
const &)*arg2
,arg3
); 
25106         wxPyEndAllowThreads(__tstate
); 
25107         if (PyErr_Occurred()) SWIG_fail
; 
25109     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25116 static PyObject 
*_wrap_TreeCtrl_SetItemBold(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25117     PyObject 
*resultobj
; 
25118     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25119     wxTreeItemId 
*arg2 
= 0 ; 
25120     bool arg3 
= (bool) True 
; 
25121     PyObject 
* obj0 
= 0 ; 
25122     PyObject 
* obj1 
= 0 ; 
25123     PyObject 
* obj2 
= 0 ; 
25124     char *kwnames
[] = { 
25125         (char *) "self",(char *) "item",(char *) "bold", NULL 
 
25128     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
25129     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25130     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25131     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
25132     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25134     if (arg2 
== NULL
) { 
25135         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25139         arg3 
= (bool) SWIG_AsBool(obj2
);  
25140         if (PyErr_Occurred()) SWIG_fail
; 
25143         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25144         (arg1
)->SetItemBold((wxTreeItemId 
const &)*arg2
,arg3
); 
25146         wxPyEndAllowThreads(__tstate
); 
25147         if (PyErr_Occurred()) SWIG_fail
; 
25149     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25156 static PyObject 
*_wrap_TreeCtrl_SetItemTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25157     PyObject 
*resultobj
; 
25158     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25159     wxTreeItemId 
*arg2 
= 0 ; 
25160     wxColour 
*arg3 
= 0 ; 
25162     PyObject 
* obj0 
= 0 ; 
25163     PyObject 
* obj1 
= 0 ; 
25164     PyObject 
* obj2 
= 0 ; 
25165     char *kwnames
[] = { 
25166         (char *) "self",(char *) "item",(char *) "col", NULL 
 
25169     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
25170     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25171     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25172     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
25173     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25175     if (arg2 
== NULL
) { 
25176         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25181         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
25184         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25185         (arg1
)->SetItemTextColour((wxTreeItemId 
const &)*arg2
,(wxColour 
const &)*arg3
); 
25187         wxPyEndAllowThreads(__tstate
); 
25188         if (PyErr_Occurred()) SWIG_fail
; 
25190     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25197 static PyObject 
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25198     PyObject 
*resultobj
; 
25199     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25200     wxTreeItemId 
*arg2 
= 0 ; 
25201     wxColour 
*arg3 
= 0 ; 
25203     PyObject 
* obj0 
= 0 ; 
25204     PyObject 
* obj1 
= 0 ; 
25205     PyObject 
* obj2 
= 0 ; 
25206     char *kwnames
[] = { 
25207         (char *) "self",(char *) "item",(char *) "col", NULL 
 
25210     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
25211     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25212     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25213     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
25214     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25216     if (arg2 
== NULL
) { 
25217         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25222         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
25225         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25226         (arg1
)->SetItemBackgroundColour((wxTreeItemId 
const &)*arg2
,(wxColour 
const &)*arg3
); 
25228         wxPyEndAllowThreads(__tstate
); 
25229         if (PyErr_Occurred()) SWIG_fail
; 
25231     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25238 static PyObject 
*_wrap_TreeCtrl_SetItemFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25239     PyObject 
*resultobj
; 
25240     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25241     wxTreeItemId 
*arg2 
= 0 ; 
25243     PyObject 
* obj0 
= 0 ; 
25244     PyObject 
* obj1 
= 0 ; 
25245     PyObject 
* obj2 
= 0 ; 
25246     char *kwnames
[] = { 
25247         (char *) "self",(char *) "item",(char *) "font", NULL 
 
25250     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
25251     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25252     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25253     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
25254     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25256     if (arg2 
== NULL
) { 
25257         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25260     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
, 
25261     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25263     if (arg3 
== NULL
) { 
25264         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25268         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25269         (arg1
)->SetItemFont((wxTreeItemId 
const &)*arg2
,(wxFont 
const &)*arg3
); 
25271         wxPyEndAllowThreads(__tstate
); 
25272         if (PyErr_Occurred()) SWIG_fail
; 
25274     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25281 static PyObject 
*_wrap_TreeCtrl_IsVisible(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25282     PyObject 
*resultobj
; 
25283     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25284     wxTreeItemId 
*arg2 
= 0 ; 
25286     PyObject 
* obj0 
= 0 ; 
25287     PyObject 
* obj1 
= 0 ; 
25288     char *kwnames
[] = { 
25289         (char *) "self",(char *) "item", NULL 
 
25292     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
; 
25293     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25294     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25295     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
25296     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25298     if (arg2 
== NULL
) { 
25299         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25303         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25304         result 
= (bool)((wxPyTreeCtrl 
const *)arg1
)->IsVisible((wxTreeItemId 
const &)*arg2
); 
25306         wxPyEndAllowThreads(__tstate
); 
25307         if (PyErr_Occurred()) SWIG_fail
; 
25310         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25318 static PyObject 
*_wrap_TreeCtrl_ItemHasChildren(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25319     PyObject 
*resultobj
; 
25320     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25321     wxTreeItemId 
*arg2 
= 0 ; 
25323     PyObject 
* obj0 
= 0 ; 
25324     PyObject 
* obj1 
= 0 ; 
25325     char *kwnames
[] = { 
25326         (char *) "self",(char *) "item", NULL 
 
25329     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
; 
25330     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25331     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25332     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
25333     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25335     if (arg2 
== NULL
) { 
25336         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25340         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25341         result 
= (bool)((wxPyTreeCtrl 
const *)arg1
)->ItemHasChildren((wxTreeItemId 
const &)*arg2
); 
25343         wxPyEndAllowThreads(__tstate
); 
25344         if (PyErr_Occurred()) SWIG_fail
; 
25347         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25355 static PyObject 
*_wrap_TreeCtrl_IsExpanded(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25356     PyObject 
*resultobj
; 
25357     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25358     wxTreeItemId 
*arg2 
= 0 ; 
25360     PyObject 
* obj0 
= 0 ; 
25361     PyObject 
* obj1 
= 0 ; 
25362     char *kwnames
[] = { 
25363         (char *) "self",(char *) "item", NULL 
 
25366     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
; 
25367     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25368     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25369     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
25370     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25372     if (arg2 
== NULL
) { 
25373         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25377         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25378         result 
= (bool)((wxPyTreeCtrl 
const *)arg1
)->IsExpanded((wxTreeItemId 
const &)*arg2
); 
25380         wxPyEndAllowThreads(__tstate
); 
25381         if (PyErr_Occurred()) SWIG_fail
; 
25384         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25392 static PyObject 
*_wrap_TreeCtrl_IsSelected(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25393     PyObject 
*resultobj
; 
25394     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25395     wxTreeItemId 
*arg2 
= 0 ; 
25397     PyObject 
* obj0 
= 0 ; 
25398     PyObject 
* obj1 
= 0 ; 
25399     char *kwnames
[] = { 
25400         (char *) "self",(char *) "item", NULL 
 
25403     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
; 
25404     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25405     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25406     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
25407     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25409     if (arg2 
== NULL
) { 
25410         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25414         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25415         result 
= (bool)((wxPyTreeCtrl 
const *)arg1
)->IsSelected((wxTreeItemId 
const &)*arg2
); 
25417         wxPyEndAllowThreads(__tstate
); 
25418         if (PyErr_Occurred()) SWIG_fail
; 
25421         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25429 static PyObject 
*_wrap_TreeCtrl_IsBold(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25430     PyObject 
*resultobj
; 
25431     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25432     wxTreeItemId 
*arg2 
= 0 ; 
25434     PyObject 
* obj0 
= 0 ; 
25435     PyObject 
* obj1 
= 0 ; 
25436     char *kwnames
[] = { 
25437         (char *) "self",(char *) "item", NULL 
 
25440     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
; 
25441     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25442     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25443     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
25444     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25446     if (arg2 
== NULL
) { 
25447         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25451         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25452         result 
= (bool)((wxPyTreeCtrl 
const *)arg1
)->IsBold((wxTreeItemId 
const &)*arg2
); 
25454         wxPyEndAllowThreads(__tstate
); 
25455         if (PyErr_Occurred()) SWIG_fail
; 
25458         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25466 static PyObject 
*_wrap_TreeCtrl_GetChildrenCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25467     PyObject 
*resultobj
; 
25468     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25469     wxTreeItemId 
*arg2 
= 0 ; 
25470     bool arg3 
= (bool) True 
; 
25472     PyObject 
* obj0 
= 0 ; 
25473     PyObject 
* obj1 
= 0 ; 
25474     PyObject 
* obj2 
= 0 ; 
25475     char *kwnames
[] = { 
25476         (char *) "self",(char *) "item",(char *) "recursively", NULL 
 
25479     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
25480     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25481     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25482     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
25483     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25485     if (arg2 
== NULL
) { 
25486         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25490         arg3 
= (bool) SWIG_AsBool(obj2
);  
25491         if (PyErr_Occurred()) SWIG_fail
; 
25494         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25495         result 
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId 
const &)*arg2
,arg3
); 
25497         wxPyEndAllowThreads(__tstate
); 
25498         if (PyErr_Occurred()) SWIG_fail
; 
25500     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
25507 static PyObject 
*_wrap_TreeCtrl_GetRootItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25508     PyObject 
*resultobj
; 
25509     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25510     wxTreeItemId result
; 
25511     PyObject 
* obj0 
= 0 ; 
25512     char *kwnames
[] = { 
25513         (char *) "self", NULL 
 
25516     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
; 
25517     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25518     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25520         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25521         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetRootItem(); 
25523         wxPyEndAllowThreads(__tstate
); 
25524         if (PyErr_Occurred()) SWIG_fail
; 
25527         wxTreeItemId 
* resultptr
; 
25528         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
25529         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
25537 static PyObject 
*_wrap_TreeCtrl_GetSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25538     PyObject 
*resultobj
; 
25539     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25540     wxTreeItemId result
; 
25541     PyObject 
* obj0 
= 0 ; 
25542     char *kwnames
[] = { 
25543         (char *) "self", NULL 
 
25546     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
; 
25547     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25548     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25550         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25551         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetSelection(); 
25553         wxPyEndAllowThreads(__tstate
); 
25554         if (PyErr_Occurred()) SWIG_fail
; 
25557         wxTreeItemId 
* resultptr
; 
25558         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
25559         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
25567 static PyObject 
*_wrap_TreeCtrl_GetSelections(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25568     PyObject 
*resultobj
; 
25569     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25571     PyObject 
* obj0 
= 0 ; 
25572     char *kwnames
[] = { 
25573         (char *) "self", NULL 
 
25576     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
; 
25577     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25578     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25580         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25581         result 
= (PyObject 
*)wxPyTreeCtrl_GetSelections(arg1
); 
25583         wxPyEndAllowThreads(__tstate
); 
25584         if (PyErr_Occurred()) SWIG_fail
; 
25586     resultobj 
= result
; 
25593 static PyObject 
*_wrap_TreeCtrl_GetItemParent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25594     PyObject 
*resultobj
; 
25595     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25596     wxTreeItemId 
*arg2 
= 0 ; 
25597     wxTreeItemId result
; 
25598     PyObject 
* obj0 
= 0 ; 
25599     PyObject 
* obj1 
= 0 ; 
25600     char *kwnames
[] = { 
25601         (char *) "self",(char *) "item", NULL 
 
25604     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
; 
25605     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25606     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25607     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
25608     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25610     if (arg2 
== NULL
) { 
25611         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25615         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25616         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetItemParent((wxTreeItemId 
const &)*arg2
); 
25618         wxPyEndAllowThreads(__tstate
); 
25619         if (PyErr_Occurred()) SWIG_fail
; 
25622         wxTreeItemId 
* resultptr
; 
25623         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
25624         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
25632 static PyObject 
*_wrap_TreeCtrl_GetFirstChild(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25633     PyObject 
*resultobj
; 
25634     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25635     wxTreeItemId 
*arg2 
= 0 ; 
25637     PyObject 
* obj0 
= 0 ; 
25638     PyObject 
* obj1 
= 0 ; 
25639     char *kwnames
[] = { 
25640         (char *) "self",(char *) "item", NULL 
 
25643     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
; 
25644     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25645     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25646     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
25647     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25649     if (arg2 
== NULL
) { 
25650         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25654         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25655         result 
= (PyObject 
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId 
const &)*arg2
); 
25657         wxPyEndAllowThreads(__tstate
); 
25658         if (PyErr_Occurred()) SWIG_fail
; 
25660     resultobj 
= result
; 
25667 static PyObject 
*_wrap_TreeCtrl_GetNextChild(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25668     PyObject 
*resultobj
; 
25669     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25670     wxTreeItemId 
*arg2 
= 0 ; 
25671     void *arg3 
= (void *) 0 ; 
25673     PyObject 
* obj0 
= 0 ; 
25674     PyObject 
* obj1 
= 0 ; 
25675     PyObject 
* obj2 
= 0 ; 
25676     char *kwnames
[] = { 
25677         (char *) "self",(char *) "item",(char *) "cookie", NULL 
 
25680     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
25681     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25682     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25683     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
25684     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25686     if (arg2 
== NULL
) { 
25687         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25690     if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25692         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25693         result 
= (PyObject 
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId 
const &)*arg2
,arg3
); 
25695         wxPyEndAllowThreads(__tstate
); 
25696         if (PyErr_Occurred()) SWIG_fail
; 
25698     resultobj 
= result
; 
25705 static PyObject 
*_wrap_TreeCtrl_GetLastChild(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25706     PyObject 
*resultobj
; 
25707     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25708     wxTreeItemId 
*arg2 
= 0 ; 
25709     wxTreeItemId result
; 
25710     PyObject 
* obj0 
= 0 ; 
25711     PyObject 
* obj1 
= 0 ; 
25712     char *kwnames
[] = { 
25713         (char *) "self",(char *) "item", NULL 
 
25716     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
; 
25717     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25718     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25719     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
25720     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25722     if (arg2 
== NULL
) { 
25723         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25727         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25728         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetLastChild((wxTreeItemId 
const &)*arg2
); 
25730         wxPyEndAllowThreads(__tstate
); 
25731         if (PyErr_Occurred()) SWIG_fail
; 
25734         wxTreeItemId 
* resultptr
; 
25735         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
25736         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
25744 static PyObject 
*_wrap_TreeCtrl_GetNextSibling(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25745     PyObject 
*resultobj
; 
25746     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25747     wxTreeItemId 
*arg2 
= 0 ; 
25748     wxTreeItemId result
; 
25749     PyObject 
* obj0 
= 0 ; 
25750     PyObject 
* obj1 
= 0 ; 
25751     char *kwnames
[] = { 
25752         (char *) "self",(char *) "item", NULL 
 
25755     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
; 
25756     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25757     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25758     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
25759     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25761     if (arg2 
== NULL
) { 
25762         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25766         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25767         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetNextSibling((wxTreeItemId 
const &)*arg2
); 
25769         wxPyEndAllowThreads(__tstate
); 
25770         if (PyErr_Occurred()) SWIG_fail
; 
25773         wxTreeItemId 
* resultptr
; 
25774         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
25775         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
25783 static PyObject 
*_wrap_TreeCtrl_GetPrevSibling(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25784     PyObject 
*resultobj
; 
25785     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25786     wxTreeItemId 
*arg2 
= 0 ; 
25787     wxTreeItemId result
; 
25788     PyObject 
* obj0 
= 0 ; 
25789     PyObject 
* obj1 
= 0 ; 
25790     char *kwnames
[] = { 
25791         (char *) "self",(char *) "item", NULL 
 
25794     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
; 
25795     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25796     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25797     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
25798     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25800     if (arg2 
== NULL
) { 
25801         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25805         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25806         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetPrevSibling((wxTreeItemId 
const &)*arg2
); 
25808         wxPyEndAllowThreads(__tstate
); 
25809         if (PyErr_Occurred()) SWIG_fail
; 
25812         wxTreeItemId 
* resultptr
; 
25813         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
25814         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
25822 static PyObject 
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25823     PyObject 
*resultobj
; 
25824     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25825     wxTreeItemId result
; 
25826     PyObject 
* obj0 
= 0 ; 
25827     char *kwnames
[] = { 
25828         (char *) "self", NULL 
 
25831     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
; 
25832     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25833     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25835         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25836         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetFirstVisibleItem(); 
25838         wxPyEndAllowThreads(__tstate
); 
25839         if (PyErr_Occurred()) SWIG_fail
; 
25842         wxTreeItemId 
* resultptr
; 
25843         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
25844         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
25852 static PyObject 
*_wrap_TreeCtrl_GetNextVisible(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25853     PyObject 
*resultobj
; 
25854     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25855     wxTreeItemId 
*arg2 
= 0 ; 
25856     wxTreeItemId result
; 
25857     PyObject 
* obj0 
= 0 ; 
25858     PyObject 
* obj1 
= 0 ; 
25859     char *kwnames
[] = { 
25860         (char *) "self",(char *) "item", NULL 
 
25863     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
; 
25864     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25865     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25866     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
25867     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25869     if (arg2 
== NULL
) { 
25870         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25874         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25875         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetNextVisible((wxTreeItemId 
const &)*arg2
); 
25877         wxPyEndAllowThreads(__tstate
); 
25878         if (PyErr_Occurred()) SWIG_fail
; 
25881         wxTreeItemId 
* resultptr
; 
25882         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
25883         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
25891 static PyObject 
*_wrap_TreeCtrl_GetPrevVisible(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25892     PyObject 
*resultobj
; 
25893     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25894     wxTreeItemId 
*arg2 
= 0 ; 
25895     wxTreeItemId result
; 
25896     PyObject 
* obj0 
= 0 ; 
25897     PyObject 
* obj1 
= 0 ; 
25898     char *kwnames
[] = { 
25899         (char *) "self",(char *) "item", NULL 
 
25902     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
; 
25903     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25904     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25905     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
25906     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25908     if (arg2 
== NULL
) { 
25909         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25913         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25914         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetPrevVisible((wxTreeItemId 
const &)*arg2
); 
25916         wxPyEndAllowThreads(__tstate
); 
25917         if (PyErr_Occurred()) SWIG_fail
; 
25920         wxTreeItemId 
* resultptr
; 
25921         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
25922         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
25930 static PyObject 
*_wrap_TreeCtrl_AddRoot(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25931     PyObject 
*resultobj
; 
25932     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25933     wxString 
*arg2 
= 0 ; 
25934     int arg3 
= (int) -1 ; 
25935     int arg4 
= (int) -1 ; 
25936     wxPyTreeItemData 
*arg5 
= (wxPyTreeItemData 
*) NULL 
; 
25937     wxTreeItemId result
; 
25938     bool temp2 
= False 
; 
25939     PyObject 
* obj0 
= 0 ; 
25940     PyObject 
* obj1 
= 0 ; 
25941     PyObject 
* obj2 
= 0 ; 
25942     PyObject 
* obj3 
= 0 ; 
25943     PyObject 
* obj4 
= 0 ; 
25944     char *kwnames
[] = { 
25945         (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL 
 
25948     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
25949     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
25950     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25952         arg2 
= wxString_in_helper(obj1
); 
25953         if (arg2 
== NULL
) SWIG_fail
; 
25957         arg3 
= (int) SWIG_AsInt(obj2
);  
25958         if (PyErr_Occurred()) SWIG_fail
; 
25961         arg4 
= (int) SWIG_AsInt(obj3
);  
25962         if (PyErr_Occurred()) SWIG_fail
; 
25965         if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
, 
25966         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25969         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25970         result 
= (arg1
)->AddRoot((wxString 
const &)*arg2
,arg3
,arg4
,arg5
); 
25972         wxPyEndAllowThreads(__tstate
); 
25973         if (PyErr_Occurred()) SWIG_fail
; 
25976         wxTreeItemId 
* resultptr
; 
25977         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
25978         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
25994 static PyObject 
*_wrap_TreeCtrl_PrependItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25995     PyObject 
*resultobj
; 
25996     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
25997     wxTreeItemId 
*arg2 
= 0 ; 
25998     wxString 
*arg3 
= 0 ; 
25999     int arg4 
= (int) -1 ; 
26000     int arg5 
= (int) -1 ; 
26001     wxPyTreeItemData 
*arg6 
= (wxPyTreeItemData 
*) NULL 
; 
26002     wxTreeItemId result
; 
26003     bool temp3 
= False 
; 
26004     PyObject 
* obj0 
= 0 ; 
26005     PyObject 
* obj1 
= 0 ; 
26006     PyObject 
* obj2 
= 0 ; 
26007     PyObject 
* obj3 
= 0 ; 
26008     PyObject 
* obj4 
= 0 ; 
26009     PyObject 
* obj5 
= 0 ; 
26010     char *kwnames
[] = { 
26011         (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL 
 
26014     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
26015     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26016     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26017     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26018     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26020     if (arg2 
== NULL
) { 
26021         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26025         arg3 
= wxString_in_helper(obj2
); 
26026         if (arg3 
== NULL
) SWIG_fail
; 
26030         arg4 
= (int) SWIG_AsInt(obj3
);  
26031         if (PyErr_Occurred()) SWIG_fail
; 
26034         arg5 
= (int) SWIG_AsInt(obj4
);  
26035         if (PyErr_Occurred()) SWIG_fail
; 
26038         if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
, 
26039         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26042         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26043         result 
= (arg1
)->PrependItem((wxTreeItemId 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
,arg5
,arg6
); 
26045         wxPyEndAllowThreads(__tstate
); 
26046         if (PyErr_Occurred()) SWIG_fail
; 
26049         wxTreeItemId 
* resultptr
; 
26050         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
26051         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
26067 static PyObject 
*_wrap_TreeCtrl_InsertItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26068     PyObject 
*resultobj
; 
26069     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26070     wxTreeItemId 
*arg2 
= 0 ; 
26071     wxTreeItemId 
*arg3 
= 0 ; 
26072     wxString 
*arg4 
= 0 ; 
26073     int arg5 
= (int) -1 ; 
26074     int arg6 
= (int) -1 ; 
26075     wxPyTreeItemData 
*arg7 
= (wxPyTreeItemData 
*) NULL 
; 
26076     wxTreeItemId result
; 
26077     bool temp4 
= False 
; 
26078     PyObject 
* obj0 
= 0 ; 
26079     PyObject 
* obj1 
= 0 ; 
26080     PyObject 
* obj2 
= 0 ; 
26081     PyObject 
* obj3 
= 0 ; 
26082     PyObject 
* obj4 
= 0 ; 
26083     PyObject 
* obj5 
= 0 ; 
26084     PyObject 
* obj6 
= 0 ; 
26085     char *kwnames
[] = { 
26086         (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL 
 
26089     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
26090     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26091     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26092     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26093     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26095     if (arg2 
== NULL
) { 
26096         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26099     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
, 
26100     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26102     if (arg3 
== NULL
) { 
26103         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26107         arg4 
= wxString_in_helper(obj3
); 
26108         if (arg4 
== NULL
) SWIG_fail
; 
26112         arg5 
= (int) SWIG_AsInt(obj4
);  
26113         if (PyErr_Occurred()) SWIG_fail
; 
26116         arg6 
= (int) SWIG_AsInt(obj5
);  
26117         if (PyErr_Occurred()) SWIG_fail
; 
26120         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
, 
26121         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26124         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26125         result 
= (arg1
)->InsertItem((wxTreeItemId 
const &)*arg2
,(wxTreeItemId 
const &)*arg3
,(wxString 
const &)*arg4
,arg5
,arg6
,arg7
); 
26127         wxPyEndAllowThreads(__tstate
); 
26128         if (PyErr_Occurred()) SWIG_fail
; 
26131         wxTreeItemId 
* resultptr
; 
26132         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
26133         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
26149 static PyObject 
*_wrap_TreeCtrl_InsertItemBefore(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26150     PyObject 
*resultobj
; 
26151     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26152     wxTreeItemId 
*arg2 
= 0 ; 
26154     wxString 
*arg4 
= 0 ; 
26155     int arg5 
= (int) -1 ; 
26156     int arg6 
= (int) -1 ; 
26157     wxPyTreeItemData 
*arg7 
= (wxPyTreeItemData 
*) NULL 
; 
26158     wxTreeItemId result
; 
26159     bool temp4 
= False 
; 
26160     PyObject 
* obj0 
= 0 ; 
26161     PyObject 
* obj1 
= 0 ; 
26162     PyObject 
* obj2 
= 0 ; 
26163     PyObject 
* obj3 
= 0 ; 
26164     PyObject 
* obj4 
= 0 ; 
26165     PyObject 
* obj5 
= 0 ; 
26166     PyObject 
* obj6 
= 0 ; 
26167     char *kwnames
[] = { 
26168         (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL 
 
26171     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
26172     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26173     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26174     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26175     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26177     if (arg2 
== NULL
) { 
26178         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26181     arg3 
= (size_t) SWIG_AsUnsignedLong(obj2
);  
26182     if (PyErr_Occurred()) SWIG_fail
; 
26184         arg4 
= wxString_in_helper(obj3
); 
26185         if (arg4 
== NULL
) SWIG_fail
; 
26189         arg5 
= (int) SWIG_AsInt(obj4
);  
26190         if (PyErr_Occurred()) SWIG_fail
; 
26193         arg6 
= (int) SWIG_AsInt(obj5
);  
26194         if (PyErr_Occurred()) SWIG_fail
; 
26197         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
, 
26198         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26201         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26202         result 
= (arg1
)->InsertItem((wxTreeItemId 
const &)*arg2
,arg3
,(wxString 
const &)*arg4
,arg5
,arg6
,arg7
); 
26204         wxPyEndAllowThreads(__tstate
); 
26205         if (PyErr_Occurred()) SWIG_fail
; 
26208         wxTreeItemId 
* resultptr
; 
26209         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
26210         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
26226 static PyObject 
*_wrap_TreeCtrl_AppendItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26227     PyObject 
*resultobj
; 
26228     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26229     wxTreeItemId 
*arg2 
= 0 ; 
26230     wxString 
*arg3 
= 0 ; 
26231     int arg4 
= (int) -1 ; 
26232     int arg5 
= (int) -1 ; 
26233     wxPyTreeItemData 
*arg6 
= (wxPyTreeItemData 
*) NULL 
; 
26234     wxTreeItemId result
; 
26235     bool temp3 
= False 
; 
26236     PyObject 
* obj0 
= 0 ; 
26237     PyObject 
* obj1 
= 0 ; 
26238     PyObject 
* obj2 
= 0 ; 
26239     PyObject 
* obj3 
= 0 ; 
26240     PyObject 
* obj4 
= 0 ; 
26241     PyObject 
* obj5 
= 0 ; 
26242     char *kwnames
[] = { 
26243         (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL 
 
26246     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
26247     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26248     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26249     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26250     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26252     if (arg2 
== NULL
) { 
26253         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26257         arg3 
= wxString_in_helper(obj2
); 
26258         if (arg3 
== NULL
) SWIG_fail
; 
26262         arg4 
= (int) SWIG_AsInt(obj3
);  
26263         if (PyErr_Occurred()) SWIG_fail
; 
26266         arg5 
= (int) SWIG_AsInt(obj4
);  
26267         if (PyErr_Occurred()) SWIG_fail
; 
26270         if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
, 
26271         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26274         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26275         result 
= (arg1
)->AppendItem((wxTreeItemId 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
,arg5
,arg6
); 
26277         wxPyEndAllowThreads(__tstate
); 
26278         if (PyErr_Occurred()) SWIG_fail
; 
26281         wxTreeItemId 
* resultptr
; 
26282         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
26283         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
26299 static PyObject 
*_wrap_TreeCtrl_Delete(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26300     PyObject 
*resultobj
; 
26301     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26302     wxTreeItemId 
*arg2 
= 0 ; 
26303     PyObject 
* obj0 
= 0 ; 
26304     PyObject 
* obj1 
= 0 ; 
26305     char *kwnames
[] = { 
26306         (char *) "self",(char *) "item", NULL 
 
26309     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
; 
26310     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26311     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26312     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26313     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26315     if (arg2 
== NULL
) { 
26316         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26320         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26321         (arg1
)->Delete((wxTreeItemId 
const &)*arg2
); 
26323         wxPyEndAllowThreads(__tstate
); 
26324         if (PyErr_Occurred()) SWIG_fail
; 
26326     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26333 static PyObject 
*_wrap_TreeCtrl_DeleteChildren(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26334     PyObject 
*resultobj
; 
26335     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26336     wxTreeItemId 
*arg2 
= 0 ; 
26337     PyObject 
* obj0 
= 0 ; 
26338     PyObject 
* obj1 
= 0 ; 
26339     char *kwnames
[] = { 
26340         (char *) "self",(char *) "item", NULL 
 
26343     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
; 
26344     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26345     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26346     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26347     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26349     if (arg2 
== NULL
) { 
26350         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26354         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26355         (arg1
)->DeleteChildren((wxTreeItemId 
const &)*arg2
); 
26357         wxPyEndAllowThreads(__tstate
); 
26358         if (PyErr_Occurred()) SWIG_fail
; 
26360     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26367 static PyObject 
*_wrap_TreeCtrl_DeleteAllItems(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26368     PyObject 
*resultobj
; 
26369     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26370     PyObject 
* obj0 
= 0 ; 
26371     char *kwnames
[] = { 
26372         (char *) "self", NULL 
 
26375     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
; 
26376     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26377     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26379         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26380         (arg1
)->DeleteAllItems(); 
26382         wxPyEndAllowThreads(__tstate
); 
26383         if (PyErr_Occurred()) SWIG_fail
; 
26385     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26392 static PyObject 
*_wrap_TreeCtrl_Expand(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26393     PyObject 
*resultobj
; 
26394     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26395     wxTreeItemId 
*arg2 
= 0 ; 
26396     PyObject 
* obj0 
= 0 ; 
26397     PyObject 
* obj1 
= 0 ; 
26398     char *kwnames
[] = { 
26399         (char *) "self",(char *) "item", NULL 
 
26402     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
; 
26403     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26404     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26405     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26406     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26408     if (arg2 
== NULL
) { 
26409         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26413         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26414         (arg1
)->Expand((wxTreeItemId 
const &)*arg2
); 
26416         wxPyEndAllowThreads(__tstate
); 
26417         if (PyErr_Occurred()) SWIG_fail
; 
26419     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26426 static PyObject 
*_wrap_TreeCtrl_Collapse(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26427     PyObject 
*resultobj
; 
26428     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26429     wxTreeItemId 
*arg2 
= 0 ; 
26430     PyObject 
* obj0 
= 0 ; 
26431     PyObject 
* obj1 
= 0 ; 
26432     char *kwnames
[] = { 
26433         (char *) "self",(char *) "item", NULL 
 
26436     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
; 
26437     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26438     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26439     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26440     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26442     if (arg2 
== NULL
) { 
26443         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26447         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26448         (arg1
)->Collapse((wxTreeItemId 
const &)*arg2
); 
26450         wxPyEndAllowThreads(__tstate
); 
26451         if (PyErr_Occurred()) SWIG_fail
; 
26453     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26460 static PyObject 
*_wrap_TreeCtrl_CollapseAndReset(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26461     PyObject 
*resultobj
; 
26462     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26463     wxTreeItemId 
*arg2 
= 0 ; 
26464     PyObject 
* obj0 
= 0 ; 
26465     PyObject 
* obj1 
= 0 ; 
26466     char *kwnames
[] = { 
26467         (char *) "self",(char *) "item", NULL 
 
26470     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
; 
26471     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26472     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26473     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26474     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26476     if (arg2 
== NULL
) { 
26477         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26481         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26482         (arg1
)->CollapseAndReset((wxTreeItemId 
const &)*arg2
); 
26484         wxPyEndAllowThreads(__tstate
); 
26485         if (PyErr_Occurred()) SWIG_fail
; 
26487     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26494 static PyObject 
*_wrap_TreeCtrl_Toggle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26495     PyObject 
*resultobj
; 
26496     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26497     wxTreeItemId 
*arg2 
= 0 ; 
26498     PyObject 
* obj0 
= 0 ; 
26499     PyObject 
* obj1 
= 0 ; 
26500     char *kwnames
[] = { 
26501         (char *) "self",(char *) "item", NULL 
 
26504     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
; 
26505     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26506     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26507     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26508     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26510     if (arg2 
== NULL
) { 
26511         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26515         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26516         (arg1
)->Toggle((wxTreeItemId 
const &)*arg2
); 
26518         wxPyEndAllowThreads(__tstate
); 
26519         if (PyErr_Occurred()) SWIG_fail
; 
26521     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26528 static PyObject 
*_wrap_TreeCtrl_Unselect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26529     PyObject 
*resultobj
; 
26530     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26531     PyObject 
* obj0 
= 0 ; 
26532     char *kwnames
[] = { 
26533         (char *) "self", NULL 
 
26536     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
; 
26537     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26538     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26540         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26541         (arg1
)->Unselect(); 
26543         wxPyEndAllowThreads(__tstate
); 
26544         if (PyErr_Occurred()) SWIG_fail
; 
26546     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26553 static PyObject 
*_wrap_TreeCtrl_UnselectItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26554     PyObject 
*resultobj
; 
26555     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26556     wxTreeItemId 
*arg2 
= 0 ; 
26557     PyObject 
* obj0 
= 0 ; 
26558     PyObject 
* obj1 
= 0 ; 
26559     char *kwnames
[] = { 
26560         (char *) "self",(char *) "item", NULL 
 
26563     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
26564     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26565     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26566     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26567     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26569     if (arg2 
== NULL
) { 
26570         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26574         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26575         (arg1
)->UnselectItem((wxTreeItemId 
const &)*arg2
); 
26577         wxPyEndAllowThreads(__tstate
); 
26578         if (PyErr_Occurred()) SWIG_fail
; 
26580     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26587 static PyObject 
*_wrap_TreeCtrl_UnselectAll(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26588     PyObject 
*resultobj
; 
26589     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26590     PyObject 
* obj0 
= 0 ; 
26591     char *kwnames
[] = { 
26592         (char *) "self", NULL 
 
26595     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
; 
26596     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26597     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26599         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26600         (arg1
)->UnselectAll(); 
26602         wxPyEndAllowThreads(__tstate
); 
26603         if (PyErr_Occurred()) SWIG_fail
; 
26605     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26612 static PyObject 
*_wrap_TreeCtrl_SelectItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26613     PyObject 
*resultobj
; 
26614     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26615     wxTreeItemId 
*arg2 
= 0 ; 
26616     bool arg3 
= (bool) True 
; 
26617     PyObject 
* obj0 
= 0 ; 
26618     PyObject 
* obj1 
= 0 ; 
26619     PyObject 
* obj2 
= 0 ; 
26620     char *kwnames
[] = { 
26621         (char *) "self",(char *) "item",(char *) "select", NULL 
 
26624     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26625     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26626     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26627     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26628     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26630     if (arg2 
== NULL
) { 
26631         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26635         arg3 
= (bool) SWIG_AsBool(obj2
);  
26636         if (PyErr_Occurred()) SWIG_fail
; 
26639         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26640         (arg1
)->SelectItem((wxTreeItemId 
const &)*arg2
,arg3
); 
26642         wxPyEndAllowThreads(__tstate
); 
26643         if (PyErr_Occurred()) SWIG_fail
; 
26645     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26652 static PyObject 
*_wrap_TreeCtrl_ToggleItemSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26653     PyObject 
*resultobj
; 
26654     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26655     wxTreeItemId 
*arg2 
= 0 ; 
26656     PyObject 
* obj0 
= 0 ; 
26657     PyObject 
* obj1 
= 0 ; 
26658     char *kwnames
[] = { 
26659         (char *) "self",(char *) "item", NULL 
 
26662     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
26663     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26664     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26665     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26666     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26668     if (arg2 
== NULL
) { 
26669         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26673         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26674         (arg1
)->ToggleItemSelection((wxTreeItemId 
const &)*arg2
); 
26676         wxPyEndAllowThreads(__tstate
); 
26677         if (PyErr_Occurred()) SWIG_fail
; 
26679     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26686 static PyObject 
*_wrap_TreeCtrl_EnsureVisible(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26687     PyObject 
*resultobj
; 
26688     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26689     wxTreeItemId 
*arg2 
= 0 ; 
26690     PyObject 
* obj0 
= 0 ; 
26691     PyObject 
* obj1 
= 0 ; 
26692     char *kwnames
[] = { 
26693         (char *) "self",(char *) "item", NULL 
 
26696     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
; 
26697     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26698     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26699     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26700     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26702     if (arg2 
== NULL
) { 
26703         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26707         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26708         (arg1
)->EnsureVisible((wxTreeItemId 
const &)*arg2
); 
26710         wxPyEndAllowThreads(__tstate
); 
26711         if (PyErr_Occurred()) SWIG_fail
; 
26713     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26720 static PyObject 
*_wrap_TreeCtrl_ScrollTo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26721     PyObject 
*resultobj
; 
26722     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26723     wxTreeItemId 
*arg2 
= 0 ; 
26724     PyObject 
* obj0 
= 0 ; 
26725     PyObject 
* obj1 
= 0 ; 
26726     char *kwnames
[] = { 
26727         (char *) "self",(char *) "item", NULL 
 
26730     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
; 
26731     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26732     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26733     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26734     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26736     if (arg2 
== NULL
) { 
26737         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26741         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26742         (arg1
)->ScrollTo((wxTreeItemId 
const &)*arg2
); 
26744         wxPyEndAllowThreads(__tstate
); 
26745         if (PyErr_Occurred()) SWIG_fail
; 
26747     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26754 static PyObject 
*_wrap_TreeCtrl_EditLabel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26755     PyObject 
*resultobj
; 
26756     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26757     wxTreeItemId 
*arg2 
= 0 ; 
26758     PyObject 
* obj0 
= 0 ; 
26759     PyObject 
* obj1 
= 0 ; 
26760     char *kwnames
[] = { 
26761         (char *) "self",(char *) "item", NULL 
 
26764     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
; 
26765     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26766     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26767     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26768     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26770     if (arg2 
== NULL
) { 
26771         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26775         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26776         (arg1
)->EditLabel((wxTreeItemId 
const &)*arg2
); 
26778         wxPyEndAllowThreads(__tstate
); 
26779         if (PyErr_Occurred()) SWIG_fail
; 
26781     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26788 static PyObject 
*_wrap_TreeCtrl_GetEditControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26789     PyObject 
*resultobj
; 
26790     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26791     wxTextCtrl 
*result
; 
26792     PyObject 
* obj0 
= 0 ; 
26793     char *kwnames
[] = { 
26794         (char *) "self", NULL 
 
26797     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
; 
26798     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26799     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26801         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26802         result 
= (wxTextCtrl 
*)((wxPyTreeCtrl 
const *)arg1
)->GetEditControl(); 
26804         wxPyEndAllowThreads(__tstate
); 
26805         if (PyErr_Occurred()) SWIG_fail
; 
26808         resultobj 
= wxPyMake_wxObject(result
);  
26816 static PyObject 
*_wrap_TreeCtrl_SortChildren(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26817     PyObject 
*resultobj
; 
26818     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26819     wxTreeItemId 
*arg2 
= 0 ; 
26820     PyObject 
* obj0 
= 0 ; 
26821     PyObject 
* obj1 
= 0 ; 
26822     char *kwnames
[] = { 
26823         (char *) "self",(char *) "item", NULL 
 
26826     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
; 
26827     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26828     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26829     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26830     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26832     if (arg2 
== NULL
) { 
26833         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26837         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26838         (arg1
)->SortChildren((wxTreeItemId 
const &)*arg2
); 
26840         wxPyEndAllowThreads(__tstate
); 
26841         if (PyErr_Occurred()) SWIG_fail
; 
26843     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26850 static PyObject 
*_wrap_TreeCtrl_HitTest(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26851     PyObject 
*resultobj
; 
26852     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26853     wxPoint 
*arg2 
= 0 ; 
26855     wxTreeItemId result
; 
26858     PyObject 
* obj0 
= 0 ; 
26859     PyObject 
* obj1 
= 0 ; 
26860     char *kwnames
[] = { 
26861         (char *) "self",(char *) "point", NULL 
 
26865     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
; 
26866     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26867     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26870         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
26873         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26874         result 
= (arg1
)->HitTest((wxPoint 
const &)*arg2
,*arg3
); 
26876         wxPyEndAllowThreads(__tstate
); 
26877         if (PyErr_Occurred()) SWIG_fail
; 
26880         wxTreeItemId 
* resultptr
; 
26881         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
26882         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
26885         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
26886         resultobj 
= t_output_helper(resultobj
,o
); 
26894 static PyObject 
*_wrap_TreeCtrl_GetBoundingRect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26895     PyObject 
*resultobj
; 
26896     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
26897     wxTreeItemId 
*arg2 
= 0 ; 
26898     bool arg3 
= (bool) False 
; 
26900     PyObject 
* obj0 
= 0 ; 
26901     PyObject 
* obj1 
= 0 ; 
26902     PyObject 
* obj2 
= 0 ; 
26903     char *kwnames
[] = { 
26904         (char *) "self",(char *) "item",(char *) "textOnly", NULL 
 
26907     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26908     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
26909     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26910     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
26911     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26913     if (arg2 
== NULL
) { 
26914         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26918         arg3 
= (bool) SWIG_AsBool(obj2
);  
26919         if (PyErr_Occurred()) SWIG_fail
; 
26922         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26923         result 
= (PyObject 
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId 
const &)*arg2
,arg3
); 
26925         wxPyEndAllowThreads(__tstate
); 
26926         if (PyErr_Occurred()) SWIG_fail
; 
26928     resultobj 
= result
; 
26935 static PyObject 
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26936     PyObject 
*resultobj
; 
26937     int arg1 
= (int) wxWINDOW_VARIANT_NORMAL 
; 
26938     wxVisualAttributes result
; 
26939     PyObject 
* obj0 
= 0 ; 
26940     char *kwnames
[] = { 
26941         (char *) "variant", NULL 
 
26944     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
26946         arg1 
= (wxWindowVariant
) SWIG_AsInt(obj0
);  
26947         if (PyErr_Occurred()) SWIG_fail
; 
26950         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26951         result 
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
26953         wxPyEndAllowThreads(__tstate
); 
26954         if (PyErr_Occurred()) SWIG_fail
; 
26957         wxVisualAttributes 
* resultptr
; 
26958         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&) result
); 
26959         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
26967 static PyObject 
* TreeCtrl_swigregister(PyObject 
*self
, PyObject 
*args
) { 
26969     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
26970     SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
); 
26972     return Py_BuildValue((char *)""); 
26974 static int _wrap_DirDialogDefaultFolderStr_set(PyObject 
*_val
) { 
26975     PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only."); 
26980 static PyObject 
*_wrap_DirDialogDefaultFolderStr_get() { 
26985         pyobj 
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len()); 
26987         pyobj 
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len()); 
26994 static PyObject 
*_wrap_new_GenericDirCtrl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26995     PyObject 
*resultobj
; 
26996     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
26997     int arg2 
= (int) (int)-1 ; 
26998     wxString 
const &arg3_defvalue 
= wxPyDirDialogDefaultFolderStr 
; 
26999     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
27000     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
27001     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
27002     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
27003     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
27004     long arg6 
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER 
; 
27005     wxString 
const &arg7_defvalue 
= wxPyEmptyString 
; 
27006     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
27007     int arg8 
= (int) 0 ; 
27008     wxString 
const &arg9_defvalue 
= wxPyTreeCtrlNameStr 
; 
27009     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
27010     wxGenericDirCtrl 
*result
; 
27011     bool temp3 
= False 
; 
27014     bool temp7 
= False 
; 
27015     bool temp9 
= False 
; 
27016     PyObject 
* obj0 
= 0 ; 
27017     PyObject 
* obj1 
= 0 ; 
27018     PyObject 
* obj2 
= 0 ; 
27019     PyObject 
* obj3 
= 0 ; 
27020     PyObject 
* obj4 
= 0 ; 
27021     PyObject 
* obj5 
= 0 ; 
27022     PyObject 
* obj6 
= 0 ; 
27023     PyObject 
* obj7 
= 0 ; 
27024     PyObject 
* obj8 
= 0 ; 
27025     char *kwnames
[] = { 
27026         (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL 
 
27029     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
27030     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
27031     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27033         arg2 
= (int const) SWIG_AsInt(obj1
);  
27034         if (PyErr_Occurred()) SWIG_fail
; 
27038             arg3 
= wxString_in_helper(obj2
); 
27039             if (arg3 
== NULL
) SWIG_fail
; 
27046             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
27052             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
27056         arg6 
= (long) SWIG_AsLong(obj5
);  
27057         if (PyErr_Occurred()) SWIG_fail
; 
27061             arg7 
= wxString_in_helper(obj6
); 
27062             if (arg7 
== NULL
) SWIG_fail
; 
27067         arg8 
= (int) SWIG_AsInt(obj7
);  
27068         if (PyErr_Occurred()) SWIG_fail
; 
27072             arg9 
= wxString_in_helper(obj8
); 
27073             if (arg9 
== NULL
) SWIG_fail
; 
27078         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27079         result 
= (wxGenericDirCtrl 
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
,arg8
,(wxString 
const &)*arg9
); 
27081         wxPyEndAllowThreads(__tstate
); 
27082         if (PyErr_Occurred()) SWIG_fail
; 
27084     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1); 
27115 static PyObject 
*_wrap_new_PreGenericDirCtrl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27116     PyObject 
*resultobj
; 
27117     wxGenericDirCtrl 
*result
; 
27118     char *kwnames
[] = { 
27122     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
; 
27124         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27125         result 
= (wxGenericDirCtrl 
*)new wxGenericDirCtrl(); 
27127         wxPyEndAllowThreads(__tstate
); 
27128         if (PyErr_Occurred()) SWIG_fail
; 
27130     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1); 
27137 static PyObject 
*_wrap_GenericDirCtrl_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27138     PyObject 
*resultobj
; 
27139     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
27140     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
27141     int arg3 
= (int) (int)-1 ; 
27142     wxString 
const &arg4_defvalue 
= wxPyDirDialogDefaultFolderStr 
; 
27143     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
27144     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
27145     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
27146     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
27147     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
27148     long arg7 
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER 
; 
27149     wxString 
const &arg8_defvalue 
= wxPyEmptyString 
; 
27150     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
27151     int arg9 
= (int) 0 ; 
27152     wxString 
const &arg10_defvalue 
= wxPyTreeCtrlNameStr 
; 
27153     wxString 
*arg10 
= (wxString 
*) &arg10_defvalue 
; 
27155     bool temp4 
= False 
; 
27158     bool temp8 
= False 
; 
27159     bool temp10 
= False 
; 
27160     PyObject 
* obj0 
= 0 ; 
27161     PyObject 
* obj1 
= 0 ; 
27162     PyObject 
* obj2 
= 0 ; 
27163     PyObject 
* obj3 
= 0 ; 
27164     PyObject 
* obj4 
= 0 ; 
27165     PyObject 
* obj5 
= 0 ; 
27166     PyObject 
* obj6 
= 0 ; 
27167     PyObject 
* obj7 
= 0 ; 
27168     PyObject 
* obj8 
= 0 ; 
27169     PyObject 
* obj9 
= 0 ; 
27170     char *kwnames
[] = { 
27171         (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL 
 
27174     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
; 
27175     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
27176     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27177     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
27178     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27180         arg3 
= (int const) SWIG_AsInt(obj2
);  
27181         if (PyErr_Occurred()) SWIG_fail
; 
27185             arg4 
= wxString_in_helper(obj3
); 
27186             if (arg4 
== NULL
) SWIG_fail
; 
27193             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
27199             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
27203         arg7 
= (long) SWIG_AsLong(obj6
);  
27204         if (PyErr_Occurred()) SWIG_fail
; 
27208             arg8 
= wxString_in_helper(obj7
); 
27209             if (arg8 
== NULL
) SWIG_fail
; 
27214         arg9 
= (int) SWIG_AsInt(obj8
);  
27215         if (PyErr_Occurred()) SWIG_fail
; 
27219             arg10 
= wxString_in_helper(obj9
); 
27220             if (arg10 
== NULL
) SWIG_fail
; 
27225         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27226         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxString 
const &)*arg8
,arg9
,(wxString 
const &)*arg10
); 
27228         wxPyEndAllowThreads(__tstate
); 
27229         if (PyErr_Occurred()) SWIG_fail
; 
27232         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27264 static PyObject 
*_wrap_GenericDirCtrl_ExpandPath(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27265     PyObject 
*resultobj
; 
27266     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
27267     wxString 
*arg2 
= 0 ; 
27269     bool temp2 
= False 
; 
27270     PyObject 
* obj0 
= 0 ; 
27271     PyObject 
* obj1 
= 0 ; 
27272     char *kwnames
[] = { 
27273         (char *) "self",(char *) "path", NULL 
 
27276     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
; 
27277     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
27278     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27280         arg2 
= wxString_in_helper(obj1
); 
27281         if (arg2 
== NULL
) SWIG_fail
; 
27285         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27286         result 
= (bool)(arg1
)->ExpandPath((wxString 
const &)*arg2
); 
27288         wxPyEndAllowThreads(__tstate
); 
27289         if (PyErr_Occurred()) SWIG_fail
; 
27292         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27308 static PyObject 
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27309     PyObject 
*resultobj
; 
27310     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
27312     PyObject 
* obj0 
= 0 ; 
27313     char *kwnames
[] = { 
27314         (char *) "self", NULL 
 
27317     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
; 
27318     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
27319     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27321         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27322         result 
= ((wxGenericDirCtrl 
const *)arg1
)->GetDefaultPath(); 
27324         wxPyEndAllowThreads(__tstate
); 
27325         if (PyErr_Occurred()) SWIG_fail
; 
27329         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
27331         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
27340 static PyObject 
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27341     PyObject 
*resultobj
; 
27342     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
27343     wxString 
*arg2 
= 0 ; 
27344     bool temp2 
= False 
; 
27345     PyObject 
* obj0 
= 0 ; 
27346     PyObject 
* obj1 
= 0 ; 
27347     char *kwnames
[] = { 
27348         (char *) "self",(char *) "path", NULL 
 
27351     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
; 
27352     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
27353     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27355         arg2 
= wxString_in_helper(obj1
); 
27356         if (arg2 
== NULL
) SWIG_fail
; 
27360         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27361         (arg1
)->SetDefaultPath((wxString 
const &)*arg2
); 
27363         wxPyEndAllowThreads(__tstate
); 
27364         if (PyErr_Occurred()) SWIG_fail
; 
27366     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27381 static PyObject 
*_wrap_GenericDirCtrl_GetPath(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27382     PyObject 
*resultobj
; 
27383     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
27385     PyObject 
* obj0 
= 0 ; 
27386     char *kwnames
[] = { 
27387         (char *) "self", NULL 
 
27390     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
; 
27391     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
27392     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27394         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27395         result 
= ((wxGenericDirCtrl 
const *)arg1
)->GetPath(); 
27397         wxPyEndAllowThreads(__tstate
); 
27398         if (PyErr_Occurred()) SWIG_fail
; 
27402         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
27404         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
27413 static PyObject 
*_wrap_GenericDirCtrl_GetFilePath(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27414     PyObject 
*resultobj
; 
27415     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
27417     PyObject 
* obj0 
= 0 ; 
27418     char *kwnames
[] = { 
27419         (char *) "self", NULL 
 
27422     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
; 
27423     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
27424     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27426         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27427         result 
= ((wxGenericDirCtrl 
const *)arg1
)->GetFilePath(); 
27429         wxPyEndAllowThreads(__tstate
); 
27430         if (PyErr_Occurred()) SWIG_fail
; 
27434         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
27436         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
27445 static PyObject 
*_wrap_GenericDirCtrl_SetPath(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27446     PyObject 
*resultobj
; 
27447     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
27448     wxString 
*arg2 
= 0 ; 
27449     bool temp2 
= False 
; 
27450     PyObject 
* obj0 
= 0 ; 
27451     PyObject 
* obj1 
= 0 ; 
27452     char *kwnames
[] = { 
27453         (char *) "self",(char *) "path", NULL 
 
27456     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
; 
27457     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
27458     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27460         arg2 
= wxString_in_helper(obj1
); 
27461         if (arg2 
== NULL
) SWIG_fail
; 
27465         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27466         (arg1
)->SetPath((wxString 
const &)*arg2
); 
27468         wxPyEndAllowThreads(__tstate
); 
27469         if (PyErr_Occurred()) SWIG_fail
; 
27471     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27486 static PyObject 
*_wrap_GenericDirCtrl_ShowHidden(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27487     PyObject 
*resultobj
; 
27488     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
27490     PyObject 
* obj0 
= 0 ; 
27491     PyObject 
* obj1 
= 0 ; 
27492     char *kwnames
[] = { 
27493         (char *) "self",(char *) "show", NULL 
 
27496     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
; 
27497     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
27498     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27499     arg2 
= (bool) SWIG_AsBool(obj1
);  
27500     if (PyErr_Occurred()) SWIG_fail
; 
27502         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27503         (arg1
)->ShowHidden(arg2
); 
27505         wxPyEndAllowThreads(__tstate
); 
27506         if (PyErr_Occurred()) SWIG_fail
; 
27508     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27515 static PyObject 
*_wrap_GenericDirCtrl_GetShowHidden(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27516     PyObject 
*resultobj
; 
27517     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
27519     PyObject 
* obj0 
= 0 ; 
27520     char *kwnames
[] = { 
27521         (char *) "self", NULL 
 
27524     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
; 
27525     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
27526     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27528         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27529         result 
= (bool)(arg1
)->GetShowHidden(); 
27531         wxPyEndAllowThreads(__tstate
); 
27532         if (PyErr_Occurred()) SWIG_fail
; 
27535         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27543 static PyObject 
*_wrap_GenericDirCtrl_GetFilter(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27544     PyObject 
*resultobj
; 
27545     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
27547     PyObject 
* obj0 
= 0 ; 
27548     char *kwnames
[] = { 
27549         (char *) "self", NULL 
 
27552     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
; 
27553     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
27554     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27556         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27557         result 
= ((wxGenericDirCtrl 
const *)arg1
)->GetFilter(); 
27559         wxPyEndAllowThreads(__tstate
); 
27560         if (PyErr_Occurred()) SWIG_fail
; 
27564         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
27566         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
27575 static PyObject 
*_wrap_GenericDirCtrl_SetFilter(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27576     PyObject 
*resultobj
; 
27577     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
27578     wxString 
*arg2 
= 0 ; 
27579     bool temp2 
= False 
; 
27580     PyObject 
* obj0 
= 0 ; 
27581     PyObject 
* obj1 
= 0 ; 
27582     char *kwnames
[] = { 
27583         (char *) "self",(char *) "filter", NULL 
 
27586     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
; 
27587     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
27588     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27590         arg2 
= wxString_in_helper(obj1
); 
27591         if (arg2 
== NULL
) SWIG_fail
; 
27595         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27596         (arg1
)->SetFilter((wxString 
const &)*arg2
); 
27598         wxPyEndAllowThreads(__tstate
); 
27599         if (PyErr_Occurred()) SWIG_fail
; 
27601     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27616 static PyObject 
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27617     PyObject 
*resultobj
; 
27618     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
27620     PyObject 
* obj0 
= 0 ; 
27621     char *kwnames
[] = { 
27622         (char *) "self", NULL 
 
27625     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
; 
27626     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
27627     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27629         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27630         result 
= (int)((wxGenericDirCtrl 
const *)arg1
)->GetFilterIndex(); 
27632         wxPyEndAllowThreads(__tstate
); 
27633         if (PyErr_Occurred()) SWIG_fail
; 
27635     resultobj 
= SWIG_FromInt((int)result
); 
27642 static PyObject 
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27643     PyObject 
*resultobj
; 
27644     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
27646     PyObject 
* obj0 
= 0 ; 
27647     PyObject 
* obj1 
= 0 ; 
27648     char *kwnames
[] = { 
27649         (char *) "self",(char *) "n", NULL 
 
27652     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
; 
27653     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
27654     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27655     arg2 
= (int) SWIG_AsInt(obj1
);  
27656     if (PyErr_Occurred()) SWIG_fail
; 
27658         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27659         (arg1
)->SetFilterIndex(arg2
); 
27661         wxPyEndAllowThreads(__tstate
); 
27662         if (PyErr_Occurred()) SWIG_fail
; 
27664     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27671 static PyObject 
*_wrap_GenericDirCtrl_GetRootId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27672     PyObject 
*resultobj
; 
27673     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
27674     wxTreeItemId result
; 
27675     PyObject 
* obj0 
= 0 ; 
27676     char *kwnames
[] = { 
27677         (char *) "self", NULL 
 
27680     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
; 
27681     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
27682     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27684         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27685         result 
= (arg1
)->GetRootId(); 
27687         wxPyEndAllowThreads(__tstate
); 
27688         if (PyErr_Occurred()) SWIG_fail
; 
27691         wxTreeItemId 
* resultptr
; 
27692         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
27693         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
27701 static PyObject 
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27702     PyObject 
*resultobj
; 
27703     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
27704     wxPyTreeCtrl 
*result
; 
27705     PyObject 
* obj0 
= 0 ; 
27706     char *kwnames
[] = { 
27707         (char *) "self", NULL 
 
27710     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
; 
27711     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
27712     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27714         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27715         result 
= (wxPyTreeCtrl 
*)((wxGenericDirCtrl 
const *)arg1
)->GetTreeCtrl(); 
27717         wxPyEndAllowThreads(__tstate
); 
27718         if (PyErr_Occurred()) SWIG_fail
; 
27721         resultobj 
= wxPyMake_wxObject(result
);  
27729 static PyObject 
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27730     PyObject 
*resultobj
; 
27731     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
27732     wxDirFilterListCtrl 
*result
; 
27733     PyObject 
* obj0 
= 0 ; 
27734     char *kwnames
[] = { 
27735         (char *) "self", NULL 
 
27738     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
; 
27739     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
27740     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27742         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27743         result 
= (wxDirFilterListCtrl 
*)((wxGenericDirCtrl 
const *)arg1
)->GetFilterListCtrl(); 
27745         wxPyEndAllowThreads(__tstate
); 
27746         if (PyErr_Occurred()) SWIG_fail
; 
27748     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0); 
27755 static PyObject 
*_wrap_GenericDirCtrl_FindChild(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27756     PyObject 
*resultobj
; 
27757     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
27758     wxTreeItemId arg2 
; 
27759     wxString 
*arg3 
= 0 ; 
27761     wxTreeItemId result
; 
27762     wxTreeItemId 
*argp2 
; 
27763     bool temp3 
= False 
; 
27765     PyObject 
* obj0 
= 0 ; 
27766     PyObject 
* obj1 
= 0 ; 
27767     PyObject 
* obj2 
= 0 ; 
27768     char *kwnames
[] = { 
27769         (char *) "self",(char *) "parentId",(char *) "path", NULL 
 
27773     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
27774     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
27775     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27776     if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
, 
27777     SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
; 
27780         arg3 
= wxString_in_helper(obj2
); 
27781         if (arg3 
== NULL
) SWIG_fail
; 
27785         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27786         result 
= (arg1
)->FindChild(arg2
,(wxString 
const &)*arg3
,*arg4
); 
27788         wxPyEndAllowThreads(__tstate
); 
27789         if (PyErr_Occurred()) SWIG_fail
; 
27792         wxTreeItemId 
* resultptr
; 
27793         resultptr 
= new wxTreeItemId((wxTreeItemId 
&) result
); 
27794         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
27797         PyObject 
*o 
= PyInt_FromLong((long) (*arg4
)); 
27798         resultobj 
= t_output_helper(resultobj
,o
); 
27814 static PyObject 
*_wrap_GenericDirCtrl_DoResize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27815     PyObject 
*resultobj
; 
27816     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
27817     PyObject 
* obj0 
= 0 ; 
27818     char *kwnames
[] = { 
27819         (char *) "self", NULL 
 
27822     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
; 
27823     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
27824     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27826         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27827         (arg1
)->DoResize(); 
27829         wxPyEndAllowThreads(__tstate
); 
27830         if (PyErr_Occurred()) SWIG_fail
; 
27832     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27839 static PyObject 
*_wrap_GenericDirCtrl_ReCreateTree(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27840     PyObject 
*resultobj
; 
27841     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
27842     PyObject 
* obj0 
= 0 ; 
27843     char *kwnames
[] = { 
27844         (char *) "self", NULL 
 
27847     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
; 
27848     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
27849     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27851         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27852         (arg1
)->ReCreateTree(); 
27854         wxPyEndAllowThreads(__tstate
); 
27855         if (PyErr_Occurred()) SWIG_fail
; 
27857     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27864 static PyObject 
* GenericDirCtrl_swigregister(PyObject 
*self
, PyObject 
*args
) { 
27866     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
27867     SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
); 
27869     return Py_BuildValue((char *)""); 
27871 static PyObject 
*_wrap_new_DirFilterListCtrl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27872     PyObject 
*resultobj
; 
27873     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
27874     int arg2 
= (int) (int)-1 ; 
27875     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
27876     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
27877     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
27878     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
27879     long arg5 
= (long) 0 ; 
27880     wxDirFilterListCtrl 
*result
; 
27883     PyObject 
* obj0 
= 0 ; 
27884     PyObject 
* obj1 
= 0 ; 
27885     PyObject 
* obj2 
= 0 ; 
27886     PyObject 
* obj3 
= 0 ; 
27887     PyObject 
* obj4 
= 0 ; 
27888     char *kwnames
[] = { 
27889         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL 
 
27892     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
27893     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
, 
27894     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27896         arg2 
= (int const) SWIG_AsInt(obj1
);  
27897         if (PyErr_Occurred()) SWIG_fail
; 
27902             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
27908             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
27912         arg5 
= (long) SWIG_AsLong(obj4
);  
27913         if (PyErr_Occurred()) SWIG_fail
; 
27916         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27917         result 
= (wxDirFilterListCtrl 
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
); 
27919         wxPyEndAllowThreads(__tstate
); 
27920         if (PyErr_Occurred()) SWIG_fail
; 
27922     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1); 
27929 static PyObject 
*_wrap_new_PreDirFilterListCtrl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27930     PyObject 
*resultobj
; 
27931     wxDirFilterListCtrl 
*result
; 
27932     char *kwnames
[] = { 
27936     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
; 
27938         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27939         result 
= (wxDirFilterListCtrl 
*)new wxDirFilterListCtrl(); 
27941         wxPyEndAllowThreads(__tstate
); 
27942         if (PyErr_Occurred()) SWIG_fail
; 
27944     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1); 
27951 static PyObject 
*_wrap_DirFilterListCtrl_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27952     PyObject 
*resultobj
; 
27953     wxDirFilterListCtrl 
*arg1 
= (wxDirFilterListCtrl 
*) 0 ; 
27954     wxGenericDirCtrl 
*arg2 
= (wxGenericDirCtrl 
*) 0 ; 
27955     int arg3 
= (int) (int)-1 ; 
27956     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
27957     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
27958     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
27959     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
27960     long arg6 
= (long) 0 ; 
27964     PyObject 
* obj0 
= 0 ; 
27965     PyObject 
* obj1 
= 0 ; 
27966     PyObject 
* obj2 
= 0 ; 
27967     PyObject 
* obj3 
= 0 ; 
27968     PyObject 
* obj4 
= 0 ; 
27969     PyObject 
* obj5 
= 0 ; 
27970     char *kwnames
[] = { 
27971         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL 
 
27974     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
27975     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
, 
27976     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27977     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
, 
27978     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27980         arg3 
= (int const) SWIG_AsInt(obj2
);  
27981         if (PyErr_Occurred()) SWIG_fail
; 
27986             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
27992             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
27996         arg6 
= (long) SWIG_AsLong(obj5
);  
27997         if (PyErr_Occurred()) SWIG_fail
; 
28000         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28001         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
); 
28003         wxPyEndAllowThreads(__tstate
); 
28004         if (PyErr_Occurred()) SWIG_fail
; 
28007         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28015 static PyObject 
*_wrap_DirFilterListCtrl_FillFilterList(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28016     PyObject 
*resultobj
; 
28017     wxDirFilterListCtrl 
*arg1 
= (wxDirFilterListCtrl 
*) 0 ; 
28018     wxString 
*arg2 
= 0 ; 
28020     bool temp2 
= False 
; 
28021     PyObject 
* obj0 
= 0 ; 
28022     PyObject 
* obj1 
= 0 ; 
28023     PyObject 
* obj2 
= 0 ; 
28024     char *kwnames
[] = { 
28025         (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL 
 
28028     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
28029     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
, 
28030     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28032         arg2 
= wxString_in_helper(obj1
); 
28033         if (arg2 
== NULL
) SWIG_fail
; 
28036     arg3 
= (int) SWIG_AsInt(obj2
);  
28037     if (PyErr_Occurred()) SWIG_fail
; 
28039         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28040         (arg1
)->FillFilterList((wxString 
const &)*arg2
,arg3
); 
28042         wxPyEndAllowThreads(__tstate
); 
28043         if (PyErr_Occurred()) SWIG_fail
; 
28045     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28060 static PyObject 
* DirFilterListCtrl_swigregister(PyObject 
*self
, PyObject 
*args
) { 
28062     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
28063     SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
); 
28065     return Py_BuildValue((char *)""); 
28067 static PyObject 
*_wrap_new_PyControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28068     PyObject 
*resultobj
; 
28069     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28071     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
28072     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
28073     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
28074     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
28075     long arg5 
= (long) 0 ; 
28076     wxValidator 
const &arg6_defvalue 
= wxDefaultValidator 
; 
28077     wxValidator 
*arg6 
= (wxValidator 
*) &arg6_defvalue 
; 
28078     wxString 
const &arg7_defvalue 
= wxPyControlNameStr 
; 
28079     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
28080     wxPyControl 
*result
; 
28083     bool temp7 
= False 
; 
28084     PyObject 
* obj0 
= 0 ; 
28085     PyObject 
* obj1 
= 0 ; 
28086     PyObject 
* obj2 
= 0 ; 
28087     PyObject 
* obj3 
= 0 ; 
28088     PyObject 
* obj4 
= 0 ; 
28089     PyObject 
* obj5 
= 0 ; 
28090     PyObject 
* obj6 
= 0 ; 
28091     char *kwnames
[] = { 
28092         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
28095     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
28096     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
28097     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28098     arg2 
= (int const) SWIG_AsInt(obj1
);  
28099     if (PyErr_Occurred()) SWIG_fail
; 
28103             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
28109             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
28113         arg5 
= (long) SWIG_AsLong(obj4
);  
28114         if (PyErr_Occurred()) SWIG_fail
; 
28117         if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
, 
28118         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
28120         if (arg6 
== NULL
) { 
28121             PyErr_SetString(PyExc_TypeError
,"null reference"); 
28127             arg7 
= wxString_in_helper(obj6
); 
28128             if (arg7 
== NULL
) SWIG_fail
; 
28133         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28134         result 
= (wxPyControl 
*)new wxPyControl(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxValidator 
const &)*arg6
,(wxString 
const &)*arg7
); 
28136         wxPyEndAllowThreads(__tstate
); 
28137         if (PyErr_Occurred()) SWIG_fail
; 
28139     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1); 
28154 static PyObject 
*_wrap_new_PrePyControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28155     PyObject 
*resultobj
; 
28156     wxPyControl 
*result
; 
28157     char *kwnames
[] = { 
28161     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
; 
28163         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28164         result 
= (wxPyControl 
*)new wxPyControl(); 
28166         wxPyEndAllowThreads(__tstate
); 
28167         if (PyErr_Occurred()) SWIG_fail
; 
28169     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1); 
28176 static PyObject 
*_wrap_PyControl__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28177     PyObject 
*resultobj
; 
28178     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
28179     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
28180     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
28181     PyObject 
* obj0 
= 0 ; 
28182     PyObject 
* obj1 
= 0 ; 
28183     PyObject 
* obj2 
= 0 ; 
28184     char *kwnames
[] = { 
28185         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
28188     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
28189     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
28190     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28194         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28195         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
28197         wxPyEndAllowThreads(__tstate
); 
28198         if (PyErr_Occurred()) SWIG_fail
; 
28200     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28207 static PyObject 
*_wrap_PyControl_base_DoMoveWindow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28208     PyObject 
*resultobj
; 
28209     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
28214     PyObject 
* obj0 
= 0 ; 
28215     PyObject 
* obj1 
= 0 ; 
28216     PyObject 
* obj2 
= 0 ; 
28217     PyObject 
* obj3 
= 0 ; 
28218     PyObject 
* obj4 
= 0 ; 
28219     char *kwnames
[] = { 
28220         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
28223     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
28224     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
28225     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28226     arg2 
= (int) SWIG_AsInt(obj1
);  
28227     if (PyErr_Occurred()) SWIG_fail
; 
28228     arg3 
= (int) SWIG_AsInt(obj2
);  
28229     if (PyErr_Occurred()) SWIG_fail
; 
28230     arg4 
= (int) SWIG_AsInt(obj3
);  
28231     if (PyErr_Occurred()) SWIG_fail
; 
28232     arg5 
= (int) SWIG_AsInt(obj4
);  
28233     if (PyErr_Occurred()) SWIG_fail
; 
28235         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28236         (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
); 
28238         wxPyEndAllowThreads(__tstate
); 
28239         if (PyErr_Occurred()) SWIG_fail
; 
28241     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28248 static PyObject 
*_wrap_PyControl_base_DoSetSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28249     PyObject 
*resultobj
; 
28250     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
28255     int arg6 
= (int) wxSIZE_AUTO 
; 
28256     PyObject 
* obj0 
= 0 ; 
28257     PyObject 
* obj1 
= 0 ; 
28258     PyObject 
* obj2 
= 0 ; 
28259     PyObject 
* obj3 
= 0 ; 
28260     PyObject 
* obj4 
= 0 ; 
28261     PyObject 
* obj5 
= 0 ; 
28262     char *kwnames
[] = { 
28263         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL 
 
28266     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
28267     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
28268     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28269     arg2 
= (int) SWIG_AsInt(obj1
);  
28270     if (PyErr_Occurred()) SWIG_fail
; 
28271     arg3 
= (int) SWIG_AsInt(obj2
);  
28272     if (PyErr_Occurred()) SWIG_fail
; 
28273     arg4 
= (int) SWIG_AsInt(obj3
);  
28274     if (PyErr_Occurred()) SWIG_fail
; 
28275     arg5 
= (int) SWIG_AsInt(obj4
);  
28276     if (PyErr_Occurred()) SWIG_fail
; 
28278         arg6 
= (int) SWIG_AsInt(obj5
);  
28279         if (PyErr_Occurred()) SWIG_fail
; 
28282         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28283         (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
); 
28285         wxPyEndAllowThreads(__tstate
); 
28286         if (PyErr_Occurred()) SWIG_fail
; 
28288     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28295 static PyObject 
*_wrap_PyControl_base_DoSetClientSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28296     PyObject 
*resultobj
; 
28297     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
28300     PyObject 
* obj0 
= 0 ; 
28301     PyObject 
* obj1 
= 0 ; 
28302     PyObject 
* obj2 
= 0 ; 
28303     char *kwnames
[] = { 
28304         (char *) "self",(char *) "width",(char *) "height", NULL 
 
28307     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
28308     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
28309     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28310     arg2 
= (int) SWIG_AsInt(obj1
);  
28311     if (PyErr_Occurred()) SWIG_fail
; 
28312     arg3 
= (int) SWIG_AsInt(obj2
);  
28313     if (PyErr_Occurred()) SWIG_fail
; 
28315         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28316         (arg1
)->base_DoSetClientSize(arg2
,arg3
); 
28318         wxPyEndAllowThreads(__tstate
); 
28319         if (PyErr_Occurred()) SWIG_fail
; 
28321     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28328 static PyObject 
*_wrap_PyControl_base_DoSetVirtualSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28329     PyObject 
*resultobj
; 
28330     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
28333     PyObject 
* obj0 
= 0 ; 
28334     PyObject 
* obj1 
= 0 ; 
28335     PyObject 
* obj2 
= 0 ; 
28336     char *kwnames
[] = { 
28337         (char *) "self",(char *) "x",(char *) "y", NULL 
 
28340     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
28341     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
28342     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28343     arg2 
= (int) SWIG_AsInt(obj1
);  
28344     if (PyErr_Occurred()) SWIG_fail
; 
28345     arg3 
= (int) SWIG_AsInt(obj2
);  
28346     if (PyErr_Occurred()) SWIG_fail
; 
28348         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28349         (arg1
)->base_DoSetVirtualSize(arg2
,arg3
); 
28351         wxPyEndAllowThreads(__tstate
); 
28352         if (PyErr_Occurred()) SWIG_fail
; 
28354     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28361 static PyObject 
*_wrap_PyControl_base_DoGetSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28362     PyObject 
*resultobj
; 
28363     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
28364     int *arg2 
= (int *) 0 ; 
28365     int *arg3 
= (int *) 0 ; 
28368     PyObject 
* obj0 
= 0 ; 
28369     char *kwnames
[] = { 
28370         (char *) "self", NULL 
 
28375     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
; 
28376     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
28377     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28379         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28380         ((wxPyControl 
const *)arg1
)->base_DoGetSize(arg2
,arg3
); 
28382         wxPyEndAllowThreads(__tstate
); 
28383         if (PyErr_Occurred()) SWIG_fail
; 
28385     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28387         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
28388         resultobj 
= t_output_helper(resultobj
,o
); 
28391         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
28392         resultobj 
= t_output_helper(resultobj
,o
); 
28400 static PyObject 
*_wrap_PyControl_base_DoGetClientSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28401     PyObject 
*resultobj
; 
28402     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
28403     int *arg2 
= (int *) 0 ; 
28404     int *arg3 
= (int *) 0 ; 
28407     PyObject 
* obj0 
= 0 ; 
28408     char *kwnames
[] = { 
28409         (char *) "self", NULL 
 
28414     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
; 
28415     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
28416     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28418         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28419         ((wxPyControl 
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
); 
28421         wxPyEndAllowThreads(__tstate
); 
28422         if (PyErr_Occurred()) SWIG_fail
; 
28424     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28426         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
28427         resultobj 
= t_output_helper(resultobj
,o
); 
28430         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
28431         resultobj 
= t_output_helper(resultobj
,o
); 
28439 static PyObject 
*_wrap_PyControl_base_DoGetPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28440     PyObject 
*resultobj
; 
28441     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
28442     int *arg2 
= (int *) 0 ; 
28443     int *arg3 
= (int *) 0 ; 
28446     PyObject 
* obj0 
= 0 ; 
28447     char *kwnames
[] = { 
28448         (char *) "self", NULL 
 
28453     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
; 
28454     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
28455     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28457         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28458         ((wxPyControl 
const *)arg1
)->base_DoGetPosition(arg2
,arg3
); 
28460         wxPyEndAllowThreads(__tstate
); 
28461         if (PyErr_Occurred()) SWIG_fail
; 
28463     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28465         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
28466         resultobj 
= t_output_helper(resultobj
,o
); 
28469         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
28470         resultobj 
= t_output_helper(resultobj
,o
); 
28478 static PyObject 
*_wrap_PyControl_base_DoGetVirtualSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28479     PyObject 
*resultobj
; 
28480     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
28482     PyObject 
* obj0 
= 0 ; 
28483     char *kwnames
[] = { 
28484         (char *) "self", NULL 
 
28487     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
; 
28488     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
28489     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28491         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28492         result 
= ((wxPyControl 
const *)arg1
)->base_DoGetVirtualSize(); 
28494         wxPyEndAllowThreads(__tstate
); 
28495         if (PyErr_Occurred()) SWIG_fail
; 
28498         wxSize 
* resultptr
; 
28499         resultptr 
= new wxSize((wxSize 
&) result
); 
28500         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
28508 static PyObject 
*_wrap_PyControl_base_DoGetBestSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28509     PyObject 
*resultobj
; 
28510     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
28512     PyObject 
* obj0 
= 0 ; 
28513     char *kwnames
[] = { 
28514         (char *) "self", NULL 
 
28517     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
; 
28518     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
28519     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28521         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28522         result 
= ((wxPyControl 
const *)arg1
)->base_DoGetBestSize(); 
28524         wxPyEndAllowThreads(__tstate
); 
28525         if (PyErr_Occurred()) SWIG_fail
; 
28528         wxSize 
* resultptr
; 
28529         resultptr 
= new wxSize((wxSize 
&) result
); 
28530         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
28538 static PyObject 
*_wrap_PyControl_base_InitDialog(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28539     PyObject 
*resultobj
; 
28540     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
28541     PyObject 
* obj0 
= 0 ; 
28542     char *kwnames
[] = { 
28543         (char *) "self", NULL 
 
28546     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
; 
28547     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
28548     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28550         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28551         (arg1
)->base_InitDialog(); 
28553         wxPyEndAllowThreads(__tstate
); 
28554         if (PyErr_Occurred()) SWIG_fail
; 
28556     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28563 static PyObject 
*_wrap_PyControl_base_TransferDataToWindow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28564     PyObject 
*resultobj
; 
28565     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
28567     PyObject 
* obj0 
= 0 ; 
28568     char *kwnames
[] = { 
28569         (char *) "self", NULL 
 
28572     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
; 
28573     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
28574     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28576         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28577         result 
= (bool)(arg1
)->base_TransferDataToWindow(); 
28579         wxPyEndAllowThreads(__tstate
); 
28580         if (PyErr_Occurred()) SWIG_fail
; 
28583         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28591 static PyObject 
*_wrap_PyControl_base_TransferDataFromWindow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28592     PyObject 
*resultobj
; 
28593     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
28595     PyObject 
* obj0 
= 0 ; 
28596     char *kwnames
[] = { 
28597         (char *) "self", NULL 
 
28600     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
; 
28601     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
28602     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28604         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28605         result 
= (bool)(arg1
)->base_TransferDataFromWindow(); 
28607         wxPyEndAllowThreads(__tstate
); 
28608         if (PyErr_Occurred()) SWIG_fail
; 
28611         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28619 static PyObject 
*_wrap_PyControl_base_Validate(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28620     PyObject 
*resultobj
; 
28621     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
28623     PyObject 
* obj0 
= 0 ; 
28624     char *kwnames
[] = { 
28625         (char *) "self", NULL 
 
28628     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
; 
28629     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
28630     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28632         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28633         result 
= (bool)(arg1
)->base_Validate(); 
28635         wxPyEndAllowThreads(__tstate
); 
28636         if (PyErr_Occurred()) SWIG_fail
; 
28639         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28647 static PyObject 
*_wrap_PyControl_base_AcceptsFocus(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28648     PyObject 
*resultobj
; 
28649     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
28651     PyObject 
* obj0 
= 0 ; 
28652     char *kwnames
[] = { 
28653         (char *) "self", NULL 
 
28656     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
; 
28657     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
28658     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28660         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28661         result 
= (bool)((wxPyControl 
const *)arg1
)->base_AcceptsFocus(); 
28663         wxPyEndAllowThreads(__tstate
); 
28664         if (PyErr_Occurred()) SWIG_fail
; 
28667         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28675 static PyObject 
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28676     PyObject 
*resultobj
; 
28677     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
28679     PyObject 
* obj0 
= 0 ; 
28680     char *kwnames
[] = { 
28681         (char *) "self", NULL 
 
28684     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
; 
28685     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
28686     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28688         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28689         result 
= (bool)((wxPyControl 
const *)arg1
)->base_AcceptsFocusFromKeyboard(); 
28691         wxPyEndAllowThreads(__tstate
); 
28692         if (PyErr_Occurred()) SWIG_fail
; 
28695         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28703 static PyObject 
*_wrap_PyControl_base_GetMaxSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28704     PyObject 
*resultobj
; 
28705     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
28707     PyObject 
* obj0 
= 0 ; 
28708     char *kwnames
[] = { 
28709         (char *) "self", NULL 
 
28712     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
; 
28713     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
28714     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28716         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28717         result 
= ((wxPyControl 
const *)arg1
)->base_GetMaxSize(); 
28719         wxPyEndAllowThreads(__tstate
); 
28720         if (PyErr_Occurred()) SWIG_fail
; 
28723         wxSize 
* resultptr
; 
28724         resultptr 
= new wxSize((wxSize 
&) result
); 
28725         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
28733 static PyObject 
*_wrap_PyControl_base_AddChild(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28734     PyObject 
*resultobj
; 
28735     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
28736     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
28737     PyObject 
* obj0 
= 0 ; 
28738     PyObject 
* obj1 
= 0 ; 
28739     char *kwnames
[] = { 
28740         (char *) "self",(char *) "child", NULL 
 
28743     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
; 
28744     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
28745     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28746     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
28747     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28749         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28750         (arg1
)->base_AddChild(arg2
); 
28752         wxPyEndAllowThreads(__tstate
); 
28753         if (PyErr_Occurred()) SWIG_fail
; 
28755     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28762 static PyObject 
*_wrap_PyControl_base_RemoveChild(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28763     PyObject 
*resultobj
; 
28764     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
28765     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
28766     PyObject 
* obj0 
= 0 ; 
28767     PyObject 
* obj1 
= 0 ; 
28768     char *kwnames
[] = { 
28769         (char *) "self",(char *) "child", NULL 
 
28772     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
; 
28773     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
28774     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28775     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
28776     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28778         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28779         (arg1
)->base_RemoveChild(arg2
); 
28781         wxPyEndAllowThreads(__tstate
); 
28782         if (PyErr_Occurred()) SWIG_fail
; 
28784     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28791 static PyObject 
*_wrap_PyControl_base_ShouldInheritColours(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28792     PyObject 
*resultobj
; 
28793     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
28795     PyObject 
* obj0 
= 0 ; 
28796     char *kwnames
[] = { 
28797         (char *) "self", NULL 
 
28800     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
; 
28801     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
28802     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28804         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28805         result 
= (bool)(arg1
)->base_ShouldInheritColours(); 
28807         wxPyEndAllowThreads(__tstate
); 
28808         if (PyErr_Occurred()) SWIG_fail
; 
28811         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28819 static PyObject 
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28820     PyObject 
*resultobj
; 
28821     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
28822     wxColour 
*arg2 
= 0 ; 
28824     PyObject 
* obj0 
= 0 ; 
28825     PyObject 
* obj1 
= 0 ; 
28826     char *kwnames
[] = { 
28827         (char *) "self",(char *) "c", NULL 
 
28830     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
; 
28831     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
, 
28832     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28835         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
28838         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28839         (arg1
)->base_ApplyParentThemeBackground((wxColour 
const &)*arg2
); 
28841         wxPyEndAllowThreads(__tstate
); 
28842         if (PyErr_Occurred()) SWIG_fail
; 
28844     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28851 static PyObject 
* PyControl_swigregister(PyObject 
*self
, PyObject 
*args
) { 
28853     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
28854     SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
); 
28856     return Py_BuildValue((char *)""); 
28858 static PyObject 
*_wrap_new_HelpEvent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28859     PyObject 
*resultobj
; 
28860     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
28861     int arg2 
= (int) 0 ; 
28862     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
28863     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
28864     wxHelpEvent 
*result
; 
28866     PyObject 
* obj0 
= 0 ; 
28867     PyObject 
* obj1 
= 0 ; 
28868     PyObject 
* obj2 
= 0 ; 
28869     char *kwnames
[] = { 
28870         (char *) "type",(char *) "winid",(char *) "pt", NULL 
 
28873     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
28875         arg1 
= (wxEventType
) SWIG_AsInt(obj0
);  
28876         if (PyErr_Occurred()) SWIG_fail
; 
28879         arg2 
= (int) SWIG_AsInt(obj1
);  
28880         if (PyErr_Occurred()) SWIG_fail
; 
28885             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
28889         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28890         result 
= (wxHelpEvent 
*)new wxHelpEvent(arg1
,arg2
,(wxPoint 
const &)*arg3
); 
28892         wxPyEndAllowThreads(__tstate
); 
28893         if (PyErr_Occurred()) SWIG_fail
; 
28895     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1); 
28902 static PyObject 
*_wrap_HelpEvent_GetPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28903     PyObject 
*resultobj
; 
28904     wxHelpEvent 
*arg1 
= (wxHelpEvent 
*) 0 ; 
28906     PyObject 
* obj0 
= 0 ; 
28907     char *kwnames
[] = { 
28908         (char *) "self", NULL 
 
28911     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
; 
28912     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
, 
28913     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28915         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28916         result 
= ((wxHelpEvent 
const *)arg1
)->GetPosition(); 
28918         wxPyEndAllowThreads(__tstate
); 
28919         if (PyErr_Occurred()) SWIG_fail
; 
28922         wxPoint 
* resultptr
; 
28923         resultptr 
= new wxPoint((wxPoint 
&) result
); 
28924         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
28932 static PyObject 
*_wrap_HelpEvent_SetPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28933     PyObject 
*resultobj
; 
28934     wxHelpEvent 
*arg1 
= (wxHelpEvent 
*) 0 ; 
28935     wxPoint 
*arg2 
= 0 ; 
28937     PyObject 
* obj0 
= 0 ; 
28938     PyObject 
* obj1 
= 0 ; 
28939     char *kwnames
[] = { 
28940         (char *) "self",(char *) "pos", NULL 
 
28943     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
28944     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
, 
28945     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28948         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
28951         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28952         (arg1
)->SetPosition((wxPoint 
const &)*arg2
); 
28954         wxPyEndAllowThreads(__tstate
); 
28955         if (PyErr_Occurred()) SWIG_fail
; 
28957     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28964 static PyObject 
*_wrap_HelpEvent_GetLink(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28965     PyObject 
*resultobj
; 
28966     wxHelpEvent 
*arg1 
= (wxHelpEvent 
*) 0 ; 
28968     PyObject 
* obj0 
= 0 ; 
28969     char *kwnames
[] = { 
28970         (char *) "self", NULL 
 
28973     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
; 
28974     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
, 
28975     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28977         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28979             wxString 
const &_result_ref 
= ((wxHelpEvent 
const *)arg1
)->GetLink(); 
28980             result 
= (wxString 
*) &_result_ref
; 
28983         wxPyEndAllowThreads(__tstate
); 
28984         if (PyErr_Occurred()) SWIG_fail
; 
28988         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
28990         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
28999 static PyObject 
*_wrap_HelpEvent_SetLink(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
29000     PyObject 
*resultobj
; 
29001     wxHelpEvent 
*arg1 
= (wxHelpEvent 
*) 0 ; 
29002     wxString 
*arg2 
= 0 ; 
29003     bool temp2 
= False 
; 
29004     PyObject 
* obj0 
= 0 ; 
29005     PyObject 
* obj1 
= 0 ; 
29006     char *kwnames
[] = { 
29007         (char *) "self",(char *) "link", NULL 
 
29010     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
; 
29011     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
, 
29012     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29014         arg2 
= wxString_in_helper(obj1
); 
29015         if (arg2 
== NULL
) SWIG_fail
; 
29019         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29020         (arg1
)->SetLink((wxString 
const &)*arg2
); 
29022         wxPyEndAllowThreads(__tstate
); 
29023         if (PyErr_Occurred()) SWIG_fail
; 
29025     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29040 static PyObject 
*_wrap_HelpEvent_GetTarget(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
29041     PyObject 
*resultobj
; 
29042     wxHelpEvent 
*arg1 
= (wxHelpEvent 
*) 0 ; 
29044     PyObject 
* obj0 
= 0 ; 
29045     char *kwnames
[] = { 
29046         (char *) "self", NULL 
 
29049     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
; 
29050     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
, 
29051     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29053         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29055             wxString 
const &_result_ref 
= ((wxHelpEvent 
const *)arg1
)->GetTarget(); 
29056             result 
= (wxString 
*) &_result_ref
; 
29059         wxPyEndAllowThreads(__tstate
); 
29060         if (PyErr_Occurred()) SWIG_fail
; 
29064         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
29066         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
29075 static PyObject 
*_wrap_HelpEvent_SetTarget(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
29076     PyObject 
*resultobj
; 
29077     wxHelpEvent 
*arg1 
= (wxHelpEvent 
*) 0 ; 
29078     wxString 
*arg2 
= 0 ; 
29079     bool temp2 
= False 
; 
29080     PyObject 
* obj0 
= 0 ; 
29081     PyObject 
* obj1 
= 0 ; 
29082     char *kwnames
[] = { 
29083         (char *) "self",(char *) "target", NULL 
 
29086     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
; 
29087     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
, 
29088     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29090         arg2 
= wxString_in_helper(obj1
); 
29091         if (arg2 
== NULL
) SWIG_fail
; 
29095         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29096         (arg1
)->SetTarget((wxString 
const &)*arg2
); 
29098         wxPyEndAllowThreads(__tstate
); 
29099         if (PyErr_Occurred()) SWIG_fail
; 
29101     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29116 static PyObject 
* HelpEvent_swigregister(PyObject 
*self
, PyObject 
*args
) { 
29118     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
29119     SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
); 
29121     return Py_BuildValue((char *)""); 
29123 static PyObject 
*_wrap_new_ContextHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
29124     PyObject 
*resultobj
; 
29125     wxWindow 
*arg1 
= (wxWindow 
*) NULL 
; 
29126     bool arg2 
= (bool) True 
; 
29127     wxContextHelp 
*result
; 
29128     PyObject 
* obj0 
= 0 ; 
29129     PyObject 
* obj1 
= 0 ; 
29130     char *kwnames
[] = { 
29131         (char *) "window",(char *) "doNow", NULL 
 
29134     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
; 
29136         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
29137         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29140         arg2 
= (bool) SWIG_AsBool(obj1
);  
29141         if (PyErr_Occurred()) SWIG_fail
; 
29144         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29145         result 
= (wxContextHelp 
*)new wxContextHelp(arg1
,arg2
); 
29147         wxPyEndAllowThreads(__tstate
); 
29148         if (PyErr_Occurred()) SWIG_fail
; 
29150     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1); 
29157 static PyObject 
*_wrap_delete_ContextHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
29158     PyObject 
*resultobj
; 
29159     wxContextHelp 
*arg1 
= (wxContextHelp 
*) 0 ; 
29160     PyObject 
* obj0 
= 0 ; 
29161     char *kwnames
[] = { 
29162         (char *) "self", NULL 
 
29165     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
; 
29166     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
, 
29167     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29169         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29172         wxPyEndAllowThreads(__tstate
); 
29173         if (PyErr_Occurred()) SWIG_fail
; 
29175     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29182 static PyObject 
*_wrap_ContextHelp_BeginContextHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
29183     PyObject 
*resultobj
; 
29184     wxContextHelp 
*arg1 
= (wxContextHelp 
*) 0 ; 
29185     wxWindow 
*arg2 
= (wxWindow 
*) NULL 
; 
29187     PyObject 
* obj0 
= 0 ; 
29188     PyObject 
* obj1 
= 0 ; 
29189     char *kwnames
[] = { 
29190         (char *) "self",(char *) "window", NULL 
 
29193     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
; 
29194     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
, 
29195     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29197         if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
29198         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29201         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29202         result 
= (bool)(arg1
)->BeginContextHelp(arg2
); 
29204         wxPyEndAllowThreads(__tstate
); 
29205         if (PyErr_Occurred()) SWIG_fail
; 
29208         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29216 static PyObject 
*_wrap_ContextHelp_EndContextHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
29217     PyObject 
*resultobj
; 
29218     wxContextHelp 
*arg1 
= (wxContextHelp 
*) 0 ; 
29220     PyObject 
* obj0 
= 0 ; 
29221     char *kwnames
[] = { 
29222         (char *) "self", NULL 
 
29225     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
; 
29226     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
, 
29227     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29229         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29230         result 
= (bool)(arg1
)->EndContextHelp(); 
29232         wxPyEndAllowThreads(__tstate
); 
29233         if (PyErr_Occurred()) SWIG_fail
; 
29236         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29244 static PyObject 
* ContextHelp_swigregister(PyObject 
*self
, PyObject 
*args
) { 
29246     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
29247     SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
); 
29249     return Py_BuildValue((char *)""); 
29251 static PyObject 
*_wrap_new_ContextHelpButton(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
29252     PyObject 
*resultobj
; 
29253     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
29254     int arg2 
= (int) wxID_CONTEXT_HELP 
; 
29255     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
29256     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
29257     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
29258     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
29259     long arg5 
= (long) wxBU_AUTODRAW 
; 
29260     wxContextHelpButton 
*result
; 
29263     PyObject 
* obj0 
= 0 ; 
29264     PyObject 
* obj1 
= 0 ; 
29265     PyObject 
* obj2 
= 0 ; 
29266     PyObject 
* obj3 
= 0 ; 
29267     PyObject 
* obj4 
= 0 ; 
29268     char *kwnames
[] = { 
29269         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL 
 
29272     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
29273     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
29274     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29276         arg2 
= (int) SWIG_AsInt(obj1
);  
29277         if (PyErr_Occurred()) SWIG_fail
; 
29282             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
29288             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
29292         arg5 
= (long) SWIG_AsLong(obj4
);  
29293         if (PyErr_Occurred()) SWIG_fail
; 
29296         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29297         result 
= (wxContextHelpButton 
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
); 
29299         wxPyEndAllowThreads(__tstate
); 
29300         if (PyErr_Occurred()) SWIG_fail
; 
29302     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1); 
29309 static PyObject 
* ContextHelpButton_swigregister(PyObject 
*self
, PyObject 
*args
) { 
29311     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
29312     SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
); 
29314     return Py_BuildValue((char *)""); 
29316 static PyObject 
*_wrap_HelpProvider_Set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
29317     PyObject 
*resultobj
; 
29318     wxHelpProvider 
*arg1 
= (wxHelpProvider 
*) 0 ; 
29319     wxHelpProvider 
*result
; 
29320     PyObject 
* obj0 
= 0 ; 
29321     char *kwnames
[] = { 
29322         (char *) "helpProvider", NULL 
 
29325     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
; 
29326     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
, 
29327     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29329         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29330         result 
= (wxHelpProvider 
*)wxHelpProvider::Set(arg1
); 
29332         wxPyEndAllowThreads(__tstate
); 
29333         if (PyErr_Occurred()) SWIG_fail
; 
29335     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0); 
29342 static PyObject 
*_wrap_HelpProvider_Get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
29343     PyObject 
*resultobj
; 
29344     wxHelpProvider 
*result
; 
29345     char *kwnames
[] = { 
29349     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
; 
29351         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29352         result 
= (wxHelpProvider 
*)wxHelpProvider::Get(); 
29354         wxPyEndAllowThreads(__tstate
); 
29355         if (PyErr_Occurred()) SWIG_fail
; 
29357     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0); 
29364 static PyObject 
*_wrap_HelpProvider_GetHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
29365     PyObject 
*resultobj
; 
29366     wxHelpProvider 
*arg1 
= (wxHelpProvider 
*) 0 ; 
29367     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
29369     PyObject 
* obj0 
= 0 ; 
29370     PyObject 
* obj1 
= 0 ; 
29371     char *kwnames
[] = { 
29372         (char *) "self",(char *) "window", NULL 
 
29375     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
; 
29376     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
, 
29377     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29378     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
29379     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29381         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29382         result 
= (arg1
)->GetHelp((wxWindow 
const *)arg2
); 
29384         wxPyEndAllowThreads(__tstate
); 
29385         if (PyErr_Occurred()) SWIG_fail
; 
29389         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
29391         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
29400 static PyObject 
*_wrap_HelpProvider_ShowHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
29401     PyObject 
*resultobj
; 
29402     wxHelpProvider 
*arg1 
= (wxHelpProvider 
*) 0 ; 
29403     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
29405     PyObject 
* obj0 
= 0 ; 
29406     PyObject 
* obj1 
= 0 ; 
29407     char *kwnames
[] = { 
29408         (char *) "self",(char *) "window", NULL 
 
29411     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
; 
29412     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
, 
29413     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29414     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
29415     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29417         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29418         result 
= (bool)(arg1
)->ShowHelp(arg2
); 
29420         wxPyEndAllowThreads(__tstate
); 
29421         if (PyErr_Occurred()) SWIG_fail
; 
29424         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29432 static PyObject 
*_wrap_HelpProvider_AddHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
29433     PyObject 
*resultobj
; 
29434     wxHelpProvider 
*arg1 
= (wxHelpProvider 
*) 0 ; 
29435     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
29436     wxString 
*arg3 
= 0 ; 
29437     bool temp3 
= False 
; 
29438     PyObject 
* obj0 
= 0 ; 
29439     PyObject 
* obj1 
= 0 ; 
29440     PyObject 
* obj2 
= 0 ; 
29441     char *kwnames
[] = { 
29442         (char *) "self",(char *) "window",(char *) "text", NULL 
 
29445     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
29446     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
, 
29447     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29448     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
29449     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29451         arg3 
= wxString_in_helper(obj2
); 
29452         if (arg3 
== NULL
) SWIG_fail
; 
29456         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29457         (arg1
)->AddHelp(arg2
,(wxString 
const &)*arg3
); 
29459         wxPyEndAllowThreads(__tstate
); 
29460         if (PyErr_Occurred()) SWIG_fail
; 
29462     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29477 static PyObject 
*_wrap_HelpProvider_AddHelpById(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
29478     PyObject 
*resultobj
; 
29479     wxHelpProvider 
*arg1 
= (wxHelpProvider 
*) 0 ; 
29481     wxString 
*arg3 
= 0 ; 
29482     bool temp3 
= False 
; 
29483     PyObject 
* obj0 
= 0 ; 
29484     PyObject 
* obj1 
= 0 ; 
29485     PyObject 
* obj2 
= 0 ; 
29486     char *kwnames
[] = { 
29487         (char *) "self",(char *) "id",(char *) "text", NULL 
 
29490     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
29491     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
, 
29492     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29493     arg2 
= (int) SWIG_AsInt(obj1
);  
29494     if (PyErr_Occurred()) SWIG_fail
; 
29496         arg3 
= wxString_in_helper(obj2
); 
29497         if (arg3 
== NULL
) SWIG_fail
; 
29501         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29502         (arg1
)->AddHelp(arg2
,(wxString 
const &)*arg3
); 
29504         wxPyEndAllowThreads(__tstate
); 
29505         if (PyErr_Occurred()) SWIG_fail
; 
29507     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29522 static PyObject 
*_wrap_HelpProvider_RemoveHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
29523     PyObject 
*resultobj
; 
29524     wxHelpProvider 
*arg1 
= (wxHelpProvider 
*) 0 ; 
29525     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
29526     PyObject 
* obj0 
= 0 ; 
29527     PyObject 
* obj1 
= 0 ; 
29528     char *kwnames
[] = { 
29529         (char *) "self",(char *) "window", NULL 
 
29532     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
; 
29533     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
, 
29534     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29535     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
29536     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29538         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29539         (arg1
)->RemoveHelp(arg2
); 
29541         wxPyEndAllowThreads(__tstate
); 
29542         if (PyErr_Occurred()) SWIG_fail
; 
29544     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29551 static PyObject 
*_wrap_HelpProvider_Destroy(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
29552     PyObject 
*resultobj
; 
29553     wxHelpProvider 
*arg1 
= (wxHelpProvider 
*) 0 ; 
29554     PyObject 
* obj0 
= 0 ; 
29555     char *kwnames
[] = { 
29556         (char *) "self", NULL 
 
29559     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
; 
29560     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
, 
29561     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29563         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29564         wxHelpProvider_Destroy(arg1
); 
29566         wxPyEndAllowThreads(__tstate
); 
29567         if (PyErr_Occurred()) SWIG_fail
; 
29569     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29576 static PyObject 
* HelpProvider_swigregister(PyObject 
*self
, PyObject 
*args
) { 
29578     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
29579     SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
); 
29581     return Py_BuildValue((char *)""); 
29583 static PyObject 
*_wrap_new_SimpleHelpProvider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
29584     PyObject 
*resultobj
; 
29585     wxSimpleHelpProvider 
*result
; 
29586     char *kwnames
[] = { 
29590     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
; 
29592         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29593         result 
= (wxSimpleHelpProvider 
*)new wxSimpleHelpProvider(); 
29595         wxPyEndAllowThreads(__tstate
); 
29596         if (PyErr_Occurred()) SWIG_fail
; 
29598     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1); 
29605 static PyObject 
* SimpleHelpProvider_swigregister(PyObject 
*self
, PyObject 
*args
) { 
29607     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
29608     SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
); 
29610     return Py_BuildValue((char *)""); 
29612 static PyObject 
*_wrap_new_DragImage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
29613     PyObject 
*resultobj
; 
29614     wxBitmap 
*arg1 
= 0 ; 
29615     wxCursor 
const &arg2_defvalue 
= wxNullCursor 
; 
29616     wxCursor 
*arg2 
= (wxCursor 
*) &arg2_defvalue 
; 
29617     wxGenericDragImage 
*result
; 
29618     PyObject 
* obj0 
= 0 ; 
29619     PyObject 
* obj1 
= 0 ; 
29620     char *kwnames
[] = { 
29621         (char *) "image",(char *) "cursor", NULL 
 
29624     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
; 
29625     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
29626     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
29628     if (arg1 
== NULL
) { 
29629         PyErr_SetString(PyExc_TypeError
,"null reference"); 
29633         if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
, 
29634         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
29636         if (arg2 
== NULL
) { 
29637             PyErr_SetString(PyExc_TypeError
,"null reference"); 
29642         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29643         result 
= (wxGenericDragImage 
*)new wxGenericDragImage((wxBitmap 
const &)*arg1
,(wxCursor 
const &)*arg2
); 
29645         wxPyEndAllowThreads(__tstate
); 
29646         if (PyErr_Occurred()) SWIG_fail
; 
29648     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1); 
29655 static PyObject 
*_wrap_new_DragIcon(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
29656     PyObject 
*resultobj
; 
29658     wxCursor 
const &arg2_defvalue 
= wxNullCursor 
; 
29659     wxCursor 
*arg2 
= (wxCursor 
*) &arg2_defvalue 
; 
29660     wxGenericDragImage 
*result
; 
29661     PyObject 
* obj0 
= 0 ; 
29662     PyObject 
* obj1 
= 0 ; 
29663     char *kwnames
[] = { 
29664         (char *) "image",(char *) "cursor", NULL 
 
29667     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
; 
29668     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
, 
29669     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
29671     if (arg1 
== NULL
) { 
29672         PyErr_SetString(PyExc_TypeError
,"null reference"); 
29676         if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
, 
29677         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
29679         if (arg2 
== NULL
) { 
29680             PyErr_SetString(PyExc_TypeError
,"null reference"); 
29685         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29686         result 
= (wxGenericDragImage 
*)new wxGenericDragImage((wxIcon 
const &)*arg1
,(wxCursor 
const &)*arg2
); 
29688         wxPyEndAllowThreads(__tstate
); 
29689         if (PyErr_Occurred()) SWIG_fail
; 
29691     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1); 
29698 static PyObject 
*_wrap_new_DragString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
29699     PyObject 
*resultobj
; 
29700     wxString 
*arg1 
= 0 ; 
29701     wxCursor 
const &arg2_defvalue 
= wxNullCursor 
; 
29702     wxCursor 
*arg2 
= (wxCursor 
*) &arg2_defvalue 
; 
29703     wxGenericDragImage 
*result
; 
29704     bool temp1 
= False 
; 
29705     PyObject 
* obj0 
= 0 ; 
29706     PyObject 
* obj1 
= 0 ; 
29707     char *kwnames
[] = { 
29708         (char *) "str",(char *) "cursor", NULL 
 
29711     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
; 
29713         arg1 
= wxString_in_helper(obj0
); 
29714         if (arg1 
== NULL
) SWIG_fail
; 
29718         if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
, 
29719         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
29721         if (arg2 
== NULL
) { 
29722             PyErr_SetString(PyExc_TypeError
,"null reference"); 
29727         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29728         result 
= (wxGenericDragImage 
*)new wxGenericDragImage((wxString 
const &)*arg1
,(wxCursor 
const &)*arg2
); 
29730         wxPyEndAllowThreads(__tstate
); 
29731         if (PyErr_Occurred()) SWIG_fail
; 
29733     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1); 
29748 static PyObject 
*_wrap_new_DragTreeItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
29749     PyObject 
*resultobj
; 
29750     wxPyTreeCtrl 
*arg1 
= 0 ; 
29751     wxTreeItemId 
*arg2 
= 0 ; 
29752     wxGenericDragImage 
*result
; 
29753     PyObject 
* obj0 
= 0 ; 
29754     PyObject 
* obj1 
= 0 ; 
29755     char *kwnames
[] = { 
29756         (char *) "treeCtrl",(char *) "id", NULL 
 
29759     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
29760     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
, 
29761     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
29763     if (arg1 
== NULL
) { 
29764         PyErr_SetString(PyExc_TypeError
,"null reference"); 
29767     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
, 
29768     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
29770     if (arg2 
== NULL
) { 
29771         PyErr_SetString(PyExc_TypeError
,"null reference"); 
29775         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29776         result 
= (wxGenericDragImage 
*)new wxGenericDragImage((wxPyTreeCtrl 
const &)*arg1
,*arg2
); 
29778         wxPyEndAllowThreads(__tstate
); 
29779         if (PyErr_Occurred()) SWIG_fail
; 
29781     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1); 
29788 static PyObject 
*_wrap_new_DragListItem(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
29789     PyObject 
*resultobj
; 
29790     wxPyListCtrl 
*arg1 
= 0 ; 
29792     wxGenericDragImage 
*result
; 
29793     PyObject 
* obj0 
= 0 ; 
29794     PyObject 
* obj1 
= 0 ; 
29795     char *kwnames
[] = { 
29796         (char *) "listCtrl",(char *) "id", NULL 
 
29799     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
29800     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
, 
29801     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
29803     if (arg1 
== NULL
) { 
29804         PyErr_SetString(PyExc_TypeError
,"null reference"); 
29807     arg2 
= (long) SWIG_AsLong(obj1
);  
29808     if (PyErr_Occurred()) SWIG_fail
; 
29810         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29811         result 
= (wxGenericDragImage 
*)new wxGenericDragImage((wxPyListCtrl 
const &)*arg1
,arg2
); 
29813         wxPyEndAllowThreads(__tstate
); 
29814         if (PyErr_Occurred()) SWIG_fail
; 
29816     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1); 
29823 static PyObject 
*_wrap_delete_DragImage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
29824     PyObject 
*resultobj
; 
29825     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
29826     PyObject 
* obj0 
= 0 ; 
29827     char *kwnames
[] = { 
29828         (char *) "self", NULL 
 
29831     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
; 
29832     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
, 
29833     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29835         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29838         wxPyEndAllowThreads(__tstate
); 
29839         if (PyErr_Occurred()) SWIG_fail
; 
29841     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29848 static PyObject 
*_wrap_DragImage_SetBackingBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
29849     PyObject 
*resultobj
; 
29850     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
29851     wxBitmap 
*arg2 
= (wxBitmap 
*) 0 ; 
29852     PyObject 
* obj0 
= 0 ; 
29853     PyObject 
* obj1 
= 0 ; 
29854     char *kwnames
[] = { 
29855         (char *) "self",(char *) "bitmap", NULL 
 
29858     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
29859     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
, 
29860     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29861     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
29862     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29864         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29865         (arg1
)->SetBackingBitmap(arg2
); 
29867         wxPyEndAllowThreads(__tstate
); 
29868         if (PyErr_Occurred()) SWIG_fail
; 
29870     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29877 static PyObject 
*_wrap_DragImage_BeginDrag(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
29878     PyObject 
*resultobj
; 
29879     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
29880     wxPoint 
*arg2 
= 0 ; 
29881     wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
29882     bool arg4 
= (bool) False 
; 
29883     wxRect 
*arg5 
= (wxRect 
*) NULL 
; 
29886     PyObject 
* obj0 
= 0 ; 
29887     PyObject 
* obj1 
= 0 ; 
29888     PyObject 
* obj2 
= 0 ; 
29889     PyObject 
* obj3 
= 0 ; 
29890     PyObject 
* obj4 
= 0 ; 
29891     char *kwnames
[] = { 
29892         (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL 
 
29895     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
29896     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
, 
29897     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29900         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
29902     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
, 
29903     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29905         arg4 
= (bool) SWIG_AsBool(obj3
);  
29906         if (PyErr_Occurred()) SWIG_fail
; 
29909         if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
, 
29910         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29913         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29914         result 
= (bool)(arg1
)->BeginDrag((wxPoint 
const &)*arg2
,arg3
,arg4
,arg5
); 
29916         wxPyEndAllowThreads(__tstate
); 
29917         if (PyErr_Occurred()) SWIG_fail
; 
29920         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29928 static PyObject 
*_wrap_DragImage_BeginDragBounded(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
29929     PyObject 
*resultobj
; 
29930     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
29931     wxPoint 
*arg2 
= 0 ; 
29932     wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
29933     wxWindow 
*arg4 
= (wxWindow 
*) 0 ; 
29936     PyObject 
* obj0 
= 0 ; 
29937     PyObject 
* obj1 
= 0 ; 
29938     PyObject 
* obj2 
= 0 ; 
29939     PyObject 
* obj3 
= 0 ; 
29940     char *kwnames
[] = { 
29941         (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL 
 
29944     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
29945     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
, 
29946     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29949         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
29951     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
, 
29952     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29953     if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
, 
29954     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29956         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29957         result 
= (bool)(arg1
)->BeginDrag((wxPoint 
const &)*arg2
,arg3
,arg4
); 
29959         wxPyEndAllowThreads(__tstate
); 
29960         if (PyErr_Occurred()) SWIG_fail
; 
29963         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29971 static PyObject 
*_wrap_DragImage_EndDrag(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
29972     PyObject 
*resultobj
; 
29973     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
29975     PyObject 
* obj0 
= 0 ; 
29976     char *kwnames
[] = { 
29977         (char *) "self", NULL 
 
29980     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
; 
29981     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
, 
29982     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
29984         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29985         result 
= (bool)(arg1
)->EndDrag(); 
29987         wxPyEndAllowThreads(__tstate
); 
29988         if (PyErr_Occurred()) SWIG_fail
; 
29991         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29999 static PyObject 
*_wrap_DragImage_Move(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
30000     PyObject 
*resultobj
; 
30001     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
30002     wxPoint 
*arg2 
= 0 ; 
30005     PyObject 
* obj0 
= 0 ; 
30006     PyObject 
* obj1 
= 0 ; 
30007     char *kwnames
[] = { 
30008         (char *) "self",(char *) "pt", NULL 
 
30011     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
; 
30012     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
, 
30013     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30016         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
30019         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30020         result 
= (bool)(arg1
)->Move((wxPoint 
const &)*arg2
); 
30022         wxPyEndAllowThreads(__tstate
); 
30023         if (PyErr_Occurred()) SWIG_fail
; 
30026         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
30034 static PyObject 
*_wrap_DragImage_Show(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
30035     PyObject 
*resultobj
; 
30036     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
30038     PyObject 
* obj0 
= 0 ; 
30039     char *kwnames
[] = { 
30040         (char *) "self", NULL 
 
30043     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
; 
30044     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
, 
30045     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30047         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30048         result 
= (bool)(arg1
)->Show(); 
30050         wxPyEndAllowThreads(__tstate
); 
30051         if (PyErr_Occurred()) SWIG_fail
; 
30054         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
30062 static PyObject 
*_wrap_DragImage_Hide(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
30063     PyObject 
*resultobj
; 
30064     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
30066     PyObject 
* obj0 
= 0 ; 
30067     char *kwnames
[] = { 
30068         (char *) "self", NULL 
 
30071     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
; 
30072     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
, 
30073     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30075         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30076         result 
= (bool)(arg1
)->Hide(); 
30078         wxPyEndAllowThreads(__tstate
); 
30079         if (PyErr_Occurred()) SWIG_fail
; 
30082         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
30090 static PyObject 
*_wrap_DragImage_GetImageRect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
30091     PyObject 
*resultobj
; 
30092     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
30093     wxPoint 
*arg2 
= 0 ; 
30096     PyObject 
* obj0 
= 0 ; 
30097     PyObject 
* obj1 
= 0 ; 
30098     char *kwnames
[] = { 
30099         (char *) "self",(char *) "pos", NULL 
 
30102     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
30103     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
, 
30104     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30107         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
30110         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30111         result 
= ((wxGenericDragImage 
const *)arg1
)->GetImageRect((wxPoint 
const &)*arg2
); 
30113         wxPyEndAllowThreads(__tstate
); 
30114         if (PyErr_Occurred()) SWIG_fail
; 
30117         wxRect 
* resultptr
; 
30118         resultptr 
= new wxRect((wxRect 
&) result
); 
30119         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
30127 static PyObject 
*_wrap_DragImage_DoDrawImage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
30128     PyObject 
*resultobj
; 
30129     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
30131     wxPoint 
*arg3 
= 0 ; 
30134     PyObject 
* obj0 
= 0 ; 
30135     PyObject 
* obj1 
= 0 ; 
30136     PyObject 
* obj2 
= 0 ; 
30137     char *kwnames
[] = { 
30138         (char *) "self",(char *) "dc",(char *) "pos", NULL 
 
30141     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
30142     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
, 
30143     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30144     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
, 
30145     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
30147     if (arg2 
== NULL
) { 
30148         PyErr_SetString(PyExc_TypeError
,"null reference"); 
30153         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
30156         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30157         result 
= (bool)((wxGenericDragImage 
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint 
const &)*arg3
); 
30159         wxPyEndAllowThreads(__tstate
); 
30160         if (PyErr_Occurred()) SWIG_fail
; 
30163         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
30171 static PyObject 
*_wrap_DragImage_UpdateBackingFromWindow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
30172     PyObject 
*resultobj
; 
30173     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
30175     wxMemoryDC 
*arg3 
= 0 ; 
30181     PyObject 
* obj0 
= 0 ; 
30182     PyObject 
* obj1 
= 0 ; 
30183     PyObject 
* obj2 
= 0 ; 
30184     PyObject 
* obj3 
= 0 ; 
30185     PyObject 
* obj4 
= 0 ; 
30186     char *kwnames
[] = { 
30187         (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL 
 
30190     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
30191     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
, 
30192     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30193     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
, 
30194     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
30196     if (arg2 
== NULL
) { 
30197         PyErr_SetString(PyExc_TypeError
,"null reference"); 
30200     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
, 
30201     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
30203     if (arg3 
== NULL
) { 
30204         PyErr_SetString(PyExc_TypeError
,"null reference"); 
30209         if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
30213         if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
; 
30216         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30217         result 
= (bool)((wxGenericDragImage 
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect 
const &)*arg4
,(wxRect 
const &)*arg5
); 
30219         wxPyEndAllowThreads(__tstate
); 
30220         if (PyErr_Occurred()) SWIG_fail
; 
30223         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
30231 static PyObject 
*_wrap_DragImage_RedrawImage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
30232     PyObject 
*resultobj
; 
30233     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
30234     wxPoint 
*arg2 
= 0 ; 
30235     wxPoint 
*arg3 
= 0 ; 
30241     PyObject 
* obj0 
= 0 ; 
30242     PyObject 
* obj1 
= 0 ; 
30243     PyObject 
* obj2 
= 0 ; 
30244     PyObject 
* obj3 
= 0 ; 
30245     PyObject 
* obj4 
= 0 ; 
30246     char *kwnames
[] = { 
30247         (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL 
 
30250     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
30251     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
, 
30252     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
30255         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
30259         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
30261     arg4 
= (bool) SWIG_AsBool(obj3
);  
30262     if (PyErr_Occurred()) SWIG_fail
; 
30263     arg5 
= (bool) SWIG_AsBool(obj4
);  
30264     if (PyErr_Occurred()) SWIG_fail
; 
30266         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30267         result 
= (bool)(arg1
)->RedrawImage((wxPoint 
const &)*arg2
,(wxPoint 
const &)*arg3
,arg4
,arg5
); 
30269         wxPyEndAllowThreads(__tstate
); 
30270         if (PyErr_Occurred()) SWIG_fail
; 
30273         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
30281 static PyObject 
* DragImage_swigregister(PyObject 
*self
, PyObject 
*args
) { 
30283     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
30284     SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
); 
30286     return Py_BuildValue((char *)""); 
30288 static PyMethodDef SwigMethods
[] = { 
30289          { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30290          { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30291          { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30292          { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30293          { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30294          { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS 
}, 
30295          { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30296          { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30297          { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30298          { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30299          { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30300          { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30301          { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30302          { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30303          { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30304          { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30305          { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30306          { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30307          { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30308          { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30309          { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS 
}, 
30310          { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30311          { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30312          { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30313          { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30314          { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30315          { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30316          { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30317          { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30318          { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30319          { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30320          { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS 
}, 
30321          { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30322          { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30323          { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30324          { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30325          { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30326          { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30327          { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS 
}, 
30328          { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30329          { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30330          { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30331          { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30332          { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30333          { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30334          { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30335          { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30336          { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30337          { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30338          { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30339          { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30340          { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30341          { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30342          { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30343          { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30344          { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30345          { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30346          { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30347          { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS 
}, 
30348          { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30349          { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30350          { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30351          { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30352          { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30353          { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30354          { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30355          { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30356          { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30357          { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30358          { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30359          { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30360          { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS 
}, 
30361          { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30362          { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30363          { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30364          { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS 
}, 
30365          { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30366          { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30367          { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30368          { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30369          { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30370          { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS 
}, 
30371          { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30372          { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30373          { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30374          { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS 
}, 
30375          { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30376          { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30377          { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30378          { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30379          { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30380          { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30381          { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS 
}, 
30382          { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30383          { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30384          { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30385          { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30386          { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30387          { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30388          { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30389          { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30390          { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30391          { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30392          { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30393          { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30394          { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30395          { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30396          { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30397          { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30398          { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30399          { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30400          { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30401          { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30402          { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30403          { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30404          { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS 
}, 
30405          { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30406          { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30407          { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30408          { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30409          { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30410          { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30411          { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30412          { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS 
}, 
30413          { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS 
}, 
30414          { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30415          { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30416          { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30417          { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30418          { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30419          { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30420          { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30421          { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30422          { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30423          { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30424          { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30425          { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30426          { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30427          { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30428          { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30429          { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30430          { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30431          { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30432          { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30433          { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30434          { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30435          { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30436          { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30437          { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30438          { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30439          { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30440          { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30441          { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30442          { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS 
}, 
30443          { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30444          { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30445          { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30446          { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30447          { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30448          { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30449          { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30450          { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30451          { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30452          { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30453          { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30454          { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30455          { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30456          { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30457          { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30458          { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30459          { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30460          { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30461          { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30462          { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30463          { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30464          { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30465          { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30466          { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30467          { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30468          { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30469          { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30470          { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30471          { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30472          { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30473          { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30474          { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30475          { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30476          { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30477          { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30478          { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30479          { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30480          { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30481          { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30482          { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30483          { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30484          { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30485          { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30486          { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30487          { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30488          { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30489          { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30490          { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30491          { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30492          { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30493          { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30494          { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30495          { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30496          { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS 
}, 
30497          { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30498          { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30499          { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30500          { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30501          { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS 
}, 
30502          { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30503          { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30504          { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30505          { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30506          { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30507          { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30508          { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30509          { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30510          { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30511          { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30512          { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS 
}, 
30513          { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30514          { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30515          { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30516          { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30517          { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30518          { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30519          { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30520          { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30521          { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30522          { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30523          { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30524          { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS 
}, 
30525          { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30526          { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30527          { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30528          { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30529          { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30530          { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30531          { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30532          { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30533          { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30534          { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30535          { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS 
}, 
30536          { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30537          { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30538          { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30539          { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS 
}, 
30540          { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30541          { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30542          { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30543          { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30544          { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30545          { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30546          { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30547          { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30548          { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30549          { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30550          { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30551          { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30552          { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30553          { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30554          { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30555          { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30556          { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS 
}, 
30557          { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30558          { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30559          { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30560          { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30561          { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30562          { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS 
}, 
30563          { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30564          { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30565          { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30566          { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30567          { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30568          { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30569          { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30570          { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30571          { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30572          { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30573          { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30574          { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30575          { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30576          { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30577          { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30578          { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30579          { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30580          { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30581          { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30582          { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30583          { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30584          { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30585          { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30586          { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30587          { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS 
}, 
30588          { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30589          { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30590          { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30591          { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30592          { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30593          { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30594          { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS 
}, 
30595          { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30596          { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30597          { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30598          { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30599          { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30600          { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30601          { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30602          { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30603          { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30604          { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30605          { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30606          { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30607          { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30608          { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30609          { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30610          { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30611          { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30612          { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30613          { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30614          { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS 
}, 
30615          { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30616          { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30617          { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30618          { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30619          { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30620          { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS 
}, 
30621          { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30622          { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30623          { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30624          { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30625          { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30626          { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30627          { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30628          { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30629          { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS 
}, 
30630          { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30631          { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS 
}, 
30632          { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30633          { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30634          { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30635          { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30636          { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS 
}, 
30637          { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30638          { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS 
}, 
30639          { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30640          { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30641          { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30642          { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30643          { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS 
}, 
30644          { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30645          { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30646          { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30647          { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30648          { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS 
}, 
30649          { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30650          { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30651          { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30652          { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30653          { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30654          { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30655          { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30656          { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30657          { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30658          { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30659          { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30660          { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30661          { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30662          { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30663          { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30664          { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30665          { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30666          { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30667          { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30668          { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30669          { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30670          { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30671          { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30672          { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30673          { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30674          { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30675          { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30676          { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30677          { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30678          { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS 
}, 
30679          { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30680          { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30681          { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30682          { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30683          { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30684          { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30685          { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30686          { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30687          { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30688          { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30689          { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30690          { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30691          { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30692          { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30693          { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30694          { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30695          { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30696          { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30697          { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30698          { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30699          { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30700          { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30701          { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30702          { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30703          { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30704          { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30705          { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30706          { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30707          { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30708          { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30709          { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30710          { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30711          { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30712          { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30713          { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30714          { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30715          { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30716          { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30717          { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30718          { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30719          { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30720          { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30721          { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30722          { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30723          { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS 
}, 
30724          { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30725          { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30726          { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30727          { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30728          { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS 
}, 
30729          { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30730          { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30731          { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30732          { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30733          { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30734          { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30735          { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30736          { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30737          { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30738          { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30739          { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30740          { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS 
}, 
30741          { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30742          { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30743          { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30744          { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30745          { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30746          { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30747          { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30748          { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30749          { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30750          { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30751          { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30752          { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30753          { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30754          { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30755          { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30756          { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30757          { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30758          { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30759          { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30760          { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30761          { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30762          { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30763          { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30764          { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30765          { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30766          { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30767          { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30768          { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30769          { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30770          { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30771          { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30772          { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30773          { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30774          { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30775          { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30776          { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30777          { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30778          { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30779          { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30780          { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30781          { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30782          { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30783          { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30784          { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30785          { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30786          { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30787          { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30788          { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30789          { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30790          { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30791          { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30792          { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS 
}, 
30793          { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30794          { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30795          { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30796          { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30797          { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30798          { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30799          { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30800          { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30801          { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30802          { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30803          { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30804          { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30805          { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30806          { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30807          { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30808          { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30809          { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30810          { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30811          { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30812          { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30813          { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30814          { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30815          { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30816          { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30817          { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30818          { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30819          { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS 
}, 
30820          { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30821          { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30822          { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30823          { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30824          { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30825          { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30826          { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30827          { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30828          { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30829          { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30830          { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30831          { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30832          { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30833          { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30834          { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30835          { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30836          { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30837          { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30838          { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30839          { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30840          { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30841          { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30842          { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30843          { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30844          { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30845          { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30846          { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30847          { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30848          { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30849          { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30850          { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30851          { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30852          { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30853          { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30854          { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30855          { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30856          { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30857          { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30858          { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30859          { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30860          { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30861          { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30862          { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30863          { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30864          { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30865          { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30866          { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30867          { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30868          { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30869          { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30870          { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30871          { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30872          { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30873          { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30874          { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30875          { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30876          { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30877          { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30878          { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30879          { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30880          { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30881          { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30882          { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30883          { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30884          { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30885          { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30886          { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30887          { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30888          { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30889          { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30890          { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS 
}, 
30891          { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30892          { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30893          { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30894          { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30895          { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30896          { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30897          { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30898          { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30899          { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30900          { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30901          { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30902          { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS 
}, 
30903          { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30904          { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30905          { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30906          { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30907          { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30908          { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30909          { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30910          { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS 
}, 
30911          { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30912          { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30913          { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30914          { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30915          { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30916          { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30917          { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS 
}, 
30918          { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30919          { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30920          { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30921          { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30922          { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30923          { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30924          { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30925          { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30926          { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30927          { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30928          { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30929          { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30930          { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30931          { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30932          { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30933          { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS 
}, 
30934          { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30935          { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30936          { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30937          { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30938          { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30939          { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30940          { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30941          { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30942          { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30943          { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30944          { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30945          { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30946          { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30947          { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30948          { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30949          { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30950          { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30951          { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30952          { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30953          { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30954          { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30955          { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30956          { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30957          { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30958          { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30959          { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30960          { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30961          { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30962          { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30963          { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30964          { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30965          { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30966          { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30967          { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30968          { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30969          { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30970          { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30971          { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30972          { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30973          { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30974          { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30975          { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30976          { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30977          { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30978          { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30979          { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30980          { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30981          { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30982          { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30983          { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30984          { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30985          { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30986          { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30987          { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30988          { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30989          { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30990          { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30991          { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30992          { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30993          { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30994          { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30995          { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30996          { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30997          { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30998          { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
30999          { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31000          { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31001          { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31002          { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31003          { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31004          { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31005          { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31006          { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31007          { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31008          { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS 
}, 
31009          { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31010          { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31011          { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31012          { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31013          { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31014          { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31015          { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31016          { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31017          { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31018          { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31019          { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31020          { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31021          { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31022          { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31023          { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31024          { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31025          { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31026          { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31027          { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31028          { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31029          { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31030          { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS 
}, 
31031          { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31032          { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31033          { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31034          { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31035          { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS 
}, 
31036          { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31037          { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31038          { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31039          { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31040          { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31041          { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31042          { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31043          { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31044          { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31045          { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31046          { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31047          { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31048          { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31049          { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31050          { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31051          { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31052          { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31053          { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31054          { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31055          { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31056          { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31057          { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31058          { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31059          { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS 
}, 
31060          { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31061          { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31062          { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31063          { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31064          { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31065          { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31066          { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31067          { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS 
}, 
31068          { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31069          { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31070          { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31071          { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31072          { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS 
}, 
31073          { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31074          { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS 
}, 
31075          { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31076          { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31077          { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31078          { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31079          { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31080          { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31081          { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31082          { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31083          { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS 
}, 
31084          { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31085          { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS 
}, 
31086          { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31087          { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31088          { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31089          { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31090          { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31091          { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31092          { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31093          { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31094          { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31095          { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31096          { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31097          { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31098          { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31099          { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31100          { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31101          { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31102          { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
31103          { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS 
}, 
31108 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 
31110 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) { 
31111     return (void *)((wxBookCtrlEvent 
*)  ((wxNotebookEvent 
*) x
)); 
31113 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) { 
31114     return (void *)((wxBookCtrlEvent 
*)  ((wxListbookEvent 
*) x
)); 
31116 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) { 
31117     return (void *)((wxSizer 
*)  ((wxBoxSizer 
*) x
)); 
31119 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) { 
31120     return (void *)((wxSizer 
*) (wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
31122 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) { 
31123     return (void *)((wxSizer 
*) (wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
31125 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) { 
31126     return (void *)((wxSizer 
*)  ((wxGridSizer 
*) x
)); 
31128 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) { 
31129     return (void *)((wxSizer 
*) (wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
31131 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) { 
31132     return (void *)((wxSizer 
*)  ((wxNotebookSizer 
*) x
)); 
31134 static void *_p_wxPySizerTo_p_wxSizer(void *x
) { 
31135     return (void *)((wxSizer 
*)  ((wxPySizer 
*) x
)); 
31137 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) { 
31138     return (void *)((wxSizer 
*)  ((wxBookCtrlSizer 
*) x
)); 
31140 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) { 
31141     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
31143 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) { 
31144     return (void *)((wxEvent 
*)  ((wxMenuEvent 
*) x
)); 
31146 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) { 
31147     return (void *)((wxEvent 
*)  ((wxCloseEvent 
*) x
)); 
31149 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) { 
31150     return (void *)((wxEvent 
*)  ((wxMouseEvent 
*) x
)); 
31152 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) { 
31153     return (void *)((wxEvent 
*)  ((wxEraseEvent 
*) x
)); 
31155 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) { 
31156     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxTreeEvent 
*) x
)); 
31158 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) { 
31159     return (void *)((wxEvent 
*)  ((wxSetCursorEvent 
*) x
)); 
31161 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) { 
31162     return (void *)((wxEvent 
*)  ((wxInitDialogEvent 
*) x
)); 
31164 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) { 
31165     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
31167 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) { 
31168     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxTextUrlEvent 
*) x
)); 
31170 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) { 
31171     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxBookCtrlEvent 
*) x
)); 
31173 static void *_p_wxPyEventTo_p_wxEvent(void *x
) { 
31174     return (void *)((wxEvent 
*)  ((wxPyEvent 
*) x
)); 
31176 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) { 
31177     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
31179 static void *_p_wxListEventTo_p_wxEvent(void *x
) { 
31180     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxListEvent 
*) x
)); 
31182 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) { 
31183     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*)(wxBookCtrlEvent 
*) ((wxNotebookEvent 
*) x
)); 
31185 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) { 
31186     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*)(wxBookCtrlEvent 
*) ((wxListbookEvent 
*) x
)); 
31188 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) { 
31189     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxHelpEvent 
*) x
)); 
31191 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) { 
31192     return (void *)((wxEvent 
*)  ((wxIdleEvent 
*) x
)); 
31194 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) { 
31195     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
31197 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) { 
31198     return (void *)((wxEvent 
*)  ((wxQueryNewPaletteEvent 
*) x
)); 
31200 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) { 
31201     return (void *)((wxEvent 
*)  ((wxMaximizeEvent 
*) x
)); 
31203 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) { 
31204     return (void *)((wxEvent 
*)  ((wxIconizeEvent 
*) x
)); 
31206 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) { 
31207     return (void *)((wxEvent 
*)  ((wxActivateEvent 
*) x
)); 
31209 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) { 
31210     return (void *)((wxEvent 
*)  ((wxSizeEvent 
*) x
)); 
31212 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) { 
31213     return (void *)((wxEvent 
*)  ((wxMoveEvent 
*) x
)); 
31215 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) { 
31216     return (void *)((wxEvent 
*)  ((wxPaintEvent 
*) x
)); 
31218 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) { 
31219     return (void *)((wxEvent 
*)  ((wxNcPaintEvent 
*) x
)); 
31221 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) { 
31222     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
31224 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) { 
31225     return (void *)((wxEvent 
*)  ((wxPaletteChangedEvent 
*) x
)); 
31227 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) { 
31228     return (void *)((wxEvent 
*)  ((wxDisplayChangedEvent 
*) x
)); 
31230 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) { 
31231     return (void *)((wxEvent 
*)  ((wxMouseCaptureChangedEvent 
*) x
)); 
31233 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) { 
31234     return (void *)((wxEvent 
*)  ((wxSysColourChangedEvent 
*) x
)); 
31236 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) { 
31237     return (void *)((wxEvent 
*)  ((wxDropFilesEvent 
*) x
)); 
31239 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) { 
31240     return (void *)((wxEvent 
*)  ((wxFocusEvent 
*) x
)); 
31242 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) { 
31243     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
31245 static void *_p_wxShowEventTo_p_wxEvent(void *x
) { 
31246     return (void *)((wxEvent 
*)  ((wxShowEvent 
*) x
)); 
31248 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) { 
31249     return (void *)((wxEvent 
*)  ((wxCommandEvent 
*) x
)); 
31251 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) { 
31252     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
31254 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) { 
31255     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
31257 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) { 
31258     return (void *)((wxEvent 
*)  ((wxNavigationKeyEvent 
*) x
)); 
31260 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) { 
31261     return (void *)((wxEvent 
*)  ((wxKeyEvent 
*) x
)); 
31263 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) { 
31264     return (void *)((wxEvent 
*)  ((wxScrollWinEvent 
*) x
)); 
31266 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) { 
31267     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxSpinEvent 
*) x
)); 
31269 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) { 
31270     return (void *)((wxItemContainer 
*)  ((wxComboBox 
*) x
)); 
31272 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) { 
31273     return (void *)((wxItemContainer 
*) (wxControlWithItems 
*)(wxChoice 
*) ((wxDirFilterListCtrl 
*) x
)); 
31275 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) { 
31276     return (void *)((wxItemContainer 
*) (wxControlWithItems 
*) ((wxChoice 
*) x
)); 
31278 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) { 
31279     return (void *)((wxItemContainer 
*)  ((wxControlWithItems 
*) x
)); 
31281 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) { 
31282     return (void *)((wxItemContainer 
*) (wxControlWithItems 
*) ((wxListBox 
*) x
)); 
31284 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) { 
31285     return (void *)((wxItemContainer 
*) (wxControlWithItems 
*)(wxListBox 
*) ((wxCheckListBox 
*) x
)); 
31287 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) { 
31288     return (void *)((wxPyListCtrl 
*)  ((wxListView 
*) x
)); 
31290 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) { 
31291     return (void *)((wxControl 
*) (wxControlWithItems 
*)(wxListBox 
*) ((wxCheckListBox 
*) x
)); 
31293 static void *_p_wxListBoxTo_p_wxControl(void *x
) { 
31294     return (void *)((wxControl 
*) (wxControlWithItems 
*) ((wxListBox 
*) x
)); 
31296 static void *_p_wxChoiceTo_p_wxControl(void *x
) { 
31297     return (void *)((wxControl 
*) (wxControlWithItems 
*) ((wxChoice 
*) x
)); 
31299 static void *_p_wxToolBarTo_p_wxControl(void *x
) { 
31300     return (void *)((wxControl 
*) (wxToolBarBase 
*) ((wxToolBar 
*) x
)); 
31302 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) { 
31303     return (void *)((wxControl 
*)  ((wxStaticBitmap 
*) x
)); 
31305 static void *_p_wxComboBoxTo_p_wxControl(void *x
) { 
31306     return (void *)((wxControl 
*)  ((wxComboBox 
*) x
)); 
31308 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) { 
31309     return (void *)((wxControl 
*)  ((wxSpinCtrl 
*) x
)); 
31311 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) { 
31312     return (void *)((wxControl 
*)  ((wxStaticBox 
*) x
)); 
31314 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) { 
31315     return (void *)((wxControl 
*)  ((wxPyListCtrl 
*) x
)); 
31317 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) { 
31318     return (void *)((wxControl 
*)  ((wxPyTreeCtrl 
*) x
)); 
31320 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) { 
31321     return (void *)((wxControl 
*) (wxControlWithItems 
*)(wxChoice 
*) ((wxDirFilterListCtrl 
*) x
)); 
31323 static void *_p_wxScrollBarTo_p_wxControl(void *x
) { 
31324     return (void *)((wxControl 
*)  ((wxScrollBar 
*) x
)); 
31326 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) { 
31327     return (void *)((wxControl 
*)  ((wxBookCtrl 
*) x
)); 
31329 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) { 
31330     return (void *)((wxControl 
*)  ((wxRadioButton 
*) x
)); 
31332 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) { 
31333     return (void *)((wxControl 
*)  ((wxToggleButton 
*) x
)); 
31335 static void *_p_wxGaugeTo_p_wxControl(void *x
) { 
31336     return (void *)((wxControl 
*)  ((wxGauge 
*) x
)); 
31338 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) { 
31339     return (void *)((wxControl 
*)  ((wxToolBarBase 
*) x
)); 
31341 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) { 
31342     return (void *)((wxControl 
*) (wxButton 
*) ((wxBitmapButton 
*) x
)); 
31344 static void *_p_wxButtonTo_p_wxControl(void *x
) { 
31345     return (void *)((wxControl 
*)  ((wxButton 
*) x
)); 
31347 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) { 
31348     return (void *)((wxControl 
*)  ((wxSpinButton 
*) x
)); 
31350 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) { 
31351     return (void *)((wxControl 
*) (wxButton 
*)(wxBitmapButton 
*) ((wxContextHelpButton 
*) x
)); 
31353 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) { 
31354     return (void *)((wxControl 
*)  ((wxControlWithItems 
*) x
)); 
31356 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) { 
31357     return (void *)((wxControl 
*)  ((wxRadioBox 
*) x
)); 
31359 static void *_p_wxNotebookTo_p_wxControl(void *x
) { 
31360     return (void *)((wxControl 
*) (wxBookCtrl 
*) ((wxNotebook 
*) x
)); 
31362 static void *_p_wxListbookTo_p_wxControl(void *x
) { 
31363     return (void *)((wxControl 
*) (wxBookCtrl 
*) ((wxListbook 
*) x
)); 
31365 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) { 
31366     return (void *)((wxControl 
*)  ((wxCheckBox 
*) x
)); 
31368 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) { 
31369     return (void *)((wxControl 
*)  ((wxTextCtrl 
*) x
)); 
31371 static void *_p_wxListViewTo_p_wxControl(void *x
) { 
31372     return (void *)((wxControl 
*) (wxPyListCtrl 
*) ((wxListView 
*) x
)); 
31374 static void *_p_wxSliderTo_p_wxControl(void *x
) { 
31375     return (void *)((wxControl 
*)  ((wxSlider 
*) x
)); 
31377 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) { 
31378     return (void *)((wxControl 
*)  ((wxGenericDirCtrl 
*) x
)); 
31380 static void *_p_wxPyControlTo_p_wxControl(void *x
) { 
31381     return (void *)((wxControl 
*)  ((wxPyControl 
*) x
)); 
31383 static void *_p_wxStaticLineTo_p_wxControl(void *x
) { 
31384     return (void *)((wxControl 
*)  ((wxStaticLine 
*) x
)); 
31386 static void *_p_wxStaticTextTo_p_wxControl(void *x
) { 
31387     return (void *)((wxControl 
*)  ((wxStaticText 
*) x
)); 
31389 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) { 
31390     return (void *)((wxToolBarBase 
*)  ((wxToolBar 
*) x
)); 
31392 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) { 
31393     return (void *)((wxChoice 
*)  ((wxDirFilterListCtrl 
*) x
)); 
31395 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) { 
31396     return (void *)((wxNotifyEvent 
*)  ((wxTreeEvent 
*) x
)); 
31398 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) { 
31399     return (void *)((wxNotifyEvent 
*)  ((wxBookCtrlEvent 
*) x
)); 
31401 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) { 
31402     return (void *)((wxNotifyEvent 
*)  ((wxListEvent 
*) x
)); 
31404 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) { 
31405     return (void *)((wxNotifyEvent 
*)  ((wxSpinEvent 
*) x
)); 
31407 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) { 
31408     return (void *)((wxNotifyEvent 
*) (wxBookCtrlEvent 
*) ((wxNotebookEvent 
*) x
)); 
31410 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) { 
31411     return (void *)((wxNotifyEvent 
*) (wxBookCtrlEvent 
*) ((wxListbookEvent 
*) x
)); 
31413 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) { 
31414     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxBookCtrl 
*) x
)); 
31416 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) { 
31417     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMenuBar 
*) x
)); 
31419 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) { 
31420     return (void *)((wxEvtHandler 
*)  ((wxValidator 
*) x
)); 
31422 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) { 
31423     return (void *)((wxEvtHandler 
*) (wxValidator 
*) ((wxPyValidator 
*) x
)); 
31425 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) { 
31426     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*)(wxToolBarBase 
*) ((wxToolBar 
*) x
)); 
31428 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) { 
31429     return (void *)((wxEvtHandler 
*)  ((wxMenu 
*) x
)); 
31431 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) { 
31432     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxToggleButton 
*) x
)); 
31434 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) { 
31435     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxRadioButton 
*) x
)); 
31437 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) { 
31438     return (void *)((wxEvtHandler 
*)  ((wxWindow 
*) x
)); 
31440 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) { 
31441     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxControl 
*) x
)); 
31443 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) { 
31444     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxToolBarBase 
*) x
)); 
31446 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) { 
31447     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxPyListCtrl 
*) x
)); 
31449 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) { 
31450     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxComboBox 
*) x
)); 
31452 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) { 
31453     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*)(wxControlWithItems 
*)(wxChoice 
*) ((wxDirFilterListCtrl 
*) x
)); 
31455 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) { 
31456     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxPyControl 
*) x
)); 
31458 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) { 
31459     return (void *)((wxEvtHandler 
*)  ((wxPyApp 
*) x
)); 
31461 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) { 
31462     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxGenericDirCtrl 
*) x
)); 
31464 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) { 
31465     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxScrollBar 
*) x
)); 
31467 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) { 
31468     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
31470 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) { 
31471     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxGauge 
*) x
)); 
31473 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) { 
31474     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxStaticLine 
*) x
)); 
31476 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) { 
31477     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*)(wxBookCtrl 
*) ((wxListbook 
*) x
)); 
31479 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) { 
31480     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxPyTreeCtrl 
*) x
)); 
31482 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) { 
31483     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxCheckBox 
*) x
)); 
31485 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) { 
31486     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxRadioBox 
*) x
)); 
31488 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) { 
31489     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*)(wxControlWithItems 
*)(wxListBox 
*) ((wxCheckListBox 
*) x
)); 
31491 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) { 
31492     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*)(wxControlWithItems 
*) ((wxListBox 
*) x
)); 
31494 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) { 
31495     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*)(wxControlWithItems 
*) ((wxChoice 
*) x
)); 
31497 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) { 
31498     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*)(wxBookCtrl 
*) ((wxNotebook 
*) x
)); 
31500 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) { 
31501     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxStaticBitmap 
*) x
)); 
31503 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) { 
31504     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*)(wxPyListCtrl 
*) ((wxListView 
*) x
)); 
31506 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) { 
31507     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxSpinCtrl 
*) x
)); 
31509 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) { 
31510     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxStaticText 
*) x
)); 
31512 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) { 
31513     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxStaticBox 
*) x
)); 
31515 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) { 
31516     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxSlider 
*) x
)); 
31518 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) { 
31519     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxSpinButton 
*) x
)); 
31521 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) { 
31522     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxButton 
*) x
)); 
31524 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) { 
31525     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*)(wxButton 
*) ((wxBitmapButton 
*) x
)); 
31527 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) { 
31528     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*)(wxButton 
*)(wxBitmapButton 
*) ((wxContextHelpButton 
*) x
)); 
31530 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) { 
31531     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxTextCtrl 
*) x
)); 
31533 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) { 
31534     return (void *)((wxListBox 
*)  ((wxCheckListBox 
*) x
)); 
31536 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) { 
31537     return (void *)((wxBookCtrl 
*)  ((wxListbook 
*) x
)); 
31539 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) { 
31540     return (void *)((wxBookCtrl 
*)  ((wxNotebook 
*) x
)); 
31542 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) { 
31543     return (void *)((wxButton 
*)  ((wxBitmapButton 
*) x
)); 
31545 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) { 
31546     return (void *)((wxButton 
*) (wxBitmapButton 
*) ((wxContextHelpButton 
*) x
)); 
31548 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) { 
31549     return (void *)((wxBitmapButton 
*)  ((wxContextHelpButton 
*) x
)); 
31551 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) { 
31552     return (void *)((wxHelpProvider 
*)  ((wxSimpleHelpProvider 
*) x
)); 
31554 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) { 
31555     return (void *)((wxObject 
*)  ((wxLayoutConstraints 
*) x
)); 
31557 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) { 
31558     return (void *)((wxObject 
*) (wxSizerItem 
*) ((wxGBSizerItem 
*) x
)); 
31560 static void *_p_wxSizerItemTo_p_wxObject(void *x
) { 
31561     return (void *)((wxObject 
*)  ((wxSizerItem 
*) x
)); 
31563 static void *_p_wxScrollEventTo_p_wxObject(void *x
) { 
31564     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
31566 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) { 
31567     return (void *)((wxObject 
*)  ((wxIndividualLayoutConstraint 
*) x
)); 
31569 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) { 
31570     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxTextUrlEvent 
*) x
)); 
31572 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) { 
31573     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxBookCtrlEvent 
*) x
)); 
31575 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) { 
31576     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
31578 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) { 
31579     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBoxSizer 
*) x
)); 
31581 static void *_p_wxSizerTo_p_wxObject(void *x
) { 
31582     return (void *)((wxObject 
*)  ((wxSizer 
*) x
)); 
31584 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) { 
31585     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
31587 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) { 
31588     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxCheckBox 
*) x
)); 
31590 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) { 
31591     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxPyTreeCtrl 
*) x
)); 
31593 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) { 
31594     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
31596 static void *_p_wxEventTo_p_wxObject(void *x
) { 
31597     return (void *)((wxObject 
*)  ((wxEvent 
*) x
)); 
31599 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) { 
31600     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
31602 static void *_p_wxGridSizerTo_p_wxObject(void *x
) { 
31603     return (void *)((wxObject 
*) (wxSizer 
*) ((wxGridSizer 
*) x
)); 
31605 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) { 
31606     return (void *)((wxObject 
*) (wxEvent 
*) ((wxInitDialogEvent 
*) x
)); 
31608 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) { 
31609     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxGenericDirCtrl 
*) x
)); 
31611 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) { 
31612     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxPyListCtrl 
*) x
)); 
31614 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) { 
31615     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*)(wxControlWithItems 
*)(wxChoice 
*) ((wxDirFilterListCtrl 
*) x
)); 
31617 static void *_p_wxPaintEventTo_p_wxObject(void *x
) { 
31618     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaintEvent 
*) x
)); 
31620 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) { 
31621     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNcPaintEvent 
*) x
)); 
31623 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) { 
31624     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaletteChangedEvent 
*) x
)); 
31626 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) { 
31627     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDisplayChangedEvent 
*) x
)); 
31629 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) { 
31630     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureChangedEvent 
*) x
)); 
31632 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) { 
31633     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSysColourChangedEvent 
*) x
)); 
31635 static void *_p_wxStaticLineTo_p_wxObject(void *x
) { 
31636     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxStaticLine 
*) x
)); 
31638 static void *_p_wxControlTo_p_wxObject(void *x
) { 
31639     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxControl 
*) x
)); 
31641 static void *_p_wxPyControlTo_p_wxObject(void *x
) { 
31642     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxPyControl 
*) x
)); 
31644 static void *_p_wxGaugeTo_p_wxObject(void *x
) { 
31645     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxGauge 
*) x
)); 
31647 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) { 
31648     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxRadioButton 
*) x
)); 
31650 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) { 
31651     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxToggleButton 
*) x
)); 
31653 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) { 
31654     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxToolBarBase 
*) x
)); 
31656 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) { 
31657     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSetCursorEvent 
*) x
)); 
31659 static void *_p_wxChoiceTo_p_wxObject(void *x
) { 
31660     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*)(wxControlWithItems 
*) ((wxChoice 
*) x
)); 
31662 static void *_p_wxFSFileTo_p_wxObject(void *x
) { 
31663     return (void *)((wxObject 
*)  ((wxFSFile 
*) x
)); 
31665 static void *_p_wxPySizerTo_p_wxObject(void *x
) { 
31666     return (void *)((wxObject 
*) (wxSizer 
*) ((wxPySizer 
*) x
)); 
31668 static void *_p_wxListViewTo_p_wxObject(void *x
) { 
31669     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*)(wxPyListCtrl 
*) ((wxListView 
*) x
)); 
31671 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) { 
31672     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxTextCtrl 
*) x
)); 
31674 static void *_p_wxNotebookTo_p_wxObject(void *x
) { 
31675     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*)(wxBookCtrl 
*) ((wxNotebook 
*) x
)); 
31677 static void *_p_wxPyEventTo_p_wxObject(void *x
) { 
31678     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPyEvent 
*) x
)); 
31680 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) { 
31681     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
31683 static void *_p_wxListbookTo_p_wxObject(void *x
) { 
31684     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*)(wxBookCtrl 
*) ((wxListbook 
*) x
)); 
31686 static void *_p_wxShowEventTo_p_wxObject(void *x
) { 
31687     return (void *)((wxObject 
*) (wxEvent 
*) ((wxShowEvent 
*) x
)); 
31689 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) { 
31690     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxStaticBitmap 
*) x
)); 
31692 static void *_p_wxSliderTo_p_wxObject(void *x
) { 
31693     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxSlider 
*) x
)); 
31695 static void *_p_wxMenuItemTo_p_wxObject(void *x
) { 
31696     return (void *)((wxObject 
*)  ((wxMenuItem 
*) x
)); 
31698 static void *_p_wxIdleEventTo_p_wxObject(void *x
) { 
31699     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIdleEvent 
*) x
)); 
31701 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) { 
31702     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
31704 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) { 
31705     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryNewPaletteEvent 
*) x
)); 
31707 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) { 
31708     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMaximizeEvent 
*) x
)); 
31710 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) { 
31711     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIconizeEvent 
*) x
)); 
31713 static void *_p_wxSizeEventTo_p_wxObject(void *x
) { 
31714     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSizeEvent 
*) x
)); 
31716 static void *_p_wxMoveEventTo_p_wxObject(void *x
) { 
31717     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMoveEvent 
*) x
)); 
31719 static void *_p_wxActivateEventTo_p_wxObject(void *x
) { 
31720     return (void *)((wxObject 
*) (wxEvent 
*) ((wxActivateEvent 
*) x
)); 
31722 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) { 
31723     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxStaticBox 
*) x
)); 
31725 static void *_p_wxContextHelpTo_p_wxObject(void *x
) { 
31726     return (void *)((wxObject 
*)  ((wxContextHelp 
*) x
)); 
31728 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) { 
31729     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxXPMHandler 
*) x
)); 
31731 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) { 
31732     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNMHandler 
*) x
)); 
31734 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) { 
31735     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxJPEGHandler 
*) x
)); 
31737 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) { 
31738     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPCXHandler 
*) x
)); 
31740 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) { 
31741     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxGIFHandler 
*) x
)); 
31743 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) { 
31744     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNGHandler 
*) x
)); 
31746 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) { 
31747     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
31749 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) { 
31750     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
31752 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) { 
31753     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
31755 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) { 
31756     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxBMPHandler 
*) x
)); 
31758 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) { 
31759     return (void *)((wxObject 
*)  ((wxImageHandler 
*) x
)); 
31761 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) { 
31762     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTIFFHandler 
*) x
)); 
31764 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) { 
31765     return (void *)((wxObject 
*)  ((wxEvtHandler 
*) x
)); 
31767 static void *_p_wxListEventTo_p_wxObject(void *x
) { 
31768     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxListEvent 
*) x
)); 
31770 static void *_p_wxListBoxTo_p_wxObject(void *x
) { 
31771     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*)(wxControlWithItems 
*) ((wxListBox 
*) x
)); 
31773 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) { 
31774     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*)(wxControlWithItems 
*)(wxListBox 
*) ((wxCheckListBox 
*) x
)); 
31776 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) { 
31777     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxBookCtrl 
*) x
)); 
31779 static void *_p_wxButtonTo_p_wxObject(void *x
) { 
31780     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxButton 
*) x
)); 
31782 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) { 
31783     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*)(wxButton 
*) ((wxBitmapButton 
*) x
)); 
31785 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) { 
31786     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxSpinButton 
*) x
)); 
31788 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) { 
31789     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*)(wxButton 
*)(wxBitmapButton 
*) ((wxContextHelpButton 
*) x
)); 
31791 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) { 
31792     return (void *)((wxObject 
*)  ((wxAcceleratorTable 
*) x
)); 
31794 static void *_p_wxScrollBarTo_p_wxObject(void *x
) { 
31795     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxScrollBar 
*) x
)); 
31797 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) { 
31798     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxRadioBox 
*) x
)); 
31800 static void *_p_wxComboBoxTo_p_wxObject(void *x
) { 
31801     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxComboBox 
*) x
)); 
31803 static void *_p_wxHelpEventTo_p_wxObject(void *x
) { 
31804     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxHelpEvent 
*) x
)); 
31806 static void *_p_wxListItemTo_p_wxObject(void *x
) { 
31807     return (void *)((wxObject 
*)  ((wxListItem 
*) x
)); 
31809 static void *_p_wxImageTo_p_wxObject(void *x
) { 
31810     return (void *)((wxObject 
*)  ((wxImage 
*) x
)); 
31812 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) { 
31813     return (void *)((wxObject 
*) (wxSizer 
*) ((wxNotebookSizer 
*) x
)); 
31815 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) { 
31816     return (void *)((wxObject 
*) (wxEvent 
*) ((wxScrollWinEvent 
*) x
)); 
31818 static void *_p_wxSpinEventTo_p_wxObject(void *x
) { 
31819     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxSpinEvent 
*) x
)); 
31821 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) { 
31822     return (void *)((wxObject 
*)  ((wxGenericDragImage 
*) x
)); 
31824 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) { 
31825     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxSpinCtrl 
*) x
)); 
31827 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) { 
31828     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*)(wxBookCtrlEvent 
*) ((wxNotebookEvent 
*) x
)); 
31830 static void *_p_wxListbookEventTo_p_wxObject(void *x
) { 
31831     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*)(wxBookCtrlEvent 
*) ((wxListbookEvent 
*) x
)); 
31833 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) { 
31834     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
31836 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) { 
31837     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNavigationKeyEvent 
*) x
)); 
31839 static void *_p_wxKeyEventTo_p_wxObject(void *x
) { 
31840     return (void *)((wxObject 
*) (wxEvent 
*) ((wxKeyEvent 
*) x
)); 
31842 static void *_p_wxWindowTo_p_wxObject(void *x
) { 
31843     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxWindow 
*) x
)); 
31845 static void *_p_wxMenuTo_p_wxObject(void *x
) { 
31846     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxMenu 
*) x
)); 
31848 static void *_p_wxMenuBarTo_p_wxObject(void *x
) { 
31849     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMenuBar 
*) x
)); 
31851 static void *_p_wxFileSystemTo_p_wxObject(void *x
) { 
31852     return (void *)((wxObject 
*)  ((wxFileSystem 
*) x
)); 
31854 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) { 
31855     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
31857 static void *_p_wxMenuEventTo_p_wxObject(void *x
) { 
31858     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMenuEvent 
*) x
)); 
31860 static void *_p_wxPyAppTo_p_wxObject(void *x
) { 
31861     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyApp 
*) x
)); 
31863 static void *_p_wxCloseEventTo_p_wxObject(void *x
) { 
31864     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCloseEvent 
*) x
)); 
31866 static void *_p_wxMouseEventTo_p_wxObject(void *x
) { 
31867     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseEvent 
*) x
)); 
31869 static void *_p_wxEraseEventTo_p_wxObject(void *x
) { 
31870     return (void *)((wxObject 
*) (wxEvent 
*) ((wxEraseEvent 
*) x
)); 
31872 static void *_p_wxTreeEventTo_p_wxObject(void *x
) { 
31873     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxTreeEvent 
*) x
)); 
31875 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) { 
31876     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
31878 static void *_p_wxCommandEventTo_p_wxObject(void *x
) { 
31879     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCommandEvent 
*) x
)); 
31881 static void *_p_wxStaticTextTo_p_wxObject(void *x
) { 
31882     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxStaticText 
*) x
)); 
31884 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) { 
31885     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDropFilesEvent 
*) x
)); 
31887 static void *_p_wxFocusEventTo_p_wxObject(void *x
) { 
31888     return (void *)((wxObject 
*) (wxEvent 
*) ((wxFocusEvent 
*) x
)); 
31890 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) { 
31891     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
31893 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) { 
31894     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
31896 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) { 
31897     return (void *)((wxObject 
*)  ((wxToolBarToolBase 
*) x
)); 
31899 static void *_p_wxToolBarTo_p_wxObject(void *x
) { 
31900     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*)(wxToolBarBase 
*) ((wxToolBar 
*) x
)); 
31902 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) { 
31903     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxValidator 
*) ((wxPyValidator 
*) x
)); 
31905 static void *_p_wxValidatorTo_p_wxObject(void *x
) { 
31906     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxValidator 
*) x
)); 
31908 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) { 
31909     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBookCtrlSizer 
*) x
)); 
31911 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) { 
31912     return (void *)((wxWindow 
*) (wxControl 
*) ((wxBookCtrl 
*) x
)); 
31914 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) { 
31915     return (void *)((wxWindow 
*)  ((wxMenuBar 
*) x
)); 
31917 static void *_p_wxToolBarTo_p_wxWindow(void *x
) { 
31918     return (void *)((wxWindow 
*) (wxControl 
*)(wxToolBarBase 
*) ((wxToolBar 
*) x
)); 
31920 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) { 
31921     return (void *)((wxWindow 
*) (wxControl 
*) ((wxToggleButton 
*) x
)); 
31923 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) { 
31924     return (void *)((wxWindow 
*) (wxControl 
*) ((wxRadioButton 
*) x
)); 
31926 static void *_p_wxPyControlTo_p_wxWindow(void *x
) { 
31927     return (void *)((wxWindow 
*) (wxControl 
*) ((wxPyControl 
*) x
)); 
31929 static void *_p_wxControlTo_p_wxWindow(void *x
) { 
31930     return (void *)((wxWindow 
*)  ((wxControl 
*) x
)); 
31932 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) { 
31933     return (void *)((wxWindow 
*) (wxControl 
*) ((wxToolBarBase 
*) x
)); 
31935 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) { 
31936     return (void *)((wxWindow 
*) (wxControl 
*)(wxControlWithItems 
*)(wxChoice 
*) ((wxDirFilterListCtrl 
*) x
)); 
31938 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) { 
31939     return (void *)((wxWindow 
*) (wxControl 
*) ((wxPyListCtrl 
*) x
)); 
31941 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) { 
31942     return (void *)((wxWindow 
*) (wxControl 
*) ((wxComboBox 
*) x
)); 
31944 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) { 
31945     return (void *)((wxWindow 
*) (wxControl 
*) ((wxGenericDirCtrl 
*) x
)); 
31947 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) { 
31948     return (void *)((wxWindow 
*) (wxControl 
*) ((wxScrollBar 
*) x
)); 
31950 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) { 
31951     return (void *)((wxWindow 
*) (wxControl 
*) ((wxControlWithItems 
*) x
)); 
31953 static void *_p_wxGaugeTo_p_wxWindow(void *x
) { 
31954     return (void *)((wxWindow 
*) (wxControl 
*) ((wxGauge 
*) x
)); 
31956 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) { 
31957     return (void *)((wxWindow 
*) (wxControl 
*) ((wxStaticLine 
*) x
)); 
31959 static void *_p_wxListbookTo_p_wxWindow(void *x
) { 
31960     return (void *)((wxWindow 
*) (wxControl 
*)(wxBookCtrl 
*) ((wxListbook 
*) x
)); 
31962 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) { 
31963     return (void *)((wxWindow 
*) (wxControl 
*) ((wxPyTreeCtrl 
*) x
)); 
31965 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) { 
31966     return (void *)((wxWindow 
*) (wxControl 
*) ((wxCheckBox 
*) x
)); 
31968 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) { 
31969     return (void *)((wxWindow 
*) (wxControl 
*) ((wxRadioBox 
*) x
)); 
31971 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) { 
31972     return (void *)((wxWindow 
*) (wxControl 
*)(wxControlWithItems 
*)(wxListBox 
*) ((wxCheckListBox 
*) x
)); 
31974 static void *_p_wxChoiceTo_p_wxWindow(void *x
) { 
31975     return (void *)((wxWindow 
*) (wxControl 
*)(wxControlWithItems 
*) ((wxChoice 
*) x
)); 
31977 static void *_p_wxListBoxTo_p_wxWindow(void *x
) { 
31978     return (void *)((wxWindow 
*) (wxControl 
*)(wxControlWithItems 
*) ((wxListBox 
*) x
)); 
31980 static void *_p_wxListViewTo_p_wxWindow(void *x
) { 
31981     return (void *)((wxWindow 
*) (wxControl 
*)(wxPyListCtrl 
*) ((wxListView 
*) x
)); 
31983 static void *_p_wxNotebookTo_p_wxWindow(void *x
) { 
31984     return (void *)((wxWindow 
*) (wxControl 
*)(wxBookCtrl 
*) ((wxNotebook 
*) x
)); 
31986 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) { 
31987     return (void *)((wxWindow 
*) (wxControl 
*) ((wxStaticBitmap 
*) x
)); 
31989 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) { 
31990     return (void *)((wxWindow 
*) (wxControl 
*) ((wxSpinCtrl 
*) x
)); 
31992 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) { 
31993     return (void *)((wxWindow 
*) (wxControl 
*) ((wxStaticText 
*) x
)); 
31995 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) { 
31996     return (void *)((wxWindow 
*) (wxControl 
*) ((wxStaticBox 
*) x
)); 
31998 static void *_p_wxSliderTo_p_wxWindow(void *x
) { 
31999     return (void *)((wxWindow 
*) (wxControl 
*) ((wxSlider 
*) x
)); 
32001 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) { 
32002     return (void *)((wxWindow 
*) (wxControl 
*) ((wxSpinButton 
*) x
)); 
32004 static void *_p_wxButtonTo_p_wxWindow(void *x
) { 
32005     return (void *)((wxWindow 
*) (wxControl 
*) ((wxButton 
*) x
)); 
32007 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) { 
32008     return (void *)((wxWindow 
*) (wxControl 
*)(wxButton 
*) ((wxBitmapButton 
*) x
)); 
32010 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) { 
32011     return (void *)((wxWindow 
*) (wxControl 
*)(wxButton 
*)(wxBitmapButton 
*) ((wxContextHelpButton 
*) x
)); 
32013 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) { 
32014     return (void *)((wxWindow 
*) (wxControl 
*) ((wxTextCtrl 
*) x
)); 
32016 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) { 
32017     return (void *)((wxCommandEvent 
*)  ((wxWindowDestroyEvent 
*) x
)); 
32019 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) { 
32020     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxBookCtrlEvent 
*) x
)); 
32022 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) { 
32023     return (void *)((wxCommandEvent 
*)  ((wxTextUrlEvent 
*) x
)); 
32025 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) { 
32026     return (void *)((wxCommandEvent 
*)  ((wxScrollEvent 
*) x
)); 
32028 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) { 
32029     return (void *)((wxCommandEvent 
*)  ((wxPyCommandEvent 
*) x
)); 
32031 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) { 
32032     return (void *)((wxCommandEvent 
*)  ((wxContextMenuEvent 
*) x
)); 
32034 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) { 
32035     return (void *)((wxCommandEvent 
*)  ((wxChildFocusEvent 
*) x
)); 
32037 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) { 
32038     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*)(wxBookCtrlEvent 
*) ((wxListbookEvent 
*) x
)); 
32040 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) { 
32041     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*)(wxBookCtrlEvent 
*) ((wxNotebookEvent 
*) x
)); 
32043 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) { 
32044     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxListEvent 
*) x
)); 
32046 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) { 
32047     return (void *)((wxCommandEvent 
*)  ((wxWindowCreateEvent 
*) x
)); 
32049 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) { 
32050     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxTreeEvent 
*) x
)); 
32052 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) { 
32053     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxSpinEvent 
*) x
)); 
32055 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) { 
32056     return (void *)((wxCommandEvent 
*)  ((wxHelpEvent 
*) x
)); 
32058 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) { 
32059     return (void *)((wxCommandEvent 
*)  ((wxNotifyEvent 
*) x
)); 
32061 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) { 
32062     return (void *)((wxCommandEvent 
*)  ((wxUpdateUIEvent 
*) x
)); 
32064 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) { 
32065     return (void *)((wxControlWithItems 
*) (wxChoice 
*) ((wxDirFilterListCtrl 
*) x
)); 
32067 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) { 
32068     return (void *)((wxControlWithItems 
*)  ((wxChoice 
*) x
)); 
32070 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) { 
32071     return (void *)((wxControlWithItems 
*)  ((wxListBox 
*) x
)); 
32073 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) { 
32074     return (void *)((wxControlWithItems 
*) (wxListBox 
*) ((wxCheckListBox 
*) x
)); 
32076 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) { 
32077     return (void *)((wxValidator 
*)  ((wxPyValidator 
*) x
)); 
32079 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}}; 
32080 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},{0, 0, 0, 0, 0, 0, 0}}; 
32081 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}}; 
32082 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}}; 
32083 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}}; 
32084 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_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_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_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}}; 
32085 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}}; 
32086 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}}; 
32087 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}}; 
32088 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}}; 
32089 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}}; 
32090 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}}; 
32091 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}}; 
32092 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_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_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_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_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_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}}; 
32093 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}}; 
32094 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}}; 
32095 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}}; 
32096 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}}; 
32097 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}}; 
32098 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}}; 
32099 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}}; 
32100 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}}; 
32101 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}}; 
32102 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}}; 
32103 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}}; 
32104 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}}; 
32105 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}}; 
32106 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}}; 
32107 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}}; 
32108 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}}; 
32109 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}}; 
32110 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}}; 
32111 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_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
32112 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}}; 
32113 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}}; 
32114 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}}; 
32115 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}}; 
32116 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}}; 
32117 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}}; 
32118 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}}; 
32119 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}}; 
32120 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_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_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_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_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_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}}; 
32121 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}}; 
32122 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}}; 
32123 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}}; 
32124 static swig_type_info _swigt__p_wxBookCtrl
[] = {{"_p_wxBookCtrl", 0, "wxBookCtrl *", 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}}; 
32125 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}}; 
32126 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}}; 
32127 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}}; 
32128 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}}; 
32129 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}}; 
32130 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}}; 
32131 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}}; 
32132 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}}; 
32133 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}}; 
32134 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}}; 
32135 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}}; 
32136 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}}; 
32137 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}}; 
32138 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}}; 
32139 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}}; 
32140 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}}; 
32141 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}}; 
32142 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}}; 
32143 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}}; 
32144 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}}; 
32145 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}}; 
32146 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}}; 
32147 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}}; 
32148 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_wxPyControl", _p_wxPyControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_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_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_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_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_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}}; 
32149 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}}; 
32150 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}}; 
32151 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_wxPyControl", _p_wxPyControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_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_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_wxButton", _p_wxButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_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_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
32152 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}}; 
32153 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}}; 
32154 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}}; 
32155 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}}; 
32156 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_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}}; 
32157 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}}; 
32158 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}}; 
32159 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}}; 
32160 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}}; 
32161 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}}; 
32162 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}}; 
32163 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}}; 
32165 static swig_type_info 
*swig_types_initial
[] = { 
32166 _swigt__p_wxTextUrlEvent
,  
32167 _swigt__p_wxBookCtrlEvent
,  
32169 _swigt__p_wxCheckBox
,  
32170 _swigt__p_wxPyTreeCtrl
,  
32172 _swigt__p_wxGenericDirCtrl
,  
32174 _swigt__p_wxPyTreeItemData
,  
32175 _swigt__p_wxItemContainer
,  
32176 _swigt__p_wxPyListCtrl
,  
32177 _swigt__p_wxDirFilterListCtrl
,  
32178 _swigt__p_wxStaticLine
,  
32179 _swigt__p_wxControl
,  
32180 _swigt__p_wxPyControl
,  
32182 _swigt__p_wxToolBarBase
,  
32184 _swigt__p_wxToggleButton
,  
32185 _swigt__p_wxRadioButton
,  
32186 _swigt__p_wxChoice
,  
32187 _swigt__p_wxMemoryDC
,  
32188 _swigt__p_wxListItemAttr
,  
32193 _swigt__p_wxListView
,  
32195 _swigt__p_wxVisualAttributes
,  
32196 _swigt__p_wxTextCtrl
,  
32197 _swigt__p_wxNotebook
,  
32198 _swigt__p_wxNotifyEvent
,  
32199 _swigt__p_wxArrayString
,  
32200 _swigt__p_wxListbook
,  
32201 _swigt__p_wxStaticBitmap
,  
32202 _swigt__p_wxSlider
,  
32203 _swigt__p_wxStaticBox
,  
32204 _swigt__p_wxArrayInt
,  
32205 _swigt__p_wxContextHelp
,  
32207 _swigt__p_wxEvtHandler
,  
32208 _swigt__p_wxListEvent
,  
32209 _swigt__p_wxCheckListBox
,  
32210 _swigt__p_wxListBox
,  
32211 _swigt__p_wxBookCtrl
,  
32212 _swigt__p_wxSpinButton
,  
32213 _swigt__p_wxButton
,  
32214 _swigt__p_wxBitmapButton
,  
32216 _swigt__p_wxContextHelpButton
,  
32217 _swigt__p_wxRadioBox
,  
32218 _swigt__p_wxScrollBar
,  
32220 _swigt__p_wxTreeItemId
,  
32221 _swigt__p_wxComboBox
,  
32222 _swigt__p_wxHelpEvent
,  
32223 _swigt__p_wxListItem
,  
32224 _swigt__p_wxNotebookSizer
,  
32225 _swigt__p_wxSpinEvent
,  
32226 _swigt__p_wxGenericDragImage
,  
32227 _swigt__p_wxSpinCtrl
,  
32228 _swigt__p_wxImageList
,  
32229 _swigt__p_wxHelpProvider
,  
32230 _swigt__p_wxTextAttr
,  
32231 _swigt__p_wxSimpleHelpProvider
,  
32233 _swigt__p_wxListbookEvent
,  
32234 _swigt__p_wxNotebookEvent
,  
32235 _swigt__p_wxObject
,  
32236 _swigt__p_wxCursor
,  
32237 _swigt__p_wxKeyEvent
,  
32238 _swigt__p_wxWindow
,  
32239 _swigt__p_wxString
,  
32240 _swigt__p_wxBitmap
,  
32241 _swigt__p_wxTreeEvent
,  
32242 _swigt__p_wxMouseEvent
,  
32243 _swigt__p_wxCommandEvent
,  
32244 _swigt__p_wxStaticText
,  
32245 _swigt__p_wxControlWithItems
,  
32246 _swigt__p_wxToolBarToolBase
,  
32247 _swigt__p_wxColour
,  
32248 _swigt__p_wxToolBar
,  
32249 _swigt__p_wxBookCtrlSizer
,  
32250 _swigt__p_wxValidator
,  
32255 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ 
32257 static swig_const_info swig_const_table
[] = { 
32267 SWIGEXPORT(void) SWIG_init(void) { 
32268     static PyObject 
*SWIG_globals 
= 0;  
32269     static int       typeinit 
= 0; 
32272     if (!SWIG_globals
) SWIG_globals 
= SWIG_newvarlink(); 
32273     m 
= Py_InitModule((char *) SWIG_name
, SwigMethods
); 
32274     d 
= PyModule_GetDict(m
); 
32277         for (i 
= 0; swig_types_initial
[i
]; i
++) { 
32278             swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]); 
32282     SWIG_InstallConstants(d
,swig_const_table
); 
32284     PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
); 
32285     SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
); 
32286     PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
)); 
32287     PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
)); 
32288     PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
)); 
32289     PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
)); 
32290     PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
)); 
32291     PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
)); 
32292     SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
); 
32293     PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
)); 
32294     PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
)); 
32295     PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
)); 
32296     PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
)); 
32297     PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
)); 
32298     PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
)); 
32299     SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
); 
32300     SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
); 
32301     SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
); 
32302     PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
)); 
32303     PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
)); 
32304     PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
)); 
32305     PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
)); 
32306     SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
); 
32307     SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
); 
32308     SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
); 
32309     SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
); 
32310     SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
); 
32311     PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
)); 
32312     PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
)); 
32313     PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
)); 
32314     PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
)); 
32315     PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
)); 
32316     PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
)); 
32317     PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
)); 
32318     PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
)); 
32319     PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
)); 
32320     PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
)); 
32321     PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
)); 
32322     PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
)); 
32323     PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
)); 
32324     PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
)); 
32325     PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
)); 
32326     PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
)); 
32327     PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
)); 
32328     PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
)); 
32329     PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
)); 
32330     PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
)); 
32331     PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
)); 
32332     PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
)); 
32333     PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
)); 
32334     PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
)); 
32335     PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
)); 
32336     PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
)); 
32337     PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
)); 
32338     PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
)); 
32339     PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
)); 
32340     PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
)); 
32341     PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
)); 
32342     PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
)); 
32343     PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
)); 
32344     PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
)); 
32345     PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
)); 
32346     PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
)); 
32347     PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
)); 
32348     PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
)); 
32349     PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
)); 
32350     PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
)); 
32351     PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
)); 
32352     PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
)); 
32353     PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
)); 
32354     PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
)); 
32355     PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
)); 
32356     SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
); 
32357     SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
); 
32358     SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
); 
32359     PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
)); 
32360     PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
)); 
32361     PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
)); 
32362     PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
)); 
32363     PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
)); 
32364     SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
); 
32365     SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
); 
32366     SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
); 
32367     SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
); 
32368     PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
)); 
32369     SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
); 
32370     PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
)); 
32371     PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
)); 
32372     PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
)); 
32373     PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
)); 
32374     PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
)); 
32375     PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
)); 
32376     PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
)); 
32377     PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
)); 
32378     PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
)); 
32379     PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
)); 
32380     PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
)); 
32381     PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
)); 
32382     PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
)); 
32383     PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
)); 
32384     PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
)); 
32385     PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
)); 
32386     PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
)); 
32387     PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
)); 
32388     PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
)); 
32389     PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
)); 
32390     PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
)); 
32391     PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
)); 
32392     PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
)); 
32393     PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
)); 
32394     PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
)); 
32395     PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
)); 
32396     PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
)); 
32397     PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
)); 
32398     PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
)); 
32399     PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
)); 
32400     PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
)); 
32401     PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
)); 
32402     PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
)); 
32403     PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
)); 
32404     SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
); 
32405     PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
)); 
32406     PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
)); 
32407     PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
)); 
32408     PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
)); 
32409     PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
)); 
32410     PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
)); 
32411     PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
)); 
32412     PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
)); 
32413     PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
)); 
32414     PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
)); 
32415     PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
)); 
32416     PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
)); 
32417     PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
)); 
32418     PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
)); 
32419     PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
)); 
32420     PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
)); 
32421     PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
)); 
32422     PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
)); 
32423     PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
)); 
32424     PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
)); 
32425     PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
)); 
32426     PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
)); 
32427     PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
)); 
32428     PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
)); 
32429     PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
)); 
32430     PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
)); 
32431     PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
)); 
32432     PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
)); 
32433     PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
)); 
32434     PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
)); 
32435     PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
)); 
32436     PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
)); 
32437     PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
)); 
32438     PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
)); 
32439     PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
)); 
32440     PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
)); 
32441     PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
)); 
32442     PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
)); 
32443     PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
)); 
32444     PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
)); 
32445     PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
)); 
32446     PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
)); 
32447     PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
)); 
32448     PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
)); 
32449     PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
)); 
32450     PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
)); 
32451     PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
)); 
32452     PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
)); 
32453     PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
)); 
32454     PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
)); 
32455     PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
)); 
32456     PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
)); 
32457     PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
)); 
32458     PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
)); 
32459     PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
)); 
32460     PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
)); 
32461     PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
)); 
32462     PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
)); 
32463     PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
)); 
32464     PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
)); 
32465     PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
)); 
32466     PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
)); 
32467     PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
)); 
32468     PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
)); 
32469     PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
)); 
32470     PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
)); 
32471     PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
)); 
32472     PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
)); 
32473     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
)); 
32474     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
)); 
32475     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
)); 
32476     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
)); 
32477     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
)); 
32478     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
)); 
32479     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
)); 
32480     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
)); 
32481     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
)); 
32482     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
)); 
32483     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
)); 
32484     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
)); 
32485     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
)); 
32486     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
)); 
32487     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
)); 
32488     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
)); 
32489     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
)); 
32490     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
)); 
32491     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
)); 
32492     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
)); 
32493     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
)); 
32494     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
)); 
32496     // Map renamed classes back to their common name for OOR 
32497     wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl"); 
32499     SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
); 
32500     PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
)); 
32501     PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
)); 
32502     PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
)); 
32503     PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
)); 
32504     PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
)); 
32505     PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
)); 
32506     PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
)); 
32507     PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
)); 
32508     PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
)); 
32509     PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
)); 
32510     PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
)); 
32511     PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
)); 
32512     PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
)); 
32513     PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
)); 
32514     PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
)); 
32515     PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
)); 
32516     PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
)); 
32517     PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
)); 
32518     PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
)); 
32519     PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
)); 
32520     PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
)); 
32521     PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
)); 
32522     PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
)); 
32523     PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
)); 
32524     PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
)); 
32525     PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
)); 
32526     PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
)); 
32527     PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
)); 
32528     PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
)); 
32529     PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
)); 
32530     PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
)); 
32531     PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
)); 
32532     PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
)); 
32533     PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
)); 
32534     PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
)); 
32535     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
)); 
32536     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
)); 
32537     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
)); 
32538     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
)); 
32539     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
)); 
32540     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
)); 
32541     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
)); 
32542     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
)); 
32543     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
)); 
32544     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
)); 
32545     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
)); 
32546     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
)); 
32547     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
)); 
32548     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
)); 
32549     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
)); 
32550     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
)); 
32551     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
)); 
32552     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
)); 
32553     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
)); 
32554     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
)); 
32556     // Map renamed classes back to their common name for OOR 
32557     wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData"); 
32558     wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl"); 
32560     SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
); 
32561     PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
)); 
32562     PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
)); 
32563     PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
)); 
32564     PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
)); 
32565     PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
)); 
32566     PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
)); 
32567     PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
)); 
32568     PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
)); 
32569     PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
)); 
32571     wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");