]> git.saurik.com Git - wxWidgets.git/commitdiff
more warning fixes about empty if statement in helper classes in release build
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 9 Sep 2006 13:10:32 +0000 (13:10 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 9 Sep 2006 13:10:32 +0000 (13:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/private.h

index 8581da0c675d8926cc529ea7e100704fe7e61a7c..3d9a48d18a7c38002672c962f18526c58de551c2 100644 (file)
@@ -536,7 +536,9 @@ private:
         {
             m_modeOld = ::SetMapMode(hdc, mm);
             if ( !m_modeOld )
+            {
                 wxLogLastError(_T("SelectClipRgn"));
+            }
         }
 
         ~HDCMapModeChanger()
@@ -565,13 +567,17 @@ public:
     {
         m_hGlobal = ::GlobalAlloc(flags, size);
         if ( !m_hGlobal )
+        {
             wxLogLastError(_T("GlobalAlloc"));
+        }
     }
 
     ~GlobalPtr()
     {
         if ( m_hGlobal && ::GlobalFree(m_hGlobal) )
+        {
             wxLogLastError(_T("GlobalFree"));
+        }
     }
 
     // implicit conversion