From cf214c358c56edcba6a6cc9d6308f0abaedcb8e3 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Mon, 17 Jan 2000 18:14:01 +0000 Subject: [PATCH] fix for HP compiler git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/dcclient.cpp | 2 +- src/gtk1/dcclient.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gtk/dcclient.cpp b/src/gtk/dcclient.cpp index be232b8848..5b39956468 100644 --- a/src/gtk/dcclient.cpp +++ b/src/gtk/dcclient.cpp @@ -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 */ diff --git a/src/gtk1/dcclient.cpp b/src/gtk1/dcclient.cpp index be232b8848..5b39956468 100644 --- a/src/gtk1/dcclient.cpp +++ b/src/gtk1/dcclient.cpp @@ -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 */ -- 2.50.0