g = wxAuiBlendColour(g, bg, alpha);
b = wxAuiBlendColour(b, bg, alpha);
- return wxColour((int)r, (int)g, (int)b);
+ return wxColour((unsigned char)r, (unsigned char)g, (unsigned char)b);
}
wxAuiPaneInfo& pane)
{
wxBitmap bmp;
+ if (!(&pane))
+ return;
switch (button)
{
default: