From: Robert Roebling <robert@roebling.de>
Date: Mon, 17 Jan 2000 18:14:01 +0000 (+0000)
Subject:   fix for HP compiler
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/cf214c358c56edcba6a6cc9d6308f0abaedcb8e3

  fix for HP compiler


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

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 */