]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/renderer.cpp
fixed a (harmless) BoundsChecker warning
[wxWidgets.git] / src / univ / renderer.cpp
index 16c2c2de0449d19116dad854dcb54d484f690156..4053fbf68feb622a88ae4564b76cb5af90650d7b 100644 (file)
@@ -417,6 +417,7 @@ wxControlRenderer::wxControlRenderer(wxWindow *window,
 void wxControlRenderer::DrawLabel(const wxBitmap& bitmap,
                                   wxCoord marginX, wxCoord marginY)
 {
+    m_dc.SetBackgroundMode(wxTRANSPARENT);
     m_dc.SetFont(m_window->GetFont());
     m_dc.SetTextForeground(m_window->GetForegroundColour());