From: Vadim Zeitlin Date: Sun, 27 Jan 2008 12:57:04 +0000 (+0000) Subject: only define wxEventPtr in wxBase, not wxCore X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d102b02a88ceabd2adbbb2d7220e0182ac065b92 only define wxEventPtr in wxBase, not wxCore git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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