X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/32b8ec418aee4e38877d4cb79e2984c766dcc358..b6e2eddeaf7e559589ce41ac41e88f9bd71c5a08:/include/wx/mgl/colour.h diff --git a/include/wx/mgl/colour.h b/include/wx/mgl/colour.h index 74810827b9..eb75ad93ba 100644 --- a/include/wx/mgl/colour.h +++ b/include/wx/mgl/colour.h @@ -12,7 +12,7 @@ #ifndef _WX_COLOUR_H_ #define _WX_COLOUR_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "colour.h" #endif #include "wx/object.h" @@ -54,11 +54,6 @@ public: // accessors bool Ok() const { return m_isInit; } - // Let's remove this inelegant function -#if WXWIN_COMPATIBILITY - void Get(unsigned char *r, unsigned char *g, unsigned char *b) const; -#endif - unsigned char Red() const { return m_red; } unsigned char Green() const { return m_green; } unsigned char Blue() const { return m_blue; }