# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1348735370 0 # Node ID 83b2bd4ca2a31d2a3df3bae26feeb4c310448bb9 # Parent 5ed9f7ea388257141b3cd8ce090d91f0410fa0c4 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. diff -r 5ed9f7ea3882 -r 83b2bd4ca2a3 win/dw.c --- a/win/dw.c Thu Sep 27 07:30:30 2012 +0000 +++ b/win/dw.c Thu Sep 27 08:42:50 2012 +0000 @@ -7703,7 +7703,10 @@ tmp ^= mask; tmp |= style & mask; - if(_tcsnicmp(tmpbuf, ClassName, _tcslen(ClassName)+1)==0) + /* Drop out for status bar, it currently doesn't accept styles on Windows */ + if(_tcsnicmp(tmpbuf, StatusbarClassName, _tcslen(StatusbarClassName)+1)==0) + return; + else if(_tcsnicmp(tmpbuf, ClassName, _tcslen(ClassName)+1)==0) { tmp = tmp & 0xffff0000; #ifdef AEROGLASS