]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/themes/win32.cpp
removing dependancy on mac headers from public wx headers (eventually adding wx/mac...
[wxWidgets.git] / src / univ / themes / win32.cpp
index 75adfec94e38d99d608941fff44daf3f1124dab4..657417a08906a641ecc5d868a2a3632011dbef45 100644 (file)
@@ -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
     }
 }