Fix harmless -Wunused-parameter warnings in wxQt code

Note that other such warnings remain where they indicate important
missing functionality (notably in wxCairoContext ctor from wxPrinterDC).
This commit is contained in:
Vadim Zeitlin
2019-01-20 02:59:46 +01:00
parent f20180e743
commit 5bb683bcfe
2 changed files with 2 additions and 2 deletions

View File

@@ -60,7 +60,7 @@ bool wxNonOwnedWindow::DoSetRegionShape(const wxRegion& region)
} }
#if wxUSE_GRAPHICS_CONTEXT #if wxUSE_GRAPHICS_CONTEXT
bool wxNonOwnedWindow::DoSetPathShape(const wxGraphicsPath& path) bool wxNonOwnedWindow::DoSetPathShape(const wxGraphicsPath& WXUNUSED(path))
{ {
wxMISSING_IMPLEMENTATION( __FUNCTION__ ); wxMISSING_IMPLEMENTATION( __FUNCTION__ );
return true; return true;

View File

@@ -610,7 +610,7 @@ QScrollBar *wxWindowQt::QtSetScrollBar( int orientation, QScrollBar *scrollBar )
} }
void wxWindowQt::SetScrollbar( int orientation, int pos, int thumbvisible, int range, bool refresh ) void wxWindowQt::SetScrollbar( int orientation, int pos, int thumbvisible, int range, bool WXUNUSED(refresh) )
{ {
//If not exist, create the scrollbar //If not exist, create the scrollbar
QScrollBar *scrollBar = QtGetScrollBar( orientation ); QScrollBar *scrollBar = QtGetScrollBar( orientation );