Fix wrong use of wxCHECK2_MSG in D2D graphics code
This was supposed to be wxCHECK_MSG(). See #16625.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user