X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/32b8ec418aee4e38877d4cb79e2984c766dcc358..5bc97d1b81910a82e249f6227798b42089149f94:/src/mgl/colour.cpp diff --git a/src/mgl/colour.cpp b/src/mgl/colour.cpp index 54fee22346..9eaf41f563 100644 --- a/src/mgl/colour.cpp +++ b/src/mgl/colour.cpp @@ -5,11 +5,11 @@ // Modified by: // Created: 01/02/97 // RCS-ID: $Id$ -// Copyright: (c) Julian Smart and Markus Holzem +// Copyright: (c) Julian Smart // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "colour.h" #endif @@ -21,6 +21,7 @@ #endif #include "wx/gdicmn.h" +#include "wx/colour.h" IMPLEMENT_DYNAMIC_CLASS(wxColour, wxObject) @@ -87,14 +88,3 @@ void wxColour::Set(unsigned char r, unsigned char g, unsigned char b) m_blue = b; m_isInit = TRUE; } - -// Obsolete -#if WXWIN_COMPATIBILITY -void wxColour::Get(unsigned char *r, unsigned char *g, unsigned char *b) const -{ - *r = m_red; - *g = m_green; - *b = m_blue; -} -#endif -