X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3bf5a59b5e058bebffcf9d87f03550b4ecf93e73..924b84ab9461c95cf5c5386d1091ae0f7a8e7ce7:/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: