X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..35c2acd4a81a3b41ced9253f744a00e64de2a423:/include/wx/motif/font.h diff --git a/include/wx/motif/font.h b/include/wx/motif/font.h index 80d1a4f841..f4d267e986 100644 --- a/include/wx/motif/font.h +++ b/include/wx/motif/font.h @@ -30,7 +30,7 @@ public: int family, int style, int weight, - bool underlined = FALSE, + bool underlined = false, const wxString& face = wxEmptyString, wxFontEncoding encoding = wxFONTENCODING_DEFAULT) { @@ -45,7 +45,7 @@ public: int family, int style, int weight, - bool underlined = FALSE, + bool underlined = false, const wxString& face = wxEmptyString, wxFontEncoding encoding = wxFONTENCODING_DEFAULT); @@ -105,6 +105,8 @@ public: // returns either a XmFontList or XmRendition, depending // on Motif version WXFontType GetFontType(WXDisplay* display) const; + // like the function above but does a copy for XmFontList + WXFontType GetFontTypeC(WXDisplay* display) const; static WXString GetFontTag(); protected: virtual void DoSetNativeFontInfo( const wxNativeFontInfo& info ); @@ -113,7 +115,7 @@ protected: void Init(); // VZ: IMHO, we don't need it at all... - bool RealizeResource() { return TRUE; } + bool RealizeResource() { return true; } void Unshare(); private: