]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/utils.cpp
Removed a deprecated wxBitmap constructor, and some
[wxWidgets.git] / src / os2 / utils.cpp
index c60c92419b3ac863df5395c47e245b64ca04bc2b..f6e2cde567b9f263a654be6078c5e3d3635ccb09 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     09/17/99
 // RCS-ID:      $Id$
 // Copyright:   (c) David Webster
-// Licence:     wxWindows license
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 // For compilers that support precompilation, includes "wx.h".
@@ -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