diff --git a/src/common/dlgcmn.cpp b/src/common/dlgcmn.cpp index 6d3e218315..d9844ee042 100644 --- a/src/common/dlgcmn.cpp +++ b/src/common/dlgcmn.cpp @@ -57,6 +57,9 @@ public: // max line width or -1 to disable wrapping void Wrap(wxWindow *win, const wxString& text, int widthMax); + // we don't need it, but just to avoid compiler warnings + virtual ~wxTextWrapper() { } + protected: // line may be empty virtual void OnOutputLine(const wxString& line) = 0;