[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] popup menus
From: |
Horst Herb |
Subject: |
Re: [Gnumed-devel] popup menus |
Date: |
Wed, 7 Aug 2002 08:27:03 +1000 |
On Tuesday 06 August 2002 10:58 am, you wrote:
> Horst, Ian,
>
> can you have a quick look at the popup menu in
> gmPrescriptions.py ? Problem is it invokes the method bound to
> the menu item immediately upon popping up the menu and not
> after picking a menu entry.
>
> I seem to be blind as to why. It is probably rather trivial.
You should not use self defined constants for your menu IDs, use wxNewId()
instead and it works as expected.
I checked my own CryptoText widget (blush, shame), committed same error. Does
not cause any trouble there as no other conflicting IDs in use, but I changed
it now anyway.
Horst