in reply to wxPerl behavior on Win32
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...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: wxPerl behavior on Win32
by solomon243 (Novice) on Oct 28, 2014 at 19:26 UTC | |
by jmlynesjr (Deacon) on Oct 29, 2014 at 15:44 UTC |