summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ovgosd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ovgosd.c b/ovgosd.c
index 0bc1323..4d9cc30 100644
--- a/ovgosd.c
+++ b/ovgosd.c
@@ -1290,7 +1290,11 @@ public:
pm->DrawPort().Width(), pm->DrawPort().Height(),
argb));
}
+#if APIVERSNUM >= 20110
DestroyPixmap(pm);
+#else
+ delete pm;
+#endif
}
}
else