use -Wunused-parameter with gcc for consistency with MSVC and other compilers which warn about this; fix the uncovered warnings in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -378,21 +378,17 @@ wxRendererGTK::DrawSplitterSash(wxWindow *win,
|
||||
|
||||
if ( isVert )
|
||||
{
|
||||
int h = win->GetClientSize().GetHeight();
|
||||
|
||||
rect.x = position;
|
||||
rect.y = 0;
|
||||
rect.width = full_size;
|
||||
rect.height = h;
|
||||
rect.height = size.y;
|
||||
}
|
||||
else // horz
|
||||
{
|
||||
int w = win->GetClientSize().GetWidth();
|
||||
|
||||
rect.x = 0;
|
||||
rect.y = position;
|
||||
rect.height = full_size;
|
||||
rect.width = w;
|
||||
rect.width = size.x;
|
||||
}
|
||||
|
||||
int x_diff = 0;
|
||||
|
||||
Reference in New Issue
Block a user