This control explains better what is going on in the sample and also allows to
test whether wxStaticText itself has properly transparent background (this is
not currently the case under MSW).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67224
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
new wxStaticBitmap( this, wxID_ANY, m_bitmap, wxPoint(80,20) );
new wxStaticBitmap( this, wxID_ANY, m_bitmap, wxPoint(80,20) );
+ new wxStaticText(this, wxID_ANY,
+ "Left bitmap is a wxStaticBitmap,\n"
+ "right one drawn directly",
+ wxPoint(150, 20));
+
SetFocusIgnoringChildren();
SetFocusIgnoringChildren();
- SetBackgroundColour(*wxBLUE);
+ SetBackgroundColour(*wxCYAN);
}
void MyCanvas::OnChar( wxKeyEvent &event )
}
void MyCanvas::OnChar( wxKeyEvent &event )