From: Julian Smart <julian@anthemion.co.uk>
Date: Fri, 4 Jun 2004 15:33:33 +0000 (+0000)
Subject: Corrected strange test for __WINDOWS__ or wxUSE_MFC
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/654c02dc23c6eae6a2732209f9a3a4ae6f084bd3

Corrected strange test for __WINDOWS__ or wxUSE_MFC


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

diff --git a/samples/mfc/mfctest.cpp b/samples/mfc/mfctest.cpp
index 21cf44f819..2cb696f4bd 100644
--- a/samples/mfc/mfctest.cpp
+++ b/samples/mfc/mfctest.cpp
@@ -51,7 +51,7 @@
 
 #include "wx/wx.h"
 
-#if defined(_WINDOWS_) || !wxUSE_MFC
+#if !wxUSE_MFC
 #error "Sorry, you need to edit include/wx/msw/setup.h, set wxUSE_MFC to 1, and recompile the library."
 #endif