]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/themes/win32.cpp
wxFileCtrl::Update was hiding wxWindow::Update
[wxWidgets.git] / src / univ / themes / win32.cpp
index 75adfec94e38d99d608941fff44daf3f1124dab4..25b682f50c25f1ebea5c83cd69638ccf8f149fd6 100644 (file)
@@ -1380,7 +1380,7 @@ wxWin32Renderer::wxWin32Renderer(const wxColourScheme *scheme)
     m_colHighlight = wxSCHEME_COLOUR(scheme, SHADOW_HIGHLIGHT);
     m_penHighlight = wxPen(m_colHighlight, 0, wxSOLID);
 
-    m_titlebarFont = wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT);
+    m_titlebarFont = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
     m_titlebarFont.SetWeight(wxFONTWEIGHT_BOLD);
 
     // init the arrow bitmaps
@@ -2239,7 +2239,6 @@ void wxWin32Renderer::DrawCheckOrRadioButton(wxDC& dc,
         rectLabel.SetRight(rect.GetRight());
     }
 
-    // THIS IS THE CULPRIT -- JACS
     dc.DrawBitmap(bitmap, xBmp, yBmp, TRUE /* use mask */);
 
     DoDrawLabel(
@@ -2291,13 +2290,11 @@ void wxWin32Renderer::DrawCheckButton(wxDC& dc,
                              0); // no focus rect offset for checkboxes
     else
     {
-       wxBitmap cbitmap(GetCheckBitmap(flags));
-#if 1
+           wxBitmap cbitmap(GetCheckBitmap(flags));
         DrawCheckOrRadioButton(dc, label,
                              cbitmap,
                              rect, flags, align, indexAccel,
                               0); // no focus rect offset for checkboxes
-#endif
     }
 }
 
@@ -2876,7 +2873,7 @@ wxMenuGeometryInfo *wxWin32Renderer::GetMenuGeometry(wxWindow *win,
 {
     // prepare the dc: for now we draw all the items with the system font
     wxClientDC dc(win);
-    dc.SetFont(wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT));
+    dc.SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
 
     // the height of a normal item
     wxCoord heightText = dc.GetCharHeight();