[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] Re: MenuItem.setText() -> "disables" MenuItem

Yes it is. Thanks a lot!

On Mon, 19 May 2003 19:34:04 -1000, George wrote:

> On Tue, 20 May 2003 14:47:41 -1000, Stefan Serafin wrote:
> 
>> Hi!
>> 
>> I had a problem when I tried to set a text into my menuItem. Well,
>> first my implementation seems to work. My develop environment is Linux
>> (GTK). A test under WinXP failed.
>> 
>> Here's the discription of the problem: I tested the code from
>> http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-swt-home/snippits/snippet29.html.
>> There I made a little change. I moved the setText methods of each
>> MenuItem between the addListener() and shell.setsize() method. The
>> result was, that the menus got disabled.
> 
> This may be the same as 37212