about event table macros

Francesco Montorsi f18m_cpp217828 at yahoo.it
Wed Aug 1 03:15:08 PDT 2007


Vadim Zeitlin ha scritto:
> FM> I'd rather still propose to use "wx" prefix (and thus use the 
> FM> wxEVT_PAINT macro name) and then replace the wxEVT_PAINT event type name 
> FM> with wxEVT_TYPE_PAINT.
> 
>  Unfortunately this is not a solution as it would break all the code using
> Connect() (and hence wxEVT_PAINT-like constants).
IMHO most of the users (the big big part) do use event macros instead of 
Connect() function. Thus the amount of "broken" code should be 
minimal... I'd say it's worth it...

Just my 2 cents,
Francesco





More information about the wx-dev mailing list