Mercurial > dwindows
diff win/dw.c @ 1750:1de7daad85a3
Updated readme, removed debug message and committed fixes for ANSI builds on Windows.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Wed, 13 Jun 2012 20:50:17 +0000 |
parents | ff9a51706715 |
children | eeec5ceec7a5 |
line wrap: on
line diff
--- a/win/dw.c Wed Jun 13 20:08:41 2012 +0000 +++ b/win/dw.c Wed Jun 13 20:50:17 2012 +0000 @@ -1976,7 +1976,6 @@ uc[0] = (WCHAR)mp1; utf8 = WideToUTF8(uc); - dw_debug("UTF8 %s\n", utf8); #endif if(GetAsyncKeyState(VK_SHIFT) & 0x8000) @@ -6247,7 +6246,7 @@ /* Disable visual styles by default */ if(_SetWindowTheme) - _SetWindowTheme(tmp, TEXT(""), TEXT("")); + _SetWindowTheme(tmp, L"", L""); /* Insert the single bitmap and button into the toolbar */ SendMessage(tmp, TB_BUTTONSTRUCTSIZE, sizeof(TBBUTTON), 0); @@ -7629,7 +7628,7 @@ /* Enable or disable visual themese */ if(_SetWindowTheme) - _SetWindowTheme(handle, (style & DW_BS_NOBORDER) ? NULL : TEXT(""), (style & DW_BS_NOBORDER) ? NULL : TEXT("")); + _SetWindowTheme(handle, (style & DW_BS_NOBORDER) ? NULL : L"", (style & DW_BS_NOBORDER) ? NULL : L""); return; }