From 0f770734aec9eaee655cd34c83883f3a4a5f42c2 Mon Sep 17 00:00:00 2001 From: Dimitri Schoolwerth Date: Mon, 24 Jan 2005 14:44:10 +0000 Subject: [PATCH] fixed unreachable code warning (MSVC6) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/notebook.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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() -- 2.47.2