]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/renderer.cpp
more native look for wxCheckListBox (especially under XP) (modified patch 1690068)
[wxWidgets.git] / src / msw / renderer.cpp
index 2a63a4b0b5f2f3af1f8b5e54d8f3a7582734bf6e..e391d2e21d0d3089cfb57f5585f4cc93ed681173 100644 (file)
@@ -235,6 +235,8 @@ wxRendererMSW::DrawCheckBox(wxWindow * WXUNUSED(win),
         style |= DFCS_CHECKED;
     if ( flags & wxCONTROL_DISABLED )
         style |= DFCS_INACTIVE;
+    if ( flags & wxCONTROL_FLAT )
+        style |= DFCS_MONO;
     if ( flags & wxCONTROL_PRESSED )
         style |= DFCS_PUSHED;
     if ( flags & wxCONTROL_CURRENT )