X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbcdf8bc7ca806d8278c7cb6d09d5590378b67d8..106f039552385de4d8b7c2e530a00057e9b78208:/include/wx/msw/gdiobj.h diff --git a/include/wx/msw/gdiobj.h b/include/wx/msw/gdiobj.h index 1950d12ffe..8f79cd0133 100644 --- a/include/wx/msw/gdiobj.h +++ b/include/wx/msw/gdiobj.h @@ -48,7 +48,7 @@ DECLARE_DYNAMIC_CLASS(wxGDIObject) // Frees the resource virtual bool FreeResource(bool WXUNUSED(force) = FALSE) { return FALSE; }; - virtual bool IsFree(void) { return FALSE; }; + virtual bool IsFree(void) const { return FALSE; }; inline bool IsNull(void) const { return (m_refData == 0); }