diff --git a/src/msw/imaglist.cpp b/src/msw/imaglist.cpp index e8188e82ba..5b5e3541af 100644 --- a/src/msw/imaglist.cpp +++ b/src/msw/imaglist.cpp @@ -323,8 +323,8 @@ wxBitmap wxImageList::GetBitmap(int index) const bitmap = wxBitmap(image); #else wxBitmap bitmap; - return bitmap; #endif + return bitmap; } // Get the icon