From: Vadim Zeitlin Date: Thu, 1 May 2003 20:03:32 +0000 (+0000) Subject: compilation fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d694de12e7cbb45531c4f67fc4c29af0e45c6238 compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/bitmap.cpp b/src/gtk/bitmap.cpp index 29738710f4..a7e059c40c 100644 --- a/src/gtk/bitmap.cpp +++ b/src/gtk/bitmap.cpp @@ -682,10 +682,10 @@ wxImage wxBitmap::ConvertToImage() const { // the colour used as transparent one in wxImage and the one it is replaced // with when it really occurs in the bitmap - static const MASK_RED = 1; - static const MASK_GREEN = 2; - static const MASK_BLUE = 3; - static const MASK_BLUE_REPLACEMENT = 2; + static const int MASK_RED = 1; + static const int MASK_GREEN = 2; + static const int MASK_BLUE = 3; + static const int MASK_BLUE_REPLACEMENT = 2; wxImage image; diff --git a/src/gtk1/bitmap.cpp b/src/gtk1/bitmap.cpp index 29738710f4..a7e059c40c 100644 --- a/src/gtk1/bitmap.cpp +++ b/src/gtk1/bitmap.cpp @@ -682,10 +682,10 @@ wxImage wxBitmap::ConvertToImage() const { // the colour used as transparent one in wxImage and the one it is replaced // with when it really occurs in the bitmap - static const MASK_RED = 1; - static const MASK_GREEN = 2; - static const MASK_BLUE = 3; - static const MASK_BLUE_REPLACEMENT = 2; + static const int MASK_RED = 1; + static const int MASK_GREEN = 2; + static const int MASK_BLUE = 3; + static const int MASK_BLUE_REPLACEMENT = 2; wxImage image;