X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8f884a0dccd6b642f35c441ac9bfc87a6d5b4d35..204fd7058e300380067c9f021a0bc779eabde36d:/include/wx/gdiobj.h?ds=sidebyside diff --git a/include/wx/gdiobj.h b/include/wx/gdiobj.h index fc2e0756d7..77b4c532f2 100644 --- a/include/wx/gdiobj.h +++ b/include/wx/gdiobj.h @@ -36,7 +36,7 @@ class WXDLLIMPEXP_CORE wxGDIObject : public wxObject { public: // checks if the object can be used - bool IsOk() const + virtual bool IsOk() const { // the cast here is safe because the derived classes always create // wxGDIRefData objects