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:
@@ -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;
|
||||||
|
@@ -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 );
|
||||||
|
Reference in New Issue
Block a user