X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbcdf8bc7ca806d8278c7cb6d09d5590378b67d8..f8c4475a3e579655f6a962822824596a7a9cfb66:/include/wx/msw/gdiobj.h?ds=sidebyside 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); }