From 28bf925c65ac2ccda970d4ab6fb2ba4e3a4168c7 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Wed, 28 Nov 2007 18:56:39 +0000 Subject: [PATCH] Fixed bug in border style translation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/window.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 3189e52624..31a35b51c7 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -1400,7 +1400,7 @@ wxBorder wxWindowMSW::GetDefaultBorder() const return wxWindowBase::GetDefaultBorder(); } -// Translate wxBORDER_THEME (and other border styles if necessary to the value +// Translate wxBORDER_THEME (and other border styles if necessary) to the value // that makes most sense for this Windows environment wxBorder wxWindowMSW::TranslateBorder(wxBorder border) const { @@ -1419,6 +1419,7 @@ wxBorder wxWindowMSW::TranslateBorder(wxBorder border) const if (theme) return wxBORDER_THEME; } + return wxBORDER_SUNKEN; } #endif return border; -- 2.45.2