WxFont

From WxWiki

Jump to: navigation, search

[edit] wxFont

[edit] Creating a wxFont based on a X Font Name

%2.4.0

     wxNativeFontInfo nativename;
     nativename.FromXFontName("-*-fixed-*-*-*-*-*-*-*-*-*-*-*-*");
     font.SetNativeFontInfo(nativename);

%%

Tested on wxGTK 2.4.0.8 (Debian GNU/Linux) and it does compile (when there is wx/fontutil.h include) but does not work at all.

See also:

  • official docs: wxFont
Personal tools