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:
@@ -1400,7 +1400,7 @@ wxBorder wxWindowMSW::GetDefaultBorder() const
|
|||||||
return wxWindowBase::GetDefaultBorder();
|
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
|
// that makes most sense for this Windows environment
|
||||||
wxBorder wxWindowMSW::TranslateBorder(wxBorder border) const
|
wxBorder wxWindowMSW::TranslateBorder(wxBorder border) const
|
||||||
{
|
{
|
||||||
@@ -1419,6 +1419,7 @@ wxBorder wxWindowMSW::TranslateBorder(wxBorder border) const
|
|||||||
if (theme)
|
if (theme)
|
||||||
return wxBORDER_THEME;
|
return wxBORDER_THEME;
|
||||||
}
|
}
|
||||||
|
return wxBORDER_SUNKEN;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
return border;
|
return border;
|
||||||
|
Reference in New Issue
Block a user