X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a06066343d670807825adcafebfa4fb8cfff5521..7d0180d415f3cce126abebed2ef1d0fde00bcc61:/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 //