[wx-dev] wxFontDialog on wxMac 2.7 (CVS)

Stefan Csomor csomor at advancedconcepts.ch
Mon Oct 2 21:23:52 PDT 2006


> > 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.
> 
> you mean the third button from the left in the native font 
> dialog ? it never updates to the correct color, neither from 
> cocoa applications (try eg TextEdit):-(
>  
> I can observe the following : if the focus is in a text 
> field, then the text field itself gets the font changed / 
> color changed events (visible immediately if you have a 
> current selection) and they don't get (always :-( propagated 
> to my app level event handler anymore, therefore I miss these changes.
> 
> If however the focus is not in the textfield, then the color 
> changes arrive in my dialog app-level handler, and the color 
> is transmitted back (although not always properly refreshed)

turning off the FontCommandProcessing of a text control in textctrl.cpp
1845 gives a correct sequel of the events again. I'll probably turn that
off by default

Best,

Stefan




More information about the wx-dev mailing list