|Syntactic Confectionery Delight|
wxPerl window colorsby sdetweil (Sexton)
|on Jan 19, 2013 at 15:02 UTC||Need Help??|
sdetweil has asked for the
wisdom of the Perl Monks concerning the following question:
not technically a perl question, but app written in Perl, and the widest skill base is clearly here.
so, my users want to change the colors of one of the windows in our application..
it is a wxPerl wxTextCtrl
the code does a wxSetForegroundColour() and wxSetBackgroundColour(), and then does a window->Update
the background changes. the foreground does not.. except, when we write more info to the window, it comes out with the new foreground color.
we tried $detailsInfo->Update();
of course this only fails on *ix, on Windows it behaves as expected.
so there must be some rules about a multiline text control in gtk that I don't understand.