aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2001-10-28 05:21:57 +0000
committernyamatongwe <devnull@localhost>2001-10-28 05:21:57 +0000
commit24b596f963e928f9b5489fef0cdeac17927aa1ae (patch)
treef0fb2020fe3f7e55588d9baa8a787ed75e7cddfd
parent92acbeca9cab073e187ca143c03cbe8afe1ede9c (diff)
downloadscintilla-mirror-24b596f963e928f9b5489fef0cdeac17927aa1ae.tar.gz
Fixed some warnings from Visual C++.
-rw-r--r--win32/PlatWin.cxx4
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();