title: Sending keyboard events to other windows from wxwidget app in linux
body: <p>I'm writing a linux application using C++ and wxWidgets.<br>
  From my application, I need to send keyboard events to the window that currently has the focus (not belonging to my application!).</p>
  
  <p>My questions are:</p>
  
  <ol>
  <li>How can I find out what window has the focus?</li>
  <li>How can I send a keyboard event to a window not belonging to my application?</li>
  </ol>
  
  <p>Thanks<br>
  Daniele</p>