[wxMac CVS HEAD] wxAccelerator Control vs Command?

Robin Dunn robin at alldunn.com
Mon Aug 28 08:06:26 PDT 2006


Stefan Csomor wrote:
> IMHO the cleanest solutions would
> be to offer a wxACCEL_CMD which would be META on mac and CTRL on other
> platforms ?

+1

It makes sense to me, and would match what we do elsewhere with 
event.CmdDown().  Or perhaps it would make sense to have a wxACCEL_CMD 
that has a unique value (instead of being equivallent to either META or 
CTRL) and just have it check event.CmdDown() and let the mapping happen 
there.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wx-users mailing list