2 wxGrid in a NoteBookPage : event problem

Vadim Zeitlin vadim at wxwindows.org
Fri May 18 09:29:32 PDT 2007


On Fri, 18 May 2007 18:28:03 +0200 "sylvain\\[78\\]" <NsOsSePcAhMerre at free.fr> wrote:

s> 
s> >  You need to pass the id to the CMD version.
s> 
s> So :
s>  > s> EVT_GRID_LABEL_LEFT_DCLICK(fct)
s>  > s> --->
s>  > s> EVT_GRID_LABEL_LEFT_DCLICK_008(fct)
s> 
s> That's right ?

 No (as the compiler should have had told you). You must pass id to the
macro as parameter, just as you do with e.g. EVT_BUTTON.

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/





More information about the wx-users mailing list