title: wxPython change mouse cursor to notify a long running operation
body: <p>I am building a Python program that searches things on a remote website.
  Sometimes the operation takes many seconds and I believe that the user will not notice the  status bar message "Search Operation in progress".
  Therefore, I would like to change the mouse cursor to highlight that the program is still waiting for a result.</p>
  
  <p>This is the method I am using:</p>
  
  <pre><code>def OnButtonSearchClick( self, event ):
          """
          If there is text in the search text, launch a SearchOperation.
          """
          searched_value = self.m_search_text.GetValue()
  
          if not searched_value:
              return
  
          # clean eventual previous results
          self.EnableButtons(False)
          self.CleanSearchResults()
  
          operations.SearchOperation(self.m_frame, searched_value)
  </code></pre>
  
  <p>I tried two different approaches, both before the last line:</p>
  
  <ul>
  <li>wx.BeginBusyCursor()</li>
  <li>self.m_frame.SetCursor(wx.StockCursor(wx.CURSOR_WAIT))</li>
  </ul>
  
  <p>None of them are working.</p>
  
  <p>I am using KDE under GNU/Linux. This does not work under Gnome, too</p>
  
  <p>Any hints? Thank you</p>