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 (
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 ()
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
-
-//
-// Obsolete
-//
-#if WXWIN_COMPATIBILITY
-void wxColour::Get (
- unsigned char* pRed
-, unsigned char* pGreen
-, unsigned char* pBlue
-) const
-{
- *Red = m_cRed;
- *Green = m_cGreen;
- *Blue = m_cBlue;
-} // end of wxColour::Get
-#endif
-