From 2a33b35f60d10f4ec3968f9c28729b5340cdaaca Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Tue, 30 Dec 2014 19:21:35 -0800 Subject: [PATCH] Give Pen an out-of-line destructor --- src/pen.cpp | 2 ++ src/pen.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/pen.cpp b/src/pen.cpp index b7d0d147c..0d92cf4bb 100644 --- a/src/pen.cpp +++ b/src/pen.cpp @@ -39,3 +39,5 @@ Pen::Pen(const char *colour_opt, int width, wxPenStyle style) , colour_con(OPT_SUB(colour_opt, &Pen::OnColourChanged, this)) { } + +Pen::~Pen() { } diff --git a/src/pen.h b/src/pen.h index 530e6c9d9..44c301803 100644 --- a/src/pen.h +++ b/src/pen.h @@ -46,4 +46,6 @@ public: /// Implicit conversion to wxPen operator wxPen const&() const { return impl; } + + ~Pen(); };