diff options
author | nyamatongwe <unknown> | 2001-10-28 05:21:57 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2001-10-28 05:21:57 +0000 |
commit | 90883dc7f1ffad8b9e9b6c89eadf46c27e2882d9 (patch) | |
tree | f0fb2020fe3f7e55588d9baa8a787ed75e7cddfd | |
parent | ecfd052403b5f46c88b97f59ef065ffe0efffed8 (diff) | |
download | scintilla-mirror-90883dc7f1ffad8b9e9b6c89eadf46c27e2882d9.tar.gz |
Fixed some warnings from Visual C++.
-rw-r--r-- | win32/PlatWin.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index fbb5ea093..666c962cf 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -249,6 +249,10 @@ class SurfaceImpl : public Surface { HPALETTE paletteOld; void BrushColor(ColourAllocated back); void SetFont(Font &font_); + + // Private so SurfaceImpl objects can not be copied + SurfaceImpl(const SurfaceImpl &) : Surface() {} + SurfaceImpl &operator=(const SurfaceImpl &) { return *this; } public: SurfaceImpl(); virtual ~SurfaceImpl(); |