Mercurial > vim
comparison src/gui_w48.c @ 948:c1b61096e3d0 v7.0.074
updated for version 7.0-074
author | vimboss |
---|---|
date | Tue, 29 Aug 2006 19:26:50 +0000 |
parents | 039ce9407934 |
children | 4a6554fb0483 |
comparison
equal
deleted
inserted
replaced
947:a157c4786b79 | 948:c1b61096e3d0 |
---|---|
2192 { | 2192 { |
2193 if (s_toolbarhwnd == NULL) | 2193 if (s_toolbarhwnd == NULL) |
2194 return; | 2194 return; |
2195 | 2195 |
2196 if (showit) | 2196 if (showit) |
2197 { | |
2198 # ifdef FEAT_MBYTE | |
2199 # ifndef TB_SETUNICODEFORMAT | |
2200 /* For older compilers. We assume this never changes. */ | |
2201 # define TB_SETUNICODEFORMAT 0x2005 | |
2202 # endif | |
2203 /* Enable/disable unicode support */ | |
2204 int uu = (enc_codepage >= 0 && (int)GetACP() != enc_codepage); | |
2205 SendMessage(s_toolbarhwnd, TB_SETUNICODEFORMAT, (WPARAM)uu, (LPARAM)0); | |
2206 # endif | |
2197 ShowWindow(s_toolbarhwnd, SW_SHOW); | 2207 ShowWindow(s_toolbarhwnd, SW_SHOW); |
2208 } | |
2198 else | 2209 else |
2199 ShowWindow(s_toolbarhwnd, SW_HIDE); | 2210 ShowWindow(s_toolbarhwnd, SW_HIDE); |
2200 } | 2211 } |
2201 | 2212 |
2202 /* Then number of bitmaps is fixed. Exit is missing! */ | 2213 /* Then number of bitmaps is fixed. Exit is missing! */ |