Hi Robin..
I removed the "event.Position())"... Still the same.. No popup on
windows NT only my "print", so the event is working ok.. It still works
ok for XP and Win2000...
Where to report an error like this?
(maybe wxWidgets not support windows NT anymore)
Anyone tested this with popup menus on windows NT?
We have an application using wx.TaskBarIcon with a popup menu, that work
ok on NT!!
/Holmis
"Robin Dunn" <robin@alldunn.com> wrote in message
news:<45D496C2.2040801@alldunn.com>...
Stefan Holmgren wrote:
> Hi
> I have problem to get "wx.Window.PopupMenu" to work under windows
NT.
> Is it a way to make it work?
>
> This little example script is working on XP and Win2000, but not on
Win NT..
···
> (The event is working for right click but no menu is visible..)
>
> Using: python25, wxPython2.8.1.1>
> def onRightClick(self, event):
> print 'right click on panel'
> self.panel.PopupMenu(self.popupMenu, event.GetPosition())I don't have a NT box to test with so I can't say for sure what the
problem is, but you might try not passing the position. There was a
change a while back that uses a default position if one is not
specified, perhaps that has some unexpected interaction on NT.--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!