X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/47b6fabc7d0405bbbd3d9efd516c44f0b5b94dfc..ddfdef64fadb32a8c122977ff70669a9d8d5a37d:/src/common/event.cpp diff --git a/src/common/event.cpp b/src/common/event.cpp index 0ba18aa5bc..d122c8d434 100644 --- a/src/common/event.cpp +++ b/src/common/event.cpp @@ -44,10 +44,13 @@ #endif #include "wx/thread.h" -#include "wx/ptr_scpd.h" -wxDECLARE_SCOPED_PTR(wxEvent, wxEventPtr) -wxDEFINE_SCOPED_PTR(wxEvent, wxEventPtr) +#if wxUSE_BASE + #include "wx/ptr_scpd.h" + + wxDECLARE_SCOPED_PTR(wxEvent, wxEventPtr) + wxDEFINE_SCOPED_PTR(wxEvent, wxEventPtr) +#endif // wxUSE_BASE // ---------------------------------------------------------------------------- // wxWin macros