]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed bug in border style translation
authorJulian Smart <julian@anthemion.co.uk>
Wed, 28 Nov 2007 18:56:39 +0000 (18:56 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 28 Nov 2007 18:56:39 +0000 (18:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/window.cpp

index 3189e52624f97af7f4ec303741cb497705cf51bd..31a35b51c7f7baee38db43dd73b86d9bb5265d74 100644 (file)
@@ -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;