X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f8c10795d589c024dc7fc3640087a48a1ec612ce..efdf6afeb2bb6b79d01287acfd3334c04ea2b49d:/src/msw/checkbox.cpp?ds=inline 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;