Add status bar styles mapping to MSW styles broken by recent changes.

SBARS_SIZEGRIP and CCS_TOP should be added to the normal style, not the
extended one. This restores the behaviour broken by r66227.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2010-11-22 12:48:42 +00:00
parent ef5dbedecf
commit dcd223d1d1

View File

@@ -103,14 +103,14 @@ WXDWORD wxStatusBar::MSWGetStyle(long style, WXDWORD *exstyle) const
// is not given
if ( !(style & wxSTB_SIZEGRIP) )
{
*exstyle |= CCS_TOP;
msStyle |= CCS_TOP;
}
else
{
#ifndef __WXWINCE__
// may be some versions of comctl32.dll do need it - anyhow, it won't
// do any harm
*exstyle |= SBARS_SIZEGRIP;
msStyle |= SBARS_SIZEGRIP;
#endif
}