]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/checkbox.cpp
always set flat toolbar style, even under XP with themes: this is necessary or separa...
[wxWidgets.git] / src / msw / checkbox.cpp
index da41a256e0d6be5dce0b0f5bc8fc2d3d80c17441..07cc434de2ca2eb3eb2652ab7aec25ef4138ca1b 100644 (file)
@@ -457,7 +457,8 @@ bool wxCheckBox::MSWOnDraw(WXDRAWITEMSTRUCT *item)
     // to it without breaking backwards compatibility
 
     // classic Win32 version -- this can be useful when we move this into
-#if 0
+    // wxRendererNative
+#if defined(__WXWINCE__) || !wxUSE_UXTHEME
     UINT state = DFCS_BUTTONCHECK;
     if ( !IsEnabled() )
         state |= DFCS_INACTIVE;