-static PyMethodDef SwigMethods[] = {
- { (char *)"ComboCtrlFeatures_swigregister", ComboCtrlFeatures_swigregister, METH_VARARGS, NULL},
- { (char *)"new_ComboCtrl", (PyCFunction) _wrap_new_ComboCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"new_PreComboCtrl", (PyCFunction)_wrap_new_PreComboCtrl, METH_NOARGS, NULL},
- { (char *)"ComboCtrl__setCallbackInfo", (PyCFunction) _wrap_ComboCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ComboCtrl_ShowPopup", (PyCFunction)_wrap_ComboCtrl_ShowPopup, METH_O, NULL},
- { (char *)"ComboCtrl_HidePopup", (PyCFunction)_wrap_ComboCtrl_HidePopup, METH_O, NULL},
- { (char *)"ComboCtrl_OnButtonClick", (PyCFunction)_wrap_ComboCtrl_OnButtonClick, METH_O, NULL},
- { (char *)"ComboCtrl_IsPopupShown", (PyCFunction)_wrap_ComboCtrl_IsPopupShown, METH_O, NULL},
- { (char *)"ComboCtrl_SetPopupControl", (PyCFunction) _wrap_ComboCtrl_SetPopupControl, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ComboCtrl_GetPopupControl", (PyCFunction)_wrap_ComboCtrl_GetPopupControl, METH_O, NULL},
- { (char *)"ComboCtrl_GetPopupWindow", (PyCFunction)_wrap_ComboCtrl_GetPopupWindow, METH_O, NULL},
- { (char *)"ComboCtrl_GetTextCtrl", (PyCFunction)_wrap_ComboCtrl_GetTextCtrl, METH_O, NULL},
- { (char *)"ComboCtrl_GetButton", (PyCFunction)_wrap_ComboCtrl_GetButton, METH_O, NULL},
- { (char *)"ComboCtrl_GetValue", (PyCFunction)_wrap_ComboCtrl_GetValue, METH_O, NULL},
- { (char *)"ComboCtrl_SetValue", (PyCFunction) _wrap_ComboCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ComboCtrl_Copy", (PyCFunction)_wrap_ComboCtrl_Copy, METH_O, NULL},
- { (char *)"ComboCtrl_Cut", (PyCFunction)_wrap_ComboCtrl_Cut, METH_O, NULL},
- { (char *)"ComboCtrl_Paste", (PyCFunction)_wrap_ComboCtrl_Paste, METH_O, NULL},
- { (char *)"ComboCtrl_SetInsertionPoint", (PyCFunction) _wrap_ComboCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ComboCtrl_SetInsertionPointEnd", (PyCFunction)_wrap_ComboCtrl_SetInsertionPointEnd, METH_O, NULL},
- { (char *)"ComboCtrl_GetInsertionPoint", (PyCFunction)_wrap_ComboCtrl_GetInsertionPoint, METH_O, NULL},
- { (char *)"ComboCtrl_GetLastPosition", (PyCFunction)_wrap_ComboCtrl_GetLastPosition, METH_O, NULL},
- { (char *)"ComboCtrl_Replace", (PyCFunction) _wrap_ComboCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ComboCtrl_Remove", (PyCFunction) _wrap_ComboCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ComboCtrl_Undo", (PyCFunction)_wrap_ComboCtrl_Undo, METH_O, NULL},
- { (char *)"ComboCtrl_SetMark", (PyCFunction) _wrap_ComboCtrl_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ComboCtrl_SetText", (PyCFunction) _wrap_ComboCtrl_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ComboCtrl_SetValueWithEvent", (PyCFunction) _wrap_ComboCtrl_SetValueWithEvent, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ComboCtrl_SetPopupMinWidth", (PyCFunction) _wrap_ComboCtrl_SetPopupMinWidth, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ComboCtrl_SetPopupMaxHeight", (PyCFunction) _wrap_ComboCtrl_SetPopupMaxHeight, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ComboCtrl_SetPopupExtents", (PyCFunction) _wrap_ComboCtrl_SetPopupExtents, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ComboCtrl_SetCustomPaintWidth", (PyCFunction) _wrap_ComboCtrl_SetCustomPaintWidth, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ComboCtrl_GetCustomPaintWidth", (PyCFunction)_wrap_ComboCtrl_GetCustomPaintWidth, METH_O, NULL},
- { (char *)"ComboCtrl_SetPopupAnchor", (PyCFunction) _wrap_ComboCtrl_SetPopupAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ComboCtrl_SetButtonPosition", (PyCFunction) _wrap_ComboCtrl_SetButtonPosition, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ComboCtrl_GetButtonSize", (PyCFunction)_wrap_ComboCtrl_GetButtonSize, METH_O, NULL},
- { (char *)"ComboCtrl_SetButtonBitmaps", (PyCFunction) _wrap_ComboCtrl_SetButtonBitmaps, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ComboCtrl_SetTextIndent", (PyCFunction) _wrap_ComboCtrl_SetTextIndent, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ComboCtrl_GetTextIndent", (PyCFunction)_wrap_ComboCtrl_GetTextIndent, METH_O, NULL},
- { (char *)"ComboCtrl_GetTextRect", (PyCFunction)_wrap_ComboCtrl_GetTextRect, METH_O, NULL},
- { (char *)"ComboCtrl_UseAltPopupWindow", (PyCFunction) _wrap_ComboCtrl_UseAltPopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ComboCtrl_EnablePopupAnimation", (PyCFunction) _wrap_ComboCtrl_EnablePopupAnimation, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ComboCtrl_IsKeyPopupToggle", (PyCFunction) _wrap_ComboCtrl_IsKeyPopupToggle, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ComboCtrl_PrepareBackground", (PyCFunction) _wrap_ComboCtrl_PrepareBackground, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ComboCtrl_ShouldDrawFocus", (PyCFunction)_wrap_ComboCtrl_ShouldDrawFocus, METH_O, NULL},
- { (char *)"ComboCtrl_GetBitmapNormal", (PyCFunction)_wrap_ComboCtrl_GetBitmapNormal, METH_O, NULL},
- { (char *)"ComboCtrl_GetBitmapPressed", (PyCFunction)_wrap_ComboCtrl_GetBitmapPressed, METH_O, NULL},
- { (char *)"ComboCtrl_GetBitmapHover", (PyCFunction)_wrap_ComboCtrl_GetBitmapHover, METH_O, NULL},
- { (char *)"ComboCtrl_GetBitmapDisabled", (PyCFunction)_wrap_ComboCtrl_GetBitmapDisabled, METH_O, NULL},
- { (char *)"ComboCtrl_GetInternalFlags", (PyCFunction)_wrap_ComboCtrl_GetInternalFlags, METH_O, NULL},
- { (char *)"ComboCtrl_IsCreated", (PyCFunction)_wrap_ComboCtrl_IsCreated, METH_O, NULL},
- { (char *)"ComboCtrl_OnPopupDismiss", (PyCFunction)_wrap_ComboCtrl_OnPopupDismiss, METH_O, NULL},
- { (char *)"ComboCtrl_IsPopupWindowState", (PyCFunction) _wrap_ComboCtrl_IsPopupWindowState, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ComboCtrl_GetPopupWindowState", (PyCFunction)_wrap_ComboCtrl_GetPopupWindowState, METH_O, NULL},
- { (char *)"ComboCtrl_SetCtrlMainWnd", (PyCFunction) _wrap_ComboCtrl_SetCtrlMainWnd, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ComboCtrl_GetFeatures", (PyCFunction)_wrap_ComboCtrl_GetFeatures, METH_NOARGS, NULL},
- { (char *)"ComboCtrl_DoShowPopup", (PyCFunction) _wrap_ComboCtrl_DoShowPopup, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ComboCtrl_AnimateShow", (PyCFunction) _wrap_ComboCtrl_AnimateShow, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ComboCtrl_swigregister", ComboCtrl_swigregister, METH_VARARGS, NULL},
- { (char *)"ComboCtrl_swiginit", ComboCtrl_swiginit, METH_VARARGS, NULL},
- { (char *)"new_ComboPopup", (PyCFunction)_wrap_new_ComboPopup, METH_NOARGS, NULL},
- { (char *)"delete_ComboPopup", (PyCFunction)_wrap_delete_ComboPopup, METH_O, NULL},
- { (char *)"ComboPopup__setCallbackInfo", (PyCFunction) _wrap_ComboPopup__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ComboPopup_Init", (PyCFunction)_wrap_ComboPopup_Init, METH_O, NULL},
- { (char *)"ComboPopup_Create", (PyCFunction) _wrap_ComboPopup_Create, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ComboPopup_GetControl", (PyCFunction)_wrap_ComboPopup_GetControl, METH_O, NULL},
- { (char *)"ComboPopup_OnPopup", (PyCFunction)_wrap_ComboPopup_OnPopup, METH_O, NULL},
- { (char *)"ComboPopup_OnDismiss", (PyCFunction)_wrap_ComboPopup_OnDismiss, METH_O, NULL},
- { (char *)"ComboPopup_SetStringValue", (PyCFunction) _wrap_ComboPopup_SetStringValue, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ComboPopup_GetStringValue", (PyCFunction)_wrap_ComboPopup_GetStringValue, METH_O, NULL},
- { (char *)"ComboPopup_PaintComboControl", (PyCFunction) _wrap_ComboPopup_PaintComboControl, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ComboPopup_OnComboKeyEvent", (PyCFunction) _wrap_ComboPopup_OnComboKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ComboPopup_OnComboDoubleClick", (PyCFunction)_wrap_ComboPopup_OnComboDoubleClick, METH_O, NULL},
- { (char *)"ComboPopup_GetAdjustedSize", (PyCFunction) _wrap_ComboPopup_GetAdjustedSize, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ComboPopup_LazyCreate", (PyCFunction)_wrap_ComboPopup_LazyCreate, METH_O, NULL},
- { (char *)"ComboPopup_Dismiss", (PyCFunction)_wrap_ComboPopup_Dismiss, METH_O, NULL},
- { (char *)"ComboPopup_IsCreated", (PyCFunction)_wrap_ComboPopup_IsCreated, METH_O, NULL},
- { (char *)"ComboPopup_DefaultPaintComboControl", (PyCFunction) _wrap_ComboPopup_DefaultPaintComboControl, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ComboPopup_GetCombo", (PyCFunction)_wrap_ComboPopup_GetCombo, METH_O, NULL},
- { (char *)"ComboPopup_swigregister", ComboPopup_swigregister, METH_VARARGS, NULL},
- { (char *)"ComboPopup_swiginit", ComboPopup_swiginit, METH_VARARGS, NULL},
- { (char *)"new_OwnerDrawnComboBox", (PyCFunction) _wrap_new_OwnerDrawnComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"new_PreOwnerDrawnComboBox", (PyCFunction)_wrap_new_PreOwnerDrawnComboBox, METH_NOARGS, NULL},
- { (char *)"OwnerDrawnComboBox__setCallbackInfo", (PyCFunction) _wrap_OwnerDrawnComboBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"OwnerDrawnComboBox_Create", (PyCFunction) _wrap_OwnerDrawnComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"OwnerDrawnComboBox_GetWidestItemWidth", (PyCFunction)_wrap_OwnerDrawnComboBox_GetWidestItemWidth, METH_O, NULL},
- { (char *)"OwnerDrawnComboBox_GetWidestItem", (PyCFunction)_wrap_OwnerDrawnComboBox_GetWidestItem, METH_O, NULL},
- { (char *)"OwnerDrawnComboBox_SetMark", (PyCFunction) _wrap_OwnerDrawnComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"OwnerDrawnComboBox_OnDrawItem", (PyCFunction) _wrap_OwnerDrawnComboBox_OnDrawItem, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"OwnerDrawnComboBox_OnMeasureItem", (PyCFunction) _wrap_OwnerDrawnComboBox_OnMeasureItem, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"OwnerDrawnComboBox_OnMeasureItemWidth", (PyCFunction) _wrap_OwnerDrawnComboBox_OnMeasureItemWidth, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"OwnerDrawnComboBox_OnDrawBackground", (PyCFunction) _wrap_OwnerDrawnComboBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"OwnerDrawnComboBox_swigregister", OwnerDrawnComboBox_swigregister, METH_VARARGS, NULL},
- { (char *)"OwnerDrawnComboBox_swiginit", OwnerDrawnComboBox_swiginit, METH_VARARGS, NULL},
- { NULL, NULL, 0, NULL }
-};
-
-
-/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
-
-static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
- return (void *)((wxObject *) ((wxLayoutConstraints *) x));
-}
-static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
- return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
-}
-static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
- return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
-}
-static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
- return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) 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));
-}
-static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
- return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
-}
-static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
- return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
-}
-static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
- return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
-}
-static void *_p_wxSizerTo_p_wxObject(void *x) {
- return (void *)((wxObject *) ((wxSizer *) x));
-}
-static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
- return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
-}
-static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
- return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
-}
-static void *_p_wxPyPanelTo_p_wxObject(void *x) {
- return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
-}
-static void *_p_wxEventTo_p_wxObject(void *x) {
- return (void *)((wxObject *) ((wxEvent *) x));
-}
-static void *_p_wxFontDataTo_p_wxObject(void *x) {
- return (void *)((wxObject *) ((wxFontData *) x));
-}
-static void *_p_wxPrintDataTo_p_wxObject(void *x) {
- return (void *)((wxObject *) ((wxPrintData *) x));
-}
-static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
- return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
-}
-static void *_p_wxGridSizerTo_p_wxObject(void *x) {
- return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
-}
-static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
- return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
-}
-static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
- return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
-}
-static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
- return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
-}
-static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
- return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
-}
-static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
- return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
-}
-static void *_p_wxPaintEventTo_p_wxObject(void *x) {
- return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
-}
-static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
- return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
-}
-static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
- return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
-}
-static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
- return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
-}
-static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
- return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
-}
-static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
- return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
-}
-static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
- return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
-}
-static void *_p_wxControlTo_p_wxObject(void *x) {
- return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
-}
-static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
- return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
-}
-static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
- return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
-}
-static void *_p_wxFSFileTo_p_wxObject(void *x) {
- return (void *)((wxObject *) ((wxFSFile *) x));
-}
-static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
- return (void *)((wxObject *) ((wxFindReplaceData *) x));
-}
-static void *_p_wxPySizerTo_p_wxObject(void *x) {
- return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
-}
-static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
- return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
-}
-static void *_p_wxColourDataTo_p_wxObject(void *x) {
- return (void *)((wxObject *) ((wxColourData *) x));
-}
-static void *_p_wxPyEventTo_p_wxObject(void *x) {
- return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
-}
+SWIGINTERN PyObject *_wrap_new_BitmapComboBox(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 ;
+ wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
+ wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
+ long arg7 = (long) 0 ;
+ wxValidator const &arg8_defvalue = wxDefaultValidator ;
+ wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
+ wxString const &arg9_defvalue = wxBitmapComboBoxNameStr ;
+ wxString *arg9 = (wxString *) &arg9_defvalue ;
+ wxBitmapComboBox *result = 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ int val2 ;
+ int ecode2 = 0 ;
+ bool temp3 = false ;
+ wxPoint temp4 ;
+ wxSize temp5 ;
+ bool temp6 = false ;
+ 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 *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
+ };
+
+ if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_BitmapComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) 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_BitmapComboBox" "', 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_BitmapComboBox" "', 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) {
+ {
+ if (! PySequence_Check(obj5)) {
+ PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
+ SWIG_fail;
+ }
+ arg6 = new wxArrayString;
+ temp6 = true;
+ int i, len=PySequence_Length(obj5);
+ for (i=0; i<len; i++) {
+ PyObject* item = PySequence_GetItem(obj5, i);
+ wxString* s = wxString_in_helper(item);
+ if (PyErr_Occurred()) SWIG_fail;
+ arg6->Add(*s);
+ delete s;
+ Py_DECREF(item);
+ }
+ }
+ }
+ if (obj6) {
+ ecode7 = SWIG_AsVal_long(obj6, &val7);
+ if (!SWIG_IsOK(ecode7)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_BitmapComboBox" "', 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 '" "new_BitmapComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
+ }
+ if (!argp8) {
+ SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapComboBox" "', 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;
+ }
+ }
+ {
+ if (!wxPyCheckForApp()) SWIG_fail;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxBitmapComboBox *)new wxBitmapComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapComboBox, SWIG_POINTER_NEW | 0 );
+ {
+ if (temp3)
+ delete arg3;
+ }
+ {
+ if (temp6) delete arg6;
+ }
+ {
+ if (temp9)
+ delete arg9;
+ }
+ return resultobj;
+fail:
+ {
+ if (temp3)
+ delete arg3;
+ }
+ {
+ if (temp6) delete arg6;
+ }
+ {
+ if (temp9)
+ delete arg9;
+ }
+ return NULL;
+}
+
+
+SWIGINTERN PyObject *_wrap_new_PreBitmapComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
+ PyObject *resultobj = 0;
+ wxBitmapComboBox *result = 0 ;
+
+ if (!SWIG_Python_UnpackTuple(args,"new_PreBitmapComboBox",0,0,0)) SWIG_fail;
+ {
+ if (!wxPyCheckForApp()) SWIG_fail;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxBitmapComboBox *)new wxBitmapComboBox();
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapComboBox, SWIG_POINTER_OWN | 0 );
+ return resultobj;
+fail:
+ return NULL;
+}
+
+
+SWIGINTERN PyObject *_wrap_BitmapComboBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = 0;
+ wxBitmapComboBox *arg1 = (wxBitmapComboBox *) 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 ;
+ wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
+ wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
+ long arg8 = (long) 0 ;
+ wxValidator const &arg9_defvalue = wxDefaultValidator ;
+ wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
+ wxString const &arg10_defvalue = wxBitmapComboBoxNameStr ;
+ wxString *arg10 = (wxString *) &arg10_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 ;
+ bool temp7 = false ;
+ long val8 ;
+ int ecode8 = 0 ;
+ void *argp9 = 0 ;
+ int res9 = 0 ;
+ bool temp10 = 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 ;
+ PyObject * obj9 = 0 ;
+ char * kwnames[] = {
+ (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
+ };
+
+ if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:BitmapComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
+ res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapComboBox, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapComboBox_Create" "', expected argument " "1"" of type '" "wxBitmapComboBox *""'");
+ }
+ arg1 = reinterpret_cast< wxBitmapComboBox * >(argp1);
+ res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapComboBox_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 '" "BitmapComboBox_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) {
+ {
+ if (! PySequence_Check(obj6)) {
+ PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
+ SWIG_fail;
+ }
+ arg7 = new wxArrayString;
+ temp7 = true;
+ int i, len=PySequence_Length(obj6);
+ for (i=0; i<len; i++) {
+ PyObject* item = PySequence_GetItem(obj6, i);
+ wxString* s = wxString_in_helper(item);
+ if (PyErr_Occurred()) SWIG_fail;
+ arg7->Add(*s);
+ delete s;
+ Py_DECREF(item);
+ }
+ }
+ }
+ if (obj7) {
+ ecode8 = SWIG_AsVal_long(obj7, &val8);
+ if (!SWIG_IsOK(ecode8)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "BitmapComboBox_Create" "', expected argument " "8"" of type '" "long""'");
+ }
+ arg8 = static_cast< long >(val8);
+ }
+ if (obj8) {
+ res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
+ if (!SWIG_IsOK(res9)) {
+ SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "BitmapComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
+ }
+ if (!argp9) {
+ SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
+ }
+ arg9 = reinterpret_cast< wxValidator * >(argp9);
+ }
+ if (obj9) {
+ {
+ arg10 = wxString_in_helper(obj9);
+ if (arg10 == NULL) SWIG_fail;
+ temp10 = true;
+ }
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxArrayString const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ {
+ if (temp4)
+ delete arg4;
+ }
+ {
+ if (temp7) delete arg7;
+ }
+ {
+ if (temp10)
+ delete arg10;
+ }
+ return resultobj;
+fail:
+ {
+ if (temp4)
+ delete arg4;
+ }
+ {
+ if (temp7) delete arg7;
+ }
+ {
+ if (temp10)
+ delete arg10;
+ }
+ return NULL;
+}
+
+
+SWIGINTERN PyObject *_wrap_BitmapComboBox_Append(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = 0;
+ wxBitmapComboBox *arg1 = (wxBitmapComboBox *) 0 ;
+ wxString *arg2 = 0 ;
+ wxBitmap const &arg3_defvalue = wxNullBitmap ;
+ wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
+ PyObject *arg4 = (PyObject *) NULL ;
+ int result;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ bool temp2 = false ;
+ void *argp3 = 0 ;
+ int res3 = 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ char * kwnames[] = {
+ (char *) "self",(char *) "item",(char *) "bitmap",(char *) "clientData", NULL
+ };
+
+ if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:BitmapComboBox_Append",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
+ res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapComboBox, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapComboBox_Append" "', expected argument " "1"" of type '" "wxBitmapComboBox *""'");
+ }
+ arg1 = reinterpret_cast< wxBitmapComboBox * >(argp1);
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ if (obj2) {
+ res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
+ if (!SWIG_IsOK(res3)) {
+ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BitmapComboBox_Append" "', expected argument " "3"" of type '" "wxBitmap const &""'");
+ }
+ if (!argp3) {
+ SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapComboBox_Append" "', expected argument " "3"" of type '" "wxBitmap const &""'");
+ }
+ arg3 = reinterpret_cast< wxBitmap * >(argp3);
+ }
+ if (obj3) {
+ arg4 = obj3;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)wxBitmapComboBox_Append(arg1,(wxString const &)*arg2,(wxBitmap const &)*arg3,arg4);
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_From_int(static_cast< int >(result));
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+SWIGINTERN PyObject *_wrap_BitmapComboBox_GetItemBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = 0;
+ wxBitmapComboBox *arg1 = (wxBitmapComboBox *) 0 ;
+ int arg2 ;
+ wxBitmap result;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ int val2 ;
+ int ecode2 = 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char * kwnames[] = {
+ (char *) "self",(char *) "n", NULL
+ };
+
+ if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapComboBox_GetItemBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
+ res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapComboBox, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapComboBox_GetItemBitmap" "', expected argument " "1"" of type '" "wxBitmapComboBox const *""'");
+ }
+ arg1 = reinterpret_cast< wxBitmapComboBox * >(argp1);
+ ecode2 = SWIG_AsVal_int(obj1, &val2);
+ if (!SWIG_IsOK(ecode2)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BitmapComboBox_GetItemBitmap" "', expected argument " "2"" of type '" "int""'");
+ }
+ arg2 = static_cast< int >(val2);
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = ((wxBitmapComboBox const *)arg1)->GetItemBitmap(arg2);
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
+ return resultobj;
+fail:
+ return NULL;
+}
+
+
+SWIGINTERN PyObject *_wrap_BitmapComboBox_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = 0;
+ wxBitmapComboBox *arg1 = (wxBitmapComboBox *) 0 ;
+ wxString *arg2 = 0 ;
+ wxBitmap *arg3 = 0 ;
+ int arg4 ;
+ PyObject *arg5 = (PyObject *) NULL ;
+ int result;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ bool temp2 = false ;
+ void *argp3 = 0 ;
+ int res3 = 0 ;
+ int val4 ;
+ int ecode4 = 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ PyObject * obj4 = 0 ;
+ char * kwnames[] = {
+ (char *) "self",(char *) "item",(char *) "bitmap",(char *) "pos",(char *) "clientData", NULL
+ };
+
+ if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:BitmapComboBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
+ res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapComboBox, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapComboBox_Insert" "', expected argument " "1"" of type '" "wxBitmapComboBox *""'");
+ }
+ arg1 = reinterpret_cast< wxBitmapComboBox * >(argp1);
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
+ if (!SWIG_IsOK(res3)) {
+ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BitmapComboBox_Insert" "', expected argument " "3"" of type '" "wxBitmap const &""'");
+ }
+ if (!argp3) {
+ SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapComboBox_Insert" "', expected argument " "3"" of type '" "wxBitmap const &""'");
+ }
+ arg3 = reinterpret_cast< wxBitmap * >(argp3);
+ ecode4 = SWIG_AsVal_int(obj3, &val4);
+ if (!SWIG_IsOK(ecode4)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "BitmapComboBox_Insert" "', expected argument " "4"" of type '" "int""'");
+ }
+ arg4 = static_cast< int >(val4);
+ if (obj4) {
+ arg5 = obj4;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)wxBitmapComboBox_Insert(arg1,(wxString const &)*arg2,(wxBitmap const &)*arg3,arg4,arg5);
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_From_int(static_cast< int >(result));
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+SWIGINTERN PyObject *_wrap_BitmapComboBox_SetItemBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = 0;
+ wxBitmapComboBox *arg1 = (wxBitmapComboBox *) 0 ;
+ int arg2 ;
+ wxBitmap *arg3 = 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 *) "self",(char *) "n",(char *) "bitmap", NULL
+ };
+
+ if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapComboBox_SetItemBitmap",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
+ res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapComboBox, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapComboBox_SetItemBitmap" "', expected argument " "1"" of type '" "wxBitmapComboBox *""'");
+ }
+ arg1 = reinterpret_cast< wxBitmapComboBox * >(argp1);
+ ecode2 = SWIG_AsVal_int(obj1, &val2);
+ if (!SWIG_IsOK(ecode2)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BitmapComboBox_SetItemBitmap" "', expected argument " "2"" of type '" "int""'");
+ }
+ arg2 = static_cast< int >(val2);
+ res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
+ if (!SWIG_IsOK(res3)) {
+ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BitmapComboBox_SetItemBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
+ }
+ if (!argp3) {
+ SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapComboBox_SetItemBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
+ }
+ arg3 = reinterpret_cast< wxBitmap * >(argp3);
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetItemBitmap(arg2,(wxBitmap const &)*arg3);
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_Py_Void();
+ return resultobj;
+fail:
+ return NULL;
+}
+
+
+SWIGINTERN PyObject *_wrap_BitmapComboBox_GetBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
+ PyObject *resultobj = 0;
+ wxBitmapComboBox *arg1 = (wxBitmapComboBox *) 0 ;
+ wxSize 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_wxBitmapComboBox, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapComboBox_GetBitmapSize" "', expected argument " "1"" of type '" "wxBitmapComboBox const *""'");
+ }
+ arg1 = reinterpret_cast< wxBitmapComboBox * >(argp1);
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = ((wxBitmapComboBox const *)arg1)->GetBitmapSize();
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
+ return resultobj;
+fail:
+ return NULL;
+}
+
+
+SWIGINTERN PyObject *BitmapComboBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
+ PyObject *obj;
+ if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
+ SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapComboBox, SWIG_NewClientData(obj));
+ return SWIG_Py_Void();
+}
+
+SWIGINTERN PyObject *BitmapComboBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
+ return SWIG_Python_InitShadowInstance(args);
+}
+
+static PyMethodDef SwigMethods[] = {
+ { (char *)"ComboCtrlFeatures_swigregister", ComboCtrlFeatures_swigregister, METH_VARARGS, NULL},
+ { (char *)"new_ComboCtrl", (PyCFunction) _wrap_new_ComboCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"new_PreComboCtrl", (PyCFunction)_wrap_new_PreComboCtrl, METH_NOARGS, NULL},
+ { (char *)"ComboCtrl__setCallbackInfo", (PyCFunction) _wrap_ComboCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ComboCtrl_ShowPopup", (PyCFunction)_wrap_ComboCtrl_ShowPopup, METH_O, NULL},
+ { (char *)"ComboCtrl_HidePopup", (PyCFunction)_wrap_ComboCtrl_HidePopup, METH_O, NULL},
+ { (char *)"ComboCtrl_OnButtonClick", (PyCFunction)_wrap_ComboCtrl_OnButtonClick, METH_O, NULL},
+ { (char *)"ComboCtrl_IsPopupShown", (PyCFunction)_wrap_ComboCtrl_IsPopupShown, METH_O, NULL},
+ { (char *)"ComboCtrl_SetPopupControl", (PyCFunction) _wrap_ComboCtrl_SetPopupControl, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ComboCtrl_GetPopupControl", (PyCFunction)_wrap_ComboCtrl_GetPopupControl, METH_O, NULL},
+ { (char *)"ComboCtrl_GetPopupWindow", (PyCFunction)_wrap_ComboCtrl_GetPopupWindow, METH_O, NULL},
+ { (char *)"ComboCtrl_GetTextCtrl", (PyCFunction)_wrap_ComboCtrl_GetTextCtrl, METH_O, NULL},
+ { (char *)"ComboCtrl_GetButton", (PyCFunction)_wrap_ComboCtrl_GetButton, METH_O, NULL},
+ { (char *)"ComboCtrl_GetValue", (PyCFunction)_wrap_ComboCtrl_GetValue, METH_O, NULL},
+ { (char *)"ComboCtrl_SetValue", (PyCFunction) _wrap_ComboCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ComboCtrl_Copy", (PyCFunction)_wrap_ComboCtrl_Copy, METH_O, NULL},
+ { (char *)"ComboCtrl_Cut", (PyCFunction)_wrap_ComboCtrl_Cut, METH_O, NULL},
+ { (char *)"ComboCtrl_Paste", (PyCFunction)_wrap_ComboCtrl_Paste, METH_O, NULL},
+ { (char *)"ComboCtrl_SetInsertionPoint", (PyCFunction) _wrap_ComboCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ComboCtrl_SetInsertionPointEnd", (PyCFunction)_wrap_ComboCtrl_SetInsertionPointEnd, METH_O, NULL},
+ { (char *)"ComboCtrl_GetInsertionPoint", (PyCFunction)_wrap_ComboCtrl_GetInsertionPoint, METH_O, NULL},
+ { (char *)"ComboCtrl_GetLastPosition", (PyCFunction)_wrap_ComboCtrl_GetLastPosition, METH_O, NULL},
+ { (char *)"ComboCtrl_Replace", (PyCFunction) _wrap_ComboCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ComboCtrl_Remove", (PyCFunction) _wrap_ComboCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ComboCtrl_Undo", (PyCFunction)_wrap_ComboCtrl_Undo, METH_O, NULL},
+ { (char *)"ComboCtrl_SetMark", (PyCFunction) _wrap_ComboCtrl_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ComboCtrl_SetText", (PyCFunction) _wrap_ComboCtrl_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ComboCtrl_SetValueWithEvent", (PyCFunction) _wrap_ComboCtrl_SetValueWithEvent, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ComboCtrl_SetPopupMinWidth", (PyCFunction) _wrap_ComboCtrl_SetPopupMinWidth, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ComboCtrl_SetPopupMaxHeight", (PyCFunction) _wrap_ComboCtrl_SetPopupMaxHeight, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ComboCtrl_SetPopupExtents", (PyCFunction) _wrap_ComboCtrl_SetPopupExtents, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ComboCtrl_SetCustomPaintWidth", (PyCFunction) _wrap_ComboCtrl_SetCustomPaintWidth, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ComboCtrl_GetCustomPaintWidth", (PyCFunction)_wrap_ComboCtrl_GetCustomPaintWidth, METH_O, NULL},
+ { (char *)"ComboCtrl_SetPopupAnchor", (PyCFunction) _wrap_ComboCtrl_SetPopupAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ComboCtrl_SetButtonPosition", (PyCFunction) _wrap_ComboCtrl_SetButtonPosition, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ComboCtrl_GetButtonSize", (PyCFunction)_wrap_ComboCtrl_GetButtonSize, METH_O, NULL},
+ { (char *)"ComboCtrl_SetButtonBitmaps", (PyCFunction) _wrap_ComboCtrl_SetButtonBitmaps, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ComboCtrl_SetTextIndent", (PyCFunction) _wrap_ComboCtrl_SetTextIndent, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ComboCtrl_GetTextIndent", (PyCFunction)_wrap_ComboCtrl_GetTextIndent, METH_O, NULL},
+ { (char *)"ComboCtrl_GetTextRect", (PyCFunction)_wrap_ComboCtrl_GetTextRect, METH_O, NULL},
+ { (char *)"ComboCtrl_UseAltPopupWindow", (PyCFunction) _wrap_ComboCtrl_UseAltPopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ComboCtrl_EnablePopupAnimation", (PyCFunction) _wrap_ComboCtrl_EnablePopupAnimation, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ComboCtrl_IsKeyPopupToggle", (PyCFunction) _wrap_ComboCtrl_IsKeyPopupToggle, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ComboCtrl_PrepareBackground", (PyCFunction) _wrap_ComboCtrl_PrepareBackground, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ComboCtrl_ShouldDrawFocus", (PyCFunction)_wrap_ComboCtrl_ShouldDrawFocus, METH_O, NULL},
+ { (char *)"ComboCtrl_GetBitmapNormal", (PyCFunction)_wrap_ComboCtrl_GetBitmapNormal, METH_O, NULL},
+ { (char *)"ComboCtrl_GetBitmapPressed", (PyCFunction)_wrap_ComboCtrl_GetBitmapPressed, METH_O, NULL},
+ { (char *)"ComboCtrl_GetBitmapHover", (PyCFunction)_wrap_ComboCtrl_GetBitmapHover, METH_O, NULL},
+ { (char *)"ComboCtrl_GetBitmapDisabled", (PyCFunction)_wrap_ComboCtrl_GetBitmapDisabled, METH_O, NULL},
+ { (char *)"ComboCtrl_GetInternalFlags", (PyCFunction)_wrap_ComboCtrl_GetInternalFlags, METH_O, NULL},
+ { (char *)"ComboCtrl_IsCreated", (PyCFunction)_wrap_ComboCtrl_IsCreated, METH_O, NULL},
+ { (char *)"ComboCtrl_OnPopupDismiss", (PyCFunction)_wrap_ComboCtrl_OnPopupDismiss, METH_O, NULL},
+ { (char *)"ComboCtrl_IsPopupWindowState", (PyCFunction) _wrap_ComboCtrl_IsPopupWindowState, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ComboCtrl_GetPopupWindowState", (PyCFunction)_wrap_ComboCtrl_GetPopupWindowState, METH_O, NULL},
+ { (char *)"ComboCtrl_SetCtrlMainWnd", (PyCFunction) _wrap_ComboCtrl_SetCtrlMainWnd, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ComboCtrl_GetMainWindowOfCompositeControl", (PyCFunction)_wrap_ComboCtrl_GetMainWindowOfCompositeControl, METH_O, NULL},
+ { (char *)"ComboCtrl_GetFeatures", (PyCFunction)_wrap_ComboCtrl_GetFeatures, METH_NOARGS, NULL},
+ { (char *)"ComboCtrl_DoShowPopup", (PyCFunction) _wrap_ComboCtrl_DoShowPopup, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ComboCtrl_AnimateShow", (PyCFunction) _wrap_ComboCtrl_AnimateShow, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ComboCtrl_swigregister", ComboCtrl_swigregister, METH_VARARGS, NULL},
+ { (char *)"ComboCtrl_swiginit", ComboCtrl_swiginit, METH_VARARGS, NULL},
+ { (char *)"new_ComboPopup", (PyCFunction)_wrap_new_ComboPopup, METH_NOARGS, NULL},
+ { (char *)"delete_ComboPopup", (PyCFunction)_wrap_delete_ComboPopup, METH_O, NULL},
+ { (char *)"ComboPopup__setCallbackInfo", (PyCFunction) _wrap_ComboPopup__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ComboPopup_Init", (PyCFunction)_wrap_ComboPopup_Init, METH_O, NULL},
+ { (char *)"ComboPopup_Create", (PyCFunction) _wrap_ComboPopup_Create, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ComboPopup_GetControl", (PyCFunction)_wrap_ComboPopup_GetControl, METH_O, NULL},
+ { (char *)"ComboPopup_OnPopup", (PyCFunction)_wrap_ComboPopup_OnPopup, METH_O, NULL},
+ { (char *)"ComboPopup_OnDismiss", (PyCFunction)_wrap_ComboPopup_OnDismiss, METH_O, NULL},
+ { (char *)"ComboPopup_SetStringValue", (PyCFunction) _wrap_ComboPopup_SetStringValue, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ComboPopup_GetStringValue", (PyCFunction)_wrap_ComboPopup_GetStringValue, METH_O, NULL},
+ { (char *)"ComboPopup_PaintComboControl", (PyCFunction) _wrap_ComboPopup_PaintComboControl, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ComboPopup_OnComboKeyEvent", (PyCFunction) _wrap_ComboPopup_OnComboKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ComboPopup_OnComboDoubleClick", (PyCFunction)_wrap_ComboPopup_OnComboDoubleClick, METH_O, NULL},
+ { (char *)"ComboPopup_GetAdjustedSize", (PyCFunction) _wrap_ComboPopup_GetAdjustedSize, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ComboPopup_LazyCreate", (PyCFunction)_wrap_ComboPopup_LazyCreate, METH_O, NULL},
+ { (char *)"ComboPopup_Dismiss", (PyCFunction)_wrap_ComboPopup_Dismiss, METH_O, NULL},
+ { (char *)"ComboPopup_IsCreated", (PyCFunction)_wrap_ComboPopup_IsCreated, METH_O, NULL},
+ { (char *)"ComboPopup_DefaultPaintComboControl", (PyCFunction) _wrap_ComboPopup_DefaultPaintComboControl, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ComboPopup_GetCombo", (PyCFunction)_wrap_ComboPopup_GetCombo, METH_O, NULL},
+ { (char *)"ComboPopup_swigregister", ComboPopup_swigregister, METH_VARARGS, NULL},
+ { (char *)"ComboPopup_swiginit", ComboPopup_swiginit, METH_VARARGS, NULL},
+ { (char *)"new_OwnerDrawnComboBox", (PyCFunction) _wrap_new_OwnerDrawnComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"new_PreOwnerDrawnComboBox", (PyCFunction)_wrap_new_PreOwnerDrawnComboBox, METH_NOARGS, NULL},
+ { (char *)"OwnerDrawnComboBox__setCallbackInfo", (PyCFunction) _wrap_OwnerDrawnComboBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"OwnerDrawnComboBox_Create", (PyCFunction) _wrap_OwnerDrawnComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"OwnerDrawnComboBox_GetWidestItemWidth", (PyCFunction)_wrap_OwnerDrawnComboBox_GetWidestItemWidth, METH_O, NULL},
+ { (char *)"OwnerDrawnComboBox_GetWidestItem", (PyCFunction)_wrap_OwnerDrawnComboBox_GetWidestItem, METH_O, NULL},
+ { (char *)"OwnerDrawnComboBox_SetMark", (PyCFunction) _wrap_OwnerDrawnComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"OwnerDrawnComboBox_OnDrawItem", (PyCFunction) _wrap_OwnerDrawnComboBox_OnDrawItem, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"OwnerDrawnComboBox_OnMeasureItem", (PyCFunction) _wrap_OwnerDrawnComboBox_OnMeasureItem, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"OwnerDrawnComboBox_OnMeasureItemWidth", (PyCFunction) _wrap_OwnerDrawnComboBox_OnMeasureItemWidth, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"OwnerDrawnComboBox_OnDrawBackground", (PyCFunction) _wrap_OwnerDrawnComboBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"OwnerDrawnComboBox_swigregister", OwnerDrawnComboBox_swigregister, METH_VARARGS, NULL},
+ { (char *)"OwnerDrawnComboBox_swiginit", OwnerDrawnComboBox_swiginit, METH_VARARGS, NULL},
+ { (char *)"new_BitmapComboBox", (PyCFunction) _wrap_new_BitmapComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"new_PreBitmapComboBox", (PyCFunction)_wrap_new_PreBitmapComboBox, METH_NOARGS, NULL},
+ { (char *)"BitmapComboBox_Create", (PyCFunction) _wrap_BitmapComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"BitmapComboBox_Append", (PyCFunction) _wrap_BitmapComboBox_Append, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"BitmapComboBox_GetItemBitmap", (PyCFunction) _wrap_BitmapComboBox_GetItemBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"BitmapComboBox_Insert", (PyCFunction) _wrap_BitmapComboBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"BitmapComboBox_SetItemBitmap", (PyCFunction) _wrap_BitmapComboBox_SetItemBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"BitmapComboBox_GetBitmapSize", (PyCFunction)_wrap_BitmapComboBox_GetBitmapSize, METH_O, NULL},
+ { (char *)"BitmapComboBox_swigregister", BitmapComboBox_swigregister, METH_VARARGS, NULL},
+ { (char *)"BitmapComboBox_swiginit", BitmapComboBox_swiginit, METH_VARARGS, NULL},
+ { NULL, NULL, 0, NULL }
+};
+
+
+/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
+
+static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxLayoutConstraints *) x));
+}
+static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
+}
+static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
+}
+static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) 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));
+}
+static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
+}
+static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
+}
+static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
+}
+static void *_p_wxSizerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxSizer *) x));
+}
+static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
+}
+static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
+}
+static void *_p_wxPyPanelTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
+}
+static void *_p_wxEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxEvent *) x));
+}
+static void *_p_wxFontDataTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxFontData *) x));
+}
+static void *_p_wxPrintDataTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxPrintData *) x));
+}
+static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
+}
+static void *_p_wxGridSizerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
+}
+static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
+}
+static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
+}
+static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
+}
+static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
+}
+static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
+}
+static void *_p_wxPaintEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
+}
+static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
+}
+static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
+}
+static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
+}
+static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
+}
+static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
+}
+static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
+}
+static void *_p_wxControlTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
+}
+static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
+}
+static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
+}
+static void *_p_wxFSFileTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxFSFile *) x));
+}
+static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxFindReplaceData *) x));
+}
+static void *_p_wxPySizerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
+}
+static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
+}
+static void *_p_wxColourDataTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxColourData *) x));
+}
+static void *_p_wxPyEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
+}