X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..e4da1035e402e722f799d3ed498dfa789b74f02f:/src/os2/utils.cpp?ds=inline diff --git a/src/os2/utils.cpp b/src/os2/utils.cpp index c60c92419b..9db762aa23 100644 --- a/src/os2/utils.cpp +++ b/src/os2/utils.cpp @@ -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