Fix wrong use of wxCHECK2_MSG in D2D graphics code

This was supposed to be wxCHECK_MSG().

See #16625.
This commit is contained in:
Vadim Zeitlin
2015-09-29 00:44:08 +02:00
parent db415ad04d
commit 576b0033c0

View File

@@ -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)