2  * FILE : src/gtk/cmndlgs.cpp 
   4  * This file was automatically generated by : 
   5  * Simplified Wrapper and Interface Generator (SWIG) 
   6  * Version 1.1 (Build 883) 
   8  * Portions Copyright (c) 1995-1998 
   9  * The University of Utah and The Regents of the University of California. 
  10  * Permission is granted to distribute this file in any manner provided 
  11  * this notice remains intact. 
  13  * Do not make changes to this file--changes will be lost! 
  19 /* Implementation : PYTHON */ 
  26 /* Definitions for Windows/Unix exporting */ 
  27 #if defined(__WIN32__) 
  28 #   if defined(_MSC_VER) 
  29 #       define SWIGEXPORT(a) __declspec(dllexport) a 
  31 #       if defined(__BORLANDC__) 
  32 #           define SWIGEXPORT(a) a _export 
  34 #           define SWIGEXPORT(a) a 
  38 #   define SWIGEXPORT(a) a 
  44 extern void SWIG_MakePtr(char *, void *, char *); 
  45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); 
  46 extern char *SWIG_GetPtr(char *, void **, char *); 
  47 extern char *SWIG_GetPtrObj(PyObject 
*, void **, char *); 
  48 extern void SWIG_addvarlink(PyObject 
*, char *, PyObject 
*(*)(void), int (*)(PyObject 
*)); 
  49 extern PyObject 
*SWIG_newvarlink(void); 
  53 #define SWIG_init    initcmndlgsc 
  55 #define SWIG_name    "cmndlgsc" 
  58 #include <wx/colordlg.h> 
  59 #include <wx/dirdlg.h> 
  60 #include <wx/fontdlg.h> 
  61 #include <wx/progdlg.h> 
  62 #include <wx/fdrepdlg.h> 
  65 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) { 
  71     } else if (target 
== Py_None
) { 
  75         if (!PyTuple_Check(target
)) { 
  77             target 
= PyTuple_New(1); 
  78             PyTuple_SetItem(target
, 0, o2
); 
  81         PyTuple_SetItem(o3
, 0, o
); 
  84         target 
= PySequence_Concat(o2
, o3
); 
  91     // Put some wx default wxChar* values into wxStrings. 
  92     DECLARE_DEF_STRING(FileSelectorPromptStr
); 
  93     DECLARE_DEF_STRING(DirSelectorPromptStr
); 
  94     DECLARE_DEF_STRING(DirDialogNameStr
); 
  95     DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr
); 
  96     DECLARE_DEF_STRING(GetTextFromUserPromptStr
); 
  97     DECLARE_DEF_STRING(MessageBoxCaptionStr
); 
  98     static const wxString 
wxPyEmptyString(wxT("")); 
 103 static void *SwigwxColourDataTowxObject(void *ptr
) { 
 106     src 
= (wxColourData 
*) ptr
; 
 107     dest 
= (wxObject 
*) src
; 
 108     return (void *) dest
; 
 111 #define new_wxColourData() (new wxColourData()) 
 112 static PyObject 
*_wrap_new_wxColourData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 113     PyObject 
* _resultobj
; 
 114     wxColourData 
* _result
; 
 115     char *_kwnames
[] = {  NULL 
}; 
 119     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxColourData",_kwnames
))  
 122     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 123     _result 
= (wxColourData 
*)new_wxColourData(); 
 125     wxPyEndAllowThreads(__tstate
); 
 126     if (PyErr_Occurred()) return NULL
; 
 128         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourData_p"); 
 129         _resultobj 
= Py_BuildValue("s",_ptemp
); 
 132         _resultobj 
= Py_None
; 
 137 #define delete_wxColourData(_swigobj) (delete _swigobj) 
 138 static PyObject 
*_wrap_delete_wxColourData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 139     PyObject 
* _resultobj
; 
 140     wxColourData 
* _arg0
; 
 141     PyObject 
* _argo0 
= 0; 
 142     char *_kwnames
[] = { "self", NULL 
}; 
 145     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColourData",_kwnames
,&_argo0
))  
 148         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 149         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) { 
 150             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColourData. Expected _wxColourData_p."); 
 155     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 156     delete_wxColourData(_arg0
); 
 158     wxPyEndAllowThreads(__tstate
); 
 159     if (PyErr_Occurred()) return NULL
; 
 160 }    Py_INCREF(Py_None
); 
 161     _resultobj 
= Py_None
; 
 165 #define wxColourData_GetChooseFull(_swigobj)  (_swigobj->GetChooseFull()) 
 166 static PyObject 
*_wrap_wxColourData_GetChooseFull(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 167     PyObject 
* _resultobj
; 
 169     wxColourData 
* _arg0
; 
 170     PyObject 
* _argo0 
= 0; 
 171     char *_kwnames
[] = { "self", NULL 
}; 
 174     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourData_GetChooseFull",_kwnames
,&_argo0
))  
 177         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 178         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) { 
 179             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetChooseFull. Expected _wxColourData_p."); 
 184     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 185     _result 
= (bool )wxColourData_GetChooseFull(_arg0
); 
 187     wxPyEndAllowThreads(__tstate
); 
 188     if (PyErr_Occurred()) return NULL
; 
 189 }    _resultobj 
= Py_BuildValue("i",_result
); 
 193 #define wxColourData_GetColour(_swigobj)  (_swigobj->GetColour()) 
 194 static PyObject 
*_wrap_wxColourData_GetColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 195     PyObject 
* _resultobj
; 
 197     wxColourData 
* _arg0
; 
 198     PyObject 
* _argo0 
= 0; 
 199     char *_kwnames
[] = { "self", NULL 
}; 
 203     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourData_GetColour",_kwnames
,&_argo0
))  
 206         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 207         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) { 
 208             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetColour. Expected _wxColourData_p."); 
 213     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 214     _result 
= new wxColour (wxColourData_GetColour(_arg0
)); 
 216     wxPyEndAllowThreads(__tstate
); 
 217     if (PyErr_Occurred()) return NULL
; 
 218 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p"); 
 219     _resultobj 
= Py_BuildValue("s",_ptemp
); 
 223 #define wxColourData_GetCustomColour(_swigobj,_swigarg0)  (_swigobj->GetCustomColour(_swigarg0)) 
 224 static PyObject 
*_wrap_wxColourData_GetCustomColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 225     PyObject 
* _resultobj
; 
 227     wxColourData 
* _arg0
; 
 229     PyObject 
* _argo0 
= 0; 
 230     char *_kwnames
[] = { "self","i", NULL 
}; 
 234     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxColourData_GetCustomColour",_kwnames
,&_argo0
,&_arg1
))  
 237         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 238         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) { 
 239             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_GetCustomColour. Expected _wxColourData_p."); 
 244     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 245     _result 
= new wxColour (wxColourData_GetCustomColour(_arg0
,_arg1
)); 
 247     wxPyEndAllowThreads(__tstate
); 
 248     if (PyErr_Occurred()) return NULL
; 
 249 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p"); 
 250     _resultobj 
= Py_BuildValue("s",_ptemp
); 
 254 #define wxColourData_SetChooseFull(_swigobj,_swigarg0)  (_swigobj->SetChooseFull(_swigarg0)) 
 255 static PyObject 
*_wrap_wxColourData_SetChooseFull(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 256     PyObject 
* _resultobj
; 
 257     wxColourData 
* _arg0
; 
 259     PyObject 
* _argo0 
= 0; 
 260     char *_kwnames
[] = { "self","flag", NULL 
}; 
 263     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxColourData_SetChooseFull",_kwnames
,&_argo0
,&_arg1
))  
 266         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 267         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) { 
 268             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetChooseFull. Expected _wxColourData_p."); 
 273     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 274     wxColourData_SetChooseFull(_arg0
,_arg1
); 
 276     wxPyEndAllowThreads(__tstate
); 
 277     if (PyErr_Occurred()) return NULL
; 
 278 }    Py_INCREF(Py_None
); 
 279     _resultobj 
= Py_None
; 
 283 #define wxColourData_SetColour(_swigobj,_swigarg0)  (_swigobj->SetColour(_swigarg0)) 
 284 static PyObject 
*_wrap_wxColourData_SetColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 285     PyObject 
* _resultobj
; 
 286     wxColourData 
* _arg0
; 
 288     PyObject 
* _argo0 
= 0; 
 290     PyObject 
* _obj1 
= 0; 
 291     char *_kwnames
[] = { "self","colour", NULL 
}; 
 294     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourData_SetColour",_kwnames
,&_argo0
,&_obj1
))  
 297         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 298         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) { 
 299             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetColour. Expected _wxColourData_p."); 
 305     if (! wxColour_helper(_obj1
, &_arg1
)) 
 309     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 310     wxColourData_SetColour(_arg0
,*_arg1
); 
 312     wxPyEndAllowThreads(__tstate
); 
 313     if (PyErr_Occurred()) return NULL
; 
 314 }    Py_INCREF(Py_None
); 
 315     _resultobj 
= Py_None
; 
 319 #define wxColourData_SetCustomColour(_swigobj,_swigarg0,_swigarg1)  (_swigobj->SetCustomColour(_swigarg0,_swigarg1)) 
 320 static PyObject 
*_wrap_wxColourData_SetCustomColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 321     PyObject 
* _resultobj
; 
 322     wxColourData 
* _arg0
; 
 325     PyObject 
* _argo0 
= 0; 
 327     PyObject 
* _obj2 
= 0; 
 328     char *_kwnames
[] = { "self","i","colour", NULL 
}; 
 331     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxColourData_SetCustomColour",_kwnames
,&_argo0
,&_arg1
,&_obj2
))  
 334         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 335         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourData_p")) { 
 336             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourData_SetCustomColour. Expected _wxColourData_p."); 
 342     if (! wxColour_helper(_obj2
, &_arg2
)) 
 346     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 347     wxColourData_SetCustomColour(_arg0
,_arg1
,*_arg2
); 
 349     wxPyEndAllowThreads(__tstate
); 
 350     if (PyErr_Occurred()) return NULL
; 
 351 }    Py_INCREF(Py_None
); 
 352     _resultobj 
= Py_None
; 
 356 static void *SwigwxColourDialogTowxDialog(void *ptr
) { 
 359     src 
= (wxColourDialog 
*) ptr
; 
 360     dest 
= (wxDialog 
*) src
; 
 361     return (void *) dest
; 
 364 static void *SwigwxColourDialogTowxTopLevelWindow(void *ptr
) { 
 366     wxTopLevelWindow 
*dest
; 
 367     src 
= (wxColourDialog 
*) ptr
; 
 368     dest 
= (wxTopLevelWindow 
*) src
; 
 369     return (void *) dest
; 
 372 static void *SwigwxColourDialogTowxWindow(void *ptr
) { 
 375     src 
= (wxColourDialog 
*) ptr
; 
 376     dest 
= (wxWindow 
*) src
; 
 377     return (void *) dest
; 
 380 static void *SwigwxColourDialogTowxEvtHandler(void *ptr
) { 
 383     src 
= (wxColourDialog 
*) ptr
; 
 384     dest 
= (wxEvtHandler 
*) src
; 
 385     return (void *) dest
; 
 388 static void *SwigwxColourDialogTowxObject(void *ptr
) { 
 391     src 
= (wxColourDialog 
*) ptr
; 
 392     dest 
= (wxObject 
*) src
; 
 393     return (void *) dest
; 
 396 #define new_wxColourDialog(_swigarg0,_swigarg1) (new wxColourDialog(_swigarg0,_swigarg1)) 
 397 static PyObject 
*_wrap_new_wxColourDialog(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 398     PyObject 
* _resultobj
; 
 399     wxColourDialog 
* _result
; 
 401     wxColourData 
* _arg1 
= (wxColourData 
*) NULL
; 
 402     PyObject 
* _argo0 
= 0; 
 403     PyObject 
* _argo1 
= 0; 
 404     char *_kwnames
[] = { "parent","data", NULL 
}; 
 408     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxColourDialog",_kwnames
,&_argo0
,&_argo1
))  
 411         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 412         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
 413             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxColourDialog. Expected _wxWindow_p."); 
 418         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
 419         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColourData_p")) { 
 420             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxColourDialog. Expected _wxColourData_p."); 
 425     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 426     _result 
= (wxColourDialog 
*)new_wxColourDialog(_arg0
,_arg1
); 
 428     wxPyEndAllowThreads(__tstate
); 
 429     if (PyErr_Occurred()) return NULL
; 
 431         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourDialog_p"); 
 432         _resultobj 
= Py_BuildValue("s",_ptemp
); 
 435         _resultobj 
= Py_None
; 
 440 #define wxColourDialog_GetColourData(_swigobj)  (_swigobj->GetColourData()) 
 441 static PyObject 
*_wrap_wxColourDialog_GetColourData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 442     PyObject 
* _resultobj
; 
 443     wxColourData 
* _result
; 
 444     wxColourDialog 
* _arg0
; 
 445     PyObject 
* _argo0 
= 0; 
 446     char *_kwnames
[] = { "self", NULL 
}; 
 450     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourDialog_GetColourData",_kwnames
,&_argo0
))  
 453         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 454         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDialog_p")) { 
 455             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDialog_GetColourData. Expected _wxColourDialog_p."); 
 460     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 461     wxColourData 
& _result_ref 
= wxColourDialog_GetColourData(_arg0
); 
 462     _result 
= (wxColourData 
*) &_result_ref
; 
 464     wxPyEndAllowThreads(__tstate
); 
 465     if (PyErr_Occurred()) return NULL
; 
 467         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourData_p"); 
 468         _resultobj 
= Py_BuildValue("s",_ptemp
); 
 471         _resultobj 
= Py_None
; 
 476 #define wxColourDialog_ShowModal(_swigobj)  (_swigobj->ShowModal()) 
 477 static PyObject 
*_wrap_wxColourDialog_ShowModal(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 478     PyObject 
* _resultobj
; 
 480     wxColourDialog 
* _arg0
; 
 481     PyObject 
* _argo0 
= 0; 
 482     char *_kwnames
[] = { "self", NULL 
}; 
 485     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColourDialog_ShowModal",_kwnames
,&_argo0
))  
 488         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 489         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDialog_p")) { 
 490             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDialog_ShowModal. Expected _wxColourDialog_p."); 
 495     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 496     _result 
= (int )wxColourDialog_ShowModal(_arg0
); 
 498     wxPyEndAllowThreads(__tstate
); 
 499     if (PyErr_Occurred()) return NULL
; 
 500 }    _resultobj 
