]> git.saurik.com Git - wxWidgets.git/commitdiff
(blind) compilation fix for wxUSE_UXTHEME==0
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 9 Jun 2005 19:36:20 +0000 (19:36 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 9 Jun 2005 19:36:20 +0000 (19:36 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/checkbox.cpp

index b58d672d585f8882797d5e964b634a11ff28ac95..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
-#ifdef __WXWINCE__
+    // wxRendererNative
+#if defined(__WXWINCE__) || !wxUSE_UXTHEME
     UINT state = DFCS_BUTTONCHECK;
     if ( !IsEnabled() )
         state |= DFCS_INACTIVE;