X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/81d66cf39f810503baed79213bc3122fda0ccc7b..a6b0bd49c72e577a218bfe10fc1526cf2ad6293d:/src/msw/penwin.cpp

diff --git a/src/msw/penwin.cpp b/src/msw/penwin.cpp
index db4e427e9f..340c175dc8 100644
--- a/src/msw/penwin.cpp
+++ b/src/msw/penwin.cpp
@@ -14,10 +14,9 @@
 #endif
 
 // For compilers that support precompilation, includes "wx.h".
-#define IN_WX_MAIN_CPP
 #include "wx/wxprec.h"
 
-#if defined(__BORLANDC__)
+#ifdef __BORLANDC__
 #pragma hdrstop
 #endif
 
@@ -27,7 +26,7 @@
 
 #include "wx/msw/private.h"
 
-#if USE_PENWINDOWS
+#if wxUSE_PENWINDOWS
 
 #ifdef __BORLANDC__
 #define RPA_DEFAULT 1
@@ -86,11 +85,11 @@ void wxEnablePenAppHooks (bool hook)
 }
 
 #endif
-  // End USE_PENWINDOWS
+  // End wxUSE_PENWINDOWS
 
 void wxRegisterPenWin(void)
 {
-#if USE_PENWINDOWS
+#if wxUSE_PENWINDOWS
 ///////////////////////////////////////////////////////////////////////
 // If running on a Pen Windows system, register this app so all
 // EDIT controls in dialogs are replaced by HEDIT controls.
@@ -109,7 +108,7 @@ void wxRegisterPenWin(void)
 
 void wxCleanUpPenWin(void)
 {
-#if USE_PENWINDOWS
+#if wxUSE_PENWINDOWS
   if (g_hPenWin) {
     // Unregister this app
     if (RegPenApp != NULL)