From d102b02a88ceabd2adbbb2d7220e0182ac065b92 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 27 Jan 2008 12:57:04 +0000 Subject: [PATCH] only define wxEventPtr in wxBase, not wxCore git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/event.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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 -- 2.47.2