EVT_XXXX macros again

[email protected] (Robert Roebling)
Newsgroups gmane.comp.lib.wxwindows.wxnet
Message-ID <[email protected]>
  Hi,

I just notices that there are already EVT_XXX macros 
in EventHandler.cs. The current syntax is like this,
unless I am mistaken
  EVT_MENU( ID_QUIT, new EventListener(OnQuit) );
which is already quite nice. I tried to reduce the
syntax further to just
  EVT_MENU( ID_QUIT, OnQuit );
but had no luck, since I couldn't find the parameter
type of a method/function which I would pass as the
second parameter. Is that possible at all?

  Robert

-- 
Robert Roebling, MD <[email protected]>


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.