On Saturday, April 09, 2011 05:46:51 am Robin Cragg wrote:
> i have a follow up thought on Bruce's question. The API docs say that
> wxStaticText inherits from wxEvtHandler. From what I understand of the C
> API, that means it should be able to handle events. That makes me think
> that the Linux version is working correctly and that the Windows
> implementation is not trapping the event properly?
> 
> I did a quick test on Windows XP and I can get a StaticText to accept a
> right click event normally with the code below. 

I concur.  I use right click events on StaticText extensively in my work and 
it is fine on Windows.  That is why I was surprised by the behavior of 
StaticBox.  Note that the docs also say that StaticBox inherits from 
wxEvtHandler.

B

-- 

 Bruce Ravel  ------------------------------------ bra...@bnl.gov

 National Institute of Standards and Technology
 Synchrotron Methods Group at NSLS --- Beamlines U7A, X24A, X23A2
 Building 535A
 Upton NY, 11973

 My homepage:    http://xafs.org/BruceRavel
 EXAFS software: http://cars9.uchicago.edu/~ravel/software/exafs/

Reply via email to