]> git.saurik.com Git - wxWidgets.git/commitdiff
Tinderbox build fix.
authorWłodzimierz Skiba <abx@abx.art.pl>
Mon, 2 Oct 2006 07:19:17 +0000 (07:19 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Mon, 2 Oct 2006 07:19:17 +0000 (07:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/univ/theme.h
src/mgl/bitmap.cpp

index a5712c0c85786f00cb09c794d2f5ded2be94cf45..abc19d6631653799d481dff6bc730a6f3c9373dc 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef _WX_UNIV_THEME_H_
 #define _WX_UNIV_THEME_H_
 
 #ifndef _WX_UNIV_THEME_H_
 #define _WX_UNIV_THEME_H_
 
+#include "wx/string.h"
+
 // ----------------------------------------------------------------------------
 // wxTheme
 // ----------------------------------------------------------------------------
 // ----------------------------------------------------------------------------
 // wxTheme
 // ----------------------------------------------------------------------------
index 2d7e61108ff720e0202327e40de3582dad758821..a2f6ac217a04d826ba4bba3a4352c2426e7cc0ba 100644 (file)
@@ -535,7 +535,7 @@ bitmap_t *wxBitmap::GetMGLbitmap_t() const
 
 // Convert wxColour into it's quantized value in lower-precision
 // pixel format (needed for masking by colour).
 
 // Convert wxColour into it's quantized value in lower-precision
 // pixel format (needed for masking by colour).
-wxColour wxBitmap::QuantizeColour(const wxColour& clr)
+wxColour wxBitmap::QuantizeColour(const wxColour& clr) const
 {
     pixel_format_t *pf = GetMGLbitmap_t()->pf;
 
 {
     pixel_format_t *pf = GetMGLbitmap_t()->pf;