From a3b466481eac25cbef1d35aaf6ee9d94167a07b9 Mon Sep 17 00:00:00 2001 From: "Unknown (UG)" Date: Fri, 16 Oct 1998 17:16:58 +0000 Subject: [PATCH] no message git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/app.cpp | 4 ++-- src/msw/checklst.cpp | 4 ---- src/msw/clipbrd.cpp | 1 - src/msw/data.cpp | 2 +- src/msw/dcclient.cpp | 5 ----- src/msw/dcmemory.cpp | 1 - src/msw/dcprint.cpp | 1 - src/msw/font.cpp | 2 +- src/msw/iniconf.cpp | 18 ++++++++---------- src/msw/joystick.cpp | 2 +- src/msw/main.cpp | 4 ++++ src/msw/menu.cpp | 15 +-------------- src/msw/menuitem.cpp | 6 +++--- src/msw/notebook.cpp | 11 ++--------- src/msw/ownerdrw.cpp | 8 ++++---- src/msw/penwin.cpp | 2 +- src/msw/printdlg.cpp | 2 +- src/msw/regconf.cpp | 19 ++++--------------- src/msw/region.cpp | 4 +++- src/msw/registry.cpp | 8 -------- src/msw/statbr95.cpp | 8 -------- src/msw/thread.cpp | 1 + src/msw/timer.cpp | 8 -------- src/msw/utils.cpp | 4 +--- 24 files changed, 38 insertions(+), 102 deletions(-) diff --git a/src/msw/app.cpp b/src/msw/app.cpp index f239202b9e..7d5b43fe2c 100644 --- a/src/msw/app.cpp +++ b/src/msw/app.cpp @@ -10,14 +10,14 @@ ///////////////////////////////////////////////////////////////////////////// #ifdef __GNUG__ - #pragma implementation "app.h" +#pragma implementation "app.h" #endif // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" #if defined(__BORLANDC__) - #pragma hdrstop +#pragma hdrstop #endif #ifndef WX_PRECOMP diff --git a/src/msw/checklst.cpp b/src/msw/checklst.cpp index d42b33424d..05b5b86c06 100644 --- a/src/msw/checklst.cpp +++ b/src/msw/checklst.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license /////////////////////////////////////////////////////////////////////////////// -// ============================================================================ -// headers & declarations -// ============================================================================ - #ifdef __GNUG__ #pragma implementation "checklst.h" #endif diff --git a/src/msw/clipbrd.cpp b/src/msw/clipbrd.cpp index 5701f61ff8..f2cc312f8d 100644 --- a/src/msw/clipbrd.cpp +++ b/src/msw/clipbrd.cpp @@ -10,7 +10,6 @@ ///////////////////////////////////////////////////////////////////////////// #ifdef __GNUG__ -#pragma implementation #pragma implementation "clipbrd.h" #endif diff --git a/src/msw/data.cpp b/src/msw/data.cpp index f0aba88f2b..a5df2d6ecc 100644 --- a/src/msw/data.cpp +++ b/src/msw/data.cpp @@ -10,7 +10,7 @@ ///////////////////////////////////////////////////////////////////////////// #ifdef __GNUG__ -#pragma implementation +#pragma implementation "data.h" #endif // For compilers that support precompilation, includes "wx.h". diff --git a/src/msw/dcclient.cpp b/src/msw/dcclient.cpp index b813a115be..a7becdbf5c 100644 --- a/src/msw/dcclient.cpp +++ b/src/msw/dcclient.cpp @@ -13,11 +13,6 @@ #pragma implementation "dcclient.h" #endif -#ifdef __GNUG__ -#pragma implementation -#pragma implementation "dcclient.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/dcmemory.cpp b/src/msw/dcmemory.cpp index 243861facc..b0e6a77f18 100644 --- a/src/msw/dcmemory.cpp +++ b/src/msw/dcmemory.cpp @@ -10,7 +10,6 @@ ///////////////////////////////////////////////////////////////////////////// #ifdef __GNUG__ -#pragma implementation #pragma implementation "dcmemory.h" #endif diff --git a/src/msw/dcprint.cpp b/src/msw/dcprint.cpp index dd2a548813..3dc7c60567 100644 --- a/src/msw/dcprint.cpp +++ b/src/msw/dcprint.cpp @@ -10,7 +10,6 @@ ///////////////////////////////////////////////////////////////////////////// #ifdef __GNUG__ -#pragma implementation #pragma implementation "dcprint.h" #endif diff --git a/src/msw/font.cpp b/src/msw/font.cpp index da43d01fac..1ef70b48b4 100644 --- a/src/msw/font.cpp +++ b/src/msw/font.cpp @@ -30,7 +30,7 @@ #endif #include "wx/msw/private.h" -#include "assert.h" +#include #if !USE_SHARED_LIBRARIES IMPLEMENT_DYNAMIC_CLASS(wxFont, wxGDIObject) diff --git a/src/msw/iniconf.cpp b/src/msw/iniconf.cpp index d303501597..2076a1f3d8 100644 --- a/src/msw/iniconf.cpp +++ b/src/msw/iniconf.cpp @@ -9,18 +9,16 @@ // Licence: wxWindows license /////////////////////////////////////////////////////////////////////////////// -// ============================================================================ -// declarations -// ============================================================================ +#ifdef __GNUG__ +#pragma implementation "iniconf.h" +#endif -// ---------------------------------------------------------------------------- -// headers -// ---------------------------------------------------------------------------- -#include "wx/wxprec.h" +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" -#ifdef __BORLANDC__ - #pragma hdrstop -#endif //__BORLANDC__ +#ifdef __BORLANDC__ +#pragma hdrstop +#endif #ifndef WX_PRECOMP #include diff --git a/src/msw/joystick.cpp b/src/msw/joystick.cpp index 7911b1338f..de7d50f4b1 100644 --- a/src/msw/joystick.cpp +++ b/src/msw/joystick.cpp @@ -16,7 +16,7 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" -#if defined(__BORLANDC__) +#ifdef __BORLANDC__ #pragma hdrstop #endif diff --git a/src/msw/main.cpp b/src/msw/main.cpp index 1cab1f628e..044388d1af 100644 --- a/src/msw/main.cpp +++ b/src/msw/main.cpp @@ -9,6 +9,10 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// +#ifdef __GNUG__ +#pragma implementation +#endif + // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/menu.cpp b/src/msw/menu.cpp index 73540e9d83..b46c88c3ed 100644 --- a/src/msw/menu.cpp +++ b/src/msw/menu.cpp @@ -9,21 +9,8 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// - -// ============================================================================ -// declarations -// ============================================================================ - -// ---------------------------------------------------------------------------- -// headers -// ---------------------------------------------------------------------------- - -// wxWindows headers -// ----------------- - #ifdef __GNUG__ - #pragma implementation "menu.h" - #pragma implementation "menuitem.h" +#pragma implementation "menu.h" #endif // For compilers that support precompilation, includes "wx.h". diff --git a/src/msw/menuitem.cpp b/src/msw/menuitem.cpp index f7822a730f..293ae51608 100644 --- a/src/msw/menuitem.cpp +++ b/src/msw/menuitem.cpp @@ -9,9 +9,9 @@ // Licence: wxWindows license /////////////////////////////////////////////////////////////////////////////// -// ============================================================================ -// headers & declarations -// ============================================================================ +#ifdef __GNUG__ +#pragma implementation "menuitem.h" +#endif // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/notebook.cpp b/src/msw/notebook.cpp index 7800cc398f..742d04e8b9 100644 --- a/src/msw/notebook.cpp +++ b/src/msw/notebook.cpp @@ -9,22 +9,15 @@ // Licence: wxWindows license /////////////////////////////////////////////////////////////////////////////// -// ============================================================================ -// declarations -// ============================================================================ - -// ---------------------------------------------------------------------------- -// headers -// ---------------------------------------------------------------------------- #ifdef __GNUG__ - #pragma implementation "notebook.h" +#pragma implementation "notebook.h" #endif // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" #ifdef __BORLANDC__ - #pragma hdrstop +#pragma hdrstop #endif // wxWindows diff --git a/src/msw/ownerdrw.cpp b/src/msw/ownerdrw.cpp index a1dd82145f..3f1358dcb6 100644 --- a/src/msw/ownerdrw.cpp +++ b/src/msw/ownerdrw.cpp @@ -9,15 +9,15 @@ // Licence: wxWindows license /////////////////////////////////////////////////////////////////////////////// -// ============================================================================ -// headers & declarations -// ============================================================================ +#ifdef __GNUG__ +#pragma implementation +#endif // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" #ifdef __BORLANDC__ - #pragma hdrstop +#pragma hdrstop #endif #ifndef WX_PRECOMP diff --git a/src/msw/penwin.cpp b/src/msw/penwin.cpp index 7a530ac643..340c175dc8 100644 --- a/src/msw/penwin.cpp +++ b/src/msw/penwin.cpp @@ -16,7 +16,7 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" -#if defined(__BORLANDC__) +#ifdef __BORLANDC__ #pragma hdrstop #endif diff --git a/src/msw/printdlg.cpp b/src/msw/printdlg.cpp index 8639e41fbb..c48762e3c2 100644 --- a/src/msw/printdlg.cpp +++ b/src/msw/printdlg.cpp @@ -16,7 +16,7 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" -#if defined(__BORLANDC__) +#ifdef __BORLANDC__ #pragma hdrstop #endif diff --git a/src/msw/regconf.cpp b/src/msw/regconf.cpp index 6e6d1da8d3..5fec4bd4be 100644 --- a/src/msw/regconf.cpp +++ b/src/msw/regconf.cpp @@ -13,24 +13,13 @@ #pragma implementation "regconf.h" #endif -// ============================================================================ -// declarations -// ============================================================================ - -// ---------------------------------------------------------------------------- -// headers -// ---------------------------------------------------------------------------- +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" -#ifdef __GNUG__ - #pragma implementation "regconf.h" +#ifdef __BORLANDC__ +#pragma hdrstop #endif -#include "wx/wxprec.h" - -#ifdef __BORLANDC__ - #pragma hdrstop -#endif //__BORLANDC__ - #ifndef WX_PRECOMP #include #endif //WX_PRECOMP diff --git a/src/msw/region.cpp b/src/msw/region.cpp index dc55e46bff..5e7fae2b07 100644 --- a/src/msw/region.cpp +++ b/src/msw/region.cpp @@ -1,7 +1,8 @@ ///////////////////////////////////////////////////////////////////////////// -// File: region.cpp +// Name: msw/region.cpp // Purpose: Region handling for wxWindows/X11 // Author: Markus Holzem +// Modified by: // Created: Fri Oct 24 10:46:34 MET 1997 // RCS-ID: $Id$ // Copyright: (c) 1997 Julian Smart and Markus Holzem @@ -12,6 +13,7 @@ #pragma implementation "region.h" #endif +// For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/msw/registry.cpp b/src/msw/registry.cpp index 6269c4de4a..114169fad1 100644 --- a/src/msw/registry.cpp +++ b/src/msw/registry.cpp @@ -16,14 +16,6 @@ #pragma implementation "registry.h" #endif -// ============================================================================ -// declarations -// ============================================================================ - -// ---------------------------------------------------------------------------- -// headers -// ---------------------------------------------------------------------------- - // for compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/statbr95.cpp b/src/msw/statbr95.cpp index 477716f823..4965c95ff2 100644 --- a/src/msw/statbr95.cpp +++ b/src/msw/statbr95.cpp @@ -13,14 +13,6 @@ #pragma implementation "statbr95.h" #endif -// ============================================================================ -// declarations -// ============================================================================ - -// ---------------------------------------------------------------------------- -// headers -// ---------------------------------------------------------------------------- - // for compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/thread.cpp b/src/msw/thread.cpp index 4cd91e87c0..f133213341 100644 --- a/src/msw/thread.cpp +++ b/src/msw/thread.cpp @@ -13,6 +13,7 @@ #pragma implementation "thread.h" #endif +// For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" #if defined(__BORLANDC__) diff --git a/src/msw/timer.cpp b/src/msw/timer.cpp index 844e0b1f56..5a6e1cf939 100644 --- a/src/msw/timer.cpp +++ b/src/msw/timer.cpp @@ -9,14 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -// ============================================================================ -// declarations -// ============================================================================ - -// ---------------------------------------------------------------------------- -// headers -// ---------------------------------------------------------------------------- - #ifdef __GNUG__ #pragma implementation "timer.h" #endif diff --git a/src/msw/utils.cpp b/src/msw/utils.cpp index 6b2ec26550..447b3be632 100644 --- a/src/msw/utils.cpp +++ b/src/msw/utils.cpp @@ -10,9 +10,7 @@ ///////////////////////////////////////////////////////////////////////////// #ifdef __GNUG__ -// Note: this is done in utilscmn.cpp now. -// #pragma implementation -// #pragma implementation "utils.h" +// #pragma implementation "utils.h" // Note: this is done in utilscmn.cpp now. #endif // For compilers that support precompilation, includes "wx.h". -- 2.45.2