fix for HP compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
66bf55ca85
commit
cf214c358c
@ -500,7 +500,7 @@ void wxWindowDC::DoDrawBitmap( const wxBitmap &bitmap,
|
||||
|
||||
wxCHECK_RET( bitmap.Ok(), wxT("invalid bitmap") );
|
||||
|
||||
bool is_mono = (bitmap.GetBitmap());
|
||||
bool is_mono = (bitmap.GetBitmap() != NULL);
|
||||
|
||||
/* scale/translate size and position */
|
||||
|
||||
|
@ -500,7 +500,7 @@ void wxWindowDC::DoDrawBitmap( const wxBitmap &bitmap,
|
||||
|
||||
wxCHECK_RET( bitmap.Ok(), wxT("invalid bitmap") );
|
||||
|
||||
bool is_mono = (bitmap.GetBitmap());
|
||||
bool is_mono = (bitmap.GetBitmap() != NULL);
|
||||
|
||||
/* scale/translate size and position */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user