From: Václav Slavík Date: Thu, 10 Apr 2008 17:58:15 +0000 (+0000) Subject: compilation fix for newest DirectFB versions (patch #1939443 by Anders Larsen) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/446779ee32cf06a775f80a786531fcf92eeba64e?ds=inline compilation fix for newest DirectFB versions (patch #1939443 by Anders Larsen) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/dfb/wrapdfb.h b/include/wx/dfb/wrapdfb.h index 6b9d4ba17f..292b83d39e 100644 --- a/include/wx/dfb/wrapdfb.h +++ b/include/wx/dfb/wrapdfb.h @@ -213,10 +213,10 @@ struct wxIDirectFBSurface : public wxDfbWrapper bool SetClip(const DFBRegion *clip) { return Check(m_ptr->SetClip(m_ptr, clip)); } - bool SetColor(__u8 r, __u8 g, __u8 b, __u8 a) + bool SetColor(u8 r, u8 g, u8 b, u8 a) { return Check(m_ptr->SetColor(m_ptr, r, g, b, a)); } - bool Clear(__u8 r, __u8 g, __u8 b, __u8 a) + bool Clear(u8 r, u8 g, u8 b, u8 a) { return Check(m_ptr->Clear(m_ptr, r, g, b, a)); } bool DrawLine(int x1, int y1, int x2, int y2) @@ -421,7 +421,7 @@ struct wxIDirectFBWindow : public wxDfbWrapper bool Resize(int w, int h) { return Check(m_ptr->Resize(m_ptr, w, h)); } - bool SetOpacity(__u8 opacity) + bool SetOpacity(u8 opacity) { return Check(m_ptr->SetOpacity(m_ptr, opacity)); } bool SetStackingClass(DFBWindowStackingClass klass)