X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a06066343d670807825adcafebfa4fb8cfff5521..6433f6d3165a3f8633f42c59694a9104a7b37a93:/src/os2/colour.cpp?ds=sidebyside 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 //