X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/26ac77dbe2e99a137619ce316dd5fbaa5bb81093..a85585d595c8409fa5e51a28e60fa49428440d5e:/src/os2/colour.cpp diff --git a/src/os2/colour.cpp b/src/os2/colour.cpp index 90469cec72..b9bd2f6bc3 100644 --- a/src/os2/colour.cpp +++ b/src/os2/colour.cpp @@ -12,6 +12,10 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" +#ifndef WX_PRECOMP + #include "wx/colour.h" +#endif + #include "wx/gdicmn.h" #define INCL_GPI #define INCL_PM @@ -103,20 +107,3 @@ void wxColour::Set ( m_bIsInit = TRUE; 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 -