I've created a custom control by subclassing wxWindow. I'm having a hard time getting rid of the white that's showing at the corners of the control.
Here are the first two lines of code in the constructor:
Code: Select all
wxWindow::SetBackgroundStyle(wxBG_STYLE_PAINT);
wxWindow::Create(parent, id, pos, size, style, name);