comparison win/dw.c @ 1804:83b2bd4ca2a3

Drop out of dw_window_set_style() on Windows for status text widgets... Currently there are no available styles, and some will muck up the widget.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 27 Sep 2012 08:42:50 +0000
parents 5ed9f7ea3882
children c110191e3775
comparison
equal deleted inserted replaced
1803:5ed9f7ea3882 1804:83b2bd4ca2a3
7701 7701
7702 tmp = currentstyle | mask; 7702 tmp = currentstyle | mask;
7703 tmp ^= mask; 7703 tmp ^= mask;
7704 tmp |= style & mask; 7704 tmp |= style & mask;
7705 7705
7706 if(_tcsnicmp(tmpbuf, ClassName, _tcslen(ClassName)+1)==0) 7706 /* Drop out for status bar, it currently doesn't accept styles on Windows */
7707 if(_tcsnicmp(tmpbuf, StatusbarClassName, _tcslen(StatusbarClassName)+1)==0)
7708 return;
7709 else if(_tcsnicmp(tmpbuf, ClassName, _tcslen(ClassName)+1)==0)
7707 { 7710 {
7708 tmp = tmp & 0xffff0000; 7711 tmp = tmp & 0xffff0000;
7709 #ifdef AEROGLASS 7712 #ifdef AEROGLASS
7710 if(mask & DW_FCF_COMPOSITED && _DwmExtendFrameIntoClientArea && _dw_composition) 7713 if(mask & DW_FCF_COMPOSITED && _DwmExtendFrameIntoClientArea && _dw_composition)
7711 { 7714 {