X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a06066343d670807825adcafebfa4fb8cfff5521..622be94c78deeae8490d9783c11a24c599ae1464:/src/os2/colour.cpp diff --git a/src/os2/colour.cpp b/src/os2/colour.cpp index a5e9556dac..90469cec72 100644 --- a/src/os2/colour.cpp +++ b/src/os2/colour.cpp @@ -38,7 +38,7 @@ wxColour::wxColour ( m_cGreen = cGreen; m_cBlue = cBlue; m_bIsInit = TRUE; - m_vPixel = PALETTERGB (m_cRed, m_cGreen, m_cBlue); + m_vPixel = OS2RGB (m_cRed, m_cGreen, m_cBlue); } // end of wxColour::wxColour wxColour::wxColour ( @@ -84,7 +84,7 @@ void wxColour::InitFromName( m_cBlue = 0; m_bIsInit = FALSE; } - m_vPixel = PALETTERGB (m_cRed, m_cGreen, m_cBlue); + m_vPixel = OS2RGB (m_cRed, m_cGreen, m_cBlue); } // end of wxColour::InitFromName wxColour::~wxColour () @@ -101,7 +101,7 @@ void wxColour::Set ( m_cGreen = cGreen; m_cBlue = cBlue; m_bIsInit = TRUE; - m_vPixel = PALETTERGB (m_cRed, m_cGreen, m_cBlue); + m_vPixel = OS2RGB (m_cRed, m_cGreen, m_cBlue); } // end of wxColour::Set //