Load default stock bitmap in CreateDC().

This commit is contained in:
Rein Klazes 2003-01-24 00:44:54 +00:00 committed by Alexandre Julliard
parent 316473d239
commit e43a430dd6

View file

@ -596,7 +596,8 @@ HDC WINAPI CreateDCA( LPCSTR driver, LPCSTR device, LPCSTR output,
return 0;
}
dc->flags = 0;
dc->flags = 0;
dc->hBitmap = GetStockObject( DEFAULT_BITMAP );
TRACE("(driver=%s, device=%s, output=%s): returning %p\n",
debugstr_a(driver), debugstr_a(device), debugstr_a(output), dc->hSelf );