= Py_BuildValue("i",_result
); 
 504 static void *SwigwxDirDialogTowxDialog(void *ptr
) { 
 507     src 
= (wxDirDialog 
*) ptr
; 
 508     dest 
= (wxDialog 
*) src
; 
 509     return (void *) dest
; 
 512 static void *SwigwxDirDialogTowxTopLevelWindow(void *ptr
) { 
 514     wxTopLevelWindow 
*dest
; 
 515     src 
= (wxDirDialog 
*) ptr
; 
 516     dest 
= (wxTopLevelWindow 
*) src
; 
 517     return (void *) dest
; 
 520 static void *SwigwxDirDialogTowxWindow(void *ptr
) { 
 523     src 
= (wxDirDialog 
*) ptr
; 
 524     dest 
= (wxWindow 
*) src
; 
 525     return (void *) dest
; 
 528 static void *SwigwxDirDialogTowxEvtHandler(void *ptr
) { 
 531     src 
= (wxDirDialog 
*) ptr
; 
 532     dest 
= (wxEvtHandler 
*) src
; 
 533     return (void *) dest
; 
 536 static void *SwigwxDirDialogTowxObject(void *ptr
) { 
 539     src 
= (wxDirDialog 
*) ptr
; 
 540     dest 
= (wxObject 
*) src
; 
 541     return (void *) dest
; 
 544 #define new_wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDirDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) 
 545 static PyObject 
*_wrap_new_wxDirDialog(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 546     PyObject 
* _resultobj
; 
 547     wxDirDialog 
* _result
; 
 549     wxString 
* _arg1 
= (wxString 
*) &wxPyDirSelectorPromptStr
; 
 550     wxString 
* _arg2 
= (wxString 
*) &wxPyEmptyString
; 
 551     long  _arg3 
= (long ) 0; 
 552     wxPoint 
* _arg4 
= (wxPoint 
*) &wxDefaultPosition
; 
 553     wxSize 
* _arg5 
= (wxSize 
*) &wxDefaultSize
; 
 554     wxString 
* _arg6 
= (wxString 
*) &wxPyDirDialogNameStr
; 
 555     PyObject 
* _argo0 
= 0; 
 556     PyObject 
* _obj1 
= 0; 
 557     PyObject 
* _obj2 
= 0; 
 559     PyObject 
* _obj4 
= 0; 
 561     PyObject 
* _obj5 
= 0; 
 562     PyObject 
* _obj6 
= 0; 
 563     char *_kwnames
[] = { "parent","message","defaultPath","style","pos","size","name", NULL 
}; 
 567     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOlOOO:new_wxDirDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_obj4
,&_obj5
,&_obj6
))  
 570         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 571         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
 572             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDirDialog. Expected _wxWindow_p."); 
 578     _arg1 
= wxString_in_helper(_obj1
); 
 584     _arg2 
= wxString_in_helper(_obj2
); 
 591     if (! wxPoint_helper(_obj4
, &_arg4
)) 
 597     if (! wxSize_helper(_obj5
, &_arg5
)) 
 602     _arg6 
= wxString_in_helper(_obj6
); 
 607     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 608     _result 
= (wxDirDialog 
*)new_wxDirDialog(_arg0
,*_arg1
,*_arg2
,_arg3
,*_arg4
,*_arg5
,*_arg6
); 
 610     wxPyEndAllowThreads(__tstate
); 
 611     if (PyErr_Occurred()) return NULL
; 
 613         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirDialog_p"); 
 614         _resultobj 
= Py_BuildValue("s",_ptemp
); 
 617         _resultobj 
= Py_None
; 
 634 #define wxDirDialog_GetPath(_swigobj)  (_swigobj->GetPath()) 
 635 static PyObject 
*_wrap_wxDirDialog_GetPath(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 636     PyObject 
* _resultobj
; 
 639     PyObject 
* _argo0 
= 0; 
 640     char *_kwnames
[] = { "self", NULL 
}; 
 643     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetPath",_kwnames
,&_argo0
))  
 646         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 647         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) { 
 648             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetPath. Expected _wxDirDialog_p."); 
 653     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 654     _result 
= new wxString (wxDirDialog_GetPath(_arg0
)); 
 656     wxPyEndAllowThreads(__tstate
); 
 657     if (PyErr_Occurred()) return NULL
; 
 660     _resultobj 
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len()); 
 662     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 671 #define wxDirDialog_GetMessage(_swigobj)  (_swigobj->GetMessage()) 
 672 static PyObject 
*_wrap_wxDirDialog_GetMessage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 673     PyObject 
* _resultobj
; 
 676     PyObject 
* _argo0 
= 0; 
 677     char *_kwnames
[] = { "self", NULL 
}; 
 680     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetMessage",_kwnames
,&_argo0
))  
 683         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 684         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) { 
 685             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetMessage. Expected _wxDirDialog_p."); 
 690     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 691     _result 
= new wxString (wxDirDialog_GetMessage(_arg0
)); 
 693     wxPyEndAllowThreads(__tstate
); 
 694     if (PyErr_Occurred()) return NULL
; 
 697     _resultobj 
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len()); 
 699     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 708 #define wxDirDialog_GetStyle(_swigobj)  (_swigobj->GetStyle()) 
 709 static PyObject 
*_wrap_wxDirDialog_GetStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 710     PyObject 
* _resultobj
; 
 713     PyObject 
* _argo0 
= 0; 
 714     char *_kwnames
[] = { "self", NULL 
}; 
 717     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_GetStyle",_kwnames
,&_argo0
))  
 720         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 721         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) { 
 722             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_GetStyle. Expected _wxDirDialog_p."); 
 727     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 728     _result 
= (long )wxDirDialog_GetStyle(_arg0
); 
 730     wxPyEndAllowThreads(__tstate
); 
 731     if (PyErr_Occurred()) return NULL
; 
 732 }    _resultobj 
= Py_BuildValue("l",_result
); 
 736 #define wxDirDialog_SetMessage(_swigobj,_swigarg0)  (_swigobj->SetMessage(_swigarg0)) 
 737 static PyObject 
*_wrap_wxDirDialog_SetMessage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 738     PyObject 
* _resultobj
; 
 741     PyObject 
* _argo0 
= 0; 
 742     PyObject 
* _obj1 
= 0; 
 743     char *_kwnames
[] = { "self","message", NULL 
}; 
 746     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirDialog_SetMessage",_kwnames
,&_argo0
,&_obj1
))  
 749         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 750         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) { 
 751             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_SetMessage. Expected _wxDirDialog_p."); 
 756     _arg1 
= wxString_in_helper(_obj1
); 
 761     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 762     wxDirDialog_SetMessage(_arg0
,*_arg1
); 
 764     wxPyEndAllowThreads(__tstate
); 
 765     if (PyErr_Occurred()) return NULL
; 
 766 }    Py_INCREF(Py_None
); 
 767     _resultobj 
= Py_None
; 
 775 #define wxDirDialog_SetPath(_swigobj,_swigarg0)  (_swigobj->SetPath(_swigarg0)) 
 776 static PyObject 
*_wrap_wxDirDialog_SetPath(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 777     PyObject 
* _resultobj
; 
 780     PyObject 
* _argo0 
= 0; 
 781     PyObject 
* _obj1 
= 0; 
 782     char *_kwnames
[] = { "self","path", NULL 
}; 
 785     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirDialog_SetPath",_kwnames
,&_argo0
,&_obj1
))  
 788         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 789         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) { 
 790             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_SetPath. Expected _wxDirDialog_p."); 
 795     _arg1 
= wxString_in_helper(_obj1
); 
 800     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 801     wxDirDialog_SetPath(_arg0
,*_arg1
); 
 803     wxPyEndAllowThreads(__tstate
); 
 804     if (PyErr_Occurred()) return NULL
; 
 805 }    Py_INCREF(Py_None
); 
 806     _resultobj 
= Py_None
; 
 814 #define wxDirDialog_ShowModal(_swigobj)  (_swigobj->ShowModal()) 
 815 static PyObject 
*_wrap_wxDirDialog_ShowModal(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 816     PyObject 
* _resultobj
; 
 819     PyObject 
* _argo0 
= 0; 
 820     char *_kwnames
[] = { "self", NULL 
}; 
 823     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirDialog_ShowModal",_kwnames
,&_argo0
))  
 826         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 827         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirDialog_p")) { 
 828             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirDialog_ShowModal. Expected _wxDirDialog_p."); 
 833     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 834     _result 
= (int )wxDirDialog_ShowModal(_arg0
); 
 836     wxPyEndAllowThreads(__tstate
); 
 837     if (PyErr_Occurred()) return NULL
; 
 838 }    _resultobj 
