Re: How to temporarily disable an event handler

Simon Richter <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
Hi,

On 8/30/23 04:52, Andreas Falkenhahn wrote:

> I'm listening to wxEVT_LIST_ITEM_SELECTED for my wxListCtrl. That event also triggers when my app calls the Select() method to select an item. What is the typical way to prevent Select() from firing the event?

That is a fairly uncommon requirement, so I'm suspecting a bit of an X-Y 
problem here. What is the actual use case?

    Simon

-- 
Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
--- 
You received this message because you are subscribed to the Google Groups "wx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wx-users/7d7d2ded-255c-d36b-d068-adf4d6251c0d%40hogyros.de.
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.