diff --git a/include/wx/propgrid/advprops.h b/include/wx/propgrid/advprops.h index bc8bd3e49c..448487941e 100644 --- a/include/wx/propgrid/advprops.h +++ b/include/wx/propgrid/advprops.h @@ -31,6 +31,7 @@ operator==(const wxArrayInt& array1, const wxArrayInt& array2); // // Additional Property Editors // +#ifndef SWIG #if wxUSE_SPINBTN WX_PG_DECLARE_EDITOR_WITH_DECL(SpinCtrl,WXDLLIMPEXP_PROPGRID) #endif @@ -38,6 +39,7 @@ WX_PG_DECLARE_EDITOR_WITH_DECL(SpinCtrl,WXDLLIMPEXP_PROPGRID) #if wxUSE_DATEPICKCTRL WX_PG_DECLARE_EDITOR_WITH_DECL(DatePickerCtrl,WXDLLIMPEXP_PROPGRID) #endif +#endif // -----------------------------------------------------------------------