X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b850e7f3345e0428154e01a3013d322a3862a290..365271b573e3d0ab7512471358f98a589f18c104:/wxPython/src/gtk/_controls_wrap.cpp diff --git a/wxPython/src/gtk/_controls_wrap.cpp b/wxPython/src/gtk/_controls_wrap.cpp index 72db6b4c40..889e70551b 100644 --- a/wxPython/src/gtk/_controls_wrap.cpp +++ b/wxPython/src/gtk/_controls_wrap.cpp @@ -985,6 +985,10 @@ typedef struct swig_const_info { /* Common SWIG API */ +#if PY_VERSION_HEX < 0x02050000 +typedef int Py_ssize_t; +#endif + /* for raw pointers */ #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0) #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags) @@ -2048,7 +2052,7 @@ SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) { void *vptr = 0; /* here we get the method pointer for callbacks */ - char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); + const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0; if (desc) { desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0; @@ -2489,153 +2493,157 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) #define SWIGTYPE_p_wxChoicebookEvent swig_types[27] #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28] #define SWIGTYPE_p_wxCloseEvent swig_types[29] -#define SWIGTYPE_p_wxColour swig_types[30] -#define SWIGTYPE_p_wxColourPickerCtrl swig_types[31] -#define SWIGTYPE_p_wxColourPickerEvent swig_types[32] -#define SWIGTYPE_p_wxComboBox swig_types[33] -#define SWIGTYPE_p_wxCommandEvent swig_types[34] -#define SWIGTYPE_p_wxContextHelp swig_types[35] -#define SWIGTYPE_p_wxContextHelpButton swig_types[36] -#define SWIGTYPE_p_wxContextMenuEvent swig_types[37] -#define SWIGTYPE_p_wxControl swig_types[38] -#define SWIGTYPE_p_wxControlWithItems swig_types[39] -#define SWIGTYPE_p_wxCursor swig_types[40] -#define SWIGTYPE_p_wxDC swig_types[41] -#define SWIGTYPE_p_wxDateEvent swig_types[42] -#define SWIGTYPE_p_wxDatePickerCtrl swig_types[43] -#define SWIGTYPE_p_wxDateTime swig_types[44] -#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[45] -#define SWIGTYPE_p_wxDirPickerCtrl swig_types[46] -#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[47] -#define SWIGTYPE_p_wxDropFilesEvent swig_types[48] -#define SWIGTYPE_p_wxDuplexMode swig_types[49] -#define SWIGTYPE_p_wxEraseEvent swig_types[50] -#define SWIGTYPE_p_wxEvent swig_types[51] -#define SWIGTYPE_p_wxEvtHandler swig_types[52] -#define SWIGTYPE_p_wxFSFile swig_types[53] -#define SWIGTYPE_p_wxFileDirPickerEvent swig_types[54] -#define SWIGTYPE_p_wxFilePickerCtrl swig_types[55] -#define SWIGTYPE_p_wxFileSystem swig_types[56] -#define SWIGTYPE_p_wxFlexGridSizer swig_types[57] -#define SWIGTYPE_p_wxFocusEvent swig_types[58] -#define SWIGTYPE_p_wxFont swig_types[59] -#define SWIGTYPE_p_wxFontPickerCtrl swig_types[60] -#define SWIGTYPE_p_wxFontPickerEvent swig_types[61] -#define SWIGTYPE_p_wxGBSizerItem swig_types[62] -#define SWIGTYPE_p_wxGIFHandler swig_types[63] -#define SWIGTYPE_p_wxGauge swig_types[64] -#define SWIGTYPE_p_wxGenericDirCtrl swig_types[65] -#define SWIGTYPE_p_wxGenericDragImage swig_types[66] -#define SWIGTYPE_p_wxGridBagSizer swig_types[67] -#define SWIGTYPE_p_wxGridSizer swig_types[68] -#define SWIGTYPE_p_wxHelpEvent swig_types[69] -#define SWIGTYPE_p_wxHelpProvider swig_types[70] -#define SWIGTYPE_p_wxHyperlinkCtrl swig_types[71] -#define SWIGTYPE_p_wxHyperlinkEvent swig_types[72] -#define SWIGTYPE_p_wxICOHandler swig_types[73] -#define SWIGTYPE_p_wxIcon swig_types[74] -#define SWIGTYPE_p_wxIconizeEvent swig_types[75] -#define SWIGTYPE_p_wxIdleEvent swig_types[76] -#define SWIGTYPE_p_wxImage swig_types[77] -#define SWIGTYPE_p_wxImageHandler swig_types[78] -#define SWIGTYPE_p_wxImageList swig_types[79] -#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[80] -#define SWIGTYPE_p_wxInitDialogEvent swig_types[81] -#define SWIGTYPE_p_wxItemContainer swig_types[82] -#define SWIGTYPE_p_wxJPEGHandler swig_types[83] -#define SWIGTYPE_p_wxKeyEvent swig_types[84] -#define SWIGTYPE_p_wxLayoutConstraints swig_types[85] -#define SWIGTYPE_p_wxListBox swig_types[86] -#define SWIGTYPE_p_wxListEvent swig_types[87] -#define SWIGTYPE_p_wxListItem swig_types[88] -#define SWIGTYPE_p_wxListItemAttr swig_types[89] -#define SWIGTYPE_p_wxListView swig_types[90] -#define SWIGTYPE_p_wxListbook swig_types[91] -#define SWIGTYPE_p_wxListbookEvent swig_types[92] -#define SWIGTYPE_p_wxMaximizeEvent swig_types[93] -#define SWIGTYPE_p_wxMemoryDC swig_types[94] -#define SWIGTYPE_p_wxMenu swig_types[95] -#define SWIGTYPE_p_wxMenuBar swig_types[96] -#define SWIGTYPE_p_wxMenuEvent swig_types[97] -#define SWIGTYPE_p_wxMenuItem swig_types[98] -#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[99] -#define SWIGTYPE_p_wxMouseEvent swig_types[100] -#define SWIGTYPE_p_wxMoveEvent swig_types[101] -#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[102] -#define SWIGTYPE_p_wxNcPaintEvent swig_types[103] -#define SWIGTYPE_p_wxNotebook swig_types[104] -#define SWIGTYPE_p_wxNotebookEvent swig_types[105] -#define SWIGTYPE_p_wxNotifyEvent swig_types[106] -#define SWIGTYPE_p_wxObject swig_types[107] -#define SWIGTYPE_p_wxPCXHandler swig_types[108] -#define SWIGTYPE_p_wxPNGHandler swig_types[109] -#define SWIGTYPE_p_wxPNMHandler swig_types[110] -#define SWIGTYPE_p_wxPaintEvent swig_types[111] -#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[112] -#define SWIGTYPE_p_wxPaperSize swig_types[113] -#define SWIGTYPE_p_wxPickerBase swig_types[114] -#define SWIGTYPE_p_wxPoint swig_types[115] -#define SWIGTYPE_p_wxPyApp swig_types[116] -#define SWIGTYPE_p_wxPyCommandEvent swig_types[117] -#define SWIGTYPE_p_wxPyControl swig_types[118] -#define SWIGTYPE_p_wxPyEvent swig_types[119] -#define SWIGTYPE_p_wxPyImageHandler swig_types[120] -#define SWIGTYPE_p_wxPyListCtrl swig_types[121] -#define SWIGTYPE_p_wxPySizer swig_types[122] -#define SWIGTYPE_p_wxPyTreeCtrl swig_types[123] -#define SWIGTYPE_p_wxPyTreeItemData swig_types[124] -#define SWIGTYPE_p_wxPyValidator swig_types[125] -#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126] -#define SWIGTYPE_p_wxRadioBox swig_types[127] -#define SWIGTYPE_p_wxRadioButton swig_types[128] -#define SWIGTYPE_p_wxRect swig_types[129] -#define SWIGTYPE_p_wxScrollBar swig_types[130] -#define SWIGTYPE_p_wxScrollEvent swig_types[131] -#define SWIGTYPE_p_wxScrollWinEvent swig_types[132] -#define SWIGTYPE_p_wxSetCursorEvent swig_types[133] -#define SWIGTYPE_p_wxShowEvent swig_types[134] -#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[135] -#define SWIGTYPE_p_wxSize swig_types[136] -#define SWIGTYPE_p_wxSizeEvent swig_types[137] -#define SWIGTYPE_p_wxSizer swig_types[138] -#define SWIGTYPE_p_wxSizerItem swig_types[139] -#define SWIGTYPE_p_wxSlider swig_types[140] -#define SWIGTYPE_p_wxSpinButton swig_types[141] -#define SWIGTYPE_p_wxSpinCtrl swig_types[142] -#define SWIGTYPE_p_wxSpinEvent swig_types[143] -#define SWIGTYPE_p_wxStaticBitmap swig_types[144] -#define SWIGTYPE_p_wxStaticBox swig_types[145] -#define SWIGTYPE_p_wxStaticBoxSizer swig_types[146] -#define SWIGTYPE_p_wxStaticLine swig_types[147] -#define SWIGTYPE_p_wxStaticText swig_types[148] -#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[149] -#define SWIGTYPE_p_wxString swig_types[150] -#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[151] -#define SWIGTYPE_p_wxTIFFHandler swig_types[152] -#define SWIGTYPE_p_wxTextAttr swig_types[153] -#define SWIGTYPE_p_wxTextCtrl swig_types[154] -#define SWIGTYPE_p_wxTextUrlEvent swig_types[155] -#define SWIGTYPE_p_wxToggleButton swig_types[156] -#define SWIGTYPE_p_wxToolBar swig_types[157] -#define SWIGTYPE_p_wxToolBarBase swig_types[158] -#define SWIGTYPE_p_wxToolBarToolBase swig_types[159] -#define SWIGTYPE_p_wxToolbook swig_types[160] -#define SWIGTYPE_p_wxToolbookEvent swig_types[161] -#define SWIGTYPE_p_wxTreeCtrl swig_types[162] -#define SWIGTYPE_p_wxTreeEvent swig_types[163] -#define SWIGTYPE_p_wxTreeItemId swig_types[164] -#define SWIGTYPE_p_wxTreebook swig_types[165] -#define SWIGTYPE_p_wxTreebookEvent swig_types[166] -#define SWIGTYPE_p_wxUpdateUIEvent swig_types[167] -#define SWIGTYPE_p_wxValidator swig_types[168] -#define SWIGTYPE_p_wxVisualAttributes swig_types[169] -#define SWIGTYPE_p_wxWindow swig_types[170] -#define SWIGTYPE_p_wxWindowBase swig_types[171] -#define SWIGTYPE_p_wxWindowCreateEvent swig_types[172] -#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[173] -#define SWIGTYPE_p_wxXPMHandler swig_types[174] -static swig_type_info *swig_types[176]; -static swig_module_info swig_module = {swig_types, 175, 0, 0, 0, 0}; +#define SWIGTYPE_p_wxCollapsiblePane swig_types[30] +#define SWIGTYPE_p_wxCollapsiblePaneEvent swig_types[31] +#define SWIGTYPE_p_wxColour swig_types[32] +#define SWIGTYPE_p_wxColourPickerCtrl swig_types[33] +#define SWIGTYPE_p_wxColourPickerEvent swig_types[34] +#define SWIGTYPE_p_wxComboBox swig_types[35] +#define SWIGTYPE_p_wxCommandEvent swig_types[36] +#define SWIGTYPE_p_wxContextHelp swig_types[37] +#define SWIGTYPE_p_wxContextHelpButton swig_types[38] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[39] +#define SWIGTYPE_p_wxControl swig_types[40] +#define SWIGTYPE_p_wxControlWithItems swig_types[41] +#define SWIGTYPE_p_wxCursor swig_types[42] +#define SWIGTYPE_p_wxDC swig_types[43] +#define SWIGTYPE_p_wxDateEvent swig_types[44] +#define SWIGTYPE_p_wxDatePickerCtrl swig_types[45] +#define SWIGTYPE_p_wxDateTime swig_types[46] +#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[47] +#define SWIGTYPE_p_wxDirPickerCtrl swig_types[48] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[49] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[50] +#define SWIGTYPE_p_wxDuplexMode swig_types[51] +#define SWIGTYPE_p_wxEraseEvent swig_types[52] +#define SWIGTYPE_p_wxEvent swig_types[53] +#define SWIGTYPE_p_wxEvtHandler swig_types[54] +#define SWIGTYPE_p_wxFSFile swig_types[55] +#define SWIGTYPE_p_wxFileDirPickerEvent swig_types[56] +#define SWIGTYPE_p_wxFilePickerCtrl swig_types[57] +#define SWIGTYPE_p_wxFileSystem swig_types[58] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[59] +#define SWIGTYPE_p_wxFocusEvent swig_types[60] +#define SWIGTYPE_p_wxFont swig_types[61] +#define SWIGTYPE_p_wxFontPickerCtrl swig_types[62] +#define SWIGTYPE_p_wxFontPickerEvent swig_types[63] +#define SWIGTYPE_p_wxGBSizerItem swig_types[64] +#define SWIGTYPE_p_wxGIFHandler swig_types[65] +#define SWIGTYPE_p_wxGauge swig_types[66] +#define SWIGTYPE_p_wxGenericDirCtrl swig_types[67] +#define SWIGTYPE_p_wxGenericDragImage swig_types[68] +#define SWIGTYPE_p_wxGridBagSizer swig_types[69] +#define SWIGTYPE_p_wxGridSizer swig_types[70] +#define SWIGTYPE_p_wxHelpEvent swig_types[71] +#define SWIGTYPE_p_wxHelpProvider swig_types[72] +#define SWIGTYPE_p_wxHyperlinkCtrl swig_types[73] +#define SWIGTYPE_p_wxHyperlinkEvent swig_types[74] +#define SWIGTYPE_p_wxICOHandler swig_types[75] +#define SWIGTYPE_p_wxIcon swig_types[76] +#define SWIGTYPE_p_wxIconizeEvent swig_types[77] +#define SWIGTYPE_p_wxIdleEvent swig_types[78] +#define SWIGTYPE_p_wxImage swig_types[79] +#define SWIGTYPE_p_wxImageHandler swig_types[80] +#define SWIGTYPE_p_wxImageList swig_types[81] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[82] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[83] +#define SWIGTYPE_p_wxItemContainer swig_types[84] +#define SWIGTYPE_p_wxJPEGHandler swig_types[85] +#define SWIGTYPE_p_wxKeyEvent swig_types[86] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[87] +#define SWIGTYPE_p_wxListBox swig_types[88] +#define SWIGTYPE_p_wxListEvent swig_types[89] +#define SWIGTYPE_p_wxListItem swig_types[90] +#define SWIGTYPE_p_wxListItemAttr swig_types[91] +#define SWIGTYPE_p_wxListView swig_types[92] +#define SWIGTYPE_p_wxListbook swig_types[93] +#define SWIGTYPE_p_wxListbookEvent swig_types[94] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[95] +#define SWIGTYPE_p_wxMemoryDC swig_types[96] +#define SWIGTYPE_p_wxMenu swig_types[97] +#define SWIGTYPE_p_wxMenuBar swig_types[98] +#define SWIGTYPE_p_wxMenuEvent swig_types[99] +#define SWIGTYPE_p_wxMenuItem swig_types[100] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101] +#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102] +#define SWIGTYPE_p_wxMouseEvent swig_types[103] +#define SWIGTYPE_p_wxMoveEvent swig_types[104] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[105] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[106] +#define SWIGTYPE_p_wxNotebook swig_types[107] +#define SWIGTYPE_p_wxNotebookEvent swig_types[108] +#define SWIGTYPE_p_wxNotifyEvent swig_types[109] +#define SWIGTYPE_p_wxObject swig_types[110] +#define SWIGTYPE_p_wxPCXHandler swig_types[111] +#define SWIGTYPE_p_wxPNGHandler swig_types[112] +#define SWIGTYPE_p_wxPNMHandler swig_types[113] +#define SWIGTYPE_p_wxPaintEvent swig_types[114] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[115] +#define SWIGTYPE_p_wxPaperSize swig_types[116] +#define SWIGTYPE_p_wxPickerBase swig_types[117] +#define SWIGTYPE_p_wxPoint swig_types[118] +#define SWIGTYPE_p_wxPyApp swig_types[119] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[120] +#define SWIGTYPE_p_wxPyControl swig_types[121] +#define SWIGTYPE_p_wxPyEvent swig_types[122] +#define SWIGTYPE_p_wxPyImageHandler swig_types[123] +#define SWIGTYPE_p_wxPyListCtrl swig_types[124] +#define SWIGTYPE_p_wxPySizer swig_types[125] +#define SWIGTYPE_p_wxPyTreeCtrl swig_types[126] +#define SWIGTYPE_p_wxPyTreeItemData swig_types[127] +#define SWIGTYPE_p_wxPyValidator swig_types[128] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129] +#define SWIGTYPE_p_wxRadioBox swig_types[130] +#define SWIGTYPE_p_wxRadioButton swig_types[131] +#define SWIGTYPE_p_wxRect swig_types[132] +#define SWIGTYPE_p_wxScrollBar swig_types[133] +#define SWIGTYPE_p_wxScrollEvent swig_types[134] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[135] +#define SWIGTYPE_p_wxSearchCtrl swig_types[136] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[137] +#define SWIGTYPE_p_wxShowEvent swig_types[138] +#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[139] +#define SWIGTYPE_p_wxSize swig_types[140] +#define SWIGTYPE_p_wxSizeEvent swig_types[141] +#define SWIGTYPE_p_wxSizer swig_types[142] +#define SWIGTYPE_p_wxSizerItem swig_types[143] +#define SWIGTYPE_p_wxSlider swig_types[144] +#define SWIGTYPE_p_wxSpinButton swig_types[145] +#define SWIGTYPE_p_wxSpinCtrl swig_types[146] +#define SWIGTYPE_p_wxSpinEvent swig_types[147] +#define SWIGTYPE_p_wxStaticBitmap swig_types[148] +#define SWIGTYPE_p_wxStaticBox swig_types[149] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[150] +#define SWIGTYPE_p_wxStaticLine swig_types[151] +#define SWIGTYPE_p_wxStaticText swig_types[152] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[153] +#define SWIGTYPE_p_wxString swig_types[154] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[155] +#define SWIGTYPE_p_wxTGAHandler swig_types[156] +#define SWIGTYPE_p_wxTIFFHandler swig_types[157] +#define SWIGTYPE_p_wxTextAttr swig_types[158] +#define SWIGTYPE_p_wxTextCtrl swig_types[159] +#define SWIGTYPE_p_wxTextUrlEvent swig_types[160] +#define SWIGTYPE_p_wxToggleButton swig_types[161] +#define SWIGTYPE_p_wxToolBar swig_types[162] +#define SWIGTYPE_p_wxToolBarBase swig_types[163] +#define SWIGTYPE_p_wxToolBarToolBase swig_types[164] +#define SWIGTYPE_p_wxToolbook swig_types[165] +#define SWIGTYPE_p_wxToolbookEvent swig_types[166] +#define SWIGTYPE_p_wxTreeEvent swig_types[167] +#define SWIGTYPE_p_wxTreeItemId swig_types[168] +#define SWIGTYPE_p_wxTreebook swig_types[169] +#define SWIGTYPE_p_wxTreebookEvent swig_types[170] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[171] +#define SWIGTYPE_p_wxValidator swig_types[172] +#define SWIGTYPE_p_wxVisualAttributes swig_types[173] +#define SWIGTYPE_p_wxWindow swig_types[174] +#define SWIGTYPE_p_wxWindowBase swig_types[175] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[176] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[177] +#define SWIGTYPE_p_wxXPMHandler swig_types[178] +static swig_type_info *swig_types[180]; +static swig_module_info swig_module = {swig_types, 179, 0, 0, 0, 0}; #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) @@ -2817,6 +2825,7 @@ SWIG_AsVal_bool (PyObject *obj, bool *val) static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr); static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr); static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr); + static const wxString wxPyStaticLineNameStr(wxStaticLineNameStr); #include @@ -2890,6 +2899,7 @@ SWIGINTERN void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){ #endif } static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr); +SWIGINTERN void wxTextCtrl_MacCheckSpelling(wxTextCtrl *self,bool check){} SWIGINTERN void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){ self->AppendText(text); } @@ -3060,7 +3070,7 @@ IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl); IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText); IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr); IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage); -IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemColumnImage); +IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemColumnImage); SWIGINTERN wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){ @@ -3116,6 +3126,9 @@ SWIGINTERN wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){ SWIGINTERN bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; } SWIGINTERN bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; } SWIGINTERN void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; } + + static wxTreeItemId wxNullTreeItemId; + // C++ version of Python aware wxTreeCtrl class wxPyTreeCtrl : public wxTreeCtrl { DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl) @@ -3261,7 +3274,6 @@ public: const wxString& name = wxPyControlNameStr) : wxControl(parent, id, pos, size, style, validator, name) {} - void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); } bool DoEraseBackground(wxDC* dc) { #ifdef __WXMSW__ @@ -3358,12 +3370,6 @@ SWIGINTERN wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){ return rv; } static const wxString wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr); - -#include -#include -#include -#include - static const wxString wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr); static const wxString wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr); static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr); @@ -3371,6 +3377,54 @@ SWIGINTERN wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){ static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr); static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr); static const wxString wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr); + static const wxString wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr); + static const wxString wxPySearchCtrlNameStr(wxSearchCtrlNameStr); + +#if !defined(wxUSE_SEARCHCTRL) || !wxUSE_SEARCHCTRL +// define a dummy class for builds that don't have wxSearchCtrl + +enum { + wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN, + wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN +}; + +class wxSearchCtrl : public wxTextCtrl +{ +public: + wxSearchCtrl() { wxPyRaiseNotImplemented(); } + wxSearchCtrl(wxWindow*, wxWindowID, + const wxString&, + const wxPoint&, + const wxSize&, + long style, + const wxValidator&, + const wxString& name) + { wxPyRaiseNotImplemented(); } + + bool Create( wxWindow*, wxWindowID, + const wxString&, + const wxPoint&, + const wxSize&, + long style, + const wxValidator&, + const wxString& name) {} + + virtual void SetMenu( wxMenu* ) {} + virtual wxMenu* GetMenu() { return NULL; } + + // get/set search options + // ---------------------- + virtual void ShowSearchButton( bool ) {} + virtual bool IsSearchButtonVisible() const { return false; } + + virtual void ShowCancelButton( bool ) {} + virtual bool IsCancelButtonVisible() const { return false; } + + virtual void SetDescriptiveText(const wxString& text); + virtual wxString GetDescriptiveText() const; +}; +#endif + #ifdef __cplusplus extern "C" { #endif @@ -6304,60 +6358,6 @@ fail: } -SWIGINTERN PyObject *_wrap_ComboBox_SetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { - PyObject *resultobj = 0; - wxComboBox *arg1 = (wxComboBox *) 0 ; - int arg2 ; - wxString *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - bool temp3 = false ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - char * kwnames[] = { - (char *) "self",(char *) "n",(char *) "string", NULL - }; - - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'"); - } - arg1 = reinterpret_cast< wxComboBox * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - arg3 = wxString_in_helper(obj2); - if (arg3 == NULL) SWIG_fail; - temp3 = true; - } - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetString(arg2,(wxString const &)*arg3); - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = SWIG_Py_Void(); - { - if (temp3) - delete arg3; - } - return resultobj; -fail: - { - if (temp3) - delete arg3; - } - return NULL; -} - - SWIGINTERN PyObject *_wrap_ComboBox_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxComboBox *arg1 = (wxComboBox *) 0 ; @@ -7192,6 +7192,33 @@ fail: } +SWIGINTERN PyObject *_wrap_Gauge_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxGauge *arg1 = (wxGauge *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'"); + } + arg1 = reinterpret_cast< wxGauge * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->Pulse(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_Gauge_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; wxGauge *arg1 = (wxGauge *) 0 ; @@ -7458,6 +7485,26 @@ SWIGINTERN PyObject *StaticTextNameStr_get(void) { } +SWIGINTERN int StaticLineNameStr_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable StaticLineNameStr is read-only."); + return 1; +} + + +SWIGINTERN PyObject *StaticLineNameStr_get(void) { + PyObject *pyobj = 0; + + { +#if wxUSE_UNICODE + pyobj = PyUnicode_FromWideChar((&wxPyStaticLineNameStr)->c_str(), (&wxPyStaticLineNameStr)->Len()); +#else + pyobj = PyString_FromStringAndSize((&wxPyStaticLineNameStr)->c_str(), (&wxPyStaticLineNameStr)->Len()); +#endif + } + return pyobj; +} + + SWIGINTERN PyObject *_wrap_new_StaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxWindow *arg1 = (wxWindow *) 0 ; @@ -7762,7 +7809,7 @@ SWIGINTERN PyObject *_wrap_new_StaticLine(PyObject *SWIGUNUSEDPARM(self), PyObje wxSize const &arg4_defvalue = wxDefaultSize ; wxSize *arg4 = (wxSize *) &arg4_defvalue ; long arg5 = (long) wxLI_HORIZONTAL ; - wxString const &arg6_defvalue = wxPyStaticTextNameStr ; + wxString const &arg6_defvalue = wxPyStaticLineNameStr ; wxString *arg6 = (wxString *) &arg6_defvalue ; wxStaticLine *result = 0 ; void *argp1 = 0 ; @@ -7874,7 +7921,7 @@ SWIGINTERN PyObject *_wrap_StaticLine_Create(PyObject *SWIGUNUSEDPARM(self), PyO wxSize const &arg5_defvalue = wxDefaultSize ; wxSize *arg5 = (wxSize *) &arg5_defvalue ; long arg6 = (long) wxLI_HORIZONTAL ; - wxString const &arg7_defvalue = wxPyStaticTextNameStr ; + wxString const &arg7_defvalue = wxPyStaticLineNameStr ; wxString *arg7 = (wxString *) &arg7_defvalue ; bool result; void *argp1 = 0 ; @@ -10806,6 +10853,10 @@ SWIGINTERN PyObject *_wrap_TextAttr_SetTabs(PyObject *SWIGUNUSEDPARM(self), PyOb for (i=0; iAdd(PyInt_AS_LONG(number)); Py_DECREF(item); Py_DECREF(number); @@ -11355,13 +11406,7 @@ SWIGINTERN PyObject *_wrap_TextAttr_GetTabs(PyObject *SWIGUNUSEDPARM(self), PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = PyList_New(0); - size_t idx; - for (idx = 0; idx < result->GetCount(); idx += 1) { - PyObject* val = PyInt_FromLong( result->Item(idx) ); - PyList_Append(resultobj, val); - Py_DECREF(val); - } + resultobj = wxArrayInt2PyList_helper(*result); } return resultobj; fail: @@ -11936,6 +11981,81 @@ fail: } +SWIGINTERN PyObject *_wrap_TextCtrl_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'"); + } + arg1 = reinterpret_cast< wxTextCtrl * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxTextCtrl const *)arg1)->IsEmpty(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_TextCtrl_ChangeValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; + wxString *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + bool temp2 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "value", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ChangeValue",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'"); + } + arg1 = reinterpret_cast< wxTextCtrl * >(argp1); + { + arg2 = wxString_in_helper(obj1); + if (arg2 == NULL) SWIG_fail; + temp2 = true; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->ChangeValue((wxString const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + { + if (temp2) + delete arg2; + } + return resultobj; +fail: + { + if (temp2) + delete arg2; + } + return NULL; +} + + SWIGINTERN PyObject *_wrap_TextCtrl_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; @@ -12444,17 +12564,21 @@ SWIGINTERN PyObject *_wrap_TextCtrl_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyO PyObject *resultobj = 0; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxString *arg2 = 0 ; + int arg3 = (int) wxTEXT_TYPE_ANY ; bool result; void *argp1 = 0 ; int res1 = 0 ; bool temp2 = false ; + int val3 ; + int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "file", NULL + (char *) "self",(char *) "file",(char *) "fileType", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextCtrl_LoadFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'"); @@ -12465,9 +12589,16 @@ SWIGINTERN PyObject *_wrap_TextCtrl_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyO if (arg2 == NULL) SWIG_fail; temp2 = true; } + if (obj2) { + ecode3 = SWIG_AsVal_int(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'"); + } + arg3 = static_cast< int >(val3); + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->LoadFile((wxString const &)*arg2); + result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } @@ -12493,17 +12624,21 @@ SWIGINTERN PyObject *_wrap_TextCtrl_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyO wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxString const &arg2_defvalue = wxPyEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; + int arg3 = (int) wxTEXT_TYPE_ANY ; bool result; void *argp1 = 0 ; int res1 = 0 ; bool temp2 = false ; + int val3 ; + int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "file", NULL + (char *) "self",(char *) "file",(char *) "fileType", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:TextCtrl_SaveFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'"); @@ -12516,9 +12651,16 @@ SWIGINTERN PyObject *_wrap_TextCtrl_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyO temp2 = true; } } + if (obj2) { + ecode3 = SWIG_AsVal_int(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'"); + } + arg3 = static_cast< int >(val3); + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->SaveFile((wxString const &)*arg2); + result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } @@ -12593,6 +12735,44 @@ fail: } +SWIGINTERN PyObject *_wrap_TextCtrl_SetModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; + bool arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + bool val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "modified", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetModified",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'"); + } + arg1 = reinterpret_cast< wxTextCtrl * >(argp1); + ecode2 = SWIG_AsVal_bool(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'"); + } + arg2 = static_cast< bool >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetModified(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; @@ -13721,6 +13901,71 @@ fail: } +SWIGINTERN PyObject *_wrap_TextCtrl_MacCheckSpelling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; + bool arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + bool val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "check", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'"); + } + arg1 = reinterpret_cast< wxTextCtrl * >(argp1); + ecode2 = SWIG_AsVal_bool(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'"); + } + arg2 = static_cast< bool >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + wxTextCtrl_MacCheckSpelling(arg1,arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_TextCtrl_SendTextUpdatedEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'"); + } + arg1 = reinterpret_cast< wxTextCtrl * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SendTextUpdatedEvent(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_TextCtrl_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; @@ -20063,6 +20308,45 @@ fail: } +SWIGINTERN PyObject *_wrap_BookCtrlBase_ChangeSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; + size_t arg2 ; + int result; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "n", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'"); + } + arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)(arg1)->ChangeSelection(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; @@ -20772,6 +21056,96 @@ fail: } +SWIGINTERN PyObject *_wrap_Notebook_SendPageChangingEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxNotebook *arg1 = (wxNotebook *) 0 ; + int arg2 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "nPage", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SendPageChangingEvent",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'"); + } + arg1 = reinterpret_cast< wxNotebook * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->SendPageChangingEvent(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Notebook_SendPageChangedEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxNotebook *arg1 = (wxNotebook *) 0 ; + int arg2 ; + int arg3 = (int) -1 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + int val3 ; + int ecode3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'"); + } + arg1 = reinterpret_cast< wxNotebook * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + if (obj2) { + ecode3 = SWIG_AsVal_int(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'"); + } + arg3 = static_cast< int >(val3); + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SendPageChangedEvent(arg2,arg3); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *Notebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; @@ -22063,7 +22437,7 @@ fail: SWIGINTERN PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; wxTreebook *arg1 = (wxTreebook *) 0 ; - wxTreeCtrl *result = 0 ; + wxPyTreeCtrl *result = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; @@ -22077,11 +22451,13 @@ SWIGINTERN PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), arg1 = reinterpret_cast< wxTreebook * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl(); + result = (wxPyTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeCtrl, 0 | 0 ); + { + resultobj = wxPyMake_wxObject(result, (bool)0); + } return resultobj; fail: return NULL; @@ -26203,9 +26579,7 @@ SWIGINTERN PyObject *_wrap_new_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_NEW); - } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItem, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; @@ -28076,7 +28450,7 @@ SWIGINTERN PyObject *_wrap_ListEvent_m_item_get(PyObject *SWIGUNUSEDPARM(self), arg1 = reinterpret_cast< wxListEvent * >(argp1); result = (wxListItem *)& ((arg1)->m_item); { - resultobj = wxPyMake_wxObject(result, (bool)0); + resultobj = wxPyMake_wxObject(result, 0); } return resultobj; fail: @@ -28831,7 +29205,7 @@ SWIGINTERN PyObject *_wrap_ListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, (bool)0); + resultobj = wxPyMake_wxObject(result, 0); } return resultobj; fail: @@ -29111,7 +29485,7 @@ SWIGINTERN PyObject *_wrap_ListCtrl_GetItem(PyObject *SWIGUNUSEDPARM(self), PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, (bool)0); + resultobj = wxPyMake_wxObject(result, 0); } return resultobj; fail: @@ -32823,7 +33197,37 @@ SWIGINTERN PyObject *TreeItemData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObj return SWIG_Python_InitShadowInstance(args); } -SWIGINTERN PyObject *_wrap_new_TreeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN int NullTreeItemId_set(PyObject *_val) { + { + void *argp = 0; + int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxTreeItemId, 0 | 0); + if (!SWIG_IsOK(res)) { + SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'"); + } + if (!argp) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'"); + } else { + wxTreeItemId * temp; + temp = reinterpret_cast< wxTreeItemId * >(argp); + wxNullTreeItemId = *temp; + if (SWIG_IsNewObj(res)) delete temp; + } + } + return 0; +fail: + return 1; +} + + +SWIGINTERN PyObject *NullTreeItemId_get(void) { + PyObject *pyobj = 0; + + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId), SWIGTYPE_p_wxTreeItemId, 0 ); + return pyobj; +} + + +SWIGINTERN PyObject *_wrap_new_TreeEvent__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; @@ -32832,22 +33236,17 @@ SWIGINTERN PyObject *_wrap_new_TreeEvent(PyObject *SWIGUNUSEDPARM(self), PyObjec int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - char * kwnames[] = { - (char *) "commandType",(char *) "id", NULL - }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) SWIG_fail; - if (obj0) { - ecode1 = SWIG_AsVal_int(obj0, &val1); + if ((nobjs < 0) || (nobjs > 2)) SWIG_fail; + if (swig_obj[0]) { + ecode1 = SWIG_AsVal_int(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'"); } arg1 = static_cast< wxEventType >(val1); } - if (obj1) { - ecode2 = SWIG_AsVal_int(obj1, &val2); + if (swig_obj[1]) { + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'"); } @@ -32866,6 +33265,85 @@ fail: } +SWIGINTERN PyObject *_wrap_new_TreeEvent__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + wxEventType arg1 ; + wxPyTreeCtrl *arg2 = (wxPyTreeCtrl *) 0 ; + wxTreeItemId &arg3_defvalue = wxNullTreeItemId ; + wxTreeItemId *arg3 = (wxTreeItemId *) &arg3_defvalue ; + wxTreeEvent *result = 0 ; + int val1 ; + int ecode1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + void *argp3 = 0 ; + int res3 = 0 ; + + if ((nobjs < 2) || (nobjs > 3)) SWIG_fail; + ecode1 = SWIG_AsVal_int(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'"); + } + arg1 = static_cast< wxEventType >(val1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'"); + } + arg2 = reinterpret_cast< wxPyTreeCtrl * >(argp2); + if (swig_obj[2]) { + res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_wxTreeItemId, 0 ); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'"); + } + if (!argp3) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'"); + } + arg3 = reinterpret_cast< wxTreeItemId * >(argp3); + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2,*arg3); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args) { + int argc; + PyObject *argv[4]; + + if (!(argc = SWIG_Python_UnpackTuple(args,"new_TreeEvent",0,3,argv))) SWIG_fail; + --argc; + if ((argc >= 0) && (argc <= 2)) { + int _v = 0; + if (argc > 1) { + { + { + int res = SWIG_AsVal_int(argv[1], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_1; + } + return _wrap_new_TreeEvent__SWIG_0(self, argc, argv); + } +check_1: + + if ((argc >= 2) && (argc <= 3)) { + return _wrap_new_TreeEvent__SWIG_1(self, argc, argv); + } + +fail: + SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_TreeEvent'"); + return NULL; +} + + SWIGINTERN PyObject *_wrap_TreeEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; @@ -35100,6 +35578,36 @@ fail: } +SWIGINTERN PyObject *_wrap_TreeCtrl_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'"); + } + arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxPyTreeCtrl const *)arg1)->IsEmpty(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; @@ -36212,6 +36720,74 @@ fail: } +SWIGINTERN PyObject *_wrap_TreeCtrl_ExpandAllChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; + wxTreeItemId *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "item", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'"); + } + arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); + } + arg2 = reinterpret_cast< wxTreeItemId * >(argp2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->ExpandAllChildren((wxTreeItemId const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_TreeCtrl_ExpandAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'"); + } + arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->ExpandAll(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_TreeCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; @@ -36253,6 +36829,74 @@ fail: } +SWIGINTERN PyObject *_wrap_TreeCtrl_CollapseAllChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; + wxTreeItemId *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "item", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAllChildren",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'"); + } + arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); + } + arg2 = reinterpret_cast< wxTreeItemId * >(argp2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->CollapseAllChildren((wxTreeItemId const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_TreeCtrl_CollapseAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_CollapseAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'"); + } + arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->CollapseAll(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; @@ -38386,42 +39030,6 @@ fail: } -SWIGINTERN PyObject *_wrap_PyControl_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { - PyObject *resultobj = 0; - wxPyControl *arg1 = (wxPyControl *) 0 ; - wxSize *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - wxSize temp2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - char * kwnames[] = { - (char *) "self",(char *) "size", NULL - }; - - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'"); - } - arg1 = reinterpret_cast< wxPyControl * >(argp1); - { - arg2 = &temp2; - if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; - } - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetBestSize((wxSize const &)*arg2); - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_PyControl_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxPyControl *arg1 = (wxPyControl *) 0 ; @@ -42329,6 +42937,212 @@ fail: } +SWIGINTERN PyObject *_wrap_PickerBase_SetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPickerBase *arg1 = (wxPickerBase *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "prop", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'"); + } + arg1 = reinterpret_cast< wxPickerBase * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetPickerCtrlProportion(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxPickerBase *arg1 = (wxPickerBase *) 0 ; + int result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'"); + } + arg1 = reinterpret_cast< wxPickerBase * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)((wxPickerBase const *)arg1)->GetPickerCtrlProportion(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_PickerBase_IsTextCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxPickerBase *arg1 = (wxPickerBase *) 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'"); + } + arg1 = reinterpret_cast< wxPickerBase * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxPickerBase const *)arg1)->IsTextCtrlGrowable(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_PickerBase_SetTextCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPickerBase *arg1 = (wxPickerBase *) 0 ; + bool arg2 = (bool) true ; + void *argp1 = 0 ; + int res1 = 0 ; + bool val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "grow", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'"); + } + arg1 = reinterpret_cast< wxPickerBase * >(argp1); + if (obj1) { + ecode2 = SWIG_AsVal_bool(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'"); + } + arg2 = static_cast< bool >(val2); + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetTextCtrlGrowable(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_PickerBase_IsPickerCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxPickerBase *arg1 = (wxPickerBase *) 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'"); + } + arg1 = reinterpret_cast< wxPickerBase * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxPickerBase const *)arg1)->IsPickerCtrlGrowable(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_PickerBase_SetPickerCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxPickerBase *arg1 = (wxPickerBase *) 0 ; + bool arg2 = (bool) true ; + void *argp1 = 0 ; + int res1 = 0 ; + bool val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "grow", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'"); + } + arg1 = reinterpret_cast< wxPickerBase * >(argp1); + if (obj1) { + ecode2 = SWIG_AsVal_bool(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'"); + } + arg2 = static_cast< bool >(val2); + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetPickerCtrlGrowable(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_PickerBase_HasTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; wxPickerBase *arg1 = (wxPickerBase *) 0 ; @@ -43439,6 +44253,88 @@ fail: } +SWIGINTERN PyObject *_wrap_FilePickerCtrl_CheckPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ; + wxString *arg2 = 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + bool temp2 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "path", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FilePickerCtrl_CheckPath",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'"); + } + arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1); + { + arg2 = wxString_in_helper(obj1); + if (arg2 == NULL) SWIG_fail; + temp2 = true; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxFilePickerCtrl const *)arg1)->CheckPath((wxString const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp2) + delete arg2; + } + return resultobj; +fail: + { + if (temp2) + delete arg2; + } + return NULL; +} + + +SWIGINTERN PyObject *_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ; + wxString result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'"); + } + arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxFilePickerCtrl const *)arg1)->GetTextCtrlValue(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { +#if wxUSE_UNICODE + resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); +#else + resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); +#endif + } + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *FilePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; @@ -43848,6 +44744,88 @@ fail: } +SWIGINTERN PyObject *_wrap_DirPickerCtrl_CheckPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ; + wxString *arg2 = 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + bool temp2 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "path", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirPickerCtrl_CheckPath",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'"); + } + arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1); + { + arg2 = wxString_in_helper(obj1); + if (arg2 == NULL) SWIG_fail; + temp2 = true; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxDirPickerCtrl const *)arg1)->CheckPath((wxString const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp2) + delete arg2; + } + return resultobj; +fail: + { + if (temp2) + delete arg2; + } + return NULL; +} + + +SWIGINTERN PyObject *_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ; + wxString result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'"); + } + arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxDirPickerCtrl const *)arg1)->GetTextCtrlValue(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { +#if wxUSE_UNICODE + resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); +#else + resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); +#endif + } + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *DirPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; @@ -43872,84 +44850,1257 @@ SWIGINTERN PyObject *_wrap_new_FileDirPickerEvent(PyObject *SWIGUNUSEDPARM(self) int res2 = 0 ; int val3 ; int ecode3 = 0 ; - bool temp4 = false ; + bool temp4 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + char * kwnames[] = { + (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileDirPickerEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; + ecode1 = SWIG_AsVal_int(obj0, &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'"); + } + arg1 = static_cast< wxEventType >(val1); + res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxObject, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'"); + } + arg2 = reinterpret_cast< wxObject * >(argp2); + ecode3 = SWIG_AsVal_int(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'"); + } + arg3 = static_cast< int >(val3); + { + arg4 = wxString_in_helper(obj3); + if (arg4 == NULL) SWIG_fail; + temp4 = true; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxFileDirPickerEvent *)new wxFileDirPickerEvent(arg1,arg2,arg3,(wxString const &)*arg4); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDirPickerEvent, SWIG_POINTER_NEW | 0 ); + { + if (temp4) + delete arg4; + } + return resultobj; +fail: + { + if (temp4) + delete arg4; + } + return NULL; +} + + +SWIGINTERN PyObject *_wrap_FileDirPickerEvent_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ; + wxString result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'"); + } + arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxFileDirPickerEvent const *)arg1)->GetPath(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { +#if wxUSE_UNICODE + resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); +#else + resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); +#endif + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_FileDirPickerEvent_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ; + wxString *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + bool temp2 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "p", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDirPickerEvent_SetPath",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'"); + } + arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1); + { + arg2 = wxString_in_helper(obj1); + if (arg2 == NULL) SWIG_fail; + temp2 = true; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetPath((wxString const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + { + if (temp2) + delete arg2; + } + return resultobj; +fail: + { + if (temp2) + delete arg2; + } + return NULL; +} + + +SWIGINTERN PyObject *FileDirPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *FileDirPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN int FontPickerCtrlNameStr_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable FontPickerCtrlNameStr is read-only."); + return 1; +} + + +SWIGINTERN PyObject *FontPickerCtrlNameStr_get(void) { + PyObject *pyobj = 0; + + { +#if wxUSE_UNICODE + pyobj = PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len()); +#else + pyobj = PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len()); +#endif + } + return pyobj; +} + + +SWIGINTERN PyObject *_wrap_new_FontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxWindow *arg1 = (wxWindow *) 0 ; + int arg2 = (int) -1 ; + wxFont const &arg3_defvalue = wxNullFont ; + wxFont *arg3 = (wxFont *) &arg3_defvalue ; + wxPoint const &arg4_defvalue = wxDefaultPosition ; + wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; + wxSize const &arg5_defvalue = wxDefaultSize ; + wxSize *arg5 = (wxSize *) &arg5_defvalue ; + long arg6 = (long) wxFNTP_DEFAULT_STYLE ; + wxValidator const &arg7_defvalue = wxDefaultValidator ; + wxValidator *arg7 = (wxValidator *) &arg7_defvalue ; + wxString const &arg8_defvalue = wxPyFontPickerCtrlNameStr ; + wxString *arg8 = (wxString *) &arg8_defvalue ; + wxFontPickerCtrl *result = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + void *argp3 = 0 ; + int res3 = 0 ; + wxPoint temp4 ; + wxSize temp5 ; + long val6 ; + int ecode6 = 0 ; + void *argp7 = 0 ; + int res7 = 0 ; + bool temp8 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; + PyObject * obj6 = 0 ; + PyObject * obj7 = 0 ; + char * kwnames[] = { + (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'"); + } + arg1 = reinterpret_cast< wxWindow * >(argp1); + if (obj1) { + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + } + if (obj2) { + res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'"); + } + if (!argp3) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'"); + } + arg3 = reinterpret_cast< wxFont * >(argp3); + } + if (obj3) { + { + arg4 = &temp4; + if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; + } + } + if (obj4) { + { + arg5 = &temp5; + if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; + } + } + if (obj5) { + ecode6 = SWIG_AsVal_long(obj5, &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'"); + } + arg6 = static_cast< long >(val6); + } + if (obj6) { + res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0); + if (!SWIG_IsOK(res7)) { + SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'"); + } + if (!argp7) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'"); + } + arg7 = reinterpret_cast< wxValidator * >(argp7); + } + if (obj7) { + { + arg8 = wxString_in_helper(obj7); + if (arg8 == NULL) SWIG_fail; + temp8 = true; + } + } + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxFontPickerCtrl *)new wxFontPickerCtrl(arg1,arg2,(wxFont const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_NEW | 0 ); + { + if (temp8) + delete arg8; + } + return resultobj; +fail: + { + if (temp8) + delete arg8; + } + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_PreFontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxFontPickerCtrl *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail; + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxFontPickerCtrl *)new wxFontPickerCtrl(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_FontPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ; + wxWindow *arg2 = (wxWindow *) 0 ; + int arg3 = (int) -1 ; + wxFont const &arg4_defvalue = wxNullFont ; + wxFont *arg4 = (wxFont *) &arg4_defvalue ; + wxPoint const &arg5_defvalue = wxDefaultPosition ; + wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; + wxSize const &arg6_defvalue = wxDefaultSize ; + wxSize *arg6 = (wxSize *) &arg6_defvalue ; + long arg7 = (long) wxFNTP_DEFAULT_STYLE ; + wxValidator const &arg8_defvalue = wxDefaultValidator ; + wxValidator *arg8 = (wxValidator *) &arg8_defvalue ; + wxString const &arg9_defvalue = wxPyFontPickerCtrlNameStr ; + wxString *arg9 = (wxString *) &arg9_defvalue ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + int val3 ; + int ecode3 = 0 ; + void *argp4 = 0 ; + int res4 = 0 ; + wxPoint temp5 ; + wxSize temp6 ; + long val7 ; + int ecode7 = 0 ; + void *argp8 = 0 ; + int res8 = 0 ; + bool temp9 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; + PyObject * obj6 = 0 ; + PyObject * obj7 = 0 ; + PyObject * obj8 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'"); + } + arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); + } + arg2 = reinterpret_cast< wxWindow * >(argp2); + if (obj2) { + ecode3 = SWIG_AsVal_int(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'"); + } + arg3 = static_cast< int >(val3); + } + if (obj3) { + res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxFont, 0 | 0); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'"); + } + if (!argp4) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'"); + } + arg4 = reinterpret_cast< wxFont * >(argp4); + } + if (obj4) { + { + arg5 = &temp5; + if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; + } + } + if (obj5) { + { + arg6 = &temp6; + if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; + } + } + if (obj6) { + ecode7 = SWIG_AsVal_long(obj6, &val7); + if (!SWIG_IsOK(ecode7)) { + SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'"); + } + arg7 = static_cast< long >(val7); + } + if (obj7) { + res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0); + if (!SWIG_IsOK(res8)) { + SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'"); + } + if (!argp8) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'"); + } + arg8 = reinterpret_cast< wxValidator * >(argp8); + } + if (obj8) { + { + arg9 = wxString_in_helper(obj8); + if (arg9 == NULL) SWIG_fail; + temp9 = true; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->Create(arg2,arg3,(wxFont const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp9) + delete arg9; + } + return resultobj; +fail: + { + if (temp9) + delete arg9; + } + return NULL; +} + + +SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ; + wxFont result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'"); + } + arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxFontPickerCtrl const *)arg1)->GetSelectedFont(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ; + wxFont *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "f", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'"); + } + arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); + } + arg2 = reinterpret_cast< wxFont * >(argp2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetSelectedFont((wxFont const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ; + unsigned int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "max", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'"); + } + arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetMaxPointSize(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ; + unsigned int result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'"); + } + arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (unsigned int)((wxFontPickerCtrl const *)arg1)->GetMaxPointSize(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *FontPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *FontPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_new_FontPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxObject *arg1 = (wxObject *) 0 ; + int arg2 ; + wxFont *arg3 = 0 ; + wxFontPickerEvent *result = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + void *argp3 = 0 ; + int res3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "generator",(char *) "id",(char *) "f", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_FontPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'"); + } + arg1 = reinterpret_cast< wxObject * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'"); + } + if (!argp3) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'"); + } + arg3 = reinterpret_cast< wxFont * >(argp3); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxFontPickerEvent *)new wxFontPickerEvent(arg1,arg2,(wxFont const &)*arg3); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerEvent, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_FontPickerEvent_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ; + wxFont result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'"); + } + arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxFontPickerEvent const *)arg1)->GetFont(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_FontPickerEvent_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ; + wxFont *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "c", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerEvent_SetFont",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'"); + } + arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'"); + } + arg2 = reinterpret_cast< wxFont * >(argp2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetFont((wxFont const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *FontPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *FontPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN int CollapsiblePaneNameStr_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable CollapsiblePaneNameStr is read-only."); + return 1; +} + + +SWIGINTERN PyObject *CollapsiblePaneNameStr_get(void) { + PyObject *pyobj = 0; + + { +#if wxUSE_UNICODE + pyobj = PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr)->c_str(), (&wxPyCollapsiblePaneNameStr)->Len()); +#else + pyobj = PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr)->c_str(), (&wxPyCollapsiblePaneNameStr)->Len()); +#endif + } + return pyobj; +} + + +SWIGINTERN PyObject *_wrap_new_CollapsiblePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxWindow *arg1 = (wxWindow *) 0 ; + int arg2 = (int) -1 ; + wxString const &arg3_defvalue = wxPyEmptyString ; + wxString *arg3 = (wxString *) &arg3_defvalue ; + wxPoint const &arg4_defvalue = wxDefaultPosition ; + wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; + wxSize const &arg5_defvalue = wxDefaultSize ; + wxSize *arg5 = (wxSize *) &arg5_defvalue ; + long arg6 = (long) wxCP_DEFAULT_STYLE ; + wxValidator const &arg7_defvalue = wxDefaultValidator ; + wxValidator *arg7 = (wxValidator *) &arg7_defvalue ; + wxString const &arg8_defvalue = wxPyCollapsiblePaneNameStr ; + wxString *arg8 = (wxString *) &arg8_defvalue ; + wxCollapsiblePane *result = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + bool temp3 = false ; + wxPoint temp4 ; + wxSize temp5 ; + long val6 ; + int ecode6 = 0 ; + void *argp7 = 0 ; + int res7 = 0 ; + bool temp8 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; + PyObject * obj6 = 0 ; + PyObject * obj7 = 0 ; + char * kwnames[] = { + (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'"); + } + arg1 = reinterpret_cast< wxWindow * >(argp1); + if (obj1) { + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + } + if (obj2) { + { + arg3 = wxString_in_helper(obj2); + if (arg3 == NULL) SWIG_fail; + temp3 = true; + } + } + if (obj3) { + { + arg4 = &temp4; + if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; + } + } + if (obj4) { + { + arg5 = &temp5; + if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; + } + } + if (obj5) { + ecode6 = SWIG_AsVal_long(obj5, &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'"); + } + arg6 = static_cast< long >(val6); + } + if (obj6) { + res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0); + if (!SWIG_IsOK(res7)) { + SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'"); + } + if (!argp7) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'"); + } + arg7 = reinterpret_cast< wxValidator * >(argp7); + } + if (obj7) { + { + arg8 = wxString_in_helper(obj7); + if (arg8 == NULL) SWIG_fail; + temp8 = true; + } + } + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxCollapsiblePane *)new wxCollapsiblePane(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCollapsiblePane, SWIG_POINTER_NEW | 0 ); + { + if (temp3) + delete arg3; + } + { + if (temp8) + delete arg8; + } + return resultobj; +fail: + { + if (temp3) + delete arg3; + } + { + if (temp8) + delete arg8; + } + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_PreCollapsiblePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxCollapsiblePane *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args,"new_PreCollapsiblePane",0,0,0)) SWIG_fail; + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxCollapsiblePane *)new wxCollapsiblePane(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCollapsiblePane, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_CollapsiblePane_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ; + wxWindow *arg2 = (wxWindow *) 0 ; + int arg3 = (int) -1 ; + wxString const &arg4_defvalue = wxPyEmptyString ; + wxString *arg4 = (wxString *) &arg4_defvalue ; + wxPoint const &arg5_defvalue = wxDefaultPosition ; + wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; + wxSize const &arg6_defvalue = wxDefaultSize ; + wxSize *arg6 = (wxSize *) &arg6_defvalue ; + long arg7 = (long) wxCP_DEFAULT_STYLE ; + wxValidator const &arg8_defvalue = wxDefaultValidator ; + wxValidator *arg8 = (wxValidator *) &arg8_defvalue ; + wxString const &arg9_defvalue = wxPyCollapsiblePaneNameStr ; + wxString *arg9 = (wxString *) &arg9_defvalue ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + int val3 ; + int ecode3 = 0 ; + bool temp4 = false ; + wxPoint temp5 ; + wxSize temp6 ; + long val7 ; + int ecode7 = 0 ; + void *argp8 = 0 ; + int res8 = 0 ; + bool temp9 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; + PyObject * obj6 = 0 ; + PyObject * obj7 = 0 ; + PyObject * obj8 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'"); + } + arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); + } + arg2 = reinterpret_cast< wxWindow * >(argp2); + if (obj2) { + ecode3 = SWIG_AsVal_int(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'"); + } + arg3 = static_cast< int >(val3); + } + if (obj3) { + { + arg4 = wxString_in_helper(obj3); + if (arg4 == NULL) SWIG_fail; + temp4 = true; + } + } + if (obj4) { + { + arg5 = &temp5; + if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; + } + } + if (obj5) { + { + arg6 = &temp6; + if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; + } + } + if (obj6) { + ecode7 = SWIG_AsVal_long(obj6, &val7); + if (!SWIG_IsOK(ecode7)) { + SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'"); + } + arg7 = static_cast< long >(val7); + } + if (obj7) { + res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0); + if (!SWIG_IsOK(res8)) { + SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'"); + } + if (!argp8) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'"); + } + arg8 = reinterpret_cast< wxValidator * >(argp8); + } + if (obj8) { + { + arg9 = wxString_in_helper(obj8); + if (arg9 == NULL) SWIG_fail; + temp9 = true; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp4) + delete arg4; + } + { + if (temp9) + delete arg9; + } + return resultobj; +fail: + { + if (temp4) + delete arg4; + } + { + if (temp9) + delete arg9; + } + return NULL; +} + + +SWIGINTERN PyObject *_wrap_CollapsiblePane_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ; + bool arg2 = (bool) true ; + void *argp1 = 0 ; + int res1 = 0 ; + bool val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "collapse", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CollapsiblePane_Collapse",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'"); + } + arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1); + if (obj1) { + ecode2 = SWIG_AsVal_bool(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'"); + } + arg2 = static_cast< bool >(val2); + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->Collapse(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_CollapsiblePane_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'"); + } + arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->Expand(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_CollapsiblePane_IsCollapsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'"); + } + arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxCollapsiblePane const *)arg1)->IsCollapsed(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_CollapsiblePane_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'"); + } + arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxCollapsiblePane const *)arg1)->IsExpanded(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_CollapsiblePane_GetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ; + wxWindow *result = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'"); + } + arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxWindow *)((wxCollapsiblePane const *)arg1)->GetPane(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = wxPyMake_wxObject(result, 0); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *CollapsiblePane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *CollapsiblePane_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_new_CollapsiblePaneEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxObject *arg1 = (wxObject *) 0 ; + int arg2 ; + bool arg3 ; + wxCollapsiblePaneEvent *result = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + bool val3 ; + int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; char * kwnames[] = { - (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL + (char *) "generator",(char *) "id",(char *) "collapsed", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileDirPickerEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'"); - } - arg1 = static_cast< wxEventType >(val1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxObject, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'"); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_CollapsiblePaneEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'"); } - arg2 = reinterpret_cast< wxObject * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); + arg1 = reinterpret_cast< wxObject * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + ecode3 = SWIG_AsVal_bool(obj2, &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'"); } - arg3 = static_cast< int >(val3); - { - arg4 = wxString_in_helper(obj3); - if (arg4 == NULL) SWIG_fail; - temp4 = true; - } + arg3 = static_cast< bool >(val3); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxFileDirPickerEvent *)new wxFileDirPickerEvent(arg1,arg2,arg3,(wxString const &)*arg4); + result = (wxCollapsiblePaneEvent *)new wxCollapsiblePaneEvent(arg1,arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDirPickerEvent, SWIG_POINTER_NEW | 0 ); - { - if (temp4) - delete arg4; - } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCollapsiblePaneEvent, SWIG_POINTER_NEW | 0 ); return resultobj; fail: - { - if (temp4) - delete arg4; - } return NULL; } -SWIGINTERN PyObject *_wrap_FileDirPickerEvent_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ; - wxString result; + wxCollapsiblePaneEvent *arg1 = (wxCollapsiblePaneEvent *) 0 ; + bool result; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 ); + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePaneEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'"); } - arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1); + arg1 = reinterpret_cast< wxCollapsiblePaneEvent * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxFileDirPickerEvent const *)arg1)->GetPath(); + result = (bool)((wxCollapsiblePaneEvent const *)arg1)->GetCollapsed(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { -#if wxUSE_UNICODE - resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); -#else - resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); -#endif + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); } return resultobj; fail: @@ -43957,104 +46108,96 @@ fail: } -SWIGINTERN PyObject *_wrap_FileDirPickerEvent_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ; - wxString *arg2 = 0 ; + wxCollapsiblePaneEvent *arg1 = (wxCollapsiblePaneEvent *) 0 ; + bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; - bool temp2 = false ; + bool val2 ; + int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "p", NULL + (char *) "self",(char *) "c", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDirPickerEvent_SetPath",kwnames,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCollapsiblePaneEvent, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'"); - } - arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1); - { - arg2 = wxString_in_helper(obj1); - if (arg2 == NULL) SWIG_fail; - temp2 = true; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'"); } + arg1 = reinterpret_cast< wxCollapsiblePaneEvent * >(argp1); + ecode2 = SWIG_AsVal_bool(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'"); + } + arg2 = static_cast< bool >(val2); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetPath((wxString const &)*arg2); + (arg1)->SetCollapsed(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } resultobj = SWIG_Py_Void(); - { - if (temp2) - delete arg2; - } return resultobj; fail: - { - if (temp2) - delete arg2; - } return NULL; } -SWIGINTERN PyObject *FileDirPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *CollapsiblePaneEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent, SWIG_NewClientData(obj)); + SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } -SWIGINTERN PyObject *FileDirPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *CollapsiblePaneEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { return SWIG_Python_InitShadowInstance(args); } -SWIGINTERN int FontPickerCtrlNameStr_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable FontPickerCtrlNameStr is read-only."); +SWIGINTERN int SearchCtrlNameStr_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable SearchCtrlNameStr is read-only."); return 1; } -SWIGINTERN PyObject *FontPickerCtrlNameStr_get(void) { +SWIGINTERN PyObject *SearchCtrlNameStr_get(void) { PyObject *pyobj = 0; { #if wxUSE_UNICODE - pyobj = PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len()); + pyobj = PyUnicode_FromWideChar((&wxPySearchCtrlNameStr)->c_str(), (&wxPySearchCtrlNameStr)->Len()); #else - pyobj = PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len()); + pyobj = PyString_FromStringAndSize((&wxPySearchCtrlNameStr)->c_str(), (&wxPySearchCtrlNameStr)->Len()); #endif } return pyobj; } -SWIGINTERN PyObject *_wrap_new_FontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_new_SearchCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; - wxFont const &arg3_defvalue = *wxNORMAL_FONT ; - wxFont *arg3 = (wxFont *) &arg3_defvalue ; + wxString const &arg3_defvalue = wxEmptyString ; + wxString *arg3 = (wxString *) &arg3_defvalue ; wxPoint const &arg4_defvalue = wxDefaultPosition ; wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; wxSize const &arg5_defvalue = wxDefaultSize ; wxSize *arg5 = (wxSize *) &arg5_defvalue ; - long arg6 = (long) wxFNTP_DEFAULT_STYLE ; + long arg6 = (long) 0 ; wxValidator const &arg7_defvalue = wxDefaultValidator ; wxValidator *arg7 = (wxValidator *) &arg7_defvalue ; - wxString const &arg8_defvalue = wxPyFontPickerCtrlNameStr ; + wxString const &arg8_defvalue = wxPySearchCtrlNameStr ; wxString *arg8 = (wxString *) &arg8_defvalue ; - wxFontPickerCtrl *result = 0 ; + wxSearchCtrl *result = 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; + bool temp3 = false ; wxPoint temp4 ; wxSize temp5 ; long val6 ; @@ -44071,31 +46214,28 @@ SWIGINTERN PyObject *_wrap_new_FontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), Py PyObject * obj6 = 0 ; PyObject * obj7 = 0 ; char * kwnames[] = { - (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL + (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_SearchCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SearchCtrl" "', expected argument " "1"" of type '" "wxWindow *""'"); } arg1 = reinterpret_cast< wxWindow * >(argp1); if (obj1) { ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SearchCtrl" "', expected argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); } if (obj2) { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'"); + { + arg3 = wxString_in_helper(obj2); + if (arg3 == NULL) SWIG_fail; + temp3 = true; } - arg3 = reinterpret_cast< wxFont * >(argp3); } if (obj3) { { @@ -44112,17 +46252,17 @@ SWIGINTERN PyObject *_wrap_new_FontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), Py if (obj5) { ecode6 = SWIG_AsVal_long(obj5, &val6); if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'"); + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SearchCtrl" "', expected argument " "6"" of type '" "long""'"); } arg6 = static_cast< long >(val6); } if (obj6) { res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0); if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'"); + SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'"); } if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'"); } arg7 = reinterpret_cast< wxValidator * >(argp7); } @@ -44136,17 +46276,25 @@ SWIGINTERN PyObject *_wrap_new_FontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), Py { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxFontPickerCtrl *)new wxFontPickerCtrl(arg1,arg2,(wxFont const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8); + result = (wxSearchCtrl *)new wxSearchCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_NEW | 0 ); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSearchCtrl, SWIG_POINTER_NEW | 0 ); + { + if (temp3) + delete arg3; + } { if (temp8) delete arg8; } return resultobj; fail: + { + if (temp3) + delete arg3; + } { if (temp8) delete arg8; @@ -44155,40 +46303,40 @@ fail: } -SWIGINTERN PyObject *_wrap_new_PreFontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_new_PreSearchCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - wxFontPickerCtrl *result = 0 ; + wxSearchCtrl *result = 0 ; - if (!SWIG_Python_UnpackTuple(args,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail; + if (!SWIG_Python_UnpackTuple(args,"new_PreSearchCtrl",0,0,0)) SWIG_fail; { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxFontPickerCtrl *)new wxFontPickerCtrl(); + result = (wxSearchCtrl *)new wxSearchCtrl(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSearchCtrl, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_FontPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_SearchCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ; + wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; - wxFont const &arg4_defvalue = *wxNORMAL_FONT ; - wxFont *arg4 = (wxFont *) &arg4_defvalue ; + wxString const &arg4_defvalue = wxEmptyString ; + wxString *arg4 = (wxString *) &arg4_defvalue ; wxPoint const &arg5_defvalue = wxDefaultPosition ; wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; wxSize const &arg6_defvalue = wxDefaultSize ; wxSize *arg6 = (wxSize *) &arg6_defvalue ; - long arg7 = (long) wxFNTP_DEFAULT_STYLE ; + long arg7 = (long) 0 ; wxValidator const &arg8_defvalue = wxDefaultValidator ; wxValidator *arg8 = (wxValidator *) &arg8_defvalue ; - wxString const &arg9_defvalue = wxPyFontPickerCtrlNameStr ; + wxString const &arg9_defvalue = wxPySearchCtrlNameStr ; wxString *arg9 = (wxString *) &arg9_defvalue ; bool result; void *argp1 = 0 ; @@ -44197,8 +46345,7 @@ SWIGINTERN PyObject *_wrap_FontPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), int res2 = 0 ; int val3 ; int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; + bool temp4 = false ; wxPoint temp5 ; wxSize temp6 ; long val7 ; @@ -44216,36 +46363,33 @@ SWIGINTERN PyObject *_wrap_FontPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject * obj7 = 0 ; PyObject * obj8 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL + (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:SearchCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_Create" "', expected argument " "1"" of type '" "wxSearchCtrl *""'"); } - arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1); + arg1 = reinterpret_cast< wxSearchCtrl * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); } arg2 = reinterpret_cast< wxWindow * >(argp2); if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SearchCtrl_Create" "', expected argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } if (obj3) { - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxFont, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'"); + { + arg4 = wxString_in_helper(obj3); + if (arg4 == NULL) SWIG_fail; + temp4 = true; } - arg4 = reinterpret_cast< wxFont * >(argp4); } if (obj4) { { @@ -44262,17 +46406,17 @@ SWIGINTERN PyObject *_wrap_FontPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), if (obj6) { ecode7 = SWIG_AsVal_long(obj6, &val7); if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'"); + SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SearchCtrl_Create" "', expected argument " "7"" of type '" "long""'"); } arg7 = static_cast< long >(val7); } if (obj7) { res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0); if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'"); + SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'"); } if (!argp8) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'"); } arg8 = reinterpret_cast< wxValidator * >(argp8); } @@ -44285,19 +46429,27 @@ SWIGINTERN PyObject *_wrap_FontPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->Create(arg2,arg3,(wxFont const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9); + result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); } + { + if (temp4) + delete arg4; + } { if (temp9) delete arg9; } return resultobj; fail: + { + if (temp4) + delete arg4; + } { if (temp9) delete arg9; @@ -44306,103 +46458,170 @@ fail: } -SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_SearchCtrl_SetMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ; - wxFont result; + wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ; + wxMenu *arg2 = (wxMenu *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "menu", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetMenu",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'"); + } + arg1 = reinterpret_cast< wxSearchCtrl * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'"); + } + arg2 = reinterpret_cast< wxMenu * >(argp2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetMenu(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SearchCtrl_GetMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ; + wxMenu *result = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 ); + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_GetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'"); } - arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1); + arg1 = reinterpret_cast< wxSearchCtrl * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxFontPickerCtrl const *)arg1)->GetSelectedFont(); + result = (wxMenu *)(arg1)->GetMenu(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 ); + { + resultobj = wxPyMake_wxObject(result, 0); + } return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_SearchCtrl_ShowSearchButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ; - wxFont *arg2 = 0 ; + wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ; + bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; + bool val2 ; + int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "f", NULL + (char *) "self",(char *) "show", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_ShowSearchButton",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'"); } - arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); + arg1 = reinterpret_cast< wxSearchCtrl * >(argp1); + ecode2 = SWIG_AsVal_bool(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "2"" of type '" "bool""'"); + } + arg2 = static_cast< bool >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->ShowSearchButton(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SearchCtrl_IsSearchButtonVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_IsSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'"); } - arg2 = reinterpret_cast< wxFont * >(argp2); + arg1 = reinterpret_cast< wxSearchCtrl * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetSelectedFont((wxFont const &)*arg2); + result = (bool)((wxSearchCtrl const *)arg1)->IsSearchButtonVisible(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_Py_Void(); + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_SearchCtrl_ShowCancelButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ; - unsigned int arg2 ; + wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ; + bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned int val2 ; + bool val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "max", NULL + (char *) "self",(char *) "show", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_ShowCancelButton",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'"); } - arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); + arg1 = reinterpret_cast< wxSearchCtrl * >(argp1); + ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "2"" of type '" "bool""'"); } - arg2 = static_cast< unsigned int >(val2); + arg2 = static_cast< bool >(val2); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetMaxPointSize(arg2); + (arg1)->ShowCancelButton(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } @@ -44413,128 +46632,201 @@ fail: } -SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_SearchCtrl_IsCancelButtonVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ; - unsigned int result; + wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ; + bool result; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 ); + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_IsCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'"); } - arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1); + arg1 = reinterpret_cast< wxSearchCtrl * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (unsigned int)((wxFontPickerCtrl const *)arg1)->GetMaxPointSize(); + result = (bool)((wxSearchCtrl const *)arg1)->IsCancelButtonVisible(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } return resultobj; fail: return NULL; } -SWIGINTERN PyObject *FontPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); +SWIGINTERN PyObject *_wrap_SearchCtrl_SetDescriptiveText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ; + wxString *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + bool temp2 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "text", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetDescriptiveText",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl *""'"); + } + arg1 = reinterpret_cast< wxSearchCtrl * >(argp1); + { + arg2 = wxString_in_helper(obj1); + if (arg2 == NULL) SWIG_fail; + temp2 = true; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetDescriptiveText((wxString const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + { + if (temp2) + delete arg2; + } + return resultobj; +fail: + { + if (temp2) + delete arg2; + } + return NULL; } -SWIGINTERN PyObject *FontPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - return SWIG_Python_InitShadowInstance(args); + +SWIGINTERN PyObject *_wrap_SearchCtrl_GetDescriptiveText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ; + wxString result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_GetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'"); + } + arg1 = reinterpret_cast< wxSearchCtrl * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxSearchCtrl const *)arg1)->GetDescriptiveText(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { +#if wxUSE_UNICODE + resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); +#else + resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); +#endif + } + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *_wrap_new_FontPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + +SWIGINTERN PyObject *_wrap_SearchCtrl_SetSearchBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxObject *arg1 = (wxObject *) 0 ; - int arg2 ; - wxFont *arg3 = 0 ; - wxFontPickerEvent *result = 0 ; + wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ; + wxBitmap *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; char * kwnames[] = { - (char *) "generator",(char *) "id",(char *) "f", NULL + (char *) "self",(char *) "bitmap", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_FontPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetSearchBitmap",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'"); } - arg1 = reinterpret_cast< wxObject * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'"); + arg1 = reinterpret_cast< wxSearchCtrl * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'"); } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'"); + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'"); } - arg3 = reinterpret_cast< wxFont * >(argp3); + arg2 = reinterpret_cast< wxBitmap * >(argp2); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxFontPickerEvent *)new wxFontPickerEvent(arg1,arg2,(wxFont const &)*arg3); + (arg1)->SetSearchBitmap((wxBitmap const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerEvent, SWIG_POINTER_NEW | 0 ); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_FontPickerEvent_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_SearchCtrl_SetSearchMenuBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ; - wxFont result; + wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ; + wxBitmap *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "bitmap", NULL + }; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetSearchMenuBitmap",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'"); } - arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1); + arg1 = reinterpret_cast< wxSearchCtrl * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'"); + } + arg2 = reinterpret_cast< wxBitmap * >(argp2); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxFontPickerEvent const *)arg1)->GetFont(); + (arg1)->SetSearchMenuBitmap((wxBitmap const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_FontPickerEvent_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_SearchCtrl_SetCancelBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ; - wxFont *arg2 = 0 ; + wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ; + wxBitmap *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; @@ -44542,26 +46834,26 @@ SWIGINTERN PyObject *_wrap_FontPickerEvent_SetFont(PyObject *SWIGUNUSEDPARM(self PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "c", NULL + (char *) "self",(char *) "bitmap", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerEvent_SetFont",kwnames,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetCancelBitmap",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'"); } - arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); + arg1 = reinterpret_cast< wxSearchCtrl * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'"); } - arg2 = reinterpret_cast< wxFont * >(argp2); + arg2 = reinterpret_cast< wxBitmap * >(argp2); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetFont((wxFont const &)*arg2); + (arg1)->SetCancelBitmap((wxBitmap const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } @@ -44572,14 +46864,14 @@ fail: } -SWIGINTERN PyObject *FontPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *SearchCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent, SWIG_NewClientData(obj)); + SWIG_TypeNewClientData(SWIGTYPE_p_wxSearchCtrl, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } -SWIGINTERN PyObject *FontPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *SearchCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { return SWIG_Python_InitShadowInstance(args); } @@ -44646,7 +46938,6 @@ static PyMethodDef SwigMethods[] = { { (char *)"ComboBox_GetMark", (PyCFunction)_wrap_ComboBox_GetMark, METH_O, NULL}, { (char *)"ComboBox_GetCurrentSelection", (PyCFunction)_wrap_ComboBox_GetCurrentSelection, METH_O, NULL}, { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction)_wrap_ComboBox_SetInsertionPointEnd, METH_O, NULL}, { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -44669,6 +46960,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"Gauge_GetRange", (PyCFunction)_wrap_Gauge_GetRange, METH_O, NULL}, { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Gauge_GetValue", (PyCFunction)_wrap_Gauge_GetValue, METH_O, NULL}, + { (char *)"Gauge_Pulse", (PyCFunction)_wrap_Gauge_Pulse, METH_O, NULL}, { (char *)"Gauge_IsVertical", (PyCFunction)_wrap_Gauge_IsVertical, METH_O, NULL}, { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Gauge_GetShadowWidth", (PyCFunction)_wrap_Gauge_GetShadowWidth, METH_O, NULL}, @@ -44778,6 +47070,8 @@ static PyMethodDef SwigMethods[] = { { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"TextCtrl_GetValue", (PyCFunction)_wrap_TextCtrl_GetValue, METH_O, NULL}, { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"TextCtrl_IsEmpty", (PyCFunction)_wrap_TextCtrl_IsEmpty, METH_O, NULL}, + { (char *)"TextCtrl_ChangeValue", (PyCFunction) _wrap_TextCtrl_ChangeValue, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -44795,6 +47089,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"TextCtrl_MarkDirty", (PyCFunction)_wrap_TextCtrl_MarkDirty, METH_O, NULL}, { (char *)"TextCtrl_DiscardEdits", (PyCFunction)_wrap_TextCtrl_DiscardEdits, METH_O, NULL}, + { (char *)"TextCtrl_SetModified", (PyCFunction) _wrap_TextCtrl_SetModified, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -44825,6 +47120,8 @@ static PyMethodDef SwigMethods[] = { { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"TextCtrl_SelectAll", (PyCFunction)_wrap_TextCtrl_SelectAll, METH_O, NULL}, { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"TextCtrl_MacCheckSpelling", (PyCFunction) _wrap_TextCtrl_MacCheckSpelling, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction)_wrap_TextCtrl_SendTextUpdatedEvent, METH_O, NULL}, { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -44975,6 +47272,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction) _wrap_BookCtrlBase_ChangeSelection, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"BookCtrlBase_HitTest", (PyCFunction) _wrap_BookCtrlBase_HitTest, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -44994,6 +47292,8 @@ static PyMethodDef SwigMethods[] = { { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction)_wrap_Notebook_GetThemeBackgroundColour, METH_O, NULL}, { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Notebook_SendPageChangingEvent", (PyCFunction) _wrap_Notebook_SendPageChangingEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Notebook_SendPageChangedEvent", (PyCFunction) _wrap_Notebook_SendPageChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL}, { (char *)"Notebook_swiginit", Notebook_swiginit, METH_VARARGS, NULL}, { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -45325,7 +47625,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"TreeItemData_Destroy", (PyCFunction)_wrap_TreeItemData_Destroy, METH_O, NULL}, { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL}, { (char *)"TreeItemData_swiginit", TreeItemData_swiginit, METH_VARARGS, NULL}, - { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"new_TreeEvent", _wrap_new_TreeEvent, METH_VARARGS, NULL}, { (char *)"TreeEvent_GetItem", (PyCFunction)_wrap_TreeEvent_GetItem, METH_O, NULL}, { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"TreeEvent_GetOldItem", (PyCFunction)_wrap_TreeEvent_GetOldItem, METH_O, NULL}, @@ -45380,6 +47680,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"TreeCtrl_IsEmpty", (PyCFunction)_wrap_TreeCtrl_IsEmpty, METH_O, NULL}, { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"TreeCtrl_GetRootItem", (PyCFunction)_wrap_TreeCtrl_GetRootItem, METH_O, NULL}, { (char *)"TreeCtrl_GetSelection", (PyCFunction)_wrap_TreeCtrl_GetSelection, METH_O, NULL}, @@ -45402,7 +47703,11 @@ static PyMethodDef SwigMethods[] = { { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction)_wrap_TreeCtrl_DeleteAllItems, METH_O, NULL}, { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction) _wrap_TreeCtrl_ExpandAllChildren, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"TreeCtrl_ExpandAll", (PyCFunction)_wrap_TreeCtrl_ExpandAll, METH_O, NULL}, { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"TreeCtrl_CollapseAllChildren", (PyCFunction) _wrap_TreeCtrl_CollapseAllChildren, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"TreeCtrl_CollapseAll", (PyCFunction)_wrap_TreeCtrl_CollapseAll, METH_O, NULL}, { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"TreeCtrl_Unselect", (PyCFunction)_wrap_TreeCtrl_Unselect, METH_O, NULL}, @@ -45455,7 +47760,6 @@ static PyMethodDef SwigMethods[] = { { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_PrePyControl", (PyCFunction)_wrap_new_PrePyControl, METH_NOARGS, NULL}, { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"PyControl_DoMoveWindow", (PyCFunction) _wrap_PyControl_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"PyControl_DoSetSize", (PyCFunction) _wrap_PyControl_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -45558,6 +47862,12 @@ static PyMethodDef SwigMethods[] = { { (char *)"PickerBase_GetInternalMargin", (PyCFunction)_wrap_PickerBase_GetInternalMargin, METH_O, NULL}, { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction) _wrap_PickerBase_SetTextCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction)_wrap_PickerBase_GetTextCtrlProportion, METH_O, NULL}, + { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction) _wrap_PickerBase_SetPickerCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction)_wrap_PickerBase_GetPickerCtrlProportion, METH_O, NULL}, + { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsTextCtrlGrowable, METH_O, NULL}, + { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction) _wrap_PickerBase_SetTextCtrlGrowable, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsPickerCtrlGrowable, METH_O, NULL}, + { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction) _wrap_PickerBase_SetPickerCtrlGrowable, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"PickerBase_HasTextCtrl", (PyCFunction)_wrap_PickerBase_HasTextCtrl, METH_O, NULL}, { (char *)"PickerBase_GetTextCtrl", (PyCFunction)_wrap_PickerBase_GetTextCtrl, METH_O, NULL}, { (char *)"PickerBase_GetPickerCtrl", (PyCFunction)_wrap_PickerBase_GetPickerCtrl, METH_O, NULL}, @@ -45579,6 +47889,8 @@ static PyMethodDef SwigMethods[] = { { (char *)"FilePickerCtrl_Create", (PyCFunction) _wrap_FilePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"FilePickerCtrl_GetPath", (PyCFunction)_wrap_FilePickerCtrl_GetPath, METH_O, NULL}, { (char *)"FilePickerCtrl_SetPath", (PyCFunction) _wrap_FilePickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FilePickerCtrl_CheckPath", (PyCFunction) _wrap_FilePickerCtrl_CheckPath, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction)_wrap_FilePickerCtrl_GetTextCtrlValue, METH_O, NULL}, { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister, METH_VARARGS, NULL}, { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit, METH_VARARGS, NULL}, { (char *)"new_DirPickerCtrl", (PyCFunction) _wrap_new_DirPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -45586,6 +47898,8 @@ static PyMethodDef SwigMethods[] = { { (char *)"DirPickerCtrl_Create", (PyCFunction) _wrap_DirPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"DirPickerCtrl_GetPath", (PyCFunction)_wrap_DirPickerCtrl_GetPath, METH_O, NULL}, { (char *)"DirPickerCtrl_SetPath", (PyCFunction) _wrap_DirPickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"DirPickerCtrl_CheckPath", (PyCFunction) _wrap_DirPickerCtrl_CheckPath, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction)_wrap_DirPickerCtrl_GetTextCtrlValue, METH_O, NULL}, { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister, METH_VARARGS, NULL}, { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit, METH_VARARGS, NULL}, { (char *)"new_FileDirPickerEvent", (PyCFunction) _wrap_new_FileDirPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -45607,6 +47921,37 @@ static PyMethodDef SwigMethods[] = { { (char *)"FontPickerEvent_SetFont", (PyCFunction) _wrap_FontPickerEvent_SetFont, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister, METH_VARARGS, NULL}, { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit, METH_VARARGS, NULL}, + { (char *)"new_CollapsiblePane", (PyCFunction) _wrap_new_CollapsiblePane, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"new_PreCollapsiblePane", (PyCFunction)_wrap_new_PreCollapsiblePane, METH_NOARGS, NULL}, + { (char *)"CollapsiblePane_Create", (PyCFunction) _wrap_CollapsiblePane_Create, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"CollapsiblePane_Collapse", (PyCFunction) _wrap_CollapsiblePane_Collapse, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"CollapsiblePane_Expand", (PyCFunction)_wrap_CollapsiblePane_Expand, METH_O, NULL}, + { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction)_wrap_CollapsiblePane_IsCollapsed, METH_O, NULL}, + { (char *)"CollapsiblePane_IsExpanded", (PyCFunction)_wrap_CollapsiblePane_IsExpanded, METH_O, NULL}, + { (char *)"CollapsiblePane_GetPane", (PyCFunction)_wrap_CollapsiblePane_GetPane, METH_O, NULL}, + { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister, METH_VARARGS, NULL}, + { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit, METH_VARARGS, NULL}, + { (char *)"new_CollapsiblePaneEvent", (PyCFunction) _wrap_new_CollapsiblePaneEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction)_wrap_CollapsiblePaneEvent_GetCollapsed, METH_O, NULL}, + { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction) _wrap_CollapsiblePaneEvent_SetCollapsed, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit, METH_VARARGS, NULL}, + { (char *)"new_SearchCtrl", (PyCFunction) _wrap_new_SearchCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"new_PreSearchCtrl", (PyCFunction)_wrap_new_PreSearchCtrl, METH_NOARGS, NULL}, + { (char *)"SearchCtrl_Create", (PyCFunction) _wrap_SearchCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SearchCtrl_SetMenu", (PyCFunction) _wrap_SearchCtrl_SetMenu, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SearchCtrl_GetMenu", (PyCFunction)_wrap_SearchCtrl_GetMenu, METH_O, NULL}, + { (char *)"SearchCtrl_ShowSearchButton", (PyCFunction) _wrap_SearchCtrl_ShowSearchButton, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SearchCtrl_IsSearchButtonVisible", (PyCFunction)_wrap_SearchCtrl_IsSearchButtonVisible, METH_O, NULL}, + { (char *)"SearchCtrl_ShowCancelButton", (PyCFunction) _wrap_SearchCtrl_ShowCancelButton, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SearchCtrl_IsCancelButtonVisible", (PyCFunction)_wrap_SearchCtrl_IsCancelButtonVisible, METH_O, NULL}, + { (char *)"SearchCtrl_SetDescriptiveText", (PyCFunction) _wrap_SearchCtrl_SetDescriptiveText, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SearchCtrl_GetDescriptiveText", (PyCFunction)_wrap_SearchCtrl_GetDescriptiveText, METH_O, NULL}, + { (char *)"SearchCtrl_SetSearchBitmap", (PyCFunction) _wrap_SearchCtrl_SetSearchBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SearchCtrl_SetSearchMenuBitmap", (PyCFunction) _wrap_SearchCtrl_SetSearchMenuBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SearchCtrl_SetCancelBitmap", (PyCFunction) _wrap_SearchCtrl_SetCancelBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SearchCtrl_swigregister", SearchCtrl_swigregister, METH_VARARGS, NULL}, + { (char *)"SearchCtrl_swiginit", SearchCtrl_swiginit, METH_VARARGS, NULL}, { NULL, NULL, 0, NULL } }; @@ -45658,6 +48003,9 @@ static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) { static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); } +static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x)); +} static void *_p_wxPyEventTo_p_wxEvent(void *x) { return (void *)((wxEvent *) ((wxPyEvent *) x)); } @@ -45709,8 +48057,8 @@ static void *_p_wxMoveEventTo_p_wxEvent(void *x) { static void *_p_wxDateEventTo_p_wxEvent(void *x) { return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); } -static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) { - return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x)); +static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) (wxCommandEvent *) ((wxCollapsiblePaneEvent *) x)); } static void *_p_wxPaintEventTo_p_wxEvent(void *x) { return (void *)((wxEvent *) ((wxPaintEvent *) x)); @@ -45718,6 +48066,9 @@ static void *_p_wxPaintEventTo_p_wxEvent(void *x) { static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); } +static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x)); +} static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); } @@ -45802,6 +48153,9 @@ static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) { static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) { return (void *)((wxPyListCtrl *) ((wxListView *) x)); } +static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x) { + return (void *)((wxControl *) ((wxCollapsiblePane *) x)); +} static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) { return (void *)((wxControl *) ((wxBookCtrlBase *) x)); } @@ -45817,6 +48171,9 @@ static void *_p_wxToggleButtonTo_p_wxControl(void *x) { static void *_p_wxRadioButtonTo_p_wxControl(void *x) { return (void *)((wxControl *) ((wxRadioButton *) x)); } +static void *_p_wxSearchCtrlTo_p_wxControl(void *x) { + return (void *)((wxControl *) (wxTextCtrl *) ((wxSearchCtrl *) x)); +} static void *_p_wxToolbookTo_p_wxControl(void *x) { return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x)); } @@ -45937,6 +48294,9 @@ static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) { static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) { return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x)); } +static void *_p_wxSearchCtrlTo_p_wxTextCtrl(void *x) { + return (void *)((wxTextCtrl *) ((wxSearchCtrl *) x)); +} static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) { return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x)); } @@ -45979,6 +48339,9 @@ static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x) { static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) { return (void *)((wxBookCtrlBase *) ((wxNotebook *) x)); } +static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCollapsiblePane *) x)); +} static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); } @@ -46006,6 +48369,9 @@ static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) { static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x)); } +static void *_p_wxSearchCtrlTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x)); +} static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x)); } @@ -46150,12 +48516,12 @@ static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { static void *_p_wxToolbookTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x)); } -static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); -} static void *_p_wxSizerItemTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxSizerItem *) x)); } +static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); +} static void *_p_wxScrollEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); } @@ -46195,6 +48561,9 @@ static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { static void *_p_wxGridSizerTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); } +static void *_p_wxSearchCtrlTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x)); +} static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); } @@ -46345,6 +48714,9 @@ static void *_p_wxStaticBoxTo_p_wxObject(void *x) { static void *_p_wxContextHelpTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxContextHelp *) x)); } +static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxCollapsiblePaneEvent *) x)); +} static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x)); } @@ -46387,9 +48759,15 @@ static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); } +static void *_p_wxTGAHandlerTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x)); +} static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxEvtHandler *) x)); } +static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x)); +} static void *_p_wxListEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x)); } @@ -46411,12 +48789,12 @@ static void *_p_wxSpinButtonTo_p_wxObject(void *x) { static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x)); } -static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); -} static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxAcceleratorTable *) x)); } +static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); +} static void *_p_wxScrollBarTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x)); } @@ -46483,6 +48861,9 @@ static void *_p_wxMenuBarTo_p_wxObject(void *x) { static void *_p_wxFileSystemTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxFileSystem *) x)); } +static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCollapsiblePane *) x)); +} static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); } @@ -46558,6 +48939,9 @@ static void *_p_wxPyValidatorTo_p_wxObject(void *x) { static void *_p_wxValidatorTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); } +static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxControl *) ((wxCollapsiblePane *) x)); +} static void *_p_wxMenuBarTo_p_wxWindow(void *x) { return (void *)((wxWindow *) ((wxMenuBar *) x)); } @@ -46576,6 +48960,9 @@ static void *_p_wxToggleButtonTo_p_wxWindow(void *x) { static void *_p_wxRadioButtonTo_p_wxWindow(void *x) { return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x)); } +static void *_p_wxSearchCtrlTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x)); +} static void *_p_wxToolbookTo_p_wxWindow(void *x) { return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x)); } @@ -46765,6 +49152,9 @@ static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { static void *_p_wxListEventTo_p_wxCommandEvent(void *x) { return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x)); } +static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x) { + return (void *)((wxCommandEvent *) ((wxCollapsiblePaneEvent *) x)); +} static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) { return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x)); } @@ -46819,6 +49209,8 @@ static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", "wxCheckL static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxCollapsiblePane = {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxCollapsiblePaneEvent = {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxColourPickerCtrl = {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxColourPickerEvent = {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0}; @@ -46851,13 +49243,14 @@ static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0}; @@ -46873,7 +49266,6 @@ static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxFileDirPickerEvent = {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxFilePickerCtrl = {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; @@ -46898,14 +49290,15 @@ static swig_type_info _swigt__p_wxListView = {"_p_wxListView", "wxListView *", 0 static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0}; @@ -46916,11 +49309,11 @@ static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0}; @@ -46929,8 +49322,9 @@ static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; @@ -46944,6 +49338,7 @@ static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", "wxRadioBox *", 0 static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wxSearchCtrl = {"_p_wxSearchCtrl", "wxSearchCtrl *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxSimpleHelpProvider = {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0}; @@ -46964,7 +49359,6 @@ static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarB static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_wxTreeCtrl = {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0}; @@ -47005,6 +49399,8 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_wxChoicebookEvent, &_swigt__p_wxClipboardTextEvent, &_swigt__p_wxCloseEvent, + &_swigt__p_wxCollapsiblePane, + &_swigt__p_wxCollapsiblePaneEvent, &_swigt__p_wxColour, &_swigt__p_wxColourPickerCtrl, &_swigt__p_wxColourPickerEvent, @@ -47075,6 +49471,7 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_wxMenuEvent, &_swigt__p_wxMenuItem, &_swigt__p_wxMouseCaptureChangedEvent, + &_swigt__p_wxMouseCaptureLostEvent, &_swigt__p_wxMouseEvent, &_swigt__p_wxMoveEvent, &_swigt__p_wxNavigationKeyEvent, @@ -47108,6 +49505,7 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_wxScrollBar, &_swigt__p_wxScrollEvent, &_swigt__p_wxScrollWinEvent, + &_swigt__p_wxSearchCtrl, &_swigt__p_wxSetCursorEvent, &_swigt__p_wxShowEvent, &_swigt__p_wxSimpleHelpProvider, @@ -47127,6 +49525,7 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_wxStdDialogButtonSizer, &_swigt__p_wxString, &_swigt__p_wxSysColourChangedEvent, + &_swigt__p_wxTGAHandler, &_swigt__p_wxTIFFHandler, &_swigt__p_wxTextAttr, &_swigt__p_wxTextCtrl, @@ -47137,7 +49536,6 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_wxToolBarToolBase, &_swigt__p_wxToolbook, &_swigt__p_wxToolbookEvent, - &_swigt__p_wxTreeCtrl, &_swigt__p_wxTreeEvent, &_swigt__p_wxTreeItemId, &_swigt__p_wxTreebook, @@ -47173,6 +49571,8 @@ static swig_cast_info _swigc__p_wxCheckListBox[] = { {&_swigt__p_wxCheckListBox static swig_cast_info _swigc__p_wxChoice[] = { {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0}, {&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxChoicebook[] = { {&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxChoicebookEvent[] = { {&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCollapsiblePane[] = { {&_swigt__p_wxCollapsiblePane, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCollapsiblePaneEvent[] = { {&_swigt__p_wxCollapsiblePaneEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxColourPickerCtrl[] = { {&_swigt__p_wxColourPickerCtrl, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxColourPickerEvent[] = { {&_swigt__p_wxColourPickerEvent, 0, 0, 0},{0, 0, 0, 0}}; @@ -47186,10 +49586,10 @@ static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusE static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxContextHelp[] = { {&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxContextHelpButton[] = { {&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxControl, 0, 0}, {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControl, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxControl, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxControl, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxControl, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxSearchCtrl, _p_wxSearchCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxControl, 0, 0}, {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControl, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxControl, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxControl, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxControlWithItems[] = { {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxControlWithItems, 0, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}}; @@ -47204,13 +49604,14 @@ static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; @@ -47222,12 +49623,11 @@ static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSearchCtrl, _p_wxSearchCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxFileDirPickerEvent[] = { {&_swigt__p_wxFileDirPickerEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxFilePickerCtrl[] = { {&_swigt__p_wxFilePickerCtrl, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; @@ -47252,13 +49652,14 @@ static swig_cast_info _swigc__p_wxListView[] = { {&_swigt__p_wxListView, 0, 0, static swig_cast_info _swigc__p_wxListbook[] = { {&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxListbookEvent[] = { {&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxMemoryDC[] = { {&_swigt__p_wxMemoryDC, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxNotebook[] = { {&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxNotebookEvent[] = { {&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; @@ -47269,11 +49670,11 @@ static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; @@ -47282,11 +49683,12 @@ static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandl static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSearchCtrl, _p_wxSearchCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxObject, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPickerBase[] = { {&_swigt__p_wxPickerBase, 0, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxPickerBase, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxPickerBase, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxPickerBase, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxPickerBase, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; @@ -47298,6 +49700,7 @@ static swig_cast_info _swigc__p_wxRadioBox[] = { {&_swigt__p_wxRadioBox, 0, 0, static swig_cast_info _swigc__p_wxRadioButton[] = { {&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSearchCtrl[] = { {&_swigt__p_wxSearchCtrl, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxSimpleHelpProvider[] = { {&_swigt__p_wxSimpleHelpProvider, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxSlider[] = { {&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}}; @@ -47310,7 +49713,7 @@ static swig_cast_info _swigc__p_wxStaticLine[] = { {&_swigt__p_wxStaticLine, 0, static swig_cast_info _swigc__p_wxStaticText[] = { {&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxTextAttr[] = { {&_swigt__p_wxTextAttr, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0}, {&_swigt__p_wxSearchCtrl, _p_wxSearchCtrlTo_p_wxTextCtrl, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxTextUrlEvent[] = { {&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxToggleButton[] = { {&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}}; @@ -47318,14 +49721,13 @@ static swig_cast_info _swigc__p_wxToolBarBase[] = { {&_swigt__p_wxToolBarBase, static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxToolbook[] = { {&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxToolbookEvent[] = { {&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_wxTreeCtrl[] = { {&_swigt__p_wxTreeCtrl, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxTreebook[] = { {&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxTreebookEvent[] = { {&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxWindow, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSearchCtrl, _p_wxSearchCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxWindow, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxWindowBase[] = { {&_swigt__p_wxWindowBase, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info *swig_cast_initial[] = { @@ -47359,6 +49761,8 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_wxChoicebookEvent, _swigc__p_wxClipboardTextEvent, _swigc__p_wxCloseEvent, + _swigc__p_wxCollapsiblePane, + _swigc__p_wxCollapsiblePaneEvent, _swigc__p_wxColour, _swigc__p_wxColourPickerCtrl, _swigc__p_wxColourPickerEvent, @@ -47429,6 +49833,7 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_wxMenuEvent, _swigc__p_wxMenuItem, _swigc__p_wxMouseCaptureChangedEvent, + _swigc__p_wxMouseCaptureLostEvent, _swigc__p_wxMouseEvent, _swigc__p_wxMoveEvent, _swigc__p_wxNavigationKeyEvent, @@ -47462,6 +49867,7 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_wxScrollBar, _swigc__p_wxScrollEvent, _swigc__p_wxScrollWinEvent, + _swigc__p_wxSearchCtrl, _swigc__p_wxSetCursorEvent, _swigc__p_wxShowEvent, _swigc__p_wxSimpleHelpProvider, @@ -47481,6 +49887,7 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_wxStdDialogButtonSizer, _swigc__p_wxString, _swigc__p_wxSysColourChangedEvent, + _swigc__p_wxTGAHandler, _swigc__p_wxTIFFHandler, _swigc__p_wxTextAttr, _swigc__p_wxTextCtrl, @@ -47491,7 +49898,6 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_wxToolBarToolBase, _swigc__p_wxToolbook, _swigc__p_wxToolbookEvent, - _swigc__p_wxTreeCtrl, _swigc__p_wxTreeEvent, _swigc__p_wxTreeItemId, _swigc__p_wxTreebook, @@ -47948,11 +50354,11 @@ extern "C" { swig_type_info **types_initial) { size_t i; for (i = 0; methods[i].ml_name; ++i) { - char *c = methods[i].ml_doc; + const char *c = methods[i].ml_doc; if (c && (c = strstr(c, "swig_ptr: "))) { int j; swig_const_info *ci = 0; - char *name = c + 10; + const char *name = c + 10; for (j = 0; const_table[j].type; ++j) { if (strncmp(const_table[j].name, name, strlen(const_table[j].name)) == 0) { @@ -48032,6 +50438,7 @@ SWIGEXPORT void SWIG_init(void) { SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get, StaticBitmapNameStr_set); SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get, StaticBoxNameStr_set); SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get, StaticTextNameStr_set); + SWIG_addvarlink(SWIG_globals(),(char*)"StaticLineNameStr",StaticLineNameStr_get, StaticLineNameStr_set); SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get, ListBoxNameStr_set); SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get, TextCtrlNameStr_set); SWIG_Python_SetConstant(d, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL))); @@ -48079,6 +50486,7 @@ SWIGEXPORT void SWIG_init(void) { SWIG_Python_SetConstant(d, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND))); SWIG_Python_SetConstant(d, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord))); SWIG_Python_SetConstant(d, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord))); + SWIG_Python_SetConstant(d, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY))); PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED)); PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER)); PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL)); @@ -48116,6 +50524,11 @@ SWIGEXPORT void SWIG_init(void) { SWIG_Python_SetConstant(d, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT))); SWIG_Python_SetConstant(d, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK))); SWIG_Python_SetConstant(d, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR))); + SWIG_Python_SetConstant(d, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE))); + SWIG_Python_SetConstant(d, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON))); + SWIG_Python_SetConstant(d, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL))); + SWIG_Python_SetConstant(d, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM))); + SWIG_Python_SetConstant(d, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE))); SWIG_Python_SetConstant(d, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH))); SWIG_Python_SetConstant(d, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP))); SWIG_Python_SetConstant(d, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT))); @@ -48127,6 +50540,7 @@ SWIGEXPORT void SWIG_init(void) { SWIG_Python_SetConstant(d, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON))); SWIG_Python_SetConstant(d, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL))); SWIG_Python_SetConstant(d, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM))); + SWIG_Python_SetConstant(d, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE))); PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED)); PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING)); SWIG_Python_SetConstant(d, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT))); @@ -48156,6 +50570,10 @@ SWIGEXPORT void SWIG_init(void) { SWIG_Python_SetConstant(d, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL))); SWIG_Python_SetConstant(d, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL))); SWIG_Python_SetConstant(d, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL))); + SWIG_Python_SetConstant(d, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP))); + SWIG_Python_SetConstant(d, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT))); + SWIG_Python_SetConstant(d, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM))); + SWIG_Python_SetConstant(d, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT))); SWIG_Python_SetConstant(d, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS))); SWIG_Python_SetConstant(d, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT))); SWIG_Python_SetConstant(d, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE))); @@ -48315,6 +50733,7 @@ SWIGEXPORT void SWIG_init(void) { PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK)); PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP)); PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU)); + SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get, NullTreeItemId_set); // Map renamed classes back to their common name for OOR wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData"); @@ -48326,8 +50745,6 @@ SWIGEXPORT void SWIG_init(void) { SWIG_Python_SetConstant(d, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS))); SWIG_Python_SetConstant(d, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL))); SWIG_Python_SetConstant(d, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS))); - SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP))); - SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP))); PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP)); PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP)); SWIG_Python_SetConstant(d, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown))); @@ -48344,6 +50761,9 @@ SWIGEXPORT void SWIG_init(void) { SWIG_Python_SetConstant(d, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE))); SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get, HyperlinkCtrlNameStr_set); SWIG_Python_SetConstant(d, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU))); + SWIG_Python_SetConstant(d, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT))); + SWIG_Python_SetConstant(d, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT))); + SWIG_Python_SetConstant(d, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE))); SWIG_Python_SetConstant(d, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE))); PyDict_SetItemString(d, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK)); SWIG_Python_SetConstant(d, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL))); @@ -48376,5 +50796,12 @@ SWIGEXPORT void SWIG_init(void) { SWIG_Python_SetConstant(d, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL))); SWIG_Python_SetConstant(d, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE))); PyDict_SetItemString(d, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED)); + SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get, CollapsiblePaneNameStr_set); + SWIG_Python_SetConstant(d, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE))); + SWIG_Python_SetConstant(d, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE))); + PyDict_SetItemString(d, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED)); + SWIG_addvarlink(SWIG_globals(),(char*)"SearchCtrlNameStr",SearchCtrlNameStr_get, SearchCtrlNameStr_set); + PyDict_SetItemString(d, "wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN)); + PyDict_SetItemString(d, "wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN)); }