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