From: lostgallifreyan <los...@gm...> - 2009-05-21 20:25:56
|
wxLua v2.5.4 let me make bitmaps for toolbar buttons where black would take the system foreground text colour, and grey (192,192,192) would take the background colour, and one or two other colours took similar changes. Similar things still result in the Scribble program where wxArtProvider provides the images, but if you add a pre-loaded bitmap with TOOLS:AddTool(-1,"",BITMAP,"Tooltip Text") it won't show system colours as it used to. I've looked at everything I can find related to 'themes' as the wxWidgets manual calls the colour schemes used in Windows, stuff like TOOLS:SetBackgroundStyle(wx.wxBG_STYLE_SYSTEM) or TOOLS:SetThemeEnabled(true), and nothing makes it work, or even seems to have any effect on anything. |