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 }