aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/PlatCocoa.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-04-15 13:46:42 +1000
committerNeil <nyamatongwe@gmail.com>2018-04-15 13:46:42 +1000
commitfc3c942d113a28089bffd94ff5addc79f3eef673 (patch)
treec63ca598bdc4d3f534bf860b36527c1691345476 /cocoa/PlatCocoa.h
parentba3dd815ce5596260f500d85728d943274beb2ed (diff)
downloadscintilla-mirror-fc3c942d113a28089bffd94ff5addc79f3eef673.tar.gz
Backport: Feature [feature-requests:#1215]. Stop warning about virtual call in destructor.
Backport of changeset 6690:2107e0144806.
Diffstat (limited to 'cocoa/PlatCocoa.h')
-rw-r--r--cocoa/PlatCocoa.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cocoa/PlatCocoa.h b/cocoa/PlatCocoa.h
index 7557fbd35..843128a6c 100644
--- a/cocoa/PlatCocoa.h
+++ b/cocoa/PlatCocoa.h
@@ -65,6 +65,9 @@ private:
static const int BITS_PER_COMPONENT = 8;
static const int BITS_PER_PIXEL = BITS_PER_COMPONENT * 4;
static const int BYTES_PER_PIXEL = BITS_PER_PIXEL / 8;
+
+ void Clear();
+
public:
SurfaceImpl();
~SurfaceImpl() override;