misc fixes for (absense of) the borders

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-02-22 00:48:52 +00:00
parent 74c57d1ff6
commit 3a01bb1bce
3 changed files with 13 additions and 2 deletions

View File

@@ -357,6 +357,12 @@ void wxTextCtrl::AdoptAttributesFromHWND()
WXDWORD wxTextCtrl::MSWGetStyle(long style, WXDWORD *exstyle) const
{
// default border for the text controls is the sunken one
if ( (style & wxBORDER_MASK) == wxBORDER_DEFAULT )
{
style |= wxBORDER_SUNKEN;
}
long msStyle = wxControl::MSWGetStyle(style, exstyle);
// default styles