From: Vadim Zeitlin Date: Sat, 9 Sep 2006 12:55:05 +0000 (+0000) Subject: fix warning about empty if statement in HDCClipper ctor in release build X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8b76325cdcf8d1a65d6f4bda28c2eaa86394b035?hp=a124f99a24fb1f2ef41e37223ea35bcc9a4eece9 fix warning about empty if statement in HDCClipper ctor in release build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/private.h b/include/wx/msw/private.h index c1b5e3e4cf..8581da0c67 100644 --- a/include/wx/msw/private.h +++ b/include/wx/msw/private.h @@ -505,7 +505,9 @@ public: : m_hdc(hdc) { if ( !::SelectClipRgn(hdc, hrgn) ) + { wxLogLastError(_T("SelectClipRgn")); + } } ~HDCClipper()