From 576b0033c06148ae1428a484a4db5d3616615459 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 29 Sep 2015 00:44:08 +0200 Subject: [PATCH] Fix wrong use of wxCHECK2_MSG in D2D graphics code This was supposed to be wxCHECK_MSG(). See #16625. --- src/msw/graphicsd2d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/graphicsd2d.cpp b/src/msw/graphicsd2d.cpp index da189458a8..f0b3e9debe 100644 --- a/src/msw/graphicsd2d.cpp +++ b/src/msw/graphicsd2d.cpp @@ -1452,7 +1452,7 @@ public: ULONG STDMETHODCALLTYPE Release(void) wxOVERRIDE { - wxCHECK2_MSG(m_refCount > 0, 0, "Unbalanced number of calls to Release"); + wxCHECK_MSG(m_refCount > 0, 0, "Unbalanced number of calls to Release"); ULONG refCount = InterlockedDecrement(&m_refCount); if (m_refCount == 0)