can wxFont be created from native handle ? (msw)

Harry harry dot news at armadillo dot fr
Thu Apr 24 08:20:05 PDT 2008



Hi,

While converting an application from Windows API to wx, I'm encountering 
a problem
matching exactly the fonts of controls for compatibility with the 
version the users are used to.

The quick-and-dirty solution would be to wrap up the Windows font 
handles (HFONT) as wxFont.
Can this be done ? And how ?

Regards
Harry


More information about the wx-users mailing list