From: Vadim Zeitlin <vadim@wxwidgets.org> Date: Mon, 22 Nov 2010 12:48:42 +0000 (+0000) Subject: Add status bar styles mapping to MSW styles broken by recent changes. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/dcd223d1d14d7a8cf2f3b576b05fbc24606cc511 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 --- diff --git a/src/msw/statusbar.cpp b/src/msw/statusbar.cpp index a6b42bac5a..9df8eb782a 100644 --- a/src/msw/statusbar.cpp +++ b/src/msw/statusbar.cpp @@ -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 }