Avoid an unused variable warning in wxUIActionSimulatorX11

This happens in wxMotif build, where this class probably doesn't work
anyhow, so just suppress it.
This commit is contained in:
Vadim Zeitlin 2020-07-06 13:03:09 +02:00
parent 698c356050
commit 7c268092bd

View File

@ -172,7 +172,11 @@ protected:
return;
focus = (Window)(win->GetHandle());
#endif // __WXGTK__
#else
// We probably need to do something similar here for the other ports,
// but for now just avoid the warning about an unused variable.
wxUnusedVar(win);
#endif // platform
wxLogTrace("focus", "SetInputFocusToXWindow on Window 0x%ul.", focus);