= Py_BuildValue("i",_result
); 
 842 static void *SwigwxFileDialogTowxDialog(void *ptr
) { 
 845     src 
= (wxFileDialog 
*) ptr
; 
 846     dest 
= (wxDialog 
*) src
; 
 847     return (void *) dest
; 
 850 static void *SwigwxFileDialogTowxTopLevelWindow(void *ptr
) { 
 852     wxTopLevelWindow 
*dest
; 
 853     src 
= (wxFileDialog 
*) ptr
; 
 854     dest 
= (wxTopLevelWindow 
*) src
; 
 855     return (void *) dest
; 
 858 static void *SwigwxFileDialogTowxWindow(void *ptr
) { 
 861     src 
= (wxFileDialog 
*) ptr
; 
 862     dest 
= (wxWindow 
*) src
; 
 863     return (void *) dest
; 
 866 static void *SwigwxFileDialogTowxEvtHandler(void *ptr
) { 
 869     src 
= (wxFileDialog 
*) ptr
; 
 870     dest 
= (wxEvtHandler 
*) src
; 
 871     return (void *) dest
; 
 874 static void *SwigwxFileDialogTowxObject(void *ptr
) { 
 877     src 
= (wxFileDialog 
*) ptr
; 
 878     dest 
= (wxObject 
*) src
; 
 879     return (void *) dest
; 
 882 #define new_wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFileDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) 
 883 static PyObject 
*_wrap_new_wxFileDialog(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 884     PyObject 
* _resultobj
; 
 885     wxFileDialog 
* _result
; 
 887     wxString 
* _arg1 
= (wxString 
*) &wxPyFileSelectorPromptStr
; 
 888     wxString 
* _arg2 
= (wxString 
*) &wxPyEmptyString
; 
 889     wxString 
* _arg3 
= (wxString 
*) &wxPyEmptyString
; 
 890     wxString 
* _arg4 
= (wxString 
*) &wxPyFileSelectorDefaultWildcardStr
; 
 891     long  _arg5 
= (long ) 0; 
 892     wxPoint 
* _arg6 
= (wxPoint 
*) &wxDefaultPosition
; 
 893     PyObject 
* _argo0 
= 0; 
 894     PyObject 
* _obj1 
= 0; 
 895     PyObject 
* _obj2 
= 0; 
 896     PyObject 
* _obj3 
= 0; 
 897     PyObject 
* _obj4 
= 0; 
 899     PyObject 
* _obj6 
= 0; 
 900     char *_kwnames
[] = { "parent","message","defaultDir","defaultFile","wildcard","style","pos", NULL 
}; 
 904     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOOlO:new_wxFileDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))  
 907         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 908         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
 909             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileDialog. Expected _wxWindow_p."); 
 915     _arg1 
= wxString_in_helper(_obj1
); 
 921     _arg2 
= wxString_in_helper(_obj2
); 
 927     _arg3 
= wxString_in_helper(_obj3
); 
 933     _arg4 
= wxString_in_helper(_obj4
); 
 940     if (! wxPoint_helper(_obj6
, &_arg6
)) 
 944     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 945     _result 
= (wxFileDialog 
*)new_wxFileDialog(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
); 
 947     wxPyEndAllowThreads(__tstate
); 
 948     if (PyErr_Occurred()) return NULL
; 
 950         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileDialog_p"); 
 951         _resultobj 
= Py_BuildValue("s",_ptemp
); 
 954         _resultobj 
= Py_None
; 
 975 #define wxFileDialog_SetMessage(_swigobj,_swigarg0)  (_swigobj->SetMessage(_swigarg0)) 
 976 static PyObject 
*_wrap_wxFileDialog_SetMessage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 977     PyObject 
* _resultobj
; 
 978     wxFileDialog 
* _arg0
; 
 980     PyObject 
* _argo0 
= 0; 
 981     PyObject 
* _obj1 
= 0; 
 982     char *_kwnames
[] = { "self","message", NULL 
}; 
 985     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetMessage",_kwnames
,&_argo0
,&_obj1
))  
 988         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 989         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) { 
 990             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetMessage. Expected _wxFileDialog_p."); 
 995     _arg1 
= wxString_in_helper(_obj1
); 
1000     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1001     wxFileDialog_SetMessage(_arg0
,*_arg1
); 
1003     wxPyEndAllowThreads(__tstate
); 
1004     if (PyErr_Occurred()) return NULL
; 
1005 }    Py_INCREF(Py_None
); 
1006     _resultobj 
= Py_None
; 
1014 #define wxFileDialog_SetPath(_swigobj,_swigarg0)  (_swigobj->SetPath(_swigarg0)) 
1015 static PyObject 
*_wrap_wxFileDialog_SetPath(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1016     PyObject 
* _resultobj
; 
1017     wxFileDialog 
* _arg0
; 
1019     PyObject 
* _argo0 
= 0; 
1020     PyObject 
* _obj1 
= 0; 
1021     char *_kwnames
[] = { "self","path", NULL 
}; 
1024     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetPath",_kwnames
,&_argo0
,&_obj1
))  
1027         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1028         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) { 
1029             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetPath. Expected _wxFileDialog_p."); 
1034     _arg1 
= wxString_in_helper(_obj1
); 
1039     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1040     wxFileDialog_SetPath(_arg0
,*_arg1
); 
1042     wxPyEndAllowThreads(__tstate
); 
1043     if (PyErr_Occurred()) return NULL
; 
1044 }    Py_INCREF(Py_None
); 
1045     _resultobj 
= Py_None
; 
1053 #define wxFileDialog_SetDirectory(_swigobj,_swigarg0)  (_swigobj->SetDirectory(_swigarg0)) 
1054 static PyObject 
*_wrap_wxFileDialog_SetDirectory(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1055     PyObject 
* _resultobj
; 
1056     wxFileDialog 
* _arg0
; 
1058     PyObject 
* _argo0 
= 0; 
1059     PyObject 
* _obj1 
= 0; 
1060     char *_kwnames
[] = { "self","dir", NULL 
}; 
1063     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetDirectory",_kwnames
,&_argo0
,&_obj1
))  
1066         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1067         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) { 
1068             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetDirectory. Expected _wxFileDialog_p."); 
1073     _arg1 
= wxString_in_helper(_obj1
); 
1078     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1079     wxFileDialog_SetDirectory(_arg0
,*_arg1
); 
1081     wxPyEndAllowThreads(__tstate
); 
1082     if (PyErr_Occurred()) return NULL
; 
1083 }    Py_INCREF(Py_None
); 
1084     _resultobj 
= Py_None
; 
1092 #define wxFileDialog_SetFilename(_swigobj,_swigarg0)  (_swigobj->SetFilename(_swigarg0)) 
1093 static PyObject 
*_wrap_wxFileDialog_SetFilename(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1094     PyObject 
* _resultobj
; 
1095     wxFileDialog 
* _arg0
; 
1097     PyObject 
* _argo0 
= 0; 
1098     PyObject 
* _obj1 
= 0; 
1099     char *_kwnames
[] = { "self","name", NULL 
}; 
1102     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetFilename",_kwnames
,&_argo0
,&_obj1
))  
1105         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1106         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) { 
1107             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetFilename. Expected _wxFileDialog_p."); 
1112     _arg1 
= wxString_in_helper(_obj1
); 
1117     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1118     wxFileDialog_SetFilename(_arg0
,*_arg1
); 
1120     wxPyEndAllowThreads(__tstate
); 
1121     if (PyErr_Occurred()) return NULL
; 
1122 }    Py_INCREF(Py_None
); 
1123     _resultobj 
= Py_None
; 
1131 #define wxFileDialog_SetWildcard(_swigobj,_swigarg0)  (_swigobj->SetWildcard(_swigarg0)) 
1132 static PyObject 
*_wrap_wxFileDialog_SetWildcard(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1133     PyObject 
* _resultobj
; 
1134     wxFileDialog 
* _arg0
; 
1136     PyObject 
* _argo0 
= 0; 
1137     PyObject 
* _obj1 
= 0; 
1138     char *_kwnames
[] = { "self","wildCard", NULL 
}; 
1141     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDialog_SetWildcard",_kwnames
,&_argo0
,&_obj1
))  
1144         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1145         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) { 
1146             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetWildcard. Expected _wxFileDialog_p."); 
1151     _arg1 
= wxString_in_helper(_obj1
); 
1156     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1157     wxFileDialog_SetWildcard(_arg0
,*_arg1
); 
1159     wxPyEndAllowThreads(__tstate
); 
1160     if (PyErr_Occurred()) return NULL
; 
1161 }    Py_INCREF(Py_None
); 
1162     _resultobj 
= Py_None
; 
1170 #define wxFileDialog_SetStyle(_swigobj,_swigarg0)  (_swigobj->SetStyle(_swigarg0)) 
1171 static PyObject 
*_wrap_wxFileDialog_SetStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1172     PyObject 
* _resultobj
; 
1173     wxFileDialog 
* _arg0
; 
1175     PyObject 
* _argo0 
= 0; 
1176     char *_kwnames
[] = { "self","style", NULL 
}; 
1179     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxFileDialog_SetStyle",_kwnames
,&_argo0
,&_arg1
))  
1182         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1183         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) { 
1184             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetStyle. Expected _wxFileDialog_p."); 
1189     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1190     wxFileDialog_SetStyle(_arg0
,_arg1
); 
1192     wxPyEndAllowThreads(__tstate
); 
1193     if (PyErr_Occurred()) return NULL
; 
1194 }    Py_INCREF(Py_None
); 
1195     _resultobj 
= Py_None
; 
1199 #define wxFileDialog_SetFilterIndex(_swigobj,_swigarg0)  (_swigobj->SetFilterIndex(_swigarg0)) 
1200 static PyObject 
*_wrap_wxFileDialog_SetFilterIndex(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1201     PyObject 
* _resultobj
; 
1202     wxFileDialog 
* _arg0
; 
1204     PyObject 
* _argo0 
= 0; 
1205     char *_kwnames
[] = { "self","filterIndex", NULL 
}; 
1208     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileDialog_SetFilterIndex",_kwnames
,&_argo0
,&_arg1
))  
1211         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1212         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) { 
1213             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_SetFilterIndex. Expected _wxFileDialog_p."); 
1218     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1219     wxFileDialog_SetFilterIndex(_arg0
,_arg1
); 
1221     wxPyEndAllowThreads(__tstate
); 
1222     if (PyErr_Occurred()) return NULL
; 
1223 }    Py_INCREF(Py_None
); 
1224     _resultobj 
= Py_None
; 
1228 #define wxFileDialog_GetMessage(_swigobj)  (_swigobj->GetMessage()) 
1229 static PyObject 
*_wrap_wxFileDialog_GetMessage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1230     PyObject 
* _resultobj
; 
1232     wxFileDialog 
* _arg0
; 
1233     PyObject 
* _argo0 
= 0; 
1234     char *_kwnames
[] = { "self", NULL 
}; 
1237     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetMessage",_kwnames
,&_argo0
))  
1240         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1241         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) { 
1242             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetMessage. Expected _wxFileDialog_p."); 
1247     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1248     _result 
= new wxString (wxFileDialog_GetMessage(_arg0
)); 
1250     wxPyEndAllowThreads(__tstate
); 
1251     if (PyErr_Occurred()) return NULL
; 
1254     _resultobj 
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len()); 
1256     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
1265 #define wxFileDialog_GetPath(_swigobj)  (_swigobj->GetPath()) 
1266 static PyObject 
*_wrap_wxFileDialog_GetPath(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1267     PyObject 
* _resultobj
; 
1269     wxFileDialog 
* _arg0
; 
1270     PyObject 
* _argo0 
= 0; 
1271     char *_kwnames
[] = { "self", NULL 
}; 
1274     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetPath",_kwnames
,&_argo0
))  
1277         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1278         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) { 
1279             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetPath. Expected _wxFileDialog_p."); 
1284     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1285     _result 
= new wxString (wxFileDialog_GetPath(_arg0
)); 
1287     wxPyEndAllowThreads(__tstate
); 
1288     if (PyErr_Occurred()) return NULL
; 
1291     _resultobj 
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len()); 
1293     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
1302 #define wxFileDialog_GetDirectory(_swigobj)  (_swigobj->GetDirectory()) 
1303 static PyObject 
*_wrap_wxFileDialog_GetDirectory(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1304     PyObject 
* _resultobj
; 
1306     wxFileDialog 
* _arg0
; 
1307     PyObject 
* _argo0 
= 0; 
1308     char *_kwnames
[] = { "self", NULL 
}; 
1311     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetDirectory",_kwnames
,&_argo0
))  
1314         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1315         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) { 
1316             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetDirectory. Expected _wxFileDialog_p."); 
1321     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1322     _result 
= new wxString (wxFileDialog_GetDirectory(_arg0
)); 
1324     wxPyEndAllowThreads(__tstate
); 
1325     if (PyErr_Occurred()) return NULL
; 
1328     _resultobj 
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len()); 
1330     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
1339 #define wxFileDialog_GetFilename(_swigobj)  (_swigobj->GetFilename()) 
1340 static PyObject 
*_wrap_wxFileDialog_GetFilename(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1341     PyObject 
* _resultobj
; 
1343     wxFileDialog 
* _arg0
; 
1344     PyObject 
* _argo0 
= 0; 
1345     char *_kwnames
[] = { "self", NULL 
}; 
1348     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilename",_kwnames
,&_argo0
))  
1351         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1352         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) { 
1353             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilename. Expected _wxFileDialog_p."); 
1358     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1359     _result 
= new wxString (wxFileDialog_GetFilename(_arg0
)); 
1361     wxPyEndAllowThreads(__tstate
); 
1362     if (PyErr_Occurred()) return NULL
; 
1365     _resultobj 
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len()); 
1367     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
1376 #define wxFileDialog_GetWildcard(_swigobj)  (_swigobj->GetWildcard()) 
1377 static PyObject 
*_wrap_wxFileDialog_GetWildcard(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1378     PyObject 
* _resultobj
; 
1380     wxFileDialog 
* _arg0
; 
1381     PyObject 
* _argo0 
= 0; 
1382     char *_kwnames
[] = { "self", NULL 
}; 
1385     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetWildcard",_kwnames
,&_argo0
))  
1388         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1389         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) { 
1390             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetWildcard. Expected _wxFileDialog_p."); 
1395     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1396     _result 
= new wxString (wxFileDialog_GetWildcard(_arg0
)); 
1398     wxPyEndAllowThreads(__tstate
); 
1399     if (PyErr_Occurred()) return NULL
; 
1402     _resultobj 
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len()); 
1404     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
1413 #define wxFileDialog_GetStyle(_swigobj)  (_swigobj->GetStyle()) 
1414 static PyObject 
*_wrap_wxFileDialog_GetStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1415     PyObject 
* _resultobj
; 
1417     wxFileDialog 
* _arg0
; 
1418     PyObject 
* _argo0 
= 0; 
1419     char *_kwnames
[] = { "self", NULL 
}; 
1422     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetStyle",_kwnames
,&_argo0
))  
1425         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1426         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) { 
1427             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetStyle. Expected _wxFileDialog_p."); 
1432     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1433     _result 
= (long )wxFileDialog_GetStyle(_arg0
); 
1435     wxPyEndAllowThreads(__tstate
); 
1436     if (PyErr_Occurred()) return NULL
; 
1437 }    _resultobj 
= Py_BuildValue("l",_result
); 
1441 #define wxFileDialog_GetFilterIndex(_swigobj)  (_swigobj->GetFilterIndex()) 
1442 static PyObject 
*_wrap_wxFileDialog_GetFilterIndex(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1443     PyObject 
* _resultobj
; 
1445     wxFileDialog 
* _arg0
; 
1446     PyObject 
* _argo0 
= 0; 
1447     char *_kwnames
[] = { "self", NULL 
}; 
1450     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilterIndex",_kwnames
,&_argo0
))  
1453         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1454         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) { 
1455             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilterIndex. Expected _wxFileDialog_p."); 
1460     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1461     _result 
= (int )wxFileDialog_GetFilterIndex(_arg0
); 
1463     wxPyEndAllowThreads(__tstate
); 
1464     if (PyErr_Occurred()) return NULL
; 
1465 }    _resultobj 
= Py_BuildValue("i",_result
); 
1469 static PyObject 
* wxFileDialog_GetFilenames(wxFileDialog 
*self
) { 
1471             self
->GetFilenames(arr
); 
1472             return wxArrayString2PyList_helper(arr
); 
1474 static PyObject 
*_wrap_wxFileDialog_GetFilenames(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1475     PyObject 
* _resultobj
; 
1477     wxFileDialog 
* _arg0
; 
1478     PyObject 
* _argo0 
= 0; 
1479     char *_kwnames
[] = { "self", NULL 
}; 
1482     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetFilenames",_kwnames
,&_argo0
))  
1485         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1486         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) { 
1487             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetFilenames. Expected _wxFileDialog_p."); 
1492     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1493     _result 
= (PyObject 
*)wxFileDialog_GetFilenames(_arg0
); 
1495     wxPyEndAllowThreads(__tstate
); 
1496     if (PyErr_Occurred()) return NULL
; 
1498   _resultobj 
= _result
; 
1503 static PyObject 
* wxFileDialog_GetPaths(wxFileDialog 
*self
) { 
1505             self
->GetPaths(arr
); 
1506             return wxArrayString2PyList_helper(arr
); 
1508 static PyObject 
*_wrap_wxFileDialog_GetPaths(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1509     PyObject 
* _resultobj
; 
1511     wxFileDialog 
* _arg0
; 
1512     PyObject 
* _argo0 
= 0; 
1513     char *_kwnames
[] = { "self", NULL 
}; 
1516     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDialog_GetPaths",_kwnames
,&_argo0
))  
1519         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1520         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDialog_p")) { 
1521             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDialog_GetPaths. Expected _wxFileDialog_p."); 
1526     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1527     _result 
= (PyObject 
*)wxFileDialog_GetPaths(_arg0
); 
1529     wxPyEndAllowThreads(__tstate
); 
1530     if (PyErr_Occurred()) return NULL
; 
1532   _resultobj 
= _result
; 
1537 static void *SwigwxMultiChoiceDialogTowxDialog(void *ptr
) { 
1538     wxMultiChoiceDialog 
*src
; 
1540     src 
= (wxMultiChoiceDialog 
*) ptr
; 
1541     dest 
= (wxDialog 
*) src
; 
1542     return (void *) dest
; 
1545 static void *SwigwxMultiChoiceDialogTowxTopLevelWindow(void *ptr
) { 
1546     wxMultiChoiceDialog 
*src
; 
1547     wxTopLevelWindow 
*dest
; 
1548     src 
= (wxMultiChoiceDialog 
*) ptr
; 
1549     dest 
= (wxTopLevelWindow 
*) src
; 
1550     return (void *) dest
; 
1553 static void *SwigwxMultiChoiceDialogTowxWindow(void *ptr
) { 
1554     wxMultiChoiceDialog 
*src
; 
1556     src 
= (wxMultiChoiceDialog 
*) ptr
; 
1557     dest 
= (wxWindow 
*) src
; 
1558     return (void *) dest
; 
1561 static void *SwigwxMultiChoiceDialogTowxEvtHandler(void *ptr
) { 
1562     wxMultiChoiceDialog 
*src
; 
1564     src 
= (wxMultiChoiceDialog 
*) ptr
; 
1565     dest 
= (wxEvtHandler 
*) src
; 
1566     return (void *) dest
; 
1569 static void *SwigwxMultiChoiceDialogTowxObject(void *ptr
) { 
1570     wxMultiChoiceDialog 
*src
; 
1572     src 
= (wxMultiChoiceDialog 
*) ptr
; 
1573     dest 
= (wxObject 
*) src
; 
1574     return (void *) dest
; 
1577 #define new_wxMultiChoiceDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMultiChoiceDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) 
1578 static PyObject 
*_wrap_new_wxMultiChoiceDialog(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1579     PyObject 
* _resultobj
; 
1580     wxMultiChoiceDialog 
* _result
; 
1586     long  _arg5 
= (long ) (wxCHOICEDLG_STYLE
); 
1587     wxPoint 
* _arg6 
= (wxPoint 
*) &wxDefaultPosition
; 
1588     PyObject 
* _argo0 
= 0; 
1589     PyObject 
* _obj1 
= 0; 
1590     PyObject 
* _obj2 
= 0; 
1591     PyObject 
* _obj4 
= 0; 
1593     PyObject 
* _obj6 
= 0; 
1594     char *_kwnames
[] = { "parent","message","caption","choices","style","pos", NULL 
}; 
1598     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|lO:new_wxMultiChoiceDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj4
,&_arg5
,&_obj6
))  
1601         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1602         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
1603             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMultiChoiceDialog. Expected _wxWindow_p."); 
1608     _arg1 
= wxString_in_helper(_obj1
); 
1613     _arg2 
= wxString_in_helper(_obj2
); 
1619     _arg4 
= wxString_LIST_helper(_obj4
); 
1620     if (_arg4 
== NULL
) { 
1627     if (! wxPoint_helper(_obj6
, &_arg6
)) 
1632         _arg3 
= PyList_Size(_obj4
); 
1639     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1640     _result 
= (wxMultiChoiceDialog 
*)new_wxMultiChoiceDialog(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
); 
1642     wxPyEndAllowThreads(__tstate
); 
1643     if (PyErr_Occurred()) return NULL
; 
1645         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMultiChoiceDialog_p"); 
1646         _resultobj 
= Py_BuildValue("s",_ptemp
); 
1649         _resultobj 
= Py_None
; 
1665 #define wxMultiChoiceDialog_SetSelections(_swigobj,_swigarg0)  (_swigobj->SetSelections(_swigarg0)) 
1666 static PyObject 
*_wrap_wxMultiChoiceDialog_SetSelections(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1667     PyObject 
* _resultobj
; 
1668     wxMultiChoiceDialog 
* _arg0
; 
1670     PyObject 
* _argo0 
= 0; 
1671     PyObject 
* _obj1 
= 0; 
1672     char *_kwnames
[] = { "self","selections", NULL 
}; 
1675     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMultiChoiceDialog_SetSelections",_kwnames
,&_argo0
,&_obj1
))  
1678         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1679         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMultiChoiceDialog_p")) { 
1680             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMultiChoiceDialog_SetSelections. Expected _wxMultiChoiceDialog_p."); 
1685     if (! PySequence_Check(_obj1
)) { 
1686         PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected."); 
1689     _arg1 
= new wxArrayInt
; 
1690     int i
, len
=PySequence_Length(_obj1
); 
1691     for (i
=0; i
<len
; i
++) { 
1692         PyObject
* item 
= PySequence_GetItem(_obj1
, i
); 
1693         PyObject
* number  
= PyNumber_Int(item
); 
1694         _arg1
->Add(PyInt_AS_LONG(number
)); 
1700     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1701     wxMultiChoiceDialog_SetSelections(_arg0
,*_arg1
); 
1703     wxPyEndAllowThreads(__tstate
); 
1704     if (PyErr_Occurred()) return NULL
; 
1705 }    Py_INCREF(Py_None
); 
1706     _resultobj 
= Py_None
; 
1714 static PyObject 
* wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog 
*self
) { 
1715             return wxArrayInt2PyList_helper(self
->GetSelections()); 
1717 static PyObject 
*_wrap_wxMultiChoiceDialog_GetSelections(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1718     PyObject 
* _resultobj
; 
1720     wxMultiChoiceDialog 
* _arg0
; 
1721     PyObject 
* _argo0 
= 0; 
1722     char *_kwnames
[] = { "self", NULL 
}; 
1725     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMultiChoiceDialog_GetSelections",_kwnames
,&_argo0
))  
1728         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1729         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMultiChoiceDialog_p")) { 
1730             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMultiChoiceDialog_GetSelections. Expected _wxMultiChoiceDialog_p."); 
1735     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1736     _result 
= (PyObject 
*)wxMultiChoiceDialog_GetSelections(_arg0
); 
1738     wxPyEndAllowThreads(__tstate
); 
1739     if (PyErr_Occurred()) return NULL
; 
1741   _resultobj 
= _result
; 
1746 static void *SwigwxSingleChoiceDialogTowxDialog(void *ptr
) { 
1747     wxSingleChoiceDialog 
*src
; 
1749     src 
= (wxSingleChoiceDialog 
*) ptr
; 
1750     dest 
= (wxDialog 
*) src
; 
1751     return (void *) dest
; 
1754 static void *SwigwxSingleChoiceDialogTowxTopLevelWindow(void *ptr
) { 
1755     wxSingleChoiceDialog 
*src
; 
1756     wxTopLevelWindow 
*dest
; 
1757     src 
= (wxSingleChoiceDialog 
*) ptr
; 
1758     dest 
= (wxTopLevelWindow 
*) src
; 
1759     return (void *) dest
; 
1762 static void *SwigwxSingleChoiceDialogTowxWindow(void *ptr
) { 
1763     wxSingleChoiceDialog 
*src
; 
1765     src 
= (wxSingleChoiceDialog 
*) ptr
; 
1766     dest 
= (wxWindow 
*) src
; 
1767     return (void *) dest
; 
1770 static void *SwigwxSingleChoiceDialogTowxEvtHandler(void *ptr
) { 
1771     wxSingleChoiceDialog 
*src
; 
1773     src 
= (wxSingleChoiceDialog 
*) ptr
; 
1774     dest 
= (wxEvtHandler 
*) src
; 
1775     return (void *) dest
; 
1778 static void *SwigwxSingleChoiceDialogTowxObject(void *ptr
) { 
1779     wxSingleChoiceDialog 
*src
; 
1781     src 
= (wxSingleChoiceDialog 
*) ptr
; 
1782     dest 
= (wxObject 
*) src
; 
1783     return (void *) dest
; 
1786 static wxSingleChoiceDialog 
*new_wxSingleChoiceDialog(wxWindow 
*parent
,wxString 
*message
,wxString 
*caption
,int LCOUNT
,wxString 
*choices
,long style
,wxPoint 
*pos
) { 
1787             return new wxSingleChoiceDialog(parent
, *message
, *caption
, 
1788                                             LCOUNT
, choices
, NULL
, style
, *pos
); 
1791 static PyObject 
*_wrap_new_wxSingleChoiceDialog(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1792     PyObject 
* _resultobj
; 
1793     wxSingleChoiceDialog 
* _result
; 
1799     long  _arg5 
= (long ) (wxCHOICEDLG_STYLE
); 
1800     wxPoint 
* _arg6 
= (wxPoint 
*) &wxDefaultPosition
; 
1801     PyObject 
* _argo0 
= 0; 
1802     PyObject 
* _obj1 
= 0; 
1803     PyObject 
* _obj2 
= 0; 
1804     PyObject 
* _obj4 
= 0; 
1806     PyObject 
* _obj6 
= 0; 
1807     char *_kwnames
[] = { "parent","message","caption","choices","style","pos", NULL 
}; 
1811     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|lO:new_wxSingleChoiceDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj4
,&_arg5
,&_obj6
))  
1814         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1815         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
1816             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSingleChoiceDialog. Expected _wxWindow_p."); 
1821     _arg1 
= wxString_in_helper(_obj1
); 
1826     _arg2 
= wxString_in_helper(_obj2
); 
1832     _arg4 
= wxString_LIST_helper(_obj4
); 
1833     if (_arg4 
== NULL
) { 
1840     if (! wxPoint_helper(_obj6
, &_arg6
)) 
1845         _arg3 
= PyList_Size(_obj4
); 
1852     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1853     _result 
= (wxSingleChoiceDialog 
*)new_wxSingleChoiceDialog(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
); 
1855     wxPyEndAllowThreads(__tstate
); 
1856     if (PyErr_Occurred()) return NULL
; 
1858         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleChoiceDialog_p"); 
1859         _resultobj 
= Py_BuildValue("s",_ptemp
); 
1862         _resultobj 
= Py_None
; 
1878 #define wxSingleChoiceDialog_GetSelection(_swigobj)  (_swigobj->GetSelection()) 
1879 static PyObject 
*_wrap_wxSingleChoiceDialog_GetSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1880     PyObject 
* _resultobj
; 
1882     wxSingleChoiceDialog 
* _arg0
; 
1883     PyObject 
* _argo0 
= 0; 
1884     char *_kwnames
[] = { "self", NULL 
}; 
1887     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_GetSelection",_kwnames
,&_argo0
))  
1890         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1891         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) { 
1892             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_GetSelection. Expected _wxSingleChoiceDialog_p."); 
1897     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1898     _result 
= (int )wxSingleChoiceDialog_GetSelection(_arg0
); 
1900     wxPyEndAllowThreads(__tstate
); 
1901     if (PyErr_Occurred()) return NULL
; 
1902 }    _resultobj 
= Py_BuildValue("i",_result
); 
1906 #define wxSingleChoiceDialog_GetStringSelection(_swigobj)  (_swigobj->GetStringSelection()) 
1907 static PyObject 
*_wrap_wxSingleChoiceDialog_GetStringSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1908     PyObject 
* _resultobj
; 
1910     wxSingleChoiceDialog 
* _arg0
; 
1911     PyObject 
* _argo0 
= 0; 
1912     char *_kwnames
[] = { "self", NULL 
}; 
1915     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_GetStringSelection",_kwnames
,&_argo0
))  
1918         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1919         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) { 
1920             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_GetStringSelection. Expected _wxSingleChoiceDialog_p."); 
1925     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1926     _result 
= new wxString (wxSingleChoiceDialog_GetStringSelection(_arg0
)); 
1928     wxPyEndAllowThreads(__tstate
); 
1929     if (PyErr_Occurred()) return NULL
; 
1932     _resultobj 
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len()); 
1934     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
1943 #define wxSingleChoiceDialog_SetSelection(_swigobj,_swigarg0)  (_swigobj->SetSelection(_swigarg0)) 
1944 static PyObject 
*_wrap_wxSingleChoiceDialog_SetSelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1945     PyObject 
* _resultobj
; 
1946     wxSingleChoiceDialog 
* _arg0
; 
1948     PyObject 
* _argo0 
= 0; 
1949     char *_kwnames
[] = { "self","sel", NULL 
}; 
1952     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSingleChoiceDialog_SetSelection",_kwnames
,&_argo0
,&_arg1
))  
1955         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1956         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) { 
1957             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_SetSelection. Expected _wxSingleChoiceDialog_p."); 
1962     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1963     wxSingleChoiceDialog_SetSelection(_arg0
,_arg1
); 
1965     wxPyEndAllowThreads(__tstate
); 
1966     if (PyErr_Occurred()) return NULL
; 
1967 }    Py_INCREF(Py_None
); 
1968     _resultobj 
= Py_None
; 
1972 #define wxSingleChoiceDialog_ShowModal(_swigobj)  (_swigobj->ShowModal()) 
1973 static PyObject 
*_wrap_wxSingleChoiceDialog_ShowModal(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1974     PyObject 
* _resultobj
; 
1976     wxSingleChoiceDialog 
* _arg0
; 
1977     PyObject 
* _argo0 
= 0; 
1978     char *_kwnames
[] = { "self", NULL 
}; 
1981     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleChoiceDialog_ShowModal",_kwnames
,&_argo0
))  
1984         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1985         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleChoiceDialog_p")) { 
1986             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleChoiceDialog_ShowModal. Expected _wxSingleChoiceDialog_p."); 
1991     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1992     _result 
= (int )wxSingleChoiceDialog_ShowModal(_arg0
); 
1994     wxPyEndAllowThreads(__tstate
); 
1995     if (PyErr_Occurred()) return NULL
; 
1996 }    _resultobj 
= Py_BuildValue("i",_result
); 
2000 static void *SwigwxTextEntryDialogTowxDialog(void *ptr
) { 
2001     wxTextEntryDialog 
*src
; 
2003     src 
= (wxTextEntryDialog 
*) ptr
; 
2004     dest 
= (wxDialog 
*) src
; 
2005     return (void *) dest
; 
2008 static void *SwigwxTextEntryDialogTowxTopLevelWindow(void *ptr
) { 
2009     wxTextEntryDialog 
*src
; 
2010     wxTopLevelWindow 
*dest
; 
2011     src 
= (wxTextEntryDialog 
*) ptr
; 
2012     dest 
= (wxTopLevelWindow 
*) src
; 
2013     return (void *) dest
; 
2016 static void *SwigwxTextEntryDialogTowxWindow(void *ptr
) { 
2017     wxTextEntryDialog 
*src
; 
2019     src 
= (wxTextEntryDialog 
*) ptr
; 
2020     dest 
= (wxWindow 
*) src
; 
2021     return (void *) dest
; 
2024 static void *SwigwxTextEntryDialogTowxEvtHandler(void *ptr
) { 
2025     wxTextEntryDialog 
*src
; 
2027     src 
= (wxTextEntryDialog 
*) ptr
; 
2028     dest 
= (wxEvtHandler 
*) src
; 
2029     return (void *) dest
; 
2032 static void *SwigwxTextEntryDialogTowxObject(void *ptr
) { 
2033     wxTextEntryDialog 
*src
; 
2035     src 
= (wxTextEntryDialog 
*) ptr
; 
2036     dest 
= (wxObject 
*) src
; 
2037     return (void *) dest
; 
2040 #define new_wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxTextEntryDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) 
2041 static PyObject 
*_wrap_new_wxTextEntryDialog(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2042     PyObject 
* _resultobj
; 
2043     wxTextEntryDialog 
* _result
; 
2046     wxString 
* _arg2 
= (wxString 
*) &wxPyGetTextFromUserPromptStr
; 
2047     wxString 
* _arg3 
= (wxString 
*) &wxPyEmptyString
; 
2048     long  _arg4 
= (long ) wxOK
|wxCANCEL
|wxCENTRE
; 
2049     wxPoint 
* _arg5 
= (wxPoint 
*) &wxDefaultPosition
; 
2050     PyObject 
* _argo0 
= 0; 
2051     PyObject 
* _obj1 
= 0; 
2052     PyObject 
* _obj2 
= 0; 
2053     PyObject 
* _obj3 
= 0; 
2055     PyObject 
* _obj5 
= 0; 
2056     char *_kwnames
[] = { "parent","message","caption","defaultValue","style","pos", NULL 
}; 
2060     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OOlO:new_wxTextEntryDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))  
2063         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2064         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
2065             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextEntryDialog. Expected _wxWindow_p."); 
2070     _arg1 
= wxString_in_helper(_obj1
); 
2076     _arg2 
= wxString_in_helper(_obj2
); 
2082     _arg3 
= wxString_in_helper(_obj3
); 
2089     if (! wxPoint_helper(_obj5
, &_arg5
)) 
2093     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2094     _result 
= (wxTextEntryDialog 
*)new_wxTextEntryDialog(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
); 
2096     wxPyEndAllowThreads(__tstate
); 
2097     if (PyErr_Occurred()) return NULL
; 
2099         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextEntryDialog_p"); 
2100         _resultobj 
= Py_BuildValue("s",_ptemp
); 
2103         _resultobj 
= Py_None
; 
2120 #define wxTextEntryDialog_GetValue(_swigobj)  (_swigobj->GetValue()) 
2121 static PyObject 
*_wrap_wxTextEntryDialog_GetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2122     PyObject 
* _resultobj
; 
2124     wxTextEntryDialog 
* _arg0
; 
2125     PyObject 
* _argo0 
= 0; 
2126     char *_kwnames
[] = { "self", NULL 
}; 
2129     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextEntryDialog_GetValue",_kwnames
,&_argo0
))  
2132         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2133         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) { 
2134             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_GetValue. Expected _wxTextEntryDialog_p."); 
2139     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2140     _result 
= new wxString (wxTextEntryDialog_GetValue(_arg0
)); 
2142     wxPyEndAllowThreads(__tstate
); 
2143     if (PyErr_Occurred()) return NULL
; 
2146     _resultobj 
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len()); 
2148     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
2157 #define wxTextEntryDialog_SetValue(_swigobj,_swigarg0)  (_swigobj->SetValue(_swigarg0)) 
2158 static PyObject 
*_wrap_wxTextEntryDialog_SetValue(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2159     PyObject 
* _resultobj
; 
2160     wxTextEntryDialog 
* _arg0
; 
2162     PyObject 
* _argo0 
= 0; 
2163     PyObject 
* _obj1 
= 0; 
2164     char *_kwnames
[] = { "self","value", NULL 
}; 
2167     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextEntryDialog_SetValue",_kwnames
,&_argo0
,&_obj1
))  
2170         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2171         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) { 
2172             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_SetValue. Expected _wxTextEntryDialog_p."); 
2177     _arg1 
= wxString_in_helper(_obj1
); 
2182     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2183     wxTextEntryDialog_SetValue(_arg0
,*_arg1
); 
2185     wxPyEndAllowThreads(__tstate
); 
2186     if (PyErr_Occurred()) return NULL
; 
2187 }    Py_INCREF(Py_None
); 
2188     _resultobj 
= Py_None
; 
2196 #define wxTextEntryDialog_ShowModal(_swigobj)  (_swigobj->ShowModal()) 
2197 static PyObject 
*_wrap_wxTextEntryDialog_ShowModal(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2198     PyObject 
* _resultobj
; 
2200     wxTextEntryDialog 
* _arg0
; 
2201     PyObject 
* _argo0 
= 0; 
2202     char *_kwnames
[] = { "self", NULL 
}; 
2205     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextEntryDialog_ShowModal",_kwnames
,&_argo0
))  
2208         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2209         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextEntryDialog_p")) { 
2210             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextEntryDialog_ShowModal. Expected _wxTextEntryDialog_p."); 
2215     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2216     _result 
= (int )wxTextEntryDialog_ShowModal(_arg0
); 
2218     wxPyEndAllowThreads(__tstate
); 
2219     if (PyErr_Occurred()) return NULL
; 
2220 }    _resultobj 
= Py_BuildValue("i",_result
); 
2224 static void *SwigwxFontDataTowxObject(void *ptr
) { 
2227     src 
= (wxFontData 
*) ptr
; 
2228     dest 
= (wxObject 
*) src
; 
2229     return (void *) dest
; 
2232 #define new_wxFontData() (new wxFontData()) 
2233 static PyObject 
*_wrap_new_wxFontData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2234     PyObject 
* _resultobj
; 
2235     wxFontData 
* _result
; 
2236     char *_kwnames
[] = {  NULL 
}; 
2240     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontData",_kwnames
))  
2243     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2244     _result 
= (wxFontData 
*)new_wxFontData(); 
2246     wxPyEndAllowThreads(__tstate
); 
2247     if (PyErr_Occurred()) return NULL
; 
2249         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontData_p"); 
2250         _resultobj 
= Py_BuildValue("s",_ptemp
); 
2253         _resultobj 
= Py_None
; 
2258 #define delete_wxFontData(_swigobj) (delete _swigobj) 
2259 static PyObject 
*_wrap_delete_wxFontData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2260     PyObject 
* _resultobj
; 
2262     PyObject 
* _argo0 
= 0; 
2263     char *_kwnames
[] = { "self", NULL 
}; 
2266     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontData",_kwnames
,&_argo0
))  
2269         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2270         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) { 
2271             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontData. Expected _wxFontData_p."); 
2276     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2277     delete_wxFontData(_arg0
); 
2279     wxPyEndAllowThreads(__tstate
); 
2280     if (PyErr_Occurred()) return NULL
; 
2281 }    Py_INCREF(Py_None
); 
2282     _resultobj 
= Py_None
; 
2286 #define wxFontData_EnableEffects(_swigobj,_swigarg0)  (_swigobj->EnableEffects(_swigarg0)) 
2287 static PyObject 
*_wrap_wxFontData_EnableEffects(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2288     PyObject 
* _resultobj
; 
2291     PyObject 
* _argo0 
= 0; 
2293     char *_kwnames
[] = { "self","enable", NULL 
}; 
2296     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_EnableEffects",_kwnames
,&_argo0
,&tempbool1
))  
2299         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2300         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) { 
2301             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_EnableEffects. Expected _wxFontData_p."); 
2305     _arg1 
= (bool ) tempbool1
; 
2307     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2308     wxFontData_EnableEffects(_arg0
,_arg1
); 
2310     wxPyEndAllowThreads(__tstate
); 
2311     if (PyErr_Occurred()) return NULL
; 
2312 }    Py_INCREF(Py_None
); 
2313     _resultobj 
= Py_None
; 
2317 #define wxFontData_GetAllowSymbols(_swigobj)  (_swigobj->GetAllowSymbols()) 
2318 static PyObject 
*_wrap_wxFontData_GetAllowSymbols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2319     PyObject 
* _resultobj
; 
2322     PyObject 
* _argo0 
= 0; 
2323     char *_kwnames
[] = { "self", NULL 
}; 
2326     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetAllowSymbols",_kwnames
,&_argo0
))  
2329         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2330         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) { 
2331             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetAllowSymbols. Expected _wxFontData_p."); 
2336     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2337     _result 
= (bool )wxFontData_GetAllowSymbols(_arg0
); 
2339     wxPyEndAllowThreads(__tstate
); 
2340     if (PyErr_Occurred()) return NULL
; 
2341 }    _resultobj 
= Py_BuildValue("i",_result
); 
2345 #define wxFontData_GetColour(_swigobj)  (_swigobj->GetColour()) 
2346 static PyObject 
*_wrap_wxFontData_GetColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2347     PyObject 
* _resultobj
; 
2350     PyObject 
* _argo0 
= 0; 
2351     char *_kwnames
[] = { "self", NULL 
}; 
2355     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetColour",_kwnames
,&_argo0
))  
2358         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2359         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) { 
2360             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetColour. Expected _wxFontData_p."); 
2365     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2366     _result 
= new wxColour (wxFontData_GetColour(_arg0
)); 
2368     wxPyEndAllowThreads(__tstate
); 
2369     if (PyErr_Occurred()) return NULL
; 
2370 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p"); 
2371     _resultobj 
= Py_BuildValue("s",_ptemp
); 
2375 #define wxFontData_GetChosenFont(_swigobj)  (_swigobj->GetChosenFont()) 
2376 static PyObject 
*_wrap_wxFontData_GetChosenFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2377     PyObject 
* _resultobj
; 
2380     PyObject 
* _argo0 
= 0; 
2381     char *_kwnames
[] = { "self", NULL 
}; 
2385     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetChosenFont",_kwnames
,&_argo0
))  
2388         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2389         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) { 
2390             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetChosenFont. Expected _wxFontData_p."); 
2395     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2396     _result 
= new wxFont (wxFontData_GetChosenFont(_arg0
)); 
2398     wxPyEndAllowThreads(__tstate
); 
2399     if (PyErr_Occurred()) return NULL
; 
2400 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p"); 
2401     _resultobj 
= Py_BuildValue("s",_ptemp
); 
2405 #define wxFontData_GetEnableEffects(_swigobj)  (_swigobj->GetEnableEffects()) 
2406 static PyObject 
*_wrap_wxFontData_GetEnableEffects(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2407     PyObject 
* _resultobj
; 
2410     PyObject 
* _argo0 
= 0; 
2411     char *_kwnames
[] = { "self", NULL 
}; 
2414     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetEnableEffects",_kwnames
,&_argo0
))  
2417         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2418         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) { 
2419             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetEnableEffects. Expected _wxFontData_p."); 
2424     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2425     _result 
= (bool )wxFontData_GetEnableEffects(_arg0
); 
2427     wxPyEndAllowThreads(__tstate
); 
2428     if (PyErr_Occurred()) return NULL
; 
2429 }    _resultobj 
= Py_BuildValue("i",_result
); 
2433 #define wxFontData_GetInitialFont(_swigobj)  (_swigobj->GetInitialFont()) 
2434 static PyObject 
*_wrap_wxFontData_GetInitialFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2435     PyObject 
* _resultobj
; 
2438     PyObject 
* _argo0 
= 0; 
2439     char *_kwnames
[] = { "self", NULL 
}; 
2443     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetInitialFont",_kwnames
,&_argo0
))  
2446         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2447         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) { 
2448             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetInitialFont. Expected _wxFontData_p."); 
2453     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2454     _result 
= new wxFont (wxFontData_GetInitialFont(_arg0
)); 
2456     wxPyEndAllowThreads(__tstate
); 
2457     if (PyErr_Occurred()) return NULL
; 
2458 }    SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p"); 
2459     _resultobj 
= Py_BuildValue("s",_ptemp
); 
2463 #define wxFontData_GetShowHelp(_swigobj)  (_swigobj->GetShowHelp()) 
2464 static PyObject 
*_wrap_wxFontData_GetShowHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2465     PyObject 
* _resultobj
; 
2468     PyObject 
* _argo0 
= 0; 
2469     char *_kwnames
[] = { "self", NULL 
}; 
2472     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontData_GetShowHelp",_kwnames
,&_argo0
))  
2475         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2476         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) { 
2477             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_GetShowHelp. Expected _wxFontData_p."); 
2482     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2483     _result 
= (bool )wxFontData_GetShowHelp(_arg0
); 
2485     wxPyEndAllowThreads(__tstate
); 
2486     if (PyErr_Occurred()) return NULL
; 
2487 }    _resultobj 
= Py_BuildValue("i",_result
); 
2491 #define wxFontData_SetAllowSymbols(_swigobj,_swigarg0)  (_swigobj->SetAllowSymbols(_swigarg0)) 
2492 static PyObject 
*_wrap_wxFontData_SetAllowSymbols(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2493     PyObject 
* _resultobj
; 
2496     PyObject 
* _argo0 
= 0; 
2498     char *_kwnames
[] = { "self","allowSymbols", NULL 
}; 
2501     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_SetAllowSymbols",_kwnames
,&_argo0
,&tempbool1
))  
2504         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2505         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) { 
2506             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetAllowSymbols. Expected _wxFontData_p."); 
2510     _arg1 
= (bool ) tempbool1
; 
2512     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2513     wxFontData_SetAllowSymbols(_arg0
,_arg1
); 
2515     wxPyEndAllowThreads(__tstate
); 
2516     if (PyErr_Occurred()) return NULL
; 
2517 }    Py_INCREF(Py_None
); 
2518     _resultobj 
= Py_None
; 
2522 #define wxFontData_SetChosenFont(_swigobj,_swigarg0)  (_swigobj->SetChosenFont(_swigarg0)) 
2523 static PyObject 
*_wrap_wxFontData_SetChosenFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2524     PyObject 
* _resultobj
; 
2527     PyObject 
* _argo0 
= 0; 
2528     PyObject 
* _argo1 
= 0; 
2529     char *_kwnames
[] = { "self","font", NULL 
}; 
2532     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetChosenFont",_kwnames
,&_argo0
,&_argo1
))  
2535         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2536         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) { 
2537             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetChosenFont. Expected _wxFontData_p."); 
2542         if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) { 
2543             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontData_SetChosenFont. Expected _wxFont_p."); 
2548     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2549     wxFontData_SetChosenFont(_arg0
,*_arg1
); 
2551     wxPyEndAllowThreads(__tstate
); 
2552     if (PyErr_Occurred()) return NULL
; 
2553 }    Py_INCREF(Py_None
); 
2554     _resultobj 
= Py_None
; 
2558 #define wxFontData_SetColour(_swigobj,_swigarg0)  (_swigobj->SetColour(_swigarg0)) 
2559 static PyObject 
*_wrap_wxFontData_SetColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2560     PyObject 
* _resultobj
; 
2563     PyObject 
* _argo0 
= 0; 
2565     PyObject 
* _obj1 
= 0; 
2566     char *_kwnames
[] = { "self","colour", NULL 
}; 
2569     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetColour",_kwnames
,&_argo0
,&_obj1
))  
2572         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2573         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) { 
2574             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetColour. Expected _wxFontData_p."); 
2580     if (! wxColour_helper(_obj1
, &_arg1
)) 
2584     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2585     wxFontData_SetColour(_arg0
,*_arg1
); 
2587     wxPyEndAllowThreads(__tstate
); 
2588     if (PyErr_Occurred()) return NULL
; 
2589 }    Py_INCREF(Py_None
); 
2590     _resultobj 
= Py_None
; 
2594 #define wxFontData_SetInitialFont(_swigobj,_swigarg0)  (_swigobj->SetInitialFont(_swigarg0)) 
2595 static PyObject 
*_wrap_wxFontData_SetInitialFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2596     PyObject 
* _resultobj
; 
2599     PyObject 
* _argo0 
= 0; 
2600     PyObject 
* _argo1 
= 0; 
2601     char *_kwnames
[] = { "self","font", NULL 
}; 
2604     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontData_SetInitialFont",_kwnames
,&_argo0
,&_argo1
))  
2607         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2608         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) { 
2609             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetInitialFont. Expected _wxFontData_p."); 
2614         if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) { 
2615             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontData_SetInitialFont. Expected _wxFont_p."); 
2620     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2621     wxFontData_SetInitialFont(_arg0
,*_arg1
); 
2623     wxPyEndAllowThreads(__tstate
); 
2624     if (PyErr_Occurred()) return NULL
; 
2625 }    Py_INCREF(Py_None
); 
2626     _resultobj 
= Py_None
; 
2630 #define wxFontData_SetRange(_swigobj,_swigarg0,_swigarg1)  (_swigobj->SetRange(_swigarg0,_swigarg1)) 
2631 static PyObject 
*_wrap_wxFontData_SetRange(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2632     PyObject 
* _resultobj
; 
2636     PyObject 
* _argo0 
= 0; 
2637     char *_kwnames
[] = { "self","min","max", NULL 
}; 
2640     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxFontData_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))  
2643         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2644         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) { 
2645             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetRange. Expected _wxFontData_p."); 
2650     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2651     wxFontData_SetRange(_arg0
,_arg1
,_arg2
); 
2653     wxPyEndAllowThreads(__tstate
); 
2654     if (PyErr_Occurred()) return NULL
; 
2655 }    Py_INCREF(Py_None
); 
2656     _resultobj 
= Py_None
; 
2660 #define wxFontData_SetShowHelp(_swigobj,_swigarg0)  (_swigobj->SetShowHelp(_swigarg0)) 
2661 static PyObject 
*_wrap_wxFontData_SetShowHelp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2662     PyObject 
* _resultobj
; 
2665     PyObject 
* _argo0 
= 0; 
2667     char *_kwnames
[] = { "self","showHelp", NULL 
}; 
2670     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFontData_SetShowHelp",_kwnames
,&_argo0
,&tempbool1
))  
2673         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2674         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontData_p")) { 
2675             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontData_SetShowHelp. Expected _wxFontData_p."); 
2679     _arg1 
= (bool ) tempbool1
; 
2681     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2682     wxFontData_SetShowHelp(_arg0
,_arg1
); 
2684     wxPyEndAllowThreads(__tstate
); 
2685     if (PyErr_Occurred()) return NULL
; 
2686 }    Py_INCREF(Py_None
); 
2687     _resultobj 
= Py_None
; 
2691 static void *SwigwxFontDialogTowxDialog(void *ptr
) { 
2694     src 
= (wxFontDialog 
*) ptr
; 
2695     dest 
= (wxDialog 
*) src
; 
2696     return (void *) dest
; 
2699 static void *SwigwxFontDialogTowxTopLevelWindow(void *ptr
) { 
2701     wxTopLevelWindow 
*dest
; 
2702     src 
= (wxFontDialog 
*) ptr
; 
2703     dest 
= (wxTopLevelWindow 
*) src
; 
2704     return (void *) dest
; 
2707 static void *SwigwxFontDialogTowxWindow(void *ptr
) { 
2710     src 
= (wxFontDialog 
*) ptr
; 
2711     dest 
= (wxWindow 
*) src
; 
2712     return (void *) dest
; 
2715 static void *SwigwxFontDialogTowxEvtHandler(void *ptr
) { 
2718     src 
= (wxFontDialog 
*) ptr
; 
2719     dest 
= (wxEvtHandler 
*) src
; 
2720     return (void *) dest
; 
2723 static void *SwigwxFontDialogTowxObject(void *ptr
) { 
2726     src 
= (wxFontDialog 
*) ptr
; 
2727     dest 
= (wxObject 
*) src
; 
2728     return (void *) dest
; 
2731 #define new_wxFontDialog(_swigarg0,_swigarg1) (new wxFontDialog(_swigarg0,_swigarg1)) 
2732 static PyObject 
*_wrap_new_wxFontDialog(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2733     PyObject 
* _resultobj
; 
2734     wxFontDialog 
* _result
; 
2737     PyObject 
* _argo0 
= 0; 
2738     PyObject 
* _argo1 
= 0; 
2739     char *_kwnames
[] = { "parent","data", NULL 
}; 
2743     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxFontDialog",_kwnames
,&_argo0
,&_argo1
))  
2746         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2747         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
2748             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFontDialog. Expected _wxWindow_p."); 
2753         if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFontData_p")) { 
2754             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxFontDialog. Expected _wxFontData_p."); 
2759     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2760     _result 
= (wxFontDialog 
*)new_wxFontDialog(_arg0
,*_arg1
); 
2762     wxPyEndAllowThreads(__tstate
); 
2763     if (PyErr_Occurred()) return NULL
; 
2765         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontDialog_p"); 
2766         _resultobj 
= Py_BuildValue("s",_ptemp
); 
2769         _resultobj 
= Py_None
; 
2774 #define wxFontDialog_GetFontData(_swigobj)  (_swigobj->GetFontData()) 
2775 static PyObject 
*_wrap_wxFontDialog_GetFontData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2776     PyObject 
* _resultobj
; 
2777     wxFontData 
* _result
; 
2778     wxFontDialog 
* _arg0
; 
2779     PyObject 
* _argo0 
= 0; 
2780     char *_kwnames
[] = { "self", NULL 
}; 
2784     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontDialog_GetFontData",_kwnames
,&_argo0
))  
2787         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2788         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontDialog_p")) { 
2789             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontDialog_GetFontData. Expected _wxFontDialog_p."); 
2794     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2795     wxFontData 
& _result_ref 
= wxFontDialog_GetFontData(_arg0
); 
2796     _result 
= (wxFontData 
*) &_result_ref
; 
2798     wxPyEndAllowThreads(__tstate
); 
2799     if (PyErr_Occurred()) return NULL
; 
2801         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontData_p"); 
2802         _resultobj 
= Py_BuildValue("s",_ptemp
); 
2805         _resultobj 
= Py_None
; 
2810 #define wxFontDialog_ShowModal(_swigobj)  (_swigobj->ShowModal()) 
2811 static PyObject 
*_wrap_wxFontDialog_ShowModal(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2812     PyObject 
* _resultobj
; 
2814     wxFontDialog 
* _arg0
; 
2815     PyObject 
* _argo0 
= 0; 
2816     char *_kwnames
[] = { "self", NULL 
}; 
2819     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontDialog_ShowModal",_kwnames
,&_argo0
))  
2822         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2823         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontDialog_p")) { 
2824             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontDialog_ShowModal. Expected _wxFontDialog_p."); 
2829     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2830     _result 
= (int )wxFontDialog_ShowModal(_arg0
); 
2832     wxPyEndAllowThreads(__tstate
); 
2833     if (PyErr_Occurred()) return NULL
; 
2834 }    _resultobj 
= Py_BuildValue("i",_result
); 
2838 static void *SwigwxMessageDialogTowxDialog(void *ptr
) { 
2839     wxMessageDialog 
*src
; 
2841     src 
= (wxMessageDialog 
*) ptr
; 
2842     dest 
= (wxDialog 
*) src
; 
2843     return (void *) dest
; 
2846 static void *SwigwxMessageDialogTowxTopLevelWindow(void *ptr
) { 
2847     wxMessageDialog 
*src
; 
2848     wxTopLevelWindow 
*dest
; 
2849     src 
= (wxMessageDialog 
*) ptr
; 
2850     dest 
= (wxTopLevelWindow 
*) src
; 
2851     return (void *) dest
; 
2854 static void *SwigwxMessageDialogTowxWindow(void *ptr
) { 
2855     wxMessageDialog 
*src
; 
2857     src 
= (wxMessageDialog 
*) ptr
; 
2858     dest 
= (wxWindow 
*) src
; 
2859     return (void *) dest
; 
2862 static void *SwigwxMessageDialogTowxEvtHandler(void *ptr
) { 
2863     wxMessageDialog 
*src
; 
2865     src 
= (wxMessageDialog 
*) ptr
; 
2866     dest 
= (wxEvtHandler 
*) src
; 
2867     return (void *) dest
; 
2870 static void *SwigwxMessageDialogTowxObject(void *ptr
) { 
2871     wxMessageDialog 
*src
; 
2873     src 
= (wxMessageDialog 
*) ptr
; 
2874     dest 
= (wxObject 
*) src
; 
2875     return (void *) dest
; 
2878 #define new_wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxMessageDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) 
2879 static PyObject 
*_wrap_new_wxMessageDialog(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2880     PyObject 
* _resultobj
; 
2881     wxMessageDialog 
* _result
; 
2884     wxString 
* _arg2 
= (wxString 
*) &wxPyMessageBoxCaptionStr
; 
2885     long  _arg3 
= (long ) wxOK
|wxCANCEL
|wxCENTRE
; 
2886     wxPoint 
* _arg4 
= (wxPoint 
*) &wxDefaultPosition
; 
2887     PyObject 
* _argo0 
= 0; 
2888     PyObject 
* _obj1 
= 0; 
2889     PyObject 
* _obj2 
= 0; 
2891     PyObject 
* _obj4 
= 0; 
2892     char *_kwnames
[] = { "parent","message","caption","style","pos", NULL 
}; 
2896     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OlO:new_wxMessageDialog",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_obj4
))  
2899         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2900         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
2901             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMessageDialog. Expected _wxWindow_p."); 
2906     _arg1 
= wxString_in_helper(_obj1
); 
2912     _arg2 
= wxString_in_helper(_obj2
); 
2919     if (! wxPoint_helper(_obj4
, &_arg4
)) 
2923     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2924     _result 
= (wxMessageDialog 
*)new_wxMessageDialog(_arg0
,*_arg1
,*_arg2
,_arg3
,*_arg4
); 
2926     wxPyEndAllowThreads(__tstate
); 
2927     if (PyErr_Occurred()) return NULL
; 
2929         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMessageDialog_p"); 
2930         _resultobj 
= Py_BuildValue("s",_ptemp
); 
2933         _resultobj 
= Py_None
; 
2946 #define wxMessageDialog_ShowModal(_swigobj)  (_swigobj->ShowModal()) 
2947 static PyObject 
*_wrap_wxMessageDialog_ShowModal(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2948     PyObject 
* _resultobj
; 
2950     wxMessageDialog 
* _arg0
; 
2951     PyObject 
* _argo0 
= 0; 
2952     char *_kwnames
[] = { "self", NULL 
}; 
2955     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMessageDialog_ShowModal",_kwnames
,&_argo0
))  
2958         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2959         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMessageDialog_p")) { 
2960             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMessageDialog_ShowModal. Expected _wxMessageDialog_p."); 
2965     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2966     _result 
= (int )wxMessageDialog_ShowModal(_arg0
); 
2968     wxPyEndAllowThreads(__tstate
); 
2969     if (PyErr_Occurred()) return NULL
; 
2970 }    _resultobj 
= Py_BuildValue("i",_result
); 
2974 static void *SwigwxProgressDialogTowxFrame(void *ptr
) { 
2975     wxProgressDialog 
*src
; 
2977     src 
= (wxProgressDialog 
*) ptr
; 
2978     dest 
= (wxFrame 
*) src
; 
2979     return (void *) dest
; 
2982 static void *SwigwxProgressDialogTowxTopLevelWindow(void *ptr
) { 
2983     wxProgressDialog 
*src
; 
2984     wxTopLevelWindow 
*dest
; 
2985     src 
= (wxProgressDialog 
*) ptr
; 
2986     dest 
= (wxTopLevelWindow 
*) src
; 
2987     return (void *) dest
; 
2990 static void *SwigwxProgressDialogTowxWindow(void *ptr
) { 
2991     wxProgressDialog 
*src
; 
2993     src 
= (wxProgressDialog 
*) ptr
; 
2994     dest 
= (wxWindow 
*) src
; 
2995     return (void *) dest
; 
2998 static void *SwigwxProgressDialogTowxEvtHandler(void *ptr
) { 
2999     wxProgressDialog 
*src
; 
3001     src 
= (wxProgressDialog 
*) ptr
; 
3002     dest 
= (wxEvtHandler 
*) src
; 
3003     return (void *) dest
; 
3006 static void *SwigwxProgressDialogTowxObject(void *ptr
) { 
3007     wxProgressDialog 
*src
; 
3009     src 
= (wxProgressDialog 
*) ptr
; 
3010     dest 
= (wxObject 
*) src
; 
3011     return (void *) dest
; 
3014 #define new_wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxProgressDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) 
3015 static PyObject 
*_wrap_new_wxProgressDialog(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3016     PyObject 
* _resultobj
; 
3017     wxProgressDialog 
* _result
; 
3020     int  _arg2 
= (int ) 100; 
3021     wxWindow 
* _arg3 
= (wxWindow 
*) NULL
; 
3022     int  _arg4 
= (int ) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
; 
3023     PyObject 
* _obj0 
= 0; 
3024     PyObject 
* _obj1 
= 0; 
3025     PyObject 
* _argo3 
= 0; 
3026     char *_kwnames
[] = { "title","message","maximum","parent","style", NULL 
}; 
3030     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOi:new_wxProgressDialog",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
))  
3033     _arg0 
= wxString_in_helper(_obj0
); 
3038     _arg1 
= wxString_in_helper(_obj1
); 
3043         if (_argo3 
== Py_None
) { _arg3 
= NULL
; } 
3044         else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) { 
3045             PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxProgressDialog. Expected _wxWindow_p."); 
3050     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3051     _result 
= (wxProgressDialog 
*)new_wxProgressDialog(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
); 
3053     wxPyEndAllowThreads(__tstate
); 
3054     if (PyErr_Occurred()) return NULL
; 
3056         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProgressDialog_p"); 
3057         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3060         _resultobj 
= Py_None
; 
3073 #define wxProgressDialog_Update(_swigobj,_swigarg0,_swigarg1)  (_swigobj->Update(_swigarg0,_swigarg1)) 
3074 static PyObject 
*_wrap_wxProgressDialog_Update(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3075     PyObject 
* _resultobj
; 
3077     wxProgressDialog 
* _arg0
; 
3079     wxString 
* _arg2 
= (wxString 
*) &wxPyEmptyString
; 
3080     PyObject 
* _argo0 
= 0; 
3081     PyObject 
* _obj2 
= 0; 
3082     char *_kwnames
[] = { "self","value","newmsg", NULL 
}; 
3085     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxProgressDialog_Update",_kwnames
,&_argo0
,&_arg1
,&_obj2
))  
3088         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3089         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProgressDialog_p")) { 
3090             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProgressDialog_Update. Expected _wxProgressDialog_p."); 
3096     _arg2 
= wxString_in_helper(_obj2
); 
3101     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3102     _result 
= (bool )wxProgressDialog_Update(_arg0
,_arg1
,*_arg2
); 
3104     wxPyEndAllowThreads(__tstate
); 
3105     if (PyErr_Occurred()) return NULL
; 
3106 }    _resultobj 
= Py_BuildValue("i",_result
); 
3114 #define wxProgressDialog_Resume(_swigobj)  (_swigobj->Resume()) 
3115 static PyObject 
*_wrap_wxProgressDialog_Resume(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3116     PyObject 
* _resultobj
; 
3117     wxProgressDialog 
* _arg0
; 
3118     PyObject 
* _argo0 
= 0; 
3119     char *_kwnames
[] = { "self", NULL 
}; 
3122     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProgressDialog_Resume",_kwnames
,&_argo0
))  
3125         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3126         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProgressDialog_p")) { 
3127             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProgressDialog_Resume. Expected _wxProgressDialog_p."); 
3132     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3133     wxProgressDialog_Resume(_arg0
); 
3135     wxPyEndAllowThreads(__tstate
); 
3136     if (PyErr_Occurred()) return NULL
; 
3137 }    Py_INCREF(Py_None
); 
3138     _resultobj 
= Py_None
; 
3142 static void *SwigwxFindDialogEventTowxCommandEvent(void *ptr
) { 
3143     wxFindDialogEvent 
*src
; 
3144     wxCommandEvent 
*dest
; 
3145     src 
= (wxFindDialogEvent 
*) ptr
; 
3146     dest 
= (wxCommandEvent 
*) src
; 
3147     return (void *) dest
; 
3150 static void *SwigwxFindDialogEventTowxEvent(void *ptr
) { 
3151     wxFindDialogEvent 
*src
; 
3153     src 
= (wxFindDialogEvent 
*) ptr
; 
3154     dest 
= (wxEvent 
*) src
; 
3155     return (void *) dest
; 
3158 static void *SwigwxFindDialogEventTowxObject(void *ptr
) { 
3159     wxFindDialogEvent 
*src
; 
3161     src 
= (wxFindDialogEvent 
*) ptr
; 
3162     dest 
= (wxObject 
*) src
; 
3163     return (void *) dest
; 
3166 #define new_wxFindDialogEvent(_swigarg0,_swigarg1) (new wxFindDialogEvent(_swigarg0,_swigarg1)) 
3167 static PyObject 
*_wrap_new_wxFindDialogEvent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3168     PyObject 
* _resultobj
; 
3169     wxFindDialogEvent 
* _result
; 
3170     wxEventType  _arg0 
= (wxEventType 
) wxEVT_NULL
; 
3171     int  _arg1 
= (int ) 0; 
3172     char *_kwnames
[] = { "commandType","id", NULL 
}; 
3176     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxFindDialogEvent",_kwnames
,&_arg0
,&_arg1
))  
3179     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3180     _result 
= (wxFindDialogEvent 
*)new_wxFindDialogEvent(_arg0
,_arg1
); 
3182     wxPyEndAllowThreads(__tstate
); 
3183     if (PyErr_Occurred()) return NULL
; 
3185         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindDialogEvent_p"); 
3186         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3189         _resultobj 
= Py_None
; 
3194 #define wxFindDialogEvent_GetFlags(_swigobj)  (_swigobj->GetFlags()) 
3195 static PyObject 
*_wrap_wxFindDialogEvent_GetFlags(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3196     PyObject 
* _resultobj
; 
3198     wxFindDialogEvent 
* _arg0
; 
3199     PyObject 
* _argo0 
= 0; 
3200     char *_kwnames
[] = { "self", NULL 
}; 
3203     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetFlags",_kwnames
,&_argo0
))  
3206         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3207         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) { 
3208             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetFlags. Expected _wxFindDialogEvent_p."); 
3213     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3214     _result 
= (int )wxFindDialogEvent_GetFlags(_arg0
); 
3216     wxPyEndAllowThreads(__tstate
); 
3217     if (PyErr_Occurred()) return NULL
; 
3218 }    _resultobj 
= Py_BuildValue("i",_result
); 
3222 #define wxFindDialogEvent_GetFindString(_swigobj)  (_swigobj->GetFindString()) 
3223 static PyObject 
*_wrap_wxFindDialogEvent_GetFindString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3224     PyObject 
* _resultobj
; 
3226     wxFindDialogEvent 
* _arg0
; 
3227     PyObject 
* _argo0 
= 0; 
3228     char *_kwnames
[] = { "self", NULL 
}; 
3231     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetFindString",_kwnames
,&_argo0
))  
3234         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3235         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) { 
3236             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetFindString. Expected _wxFindDialogEvent_p."); 
3241     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3242     _result 
= new wxString (wxFindDialogEvent_GetFindString(_arg0
)); 
3244     wxPyEndAllowThreads(__tstate
); 
3245     if (PyErr_Occurred()) return NULL
; 
3248     _resultobj 
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len()); 
3250     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
3259 #define wxFindDialogEvent_GetReplaceString(_swigobj)  (_swigobj->GetReplaceString()) 
3260 static PyObject 
*_wrap_wxFindDialogEvent_GetReplaceString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3261     PyObject 
* _resultobj
; 
3263     wxFindDialogEvent 
* _arg0
; 
3264     PyObject 
* _argo0 
= 0; 
3265     char *_kwnames
[] = { "self", NULL 
}; 
3268     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetReplaceString",_kwnames
,&_argo0
))  
3271         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3272         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) { 
3273             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetReplaceString. Expected _wxFindDialogEvent_p."); 
3278     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3279     const wxString 
& _result_ref 
= wxFindDialogEvent_GetReplaceString(_arg0
); 
3280     _result 
= (wxString 
*) &_result_ref
; 
3282     wxPyEndAllowThreads(__tstate
); 
3283     if (PyErr_Occurred()) return NULL
; 
3286     _resultobj 
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len()); 
3288     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
3294 #define wxFindDialogEvent_GetDialog(_swigobj)  (_swigobj->GetDialog()) 
3295 static PyObject 
*_wrap_wxFindDialogEvent_GetDialog(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3296     PyObject 
* _resultobj
; 
3297     wxFindReplaceDialog 
* _result
; 
3298     wxFindDialogEvent 
* _arg0
; 
3299     PyObject 
* _argo0 
= 0; 
3300     char *_kwnames
[] = { "self", NULL 
}; 
3304     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindDialogEvent_GetDialog",_kwnames
,&_argo0
))  
3307         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3308         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) { 
3309             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_GetDialog. Expected _wxFindDialogEvent_p."); 
3314     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3315     _result 
= (wxFindReplaceDialog 
*)wxFindDialogEvent_GetDialog(_arg0
); 
3317     wxPyEndAllowThreads(__tstate
); 
3318     if (PyErr_Occurred()) return NULL
; 
3320         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceDialog_p"); 
3321         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3324         _resultobj 
= Py_None
; 
3329 #define wxFindDialogEvent_SetFlags(_swigobj,_swigarg0)  (_swigobj->SetFlags(_swigarg0)) 
3330 static PyObject 
*_wrap_wxFindDialogEvent_SetFlags(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3331     PyObject 
* _resultobj
; 
3332     wxFindDialogEvent 
* _arg0
; 
3334     PyObject 
* _argo0 
= 0; 
3335     char *_kwnames
[] = { "self","flags", NULL 
}; 
3338     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFindDialogEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))  
3341         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3342         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) { 
3343             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_SetFlags. Expected _wxFindDialogEvent_p."); 
3348     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3349     wxFindDialogEvent_SetFlags(_arg0
,_arg1
); 
3351     wxPyEndAllowThreads(__tstate
); 
3352     if (PyErr_Occurred()) return NULL
; 
3353 }    Py_INCREF(Py_None
); 
3354     _resultobj 
= Py_None
; 
3358 #define wxFindDialogEvent_SetFindString(_swigobj,_swigarg0)  (_swigobj->SetFindString(_swigarg0)) 
3359 static PyObject 
*_wrap_wxFindDialogEvent_SetFindString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3360     PyObject 
* _resultobj
; 
3361     wxFindDialogEvent 
* _arg0
; 
3363     PyObject 
* _argo0 
= 0; 
3364     PyObject 
* _obj1 
= 0; 
3365     char *_kwnames
[] = { "self","str", NULL 
}; 
3368     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindDialogEvent_SetFindString",_kwnames
,&_argo0
,&_obj1
))  
3371         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3372         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) { 
3373             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_SetFindString. Expected _wxFindDialogEvent_p."); 
3378     _arg1 
= wxString_in_helper(_obj1
); 
3383     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3384     wxFindDialogEvent_SetFindString(_arg0
,*_arg1
); 
3386     wxPyEndAllowThreads(__tstate
); 
3387     if (PyErr_Occurred()) return NULL
; 
3388 }    Py_INCREF(Py_None
); 
3389     _resultobj 
= Py_None
; 
3397 #define wxFindDialogEvent_SetReplaceString(_swigobj,_swigarg0)  (_swigobj->SetReplaceString(_swigarg0)) 
3398 static PyObject 
*_wrap_wxFindDialogEvent_SetReplaceString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3399     PyObject 
* _resultobj
; 
3400     wxFindDialogEvent 
* _arg0
; 
3402     PyObject 
* _argo0 
= 0; 
3403     PyObject 
* _obj1 
= 0; 
3404     char *_kwnames
[] = { "self","str", NULL 
}; 
3407     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindDialogEvent_SetReplaceString",_kwnames
,&_argo0
,&_obj1
))  
3410         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3411         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindDialogEvent_p")) { 
3412             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindDialogEvent_SetReplaceString. Expected _wxFindDialogEvent_p."); 
3417     _arg1 
= wxString_in_helper(_obj1
); 
3422     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3423     wxFindDialogEvent_SetReplaceString(_arg0
,*_arg1
); 
3425     wxPyEndAllowThreads(__tstate
); 
3426     if (PyErr_Occurred()) return NULL
; 
3427 }    Py_INCREF(Py_None
); 
3428     _resultobj 
= Py_None
; 
3436 static void *SwigwxFindReplaceDataTowxObject(void *ptr
) { 
3437     wxFindReplaceData 
*src
; 
3439     src 
= (wxFindReplaceData 
*) ptr
; 
3440     dest 
= (wxObject 
*) src
; 
3441     return (void *) dest
; 
3444 #define new_wxFindReplaceData(_swigarg0) (new wxFindReplaceData(_swigarg0)) 
3445 static PyObject 
*_wrap_new_wxFindReplaceData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3446     PyObject 
* _resultobj
; 
3447     wxFindReplaceData 
* _result
; 
3448     int  _arg0 
= (int ) 0; 
3449     char *_kwnames
[] = { "flags", NULL 
}; 
3453     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFindReplaceData",_kwnames
,&_arg0
))  
3456     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3457     _result 
= (wxFindReplaceData 
*)new_wxFindReplaceData(_arg0
); 
3459     wxPyEndAllowThreads(__tstate
); 
3460     if (PyErr_Occurred()) return NULL
; 
3462         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceData_p"); 
3463         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3466         _resultobj 
= Py_None
; 
3471 #define delete_wxFindReplaceData(_swigobj) (delete _swigobj) 
3472 static PyObject 
*_wrap_delete_wxFindReplaceData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3473     PyObject 
* _resultobj
; 
3474     wxFindReplaceData 
* _arg0
; 
3475     PyObject 
* _argo0 
= 0; 
3476     char *_kwnames
[] = { "self", NULL 
}; 
3479     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFindReplaceData",_kwnames
,&_argo0
))  
3482         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3483         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) { 
3484             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFindReplaceData. Expected _wxFindReplaceData_p."); 
3489     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3490     delete_wxFindReplaceData(_arg0
); 
3492     wxPyEndAllowThreads(__tstate
); 
3493     if (PyErr_Occurred()) return NULL
; 
3494 }    Py_INCREF(Py_None
); 
3495     _resultobj 
= Py_None
; 
3499 #define wxFindReplaceData_GetFindString(_swigobj)  (_swigobj->GetFindString()) 
3500 static PyObject 
*_wrap_wxFindReplaceData_GetFindString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3501     PyObject 
* _resultobj
; 
3503     wxFindReplaceData 
* _arg0
; 
3504     PyObject 
* _argo0 
= 0; 
3505     char *_kwnames
[] = { "self", NULL 
}; 
3508     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceData_GetFindString",_kwnames
,&_argo0
))  
3511         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3512         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) { 
3513             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_GetFindString. Expected _wxFindReplaceData_p."); 
3518     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3519     const wxString 
& _result_ref 
= wxFindReplaceData_GetFindString(_arg0
); 
3520     _result 
= (wxString 
*) &_result_ref
; 
3522     wxPyEndAllowThreads(__tstate
); 
3523     if (PyErr_Occurred()) return NULL
; 
3526     _resultobj 
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len()); 
3528     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
3534 #define wxFindReplaceData_GetReplaceString(_swigobj)  (_swigobj->GetReplaceString()) 
3535 static PyObject 
*_wrap_wxFindReplaceData_GetReplaceString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3536     PyObject 
* _resultobj
; 
3538     wxFindReplaceData 
* _arg0
; 
3539     PyObject 
* _argo0 
= 0; 
3540     char *_kwnames
[] = { "self", NULL 
}; 
3543     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceData_GetReplaceString",_kwnames
,&_argo0
))  
3546         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3547         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) { 
3548             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_GetReplaceString. Expected _wxFindReplaceData_p."); 
3553     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3554     const wxString 
& _result_ref 
= wxFindReplaceData_GetReplaceString(_arg0
); 
3555     _result 
= (wxString 
*) &_result_ref
; 
3557     wxPyEndAllowThreads(__tstate
); 
3558     if (PyErr_Occurred()) return NULL
; 
3561     _resultobj 
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len()); 
3563     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
3569 #define wxFindReplaceData_GetFlags(_swigobj)  (_swigobj->GetFlags()) 
3570 static PyObject 
*_wrap_wxFindReplaceData_GetFlags(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3571     PyObject 
* _resultobj
; 
3573     wxFindReplaceData 
* _arg0
; 
3574     PyObject 
* _argo0 
= 0; 
3575     char *_kwnames
[] = { "self", NULL 
}; 
3578     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceData_GetFlags",_kwnames
,&_argo0
))  
3581         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3582         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) { 
3583             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_GetFlags. Expected _wxFindReplaceData_p."); 
3588     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3589     _result 
= (int )wxFindReplaceData_GetFlags(_arg0
); 
3591     wxPyEndAllowThreads(__tstate
); 
3592     if (PyErr_Occurred()) return NULL
; 
3593 }    _resultobj 
= Py_BuildValue("i",_result
); 
3597 #define wxFindReplaceData_SetFlags(_swigobj,_swigarg0)  (_swigobj->SetFlags(_swigarg0)) 
3598 static PyObject 
*_wrap_wxFindReplaceData_SetFlags(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3599     PyObject 
* _resultobj
; 
3600     wxFindReplaceData 
* _arg0
; 
3602     PyObject 
* _argo0 
= 0; 
3603     char *_kwnames
[] = { "self","flags", NULL 
}; 
3606     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFindReplaceData_SetFlags",_kwnames
,&_argo0
,&_arg1
))  
3609         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3610         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) { 
3611             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_SetFlags. Expected _wxFindReplaceData_p."); 
3616     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3617     wxFindReplaceData_SetFlags(_arg0
,_arg1
); 
3619     wxPyEndAllowThreads(__tstate
); 
3620     if (PyErr_Occurred()) return NULL
; 
3621 }    Py_INCREF(Py_None
); 
3622     _resultobj 
= Py_None
; 
3626 #define wxFindReplaceData_SetFindString(_swigobj,_swigarg0)  (_swigobj->SetFindString(_swigarg0)) 
3627 static PyObject 
*_wrap_wxFindReplaceData_SetFindString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3628     PyObject 
* _resultobj
; 
3629     wxFindReplaceData 
* _arg0
; 
3631     PyObject 
* _argo0 
= 0; 
3632     PyObject 
* _obj1 
= 0; 
3633     char *_kwnames
[] = { "self","str", NULL 
}; 
3636     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindReplaceData_SetFindString",_kwnames
,&_argo0
,&_obj1
))  
3639         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3640         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) { 
3641             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_SetFindString. Expected _wxFindReplaceData_p."); 
3646     _arg1 
= wxString_in_helper(_obj1
); 
3651     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3652     wxFindReplaceData_SetFindString(_arg0
,*_arg1
); 
3654     wxPyEndAllowThreads(__tstate
); 
3655     if (PyErr_Occurred()) return NULL
; 
3656 }    Py_INCREF(Py_None
); 
3657     _resultobj 
= Py_None
; 
3665 #define wxFindReplaceData_SetReplaceString(_swigobj,_swigarg0)  (_swigobj->SetReplaceString(_swigarg0)) 
3666 static PyObject 
*_wrap_wxFindReplaceData_SetReplaceString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3667     PyObject 
* _resultobj
; 
3668     wxFindReplaceData 
* _arg0
; 
3670     PyObject 
* _argo0 
= 0; 
3671     PyObject 
* _obj1 
= 0; 
3672     char *_kwnames
[] = { "self","str", NULL 
}; 
3675     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindReplaceData_SetReplaceString",_kwnames
,&_argo0
,&_obj1
))  
3678         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3679         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceData_p")) { 
3680             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceData_SetReplaceString. Expected _wxFindReplaceData_p."); 
3685     _arg1 
= wxString_in_helper(_obj1
); 
3690     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3691     wxFindReplaceData_SetReplaceString(_arg0
,*_arg1
); 
3693     wxPyEndAllowThreads(__tstate
); 
3694     if (PyErr_Occurred()) return NULL
; 
3695 }    Py_INCREF(Py_None
); 
3696     _resultobj 
= Py_None
; 
3704 static void *SwigwxFindReplaceDialogTowxDialog(void *ptr
) { 
3705     wxFindReplaceDialog 
*src
; 
3707     src 
= (wxFindReplaceDialog 
*) ptr
; 
3708     dest 
= (wxDialog 
*) src
; 
3709     return (void *) dest
; 
3712 static void *SwigwxFindReplaceDialogTowxTopLevelWindow(void *ptr
) { 
3713     wxFindReplaceDialog 
*src
; 
3714     wxTopLevelWindow 
*dest
; 
3715     src 
= (wxFindReplaceDialog 
*) ptr
; 
3716     dest 
= (wxTopLevelWindow 
*) src
; 
3717     return (void *) dest
; 
3720 static void *SwigwxFindReplaceDialogTowxWindow(void *ptr
) { 
3721     wxFindReplaceDialog 
*src
; 
3723     src 
= (wxFindReplaceDialog 
*) ptr
; 
3724     dest 
= (wxWindow 
*) src
; 
3725     return (void *) dest
; 
3728 static void *SwigwxFindReplaceDialogTowxEvtHandler(void *ptr
) { 
3729     wxFindReplaceDialog 
*src
; 
3731     src 
= (wxFindReplaceDialog 
*) ptr
; 
3732     dest 
= (wxEvtHandler 
*) src
; 
3733     return (void *) dest
; 
3736 static void *SwigwxFindReplaceDialogTowxObject(void *ptr
) { 
3737     wxFindReplaceDialog 
*src
; 
3739     src 
= (wxFindReplaceDialog 
*) ptr
; 
3740     dest 
= (wxObject 
*) src
; 
3741     return (void *) dest
; 
3744 #define new_wxFindReplaceDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFindReplaceDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) 
3745 static PyObject 
*_wrap_new_wxFindReplaceDialog(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3746     PyObject 
* _resultobj
; 
3747     wxFindReplaceDialog 
* _result
; 
3749     wxFindReplaceData 
* _arg1
; 
3751     int  _arg3 
= (int ) 0; 
3752     PyObject 
* _argo0 
= 0; 
3753     PyObject 
* _argo1 
= 0; 
3754     PyObject 
* _obj2 
= 0; 
3755     char *_kwnames
[] = { "parent","data","title","style", NULL 
}; 
3759     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:new_wxFindReplaceDialog",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))  
3762         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3763         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) { 
3764             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFindReplaceDialog. Expected _wxWindow_p."); 
3769         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
3770         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFindReplaceData_p")) { 
3771             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxFindReplaceDialog. Expected _wxFindReplaceData_p."); 
3776     _arg2 
= wxString_in_helper(_obj2
); 
3781     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3782     _result 
= (wxFindReplaceDialog 
*)new_wxFindReplaceDialog(_arg0
,_arg1
,*_arg2
,_arg3
); 
3784     wxPyEndAllowThreads(__tstate
); 
3785     if (PyErr_Occurred()) return NULL
; 
3787         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceDialog_p"); 
3788         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3791         _resultobj 
= Py_None
; 
3800 #define new_wxPreFindReplaceDialog() (new wxFindReplaceDialog()) 
3801 static PyObject 
*_wrap_new_wxPreFindReplaceDialog(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3802     PyObject 
* _resultobj
; 
3803     wxFindReplaceDialog 
* _result
; 
3804     char *_kwnames
[] = {  NULL 
}; 
3808     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreFindReplaceDialog",_kwnames
))  
3811     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3812     _result 
= (wxFindReplaceDialog 
*)new_wxPreFindReplaceDialog(); 
3814     wxPyEndAllowThreads(__tstate
); 
3815     if (PyErr_Occurred()) return NULL
; 
3817         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceDialog_p"); 
3818         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3821         _resultobj 
= Py_None
; 
3826 #define wxFindReplaceDialog_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3)  (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) 
3827 static PyObject 
*_wrap_wxFindReplaceDialog_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3828     PyObject 
* _resultobj
; 
3830     wxFindReplaceDialog 
* _arg0
; 
3832     wxFindReplaceData 
* _arg2
; 
3834     int  _arg4 
= (int ) 0; 
3835     PyObject 
* _argo0 
= 0; 
3836     PyObject 
* _argo1 
= 0; 
3837     PyObject 
* _argo2 
= 0; 
3838     PyObject 
* _obj3 
= 0; 
3839     char *_kwnames
[] = { "self","parent","data","title","style", NULL 
}; 
3842     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|i:wxFindReplaceDialog_Create",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
))  
3845         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3846         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceDialog_p")) { 
3847             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceDialog_Create. Expected _wxFindReplaceDialog_p."); 
3852         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
3853         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
3854             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindReplaceDialog_Create. Expected _wxWindow_p."); 
3859         if (_argo2 
== Py_None
) { _arg2 
= NULL
; } 
3860         else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFindReplaceData_p")) { 
3861             PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxFindReplaceDialog_Create. Expected _wxFindReplaceData_p."); 
3866     _arg3 
= wxString_in_helper(_obj3
); 
3871     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3872     _result 
= (bool )wxFindReplaceDialog_Create(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
); 
3874     wxPyEndAllowThreads(__tstate
); 
3875     if (PyErr_Occurred()) return NULL
; 
3876 }    _resultobj 
= Py_BuildValue("i",_result
); 
3884 #define wxFindReplaceDialog_GetData(_swigobj)  (_swigobj->GetData()) 
3885 static PyObject 
*_wrap_wxFindReplaceDialog_GetData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3886     PyObject 
* _resultobj
; 
3887     wxFindReplaceData 
* _result
; 
3888     wxFindReplaceDialog 
* _arg0
; 
3889     PyObject 
* _argo0 
= 0; 
3890     char *_kwnames
[] = { "self", NULL 
}; 
3894     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindReplaceDialog_GetData",_kwnames
,&_argo0
))  
3897         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3898         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceDialog_p")) { 
3899             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceDialog_GetData. Expected _wxFindReplaceDialog_p."); 
3904     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3905     _result 
= (wxFindReplaceData 
*)wxFindReplaceDialog_GetData(_arg0
); 
3907     wxPyEndAllowThreads(__tstate
); 
3908     if (PyErr_Occurred()) return NULL
; 
3910         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFindReplaceData_p"); 
3911         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3914         _resultobj 
= Py_None
; 
3919 #define wxFindReplaceDialog_SetData(_swigobj,_swigarg0)  (_swigobj->SetData(_swigarg0)) 
3920 static PyObject 
*_wrap_wxFindReplaceDialog_SetData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3921     PyObject 
* _resultobj
; 
3922     wxFindReplaceDialog 
* _arg0
; 
3923     wxFindReplaceData 
* _arg1
; 
3924     PyObject 
* _argo0 
= 0; 
3925     PyObject 
* _argo1 
= 0; 
3926     char *_kwnames
[] = { "self","data", NULL 
}; 
3929     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFindReplaceDialog_SetData",_kwnames
,&_argo0
,&_argo1
))  
3932         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3933         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFindReplaceDialog_p")) { 
3934             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFindReplaceDialog_SetData. Expected _wxFindReplaceDialog_p."); 
3939         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
3940         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFindReplaceData_p")) { 
3941             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindReplaceDialog_SetData. Expected _wxFindReplaceData_p."); 
3946     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3947     wxFindReplaceDialog_SetData(_arg0
,_arg1
); 
3949     wxPyEndAllowThreads(__tstate
); 
3950     if (PyErr_Occurred()) return NULL
; 
3951 }    Py_INCREF(Py_None
); 
3952     _resultobj 
= Py_None
; 
3956 static PyMethodDef cmndlgscMethods
[] = { 
3957          { "wxFindReplaceDialog_SetData", (PyCFunction
) _wrap_wxFindReplaceDialog_SetData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3958          { "wxFindReplaceDialog_GetData", (PyCFunction
) _wrap_wxFindReplaceDialog_GetData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3959          { "wxFindReplaceDialog_Create", (PyCFunction
) _wrap_wxFindReplaceDialog_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3960          { "new_wxPreFindReplaceDialog", (PyCFunction
) _wrap_new_wxPreFindReplaceDialog
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3961          { "new_wxFindReplaceDialog", (PyCFunction
) _wrap_new_wxFindReplaceDialog
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3962          { "wxFindReplaceData_SetReplaceString", (PyCFunction
) _wrap_wxFindReplaceData_SetReplaceString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3963          { "wxFindReplaceData_SetFindString", (PyCFunction
) _wrap_wxFindReplaceData_SetFindString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3964          { "wxFindReplaceData_SetFlags", (PyCFunction
) _wrap_wxFindReplaceData_SetFlags
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3965          { "wxFindReplaceData_GetFlags", (PyCFunction
) _wrap_wxFindReplaceData_GetFlags
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3966          { "wxFindReplaceData_GetReplaceString", (PyCFunction
) _wrap_wxFindReplaceData_GetReplaceString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3967          { "wxFindReplaceData_GetFindString", (PyCFunction
) _wrap_wxFindReplaceData_GetFindString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3968          { "delete_wxFindReplaceData", (PyCFunction
) _wrap_delete_wxFindReplaceData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3969          { "new_wxFindReplaceData", (PyCFunction
) _wrap_new_wxFindReplaceData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3970          { "wxFindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_wxFindDialogEvent_SetReplaceString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3971          { "wxFindDialogEvent_SetFindString", (PyCFunction
) _wrap_wxFindDialogEvent_SetFindString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3972          { "wxFindDialogEvent_SetFlags", (PyCFunction
) _wrap_wxFindDialogEvent_SetFlags
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3973          { "wxFindDialogEvent_GetDialog", (PyCFunction
) _wrap_wxFindDialogEvent_GetDialog
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3974          { "wxFindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_wxFindDialogEvent_GetReplaceString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3975          { "wxFindDialogEvent_GetFindString", (PyCFunction
) _wrap_wxFindDialogEvent_GetFindString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3976          { "wxFindDialogEvent_GetFlags", (PyCFunction
) _wrap_wxFindDialogEvent_GetFlags
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3977          { "new_wxFindDialogEvent", (PyCFunction
) _wrap_new_wxFindDialogEvent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3978          { "wxProgressDialog_Resume", (PyCFunction
) _wrap_wxProgressDialog_Resume
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3979          { "wxProgressDialog_Update", (PyCFunction
) _wrap_wxProgressDialog_Update
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3980          { "new_wxProgressDialog", (PyCFunction
) _wrap_new_wxProgressDialog
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3981          { "wxMessageDialog_ShowModal", (PyCFunction
) _wrap_wxMessageDialog_ShowModal
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3982          { "new_wxMessageDialog", (PyCFunction
) _wrap_new_wxMessageDialog
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3983          { "wxFontDialog_ShowModal", (PyCFunction
) _wrap_wxFontDialog_ShowModal
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3984          { "wxFontDialog_GetFontData", (PyCFunction
) _wrap_wxFontDialog_GetFontData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3985          { "new_wxFontDialog", (PyCFunction
) _wrap_new_wxFontDialog
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3986          { "wxFontData_SetShowHelp", (PyCFunction
) _wrap_wxFontData_SetShowHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3987          { "wxFontData_SetRange", (PyCFunction
) _wrap_wxFontData_SetRange
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3988          { "wxFontData_SetInitialFont", (PyCFunction
) _wrap_wxFontData_SetInitialFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3989          { "wxFontData_SetColour", (PyCFunction
) _wrap_wxFontData_SetColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3990          { "wxFontData_SetChosenFont", (PyCFunction
) _wrap_wxFontData_SetChosenFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3991          { "wxFontData_SetAllowSymbols", (PyCFunction
) _wrap_wxFontData_SetAllowSymbols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3992          { "wxFontData_GetShowHelp", (PyCFunction
) _wrap_wxFontData_GetShowHelp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3993          { "wxFontData_GetInitialFont", (PyCFunction
) _wrap_wxFontData_GetInitialFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3994          { "wxFontData_GetEnableEffects", (PyCFunction
) _wrap_wxFontData_GetEnableEffects
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3995          { "wxFontData_GetChosenFont", (PyCFunction
) _wrap_wxFontData_GetChosenFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3996          { "wxFontData_GetColour", (PyCFunction
) _wrap_wxFontData_GetColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3997          { "wxFontData_GetAllowSymbols", (PyCFunction
) _wrap_wxFontData_GetAllowSymbols
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3998          { "wxFontData_EnableEffects", (PyCFunction
) _wrap_wxFontData_EnableEffects
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3999          { "delete_wxFontData", (PyCFunction
) _wrap_delete_wxFontData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4000          { "new_wxFontData", (PyCFunction
) _wrap_new_wxFontData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4001          { "wxTextEntryDialog_ShowModal", (PyCFunction
) _wrap_wxTextEntryDialog_ShowModal
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4002          { "wxTextEntryDialog_SetValue", (PyCFunction
) _wrap_wxTextEntryDialog_SetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4003          { "wxTextEntryDialog_GetValue", (PyCFunction
) _wrap_wxTextEntryDialog_GetValue
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4004          { "new_wxTextEntryDialog", (PyCFunction
) _wrap_new_wxTextEntryDialog
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4005          { "wxSingleChoiceDialog_ShowModal", (PyCFunction
) _wrap_wxSingleChoiceDialog_ShowModal
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4006          { "wxSingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_SetSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4007          { "wxSingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_GetStringSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4008          { "wxSingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_wxSingleChoiceDialog_GetSelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4009          { "new_wxSingleChoiceDialog", (PyCFunction
) _wrap_new_wxSingleChoiceDialog
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4010          { "wxMultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_wxMultiChoiceDialog_GetSelections
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4011          { "wxMultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_wxMultiChoiceDialog_SetSelections
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4012          { "new_wxMultiChoiceDialog", (PyCFunction
) _wrap_new_wxMultiChoiceDialog
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4013          { "wxFileDialog_GetPaths", (PyCFunction
) _wrap_wxFileDialog_GetPaths
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4014          { "wxFileDialog_GetFilenames", (PyCFunction
) _wrap_wxFileDialog_GetFilenames
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4015          { "wxFileDialog_GetFilterIndex", (PyCFunction
) _wrap_wxFileDialog_GetFilterIndex
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4016          { "wxFileDialog_GetStyle", (PyCFunction
) _wrap_wxFileDialog_GetStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4017          { "wxFileDialog_GetWildcard", (PyCFunction
) _wrap_wxFileDialog_GetWildcard
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4018          { "wxFileDialog_GetFilename", (PyCFunction
) _wrap_wxFileDialog_GetFilename
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4019          { "wxFileDialog_GetDirectory", (PyCFunction
) _wrap_wxFileDialog_GetDirectory
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4020          { "wxFileDialog_GetPath", (PyCFunction
) _wrap_wxFileDialog_GetPath
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4021          { "wxFileDialog_GetMessage", (PyCFunction
) _wrap_wxFileDialog_GetMessage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4022          { "wxFileDialog_SetFilterIndex", (PyCFunction
) _wrap_wxFileDialog_SetFilterIndex
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4023          { "wxFileDialog_SetStyle", (PyCFunction
) _wrap_wxFileDialog_SetStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4024          { "wxFileDialog_SetWildcard", (PyCFunction
) _wrap_wxFileDialog_SetWildcard
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4025          { "wxFileDialog_SetFilename", (PyCFunction
) _wrap_wxFileDialog_SetFilename
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4026          { "wxFileDialog_SetDirectory", (PyCFunction
) _wrap_wxFileDialog_SetDirectory
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4027          { "wxFileDialog_SetPath", (PyCFunction
) _wrap_wxFileDialog_SetPath
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4028          { "wxFileDialog_SetMessage", (PyCFunction
) _wrap_wxFileDialog_SetMessage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4029          { "new_wxFileDialog", (PyCFunction
) _wrap_new_wxFileDialog
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4030          { "wxDirDialog_ShowModal", (PyCFunction
) _wrap_wxDirDialog_ShowModal
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4031          { "wxDirDialog_SetPath", (PyCFunction
) _wrap_wxDirDialog_SetPath
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4032          { "wxDirDialog_SetMessage", (PyCFunction
) _wrap_wxDirDialog_SetMessage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4033          { "wxDirDialog_GetStyle", (PyCFunction
) _wrap_wxDirDialog_GetStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4034          { "wxDirDialog_GetMessage", (PyCFunction
) _wrap_wxDirDialog_GetMessage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4035          { "wxDirDialog_GetPath", (PyCFunction
) _wrap_wxDirDialog_GetPath
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4036          { "new_wxDirDialog", (PyCFunction
) _wrap_new_wxDirDialog
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4037          { "wxColourDialog_ShowModal", (PyCFunction
) _wrap_wxColourDialog_ShowModal
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4038          { "wxColourDialog_GetColourData", (PyCFunction
) _wrap_wxColourDialog_GetColourData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4039          { "new_wxColourDialog", (PyCFunction
) _wrap_new_wxColourDialog
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4040          { "wxColourData_SetCustomColour", (PyCFunction
) _wrap_wxColourData_SetCustomColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4041          { "wxColourData_SetColour", (PyCFunction
) _wrap_wxColourData_SetColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4042          { "wxColourData_SetChooseFull", (PyCFunction
) _wrap_wxColourData_SetChooseFull
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4043          { "wxColourData_GetCustomColour", (PyCFunction
) _wrap_wxColourData_GetCustomColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4044          { "wxColourData_GetColour", (PyCFunction
) _wrap_wxColourData_GetColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4045          { "wxColourData_GetChooseFull", (PyCFunction
) _wrap_wxColourData_GetChooseFull
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4046          { "delete_wxColourData", (PyCFunction
) _wrap_delete_wxColourData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4047          { "new_wxColourData", (PyCFunction
) _wrap_new_wxColourData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
4054  * This table is used by the pointer type-checker 
4056 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = { 
4057     { "_wxEvent","_wxFindDialogEvent",SwigwxFindDialogEventTowxEvent
}, 
4058     { "_signed_long","_long",0}, 
4059     { "_wxPrintQuality","_wxCoord",0}, 
4060     { "_wxPrintQuality","_int",0}, 
4061     { "_wxPrintQuality","_signed_int",0}, 
4062     { "_wxPrintQuality","_unsigned_int",0}, 
4063     { "_wxPrintQuality","_wxWindowID",0}, 
4064     { "_wxPrintQuality","_uint",0}, 
4065     { "_wxPrintQuality","_EBool",0}, 
4066     { "_wxPrintQuality","_size_t",0}, 
4067     { "_wxPrintQuality","_time_t",0}, 
4068     { "_byte","_unsigned_char",0}, 
4069     { "_long","_unsigned_long",0}, 
4070     { "_long","_signed_long",0}, 
4071     { "_size_t","_wxCoord",0}, 
4072     { "_size_t","_wxPrintQuality",0}, 
4073     { "_size_t","_time_t",0}, 
4074     { "_size_t","_unsigned_int",0}, 
4075     { "_size_t","_int",0}, 
4076     { "_size_t","_wxWindowID",0}, 
4077     { "_size_t","_uint",0}, 
4078     { "_wxTopLevelWindow","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxTopLevelWindow
}, 
4079     { "_wxTopLevelWindow","_wxProgressDialog",SwigwxProgressDialogTowxTopLevelWindow
}, 
4080     { "_wxTopLevelWindow","_wxMessageDialog",SwigwxMessageDialogTowxTopLevelWindow
}, 
4081     { "_wxTopLevelWindow","_wxFontDialog",SwigwxFontDialogTowxTopLevelWindow
}, 
4082     { "_wxTopLevelWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxTopLevelWindow
}, 
4083     { "_wxTopLevelWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxTopLevelWindow
}, 
4084     { "_wxTopLevelWindow","_wxMultiChoiceDialog",SwigwxMultiChoiceDialogTowxTopLevelWindow
}, 
4085     { "_wxTopLevelWindow","_wxFileDialog",SwigwxFileDialogTowxTopLevelWindow
}, 
4086     { "_wxTopLevelWindow","_wxDirDialog",SwigwxDirDialogTowxTopLevelWindow
}, 
4087     { "_wxTopLevelWindow","_wxColourDialog",SwigwxColourDialogTowxTopLevelWindow
}, 
4088     { "_uint","_wxCoord",0}, 
4089     { "_uint","_wxPrintQuality",0}, 
4090     { "_uint","_time_t",0}, 
4091     { "_uint","_size_t",0}, 
4092     { "_uint","_unsigned_int",0}, 
4093     { "_uint","_int",0}, 
4094     { "_uint","_wxWindowID",0}, 
4095     { "_wxChar","_char",0}, 
4096     { "_wxCommandEvent","_wxFindDialogEvent",SwigwxFindDialogEventTowxCommandEvent
}, 
4097     { "_char","_wxChar",0}, 
4098     { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0}, 
4099     { "_EBool","_wxCoord",0}, 
4100     { "_EBool","_wxPrintQuality",0}, 
4101     { "_EBool","_signed_int",0}, 
4102     { "_EBool","_int",0}, 
4103     { "_EBool","_wxWindowID",0}, 
4104     { "_unsigned_long","_long",0}, 
4105     { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0}, 
4106     { "_signed_int","_wxCoord",0}, 
4107     { "_signed_int","_wxPrintQuality",0}, 
4108     { "_signed_int","_EBool",0}, 
4109     { "_signed_int","_wxWindowID",0}, 
4110     { "_signed_int","_int",0}, 
4111     { "_WXTYPE","_short",0}, 
4112     { "_WXTYPE","_signed_short",0}, 
4113     { "_WXTYPE","_unsigned_short",0}, 
4114     { "_unsigned_short","_WXTYPE",0}, 
4115     { "_unsigned_short","_short",0}, 
4116     { "_wxObject","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxObject
}, 
4117     { "_wxObject","_wxFindReplaceData",SwigwxFindReplaceDataTowxObject
}, 
4118     { "_wxObject","_wxFindDialogEvent",SwigwxFindDialogEventTowxObject
}, 
4119     { "_wxObject","_wxProgressDialog",SwigwxProgressDialogTowxObject
}, 
4120     { "_wxObject","_wxMessageDialog",SwigwxMessageDialogTowxObject
}, 
4121     { "_wxObject","_wxFontDialog",SwigwxFontDialogTowxObject
}, 
4122     { "_wxObject","_wxFontData",SwigwxFontDataTowxObject
}, 
4123     { "_wxObject","_wxTextEntryDialog",SwigwxTextEntryDialogTowxObject
}, 
4124     { "_wxObject","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxObject
}, 
4125     { "_wxObject","_wxMultiChoiceDialog",SwigwxMultiChoiceDialogTowxObject
}, 
4126     { "_wxObject","_wxFileDialog",SwigwxFileDialogTowxObject
}, 
4127     { "_wxObject","_wxDirDialog",SwigwxDirDialogTowxObject
}, 
4128     { "_wxObject","_wxColourDialog",SwigwxColourDialogTowxObject
}, 
4129     { "_wxObject","_wxColourData",SwigwxColourDataTowxObject
}, 
4130     { "_signed_short","_WXTYPE",0}, 
4131     { "_signed_short","_short",0}, 
4132     { "_unsigned_char","_byte",0}, 
4133     { "_unsigned_int","_wxCoord",0}, 
4134     { "_unsigned_int","_wxPrintQuality",0}, 
4135     { "_unsigned_int","_time_t",0}, 
4136     { "_unsigned_int","_size_t",0}, 
4137     { "_unsigned_int","_uint",0}, 
4138     { "_unsigned_int","_wxWindowID",0}, 
4139     { "_unsigned_int","_int",0}, 
4140     { "_wxDialog","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxDialog
}, 
4141     { "_wxDialog","_wxMessageDialog",SwigwxMessageDialogTowxDialog
}, 
4142     { "_wxDialog","_wxFontDialog",SwigwxFontDialogTowxDialog
}, 
4143     { "_wxDialog","_wxTextEntryDialog",SwigwxTextEntryDialogTowxDialog
}, 
4144     { "_wxDialog","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxDialog
}, 
4145     { "_wxDialog","_wxMultiChoiceDialog",SwigwxMultiChoiceDialogTowxDialog
}, 
4146     { "_wxDialog","_wxFileDialog",SwigwxFileDialogTowxDialog
}, 
4147     { "_wxDialog","_wxDirDialog",SwigwxDirDialogTowxDialog
}, 
4148     { "_wxDialog","_wxColourDialog",SwigwxColourDialogTowxDialog
}, 
4149     { "_short","_WXTYPE",0}, 
4150     { "_short","_unsigned_short",0}, 
4151     { "_short","_signed_short",0}, 
4152     { "_wxFrame","_wxProgressDialog",SwigwxProgressDialogTowxFrame
}, 
4153     { "_wxWindowID","_wxCoord",0}, 
4154     { "_wxWindowID","_wxPrintQuality",0}, 
4155     { "_wxWindowID","_time_t",0}, 
4156     { "_wxWindowID","_size_t",0}, 
4157     { "_wxWindowID","_EBool",0}, 
4158     { "_wxWindowID","_uint",0}, 
4159     { "_wxWindowID","_int",0}, 
4160     { "_wxWindowID","_signed_int",0}, 
4161     { "_wxWindowID","_unsigned_int",0}, 
4162     { "_int","_wxCoord",0}, 
4163     { "_int","_wxPrintQuality",0}, 
4164     { "_int","_time_t",0}, 
4165     { "_int","_size_t",0}, 
4166     { "_int","_EBool",0}, 
4167     { "_int","_uint",0}, 
4168     { "_int","_wxWindowID",0}, 
4169     { "_int","_unsigned_int",0}, 
4170     { "_int","_signed_int",0}, 
4171     { "_time_t","_wxCoord",0}, 
4172     { "_time_t","_wxPrintQuality",0}, 
4173     { "_time_t","_unsigned_int",0}, 
4174     { "_time_t","_int",0}, 
4175     { "_time_t","_wxWindowID",0}, 
4176     { "_time_t","_uint",0}, 
4177     { "_time_t","_size_t",0}, 
4178     { "_wxCoord","_int",0}, 
4179     { "_wxCoord","_signed_int",0}, 
4180     { "_wxCoord","_unsigned_int",0}, 
4181     { "_wxCoord","_wxWindowID",0}, 
4182     { "_wxCoord","_uint",0}, 
4183     { "_wxCoord","_EBool",0}, 
4184     { "_wxCoord","_size_t",0}, 
4185     { "_wxCoord","_time_t",0}, 
4186     { "_wxCoord","_wxPrintQuality",0}, 
4187     { "_wxEvtHandler","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxEvtHandler
}, 
4188     { "_wxEvtHandler","_wxProgressDialog",SwigwxProgressDialogTowxEvtHandler
}, 
4189     { "_wxEvtHandler","_wxMessageDialog",SwigwxMessageDialogTowxEvtHandler
}, 
4190     { "_wxEvtHandler","_wxFontDialog",SwigwxFontDialogTowxEvtHandler
}, 
4191     { "_wxEvtHandler","_wxTextEntryDialog",SwigwxTextEntryDialogTowxEvtHandler
}, 
4192     { "_wxEvtHandler","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxEvtHandler
}, 
4193     { "_wxEvtHandler","_wxMultiChoiceDialog",SwigwxMultiChoiceDialogTowxEvtHandler
}, 
4194     { "_wxEvtHandler","_wxFileDialog",SwigwxFileDialogTowxEvtHandler
}, 
4195     { "_wxEvtHandler","_wxDirDialog",SwigwxDirDialogTowxEvtHandler
}, 
4196     { "_wxEvtHandler","_wxColourDialog",SwigwxColourDialogTowxEvtHandler
}, 
4197     { "_wxWindow","_wxFindReplaceDialog",SwigwxFindReplaceDialogTowxWindow
}, 
4198     { "_wxWindow","_wxProgressDialog",SwigwxProgressDialogTowxWindow
}, 
4199     { "_wxWindow","_wxMessageDialog",SwigwxMessageDialogTowxWindow
}, 
4200     { "_wxWindow","_wxFontDialog",SwigwxFontDialogTowxWindow
}, 
4201     { "_wxWindow","_wxTextEntryDialog",SwigwxTextEntryDialogTowxWindow
}, 
4202     { "_wxWindow","_wxSingleChoiceDialog",SwigwxSingleChoiceDialogTowxWindow
}, 
4203     { "_wxWindow","_wxMultiChoiceDialog",SwigwxMultiChoiceDialogTowxWindow
}, 
4204     { "_wxWindow","_wxFileDialog",SwigwxFileDialogTowxWindow
}, 
4205     { "_wxWindow","_wxDirDialog",SwigwxDirDialogTowxWindow
}, 
4206     { "_wxWindow","_wxColourDialog",SwigwxColourDialogTowxWindow
}, 
4209 static PyObject 
*SWIG_globals
; 
4213 SWIGEXPORT(void) initcmndlgsc() { 
4215          SWIG_globals 
= SWIG_newvarlink(); 
4216          m 
= Py_InitModule("cmndlgsc", cmndlgscMethods
); 
4217          d 
= PyModule_GetDict(m
); 
4218          PyDict_SetItemString(d
,"wxCHOICEDLG_STYLE", PyInt_FromLong((long) wxCHOICEDLG_STYLE
)); 
4219          PyDict_SetItemString(d
,"wxFR_DOWN", PyInt_FromLong((long) wxFR_DOWN
)); 
4220          PyDict_SetItemString(d
,"wxFR_WHOLEWORD", PyInt_FromLong((long) wxFR_WHOLEWORD
)); 
4221          PyDict_SetItemString(d
,"wxFR_MATCHCASE", PyInt_FromLong((long) wxFR_MATCHCASE
)); 
4222          PyDict_SetItemString(d
,"wxFR_REPLACEDIALOG", PyInt_FromLong((long) wxFR_REPLACEDIALOG
)); 
4223          PyDict_SetItemString(d
,"wxFR_NOUPDOWN", PyInt_FromLong((long) wxFR_NOUPDOWN
)); 
4224          PyDict_SetItemString(d
,"wxFR_NOMATCHCASE", PyInt_FromLong((long) wxFR_NOMATCHCASE
)); 
4225          PyDict_SetItemString(d
,"wxFR_NOWHOLEWORD", PyInt_FromLong((long) wxFR_NOWHOLEWORD
)); 
4226          PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND", PyInt_FromLong((long) wxEVT_COMMAND_FIND
)); 
4227          PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong((long) wxEVT_COMMAND_FIND_NEXT
)); 
4228          PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong((long) wxEVT_COMMAND_FIND_REPLACE
)); 
4229          PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong((long) wxEVT_COMMAND_FIND_REPLACE_ALL
)); 
4230          PyDict_SetItemString(d
,"wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong((long) wxEVT_COMMAND_FIND_CLOSE
)); 
4233    for (i 
= 0; _swig_mapping
[i
].n1
; i
++) 
4234         SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);