Give Pen an out-of-line destructor

This commit is contained in:
Thomas Goyne 2014-12-30 19:21:35 -08:00
parent ab35c41a93
commit 2a33b35f60
2 changed files with 4 additions and 0 deletions

View file

@ -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() { }

View file

@ -46,4 +46,6 @@ public:
/// Implicit conversion to wxPen
operator wxPen const&() const { return impl; }
~Pen();
};