X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/27529614c292a298e67dd8db1f169c94a4df204c..b58a1455e15477cac9d335b5f7a2c3fc3111b342:/src/msw/penwin.cpp?ds=sidebyside diff --git a/src/msw/penwin.cpp b/src/msw/penwin.cpp index 4ec5935e6e..3545a28bda 100644 --- a/src/msw/penwin.cpp +++ b/src/msw/penwin.cpp @@ -16,17 +16,18 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" -#if defined(__BORLANDC__) +#ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include "wx/setup.h" +#include "wx/window.h" #endif #include "wx/msw/private.h" -#if USE_PENWINDOWS +#if wxUSE_PENWINDOWS #ifdef __BORLANDC__ #define RPA_DEFAULT 1 @@ -85,11 +86,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. @@ -108,7 +109,7 @@ void wxRegisterPenWin(void) void wxCleanUpPenWin(void) { -#if USE_PENWINDOWS +#if wxUSE_PENWINDOWS if (g_hPenWin) { // Unregister this app if (RegPenApp != NULL)