|
From: Vadim Zeitlin on 22 Mar 2008 07:31 On Sat, 22 Mar 2008 11:21:13 +0100 GDR! <gdr(a)o2.pl> wrote: G> Dnia 20 marca 2008 1:13 Vadim Zeitlin <vadim(a)wxwidgets.org> napisał(a): G> G> > On Wed, 19 Mar 2008 20:08:04 +0100 GDR! wrote: G> > G> > G> My question is: is it possible to subclass wxColourScheme and set my G> > G> application to use it instead of the theme-supplied one? G> > G> > AFAIR you're supposed to create your own theme (delegating to the existing G> > one, i.e. deriving from wxDelegateTheme) and override its GetColourScheme() G> > to return your custom scheme. G> G> Thanks for your answer Vadim. G> G> Is there any method that I should call to register my newly created G> theme to be able to use it? Yes, you need to use wxTheme::Set(). Regards, VZ -- TT-Solutions: wxWidgets consultancy and technical support http://www.tt-solutions.com/ _______________________________________________ wx-users mailing list wx-users(a)lists.wxwidgets.org http://lists.wxwidgets.org/mailman/listinfo/wx-users
|
Pages: 1 Prev: how to disable automatically handling some menu shortcuts? Next: svg example |