X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/27529614c292a298e67dd8db1f169c94a4df204c..b5435dccd098ae153c3b7b3b8fca8dd0d763986c:/src/msw/penwin.cpp diff --git a/src/msw/penwin.cpp b/src/msw/penwin.cpp index 4ec5935e6e..fa0a52aa32 100644 --- a/src/msw/penwin.cpp +++ b/src/msw/penwin.cpp @@ -5,8 +5,8 @@ // Modified by: // Created: 04/01/98 // RCS-ID: $Id$ -// Copyright: (c) Julian Smart and Markus Holzem -// Licence: wxWindows license +// Copyright: (c) Julian Smart +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifdef __GNUG__ @@ -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)