By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,673 Members | 1,221 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,673 IT Pros & Developers. It's quick & easy.

A question about wxButton Event handler

P: n/a
I Create A Button Named ABtn and Blind OnABtnClick() with it .
How can i Call the ABtn Click Event just like use Abtn.click in
Delphi?
Jun 27 '08 #1
Share this Question
Share on Google+
1 Reply

P: n/a
On 6月25日, 下午6时30分, grays <grays...@gmail.com>wrote:
I Create A Button Named ABtn and Blind OnABtnClick() with it .
How can i Call the ABtn Click Event just like use Abtn.click in
Delphi?

I get it .

event = wx.CommandEvent(wx.wxEVT_COMMAND_BUTTON_CLICKED, ABtn.GetId())

ABtn.GetEventHandler().ProcessEvent(event)

thks all!
Jun 27 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.