]> git.saurik.com Git - wxWidgets.git/blobdiff - src/aui/dockart.cpp
DoGetBestSize fix, the lbWidth was not getting updated because of a
[wxWidgets.git] / src / aui / dockart.cpp
index 116fb7980477320c3cb7a65d501f846cdce4632c..f2bfb08188d9835337b89255f6ca5f8171a8e3c4 100644 (file)
@@ -103,7 +103,7 @@ wxColor wxAuiStepColour(const wxColor& c, int ialpha)
     g = wxAuiBlendColour(g, bg, alpha);
     b = wxAuiBlendColour(b, bg, alpha);
     
-    return wxColour((int)r, (int)g, (int)b);
+    return wxColour((unsigned char)r, (unsigned char)g, (unsigned char)b);
 }