Fixed bug in border style translation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2007-11-28 18:56:39 +00:00
parent 3ef4abec3f
commit 28bf925c65

View 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;