Hello,
I am running wx 2.8.8.1 and Python 2.5.2. When I upgraded, I noticed
that the EVT_MENU_OPEN and EVT_MENU_CLOSE events are not firing in
windows. I currently am binding them in with the following code:
uiApp = wx.GetApp()
uiApp.Bind(wx.EVT_MENU_OPEN, self.__onWxMenuOpen)
uiApp.Bind(wx.EVT_MENU_CLOSE, self.__onWxMenuClose)
(note self is the menu object)
This approach works for me on Windows pre-2.8.8.1 and works on Mac and
Linux. The events are never being fired in 2.8.8.1 on Windows. Any
help or insight would be appreciated.
Nate Lowrie
Nevermind, found the issue.
Nate Lowrie
ยทยทยท
On Wed, Aug 27, 2008 at 1:15 PM, Nate Lowrie <solodex2151@gmail.com> wrote:
Hello,
I am running wx 2.8.8.1 and Python 2.5.2. When I upgraded, I noticed
that the EVT_MENU_OPEN and EVT_MENU_CLOSE events are not firing in
windows. I currently am binding them in with the following code:
uiApp = wx.GetApp()
uiApp.Bind(wx.EVT_MENU_OPEN, self.__onWxMenuOpen)
uiApp.Bind(wx.EVT_MENU_CLOSE, self.__onWxMenuClose)
(note self is the menu object)
This approach works for me on Windows pre-2.8.8.1 and works on Mac and
Linux. The events are never being fired in 2.8.8.1 on Windows. Any
help or insight would be appreciated.
Nate Lowrie