Slightly improve comment wording in MSW wxBitmap creation code
No real changes.
This commit is contained in:
@@ -792,7 +792,7 @@ bool wxBitmap::DoCreate(int w, int h, int d, WXHDC hdc)
|
|||||||
|
|
||||||
GetBitmapData()->m_depth = d;
|
GetBitmapData()->m_depth = d;
|
||||||
}
|
}
|
||||||
else // d == 0, create bitmap compatible with the screen
|
else // No valid depth, create bitmap compatible with the screen
|
||||||
{
|
{
|
||||||
ScreenHDC dc;
|
ScreenHDC dc;
|
||||||
hbmp = ::CreateCompatibleBitmap(dc, w, h);
|
hbmp = ::CreateCompatibleBitmap(dc, w, h);
|
||||||
|
Reference in New Issue
Block a user