X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2bda0e173844e8e0f8acf4e8ad8b5c26e5c6fe5d..f8c4475a3e579655f6a962822824596a7a9cfb66:/include/wx/msw/gdiobj.h diff --git a/include/wx/msw/gdiobj.h b/include/wx/msw/gdiobj.h index 31c3f4ad97..8f79cd0133 100644 --- a/include/wx/msw/gdiobj.h +++ b/include/wx/msw/gdiobj.h @@ -5,12 +5,12 @@ // Modified by: // Created: 01/02/97 // RCS-ID: $Id$ -// Copyright: (c) Julian Smart and Markus Holzem -// Licence: wxWindows license +// Copyright: (c) Julian Smart +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifndef __GDIOBJH__ -#define __GDIOBJH__ +#ifndef _WX_GDIOBJ_H_ +#define _WX_GDIOBJ_H_ #include "wx/object.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); } @@ -64,4 +64,4 @@ protected: }; #endif - // __GDIOBJH__ + // _WX_GDIOBJ_H_