// 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__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation
#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
#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
}
#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.
void wxCleanUpPenWin(void)
{
-#if USE_PENWINDOWS
+#if wxUSE_PENWINDOWS
if (g_hPenWin) {
// Unregister this app
if (RegPenApp != NULL)