X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..68379eaf0ae64d105f8244b1db83e793f7dd83b0:/include/wx/msw/font.h diff --git a/include/wx/msw/font.h b/include/wx/msw/font.h index 69acbfcc63..eb54983eb6 100644 --- a/include/wx/msw/font.h +++ b/include/wx/msw/font.h @@ -31,7 +31,7 @@ public: int family, int style, int weight, - bool underlined = FALSE, + bool underlined = false, const wxString& face = wxEmptyString, wxFontEncoding encoding = wxFONTENCODING_DEFAULT) { @@ -53,7 +53,7 @@ public: int family, int style, int weight, - bool underlined = FALSE, + bool underlined = false, const wxString& face = wxEmptyString, wxFontEncoding encoding = wxFONTENCODING_DEFAULT); @@ -72,7 +72,7 @@ public: virtual bool GetUnderlined() const; virtual wxString GetFaceName() const; virtual wxFontEncoding GetEncoding() const; - virtual wxNativeFontInfo* GetNativeFontInfo() const; + virtual const wxNativeFontInfo *GetNativeFontInfo() const; virtual void SetPointSize(int pointSize); virtual void SetFamily(int family); @@ -90,7 +90,7 @@ public: virtual bool IsFree() const; virtual bool RealizeResource(); virtual WXHANDLE GetResourceHandle() const; - virtual bool FreeResource(bool force = FALSE); + virtual bool FreeResource(bool force = false); // for consistency with other wxMSW classes WXHFONT GetHFONT() const;