X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..46a5010a06b09318878c33a0a6a532f419ea063d:/src/os2/utils.cpp diff --git a/src/os2/utils.cpp b/src/os2/utils.cpp index c60c92419b..f6e2cde567 100644 --- a/src/os2/utils.cpp +++ b/src/os2/utils.cpp @@ -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