X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8f884a0dccd6b642f35c441ac9bfc87a6d5b4d35..b35549525f2a8dd584fdda158829e8406da0541e:/src/x11/colour.cpp?ds=sidebyside diff --git a/src/x11/colour.cpp b/src/x11/colour.cpp index df120d904b..53ceebfce9 100644 --- a/src/x11/colour.cpp +++ b/src/x11/colour.cpp @@ -34,7 +34,7 @@ public: m_color.green = 0; m_color.blue = 0; m_color.pixel = 0; - m_colormap = (WXColormap *) NULL; + m_colormap = NULL; m_hasPixel = false; } @@ -240,7 +240,7 @@ unsigned long wxColour::GetPixel() const WXColor *wxColour::GetColor() const { - wxCHECK_MSG( Ok(), (WXColor *) NULL, wxT("invalid colour") ); + wxCHECK_MSG( Ok(), NULL, wxT("invalid colour") ); return (WXColor*) &M_COLDATA->m_color; }