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:
parent
f20180e743
commit
5bb683bcfe
@ -60,7 +60,7 @@ bool wxNonOwnedWindow::DoSetRegionShape(const wxRegion& region)
|
||||
}
|
||||
|
||||
#if wxUSE_GRAPHICS_CONTEXT
|
||||
bool wxNonOwnedWindow::DoSetPathShape(const wxGraphicsPath& path)
|
||||
bool wxNonOwnedWindow::DoSetPathShape(const wxGraphicsPath& WXUNUSED(path))
|
||||
{
|
||||
wxMISSING_IMPLEMENTATION( __FUNCTION__ );
|
||||
return true;
|
||||
|
@ -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
|
||||
QScrollBar *scrollBar = QtGetScrollBar( orientation );
|
||||
|
Loading…
Reference in New Issue
Block a user