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:
parent
d55906de77
commit
84e0e5265d
@ -894,7 +894,7 @@ void MyCanvas::DrawWithLogicalOps(wxDC& dc)
|
||||
|
||||
#if wxUSE_GRAPHICS_CONTEXT
|
||||
#ifdef __WXGTK20__
|
||||
void MyCanvas::DrawAlpha(wxDC& no_dc)
|
||||
void MyCanvas::DrawAlpha(wxDC& WXUNUSED(dummyDC))
|
||||
#else
|
||||
void MyCanvas::DrawAlpha(wxDC& dc)
|
||||
#endif
|
||||
|
@ -1018,7 +1018,6 @@ wxCairoBitmapData::wxCairoBitmapData( wxGraphicsRenderer* renderer, const wxBitm
|
||||
{
|
||||
wxCHECK_RET( bmp.IsOk(), wxT("Invalid bitmap in wxCairoContext::DrawBitmap"));
|
||||
|
||||
cairo_surface_t* surface;
|
||||
int bw = bmp.GetWidth();
|
||||
int bh = bmp.GetHeight();
|
||||
wxBitmap bmpSource = bmp; // we need a non-const instance
|
||||
@ -1875,7 +1874,12 @@ wxGraphicsBitmap wxCairoRenderer::CreateBitmap( const wxBitmap& bmp )
|
||||
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.");
|
||||
return wxNullGraphicsBitmap;
|
||||
|
Loading…
Reference in New Issue
Block a user