From: Dimitri Schoolwerth Date: Mon, 24 Jan 2005 14:44:10 +0000 (+0000) Subject: fixed unreachable code warning (MSVC6) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0f770734aec9eaee655cd34c83883f3a4a5f42c2 fixed unreachable code warning (MSVC6) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/notebook.cpp b/src/msw/notebook.cpp index ccbbbfc62e..fc9766e716 100644 --- a/src/msw/notebook.cpp +++ b/src/msw/notebook.cpp @@ -881,10 +881,9 @@ WXHANDLE wxNotebook::QueryBgBitmap(wxWindow *win) return (WXHANDLE)c; } - else // we are asked to create the brush - { - return (WXHANDLE)::CreatePatternBrush(hBmp); - } + + // else we are asked to create the brush + return (WXHANDLE)::CreatePatternBrush(hBmp); } void wxNotebook::UpdateBgBrush()