From: Steven P. <n9...@n9...> - 2004-03-14 22:57:45
|
On Mar 14, 2004, at 4:41 PM, Roger Binns wrote: > They day you find a perfect piece of software, let us know :-) Well, I certainly have never written or used one, so don't wait for that email. ;^) > However the wxWidgets API doesn't provide a GetFonts API. I > dug into my old email and found that it does provide the > settings as #defines which I quoted. > > However wxPython doesn't export those symbols, due to an oversight. > I worked with Robin on this and he will be exporting them > in the next wxPython release. I spent a good bit of time trying to figure out why I couldn't find them only to realize this myself this afternoon. :-) > They are not arbitrary values in bphtml. They are supposed to be > *identical* to the ones in wxWidgets because of wxPython not > exporting the values. I did a similar thing, then, and put in the values defined in wxMac:html/htmldefines.h. It seems to work well like that, so I'll leave it there. Sorry, it's been a terrible day and I ranted when I should have ducked out and coded some more. :-) Eventually I would have realized the bigger picture and now all is well. |