fix a few hundreds of harmless unused parameters warnings and a couple of real bugs discovered thanks to them

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-11-05 22:29:16 +00:00
parent 3eeefdf9bd
commit 899544330f
67 changed files with 344 additions and 514 deletions

View File

@@ -1416,7 +1416,10 @@ WXWindow wxWindowX11::GetClientAreaWindow() const
// TranslateXXXEvent() functions
// ----------------------------------------------------------------------------
bool wxTranslateMouseEvent(wxMouseEvent& wxevent, wxWindow *win, Window window, XEvent *xevent)
bool wxTranslateMouseEvent(wxMouseEvent& wxevent,
wxWindow *win,
Window WXUNUSED(window),
XEvent *xevent)
{
switch (XEventGetType(xevent))
{
@@ -1648,7 +1651,8 @@ wxWindow *wxWindowBase::GetCapture()
// position.
wxWindow* wxFindWindowAtPointer(wxPoint& pt)
{
return wxFindWindowAtPoint(wxGetMousePosition());
pt = wxGetMousePosition();
return wxFindWindowAtPoint(pt);
}
void wxGetMouseState(int& rootX, int& rootY, unsigned& maskReturn)