X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/db16e5c3aae30ee4502d3e0d41eed500af365fe9..578dc95029e761a59911b7c1bc09f59384d64ddf:/src/os2/utils.cpp diff --git a/src/os2/utils.cpp b/src/os2/utils.cpp index 4ff213b9de..9db762aa23 100644 --- a/src/os2/utils.cpp +++ b/src/os2/utils.cpp @@ -710,7 +710,7 @@ wxChar* wxGetUserHome ( if ((zHome = wxGetenv(_T("HOME"))) != NULL) { wxStrcpy(wxBuffer, zHome); - Unix2DosFilename(wxBuffer); + wxUnix2DosFilename(wxBuffer); wxStrcpy(zHome, wxBuffer); delete[] wxBuffer; return zHome; @@ -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