[wxMAC] wxHtmlWindow in a dialog

Stefan.Neis at t-online.de Stefan.Neis at t-online.de
Fri Feb 15 02:55:42 PST 2008


        Hi,

I'm relatively new to wxMAC (currently using 2.8.7), so forgive the
(at least seemingly) simple question:
How can you explicitly change backgrounds of a window?
In my particular instance I created a dialog which uses a wxHtmlWindow
to display its text. While this looks nice on wxMSW and wxGTK, the 
wxHtmlWindow with it's white background look definitly strange on the
default dialog background. Changing wxHtmlWindow's white to grey 
via SetBackgroundColour works and gives at least an improvement,
but I'd like both backgrounds to be the same. 
Unfortunately, I couldn't manage neither to change wxHtmlWindow's
background to that striped background of the dialog, nor to change the
dialog background to just a solid colour (not quite as nice as the first
option, but still better than the current mix, IMHO).

         TIA,
                   Stefan






More information about the wx-users mailing list