X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8f884a0dccd6b642f35c441ac9bfc87a6d5b4d35..6869b469c6ba4a549b2bd463ce9778915781b0df:/include/wx/gdiobj.h diff --git a/include/wx/gdiobj.h b/include/wx/gdiobj.h index fc2e0756d7..da977d3939 100644 --- a/include/wx/gdiobj.h +++ b/include/wx/gdiobj.h @@ -20,7 +20,7 @@ // the same native GDI object // ---------------------------------------------------------------------------- -class WXDLLIMPEXP_FWD_CORE wxGDIRefData : public wxObjectRefData +class WXDLLIMPEXP_CORE wxGDIRefData : public wxObjectRefData { public: // override this in the derived classes to check if this data object is @@ -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