wxFontDialog on wxMac 2.7 (CVS)

Bryan Petty bryan at ibaku.net
Mon Oct 2 15:34:57 PDT 2006


Hi (Stefan),

I know there were still some issues with the new native font dialog on 
wxMac that have been known (mostly with the font color), but it seems to 
have been made worse recently somehow.

In the past, as well as when using configuration 'A' settings (see 
below) currently, the native font dialog would fail to show the correct 
color in the color button's bitmap/preview when shown as well as when a 
color was selected. It would still correctly set the color though.

Configuration A:
USE_NATIVE_FONT_DIALOG_FOR_MACOSX = 1
wxMAC_USE_EXPERIMENTAL_FONTDIALOG = 0

With the default settings in CVS right now (configuration 'B'), the 
dialog won't even set the color correctly. This can be seen in the font 
sample on 10.4. I'm pretty sure I remember it working previously.

Configuration B (default in CVS):
USE_NATIVE_FONT_DIALOG_FOR_MACOSX = 0
wxMAC_USE_EXPERIMENTAL_FONTDIALOG = 1

I haven't really been able to track this down, though I'm still fairly 
new to debugging with GDB, so any help would be appreciated. I'm hoping 
to use this code over the generic font dialog even if the color button 
doesn't update so long as the color actually changes. It's a major 
improvement over the generic dialog even with the color button issues.

Regards,

Bryan Petty
Phoenix Project Management Systems
http://www.phoenixcpm.com/




More information about the wx-dev mailing list