No changes, just fix unused variables and parameters warnings.
Fix warnings in wxGTK wxUSE_GRAPHICS_CONTEXT==1 build. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -894,7 +894,7 @@ void MyCanvas::DrawWithLogicalOps(wxDC& dc)
|
|||||||
|
|
||||||
#if wxUSE_GRAPHICS_CONTEXT
|
#if wxUSE_GRAPHICS_CONTEXT
|
||||||
#ifdef __WXGTK20__
|
#ifdef __WXGTK20__
|
||||||
void MyCanvas::DrawAlpha(wxDC& no_dc)
|
void MyCanvas::DrawAlpha(wxDC& WXUNUSED(dummyDC))
|
||||||
#else
|
#else
|
||||||
void MyCanvas::DrawAlpha(wxDC& dc)
|
void MyCanvas::DrawAlpha(wxDC& dc)
|
||||||
#endif
|
#endif
|
||||||
|
@@ -1018,7 +1018,6 @@ wxCairoBitmapData::wxCairoBitmapData( wxGraphicsRenderer* renderer, const wxBitm
|
|||||||
{
|
{
|
||||||
wxCHECK_RET( bmp.IsOk(), wxT("Invalid bitmap in wxCairoContext::DrawBitmap"));
|
wxCHECK_RET( bmp.IsOk(), wxT("Invalid bitmap in wxCairoContext::DrawBitmap"));
|
||||||
|
|
||||||
cairo_surface_t* surface;
|
|
||||||
int bw = bmp.GetWidth();
|
int bw = bmp.GetWidth();
|
||||||
int bh = bmp.GetHeight();
|
int bh = bmp.GetHeight();
|
||||||
wxBitmap bmpSource = bmp; // we need a non-const instance
|
wxBitmap bmpSource = bmp; // we need a non-const instance
|
||||||
@@ -1875,7 +1874,12 @@ wxGraphicsBitmap wxCairoRenderer::CreateBitmap( const wxBitmap& bmp )
|
|||||||
return wxNullGraphicsBitmap;
|
return wxNullGraphicsBitmap;
|
||||||
}
|
}
|
||||||
|
|
||||||
wxGraphicsBitmap wxCairoRenderer::CreateSubBitmap( const wxGraphicsBitmap &bitmap, wxDouble x, wxDouble y, wxDouble w, wxDouble h )
|
wxGraphicsBitmap
|
||||||
|
wxCairoRenderer::CreateSubBitmap(const wxGraphicsBitmap& WXUNUSED(bitmap),
|
||||||
|
wxDouble WXUNUSED(x),
|
||||||
|
wxDouble WXUNUSED(y),
|
||||||
|
wxDouble WXUNUSED(w),
|
||||||
|
wxDouble WXUNUSED(h))
|
||||||
{
|
{
|
||||||
wxFAIL_MSG("wxCairoRenderer::CreateSubBitmap is not implemented.");
|
wxFAIL_MSG("wxCairoRenderer::CreateSubBitmap is not implemented.");
|
||||||
return wxNullGraphicsBitmap;
|
return wxNullGraphicsBitmap;
|
||||||
|
Reference in New Issue
Block a user