X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e7445ff8ee26e39fab1e35455e1bef954bdf636f..ce4b7808ca940be201422a066de141ca12f13863:/include/wx/generic/dcpsg.h?ds=sidebyside diff --git a/include/wx/generic/dcpsg.h b/include/wx/generic/dcpsg.h index 7d9ea915f3..65d2b2b325 100644 --- a/include/wx/generic/dcpsg.h +++ b/include/wx/generic/dcpsg.h @@ -43,9 +43,10 @@ public: wxPostScriptDC(const wxPrintData& printData); // Recommended destructor :-) - ~wxPostScriptDC(); + virtual ~wxPostScriptDC(); - virtual bool Ok() const; + virtual bool Ok() const { return IsOk(); } + virtual bool IsOk() const; bool CanDrawBitmap() const { return true; }