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(); };