]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/utils.cpp
Now scaling doesn't scale GetTextExtent() anymore. This
[wxWidgets.git] / src / os2 / utils.cpp
index c60c92419b3ac863df5395c47e245b64ca04bc2b..9db762aa23bf721cca81f5630ca3a2e29238d98a 100644 (file)
@@ -1520,4 +1520,9 @@ wxBitmap wxDisableBitmap(
     return(wxNullBitmap);
 } // end of wxDisableBitmap
 
-
+COLORREF wxColourToRGB(
+  const wxColour&                   rColor
+)
+{
+    return(OS2RGB(rColor.Red(), rColor.Green(), rColor.Blue()));
+} // end of wxColourToRGB