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:
parent
698c356050
commit
7c268092bd
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user