From: Vadim Zeitlin Date: Thu, 9 Jun 2005 19:36:20 +0000 (+0000) Subject: (blind) compilation fix for wxUSE_UXTHEME==0 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ca1b8c11692068939a6153b6460f598d46399417 (blind) compilation fix for wxUSE_UXTHEME==0 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/checkbox.cpp b/src/msw/checkbox.cpp index b58d672d58..07cc434de2 100644 --- a/src/msw/checkbox.cpp +++ b/src/msw/checkbox.cpp @@ -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;