From: Marcus <li...@wo...> - 2002-04-02 05:24:54
|
How do you create your own colours? I want to set the background colour on a notebook page. It works fine with the predefined wxWHITE, like this: my ($page1) = $nb->GetPage(0); $page1->SetBackgroundColour(wxWHITE); How do I set the background for a custom colour? I tried $col=wxColour(red=0,green=0,blue=0), which is the example for wxPython, but that did not work. Thanks, Marcus |