]> git.saurik.com Git - wxWidgets.git/commitdiff
compile warnings removed
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 20 Jun 1999 21:34:04 +0000 (21:34 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 20 Jun 1999 21:34:04 +0000 (21:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/tbar95.cpp

index 5bdaae246b25e034b8a3530d36b511a477bd8602..6a9fcc6cfa8312b3f8942be7352391883d4ff963 100644 (file)
@@ -254,7 +254,9 @@ bool wxToolBar95::CreateTools()
     replaceBitmap.nIDNew = (UINT) (HBITMAP) m_hBitmap;
     replaceBitmap.nButtons = noButtons;
     if (::SendMessage((HWND) GetHWND(), TB_REPLACEBITMAP, (WPARAM) 0, (LPARAM) &replaceBitmap) == -1)
+    {
       wxFAIL_MSG(_T("Could not add bitmap to toolbar"));
+    }
 
     ::DeleteObject((HBITMAP) oldToolBarBitmap);
 
@@ -273,7 +275,9 @@ bool wxToolBar95::CreateTools()
     addBitmap.hInst = 0;
     addBitmap.nID = (UINT)m_hBitmap;
     if (::SendMessage((HWND) GetHWND(), TB_ADDBITMAP, (WPARAM) noButtons, (LPARAM) &addBitmap) == -1)
+    {
       wxFAIL_MSG(_T("Could not add bitmap to toolbar"));
+    }
   }
 
   // Now add the buttons.