Give Pen an out-of-line destructor
This commit is contained in:
parent
ab35c41a93
commit
2a33b35f60
2 changed files with 4 additions and 0 deletions
|
@ -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() { }
|
||||
|
|
|
@ -46,4 +46,6 @@ public:
|
|||
|
||||
/// Implicit conversion to wxPen
|
||||
operator wxPen const&() const { return impl; }
|
||||
|
||||
~Pen();
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue