"be consistent" | |
PerlMonks |
Re: wxPerl behavior on Win32by jmlynesjr (Deacon) |
on Oct 27, 2014 at 20:32 UTC ( [id://1105202]=note: print w/replies, xml ) | Need Help?? |
Have you tried $frame->SetBackgroundColour(wxRED);? From the wxBook, "Because wxFrame derives from wxTopLevelWindow and wxWindow, please also refer to the member functions for these classes". Stock color objects are wxBLACK, wxWHITE, wxRED, wxBLUE, wxGREEN, wxCYAN, and wxLIGHT_GREY. There are also many available standard colors, too many to type here, accessed by: Wx::Colour->new("yellow"); or Wx::Colour->newRGB(#,#,#); James There's never enough time to do it right, but always enough time to do it over...
In Section
Seekers of Perl Wisdom
|
|