user32: Don't disable DrawFrameControl for non-text mapping modes.

This commit is contained in:
Alexandre Julliard 2010-09-02 11:00:45 +02:00
parent ebcd07a98b
commit 05375a2a96
1 changed files with 0 additions and 4 deletions

View File

@ -1210,10 +1210,6 @@ static BOOL UITOOLS95_DrawFrameMenu(HDC dc, LPRECT r, UINT uFlags)
BOOL WINAPI DrawFrameControl( HDC hdc, LPRECT rc, UINT uType, BOOL WINAPI DrawFrameControl( HDC hdc, LPRECT rc, UINT uType,
UINT uState ) UINT uState )
{ {
/* Win95 doesn't support drawing in other mapping modes */
if(GetMapMode(hdc) != MM_TEXT)
return FALSE;
switch(uType) switch(uType)
{ {
case DFC_BUTTON: case DFC_BUTTON: