can you try the following patch? (The second change is not related to this issue but seems obvious...)
Cheers, Christoph
--- C:\Dokumente und Einstellungen\chris\Desktop\devel\ngre\Tk\JComboB +ox-old.pm Mo Okt 30 05:29:15 2006 +++ C:\Dokumente und Einstellungen\chris\Desktop\devel\ngre\Tk\JComboB +ox.pm So Okt 4 14:05:48 2009 @@ -1030,7 +1030,7 @@ $entry->configure(-background => $bg); } } - if ($fg ne $button->cget('-foreground')) { + if ($fg ne $entry->cget('-foreground')) { $entry->{$SWAP_FG} = $entry->cget('-foreground'); $entry->configure(-foreground => $fg); } @@ -1052,7 +1052,7 @@ $entry->configure(-state => 'normal'); return if $Tk::VERSION >= 804; - my $bg = $entry->{SWAP_BG}; + my $bg = $entry->{$SWAP_BG}; $entry->{$SWAP_BG} = $entry->cget('-background'); $entry->configure(-background => $bg); }
In reply to Re: Tk::JComboBox error: Can't set -state to `normal'
by lamprecht
in thread Tk::JComboBox error: Can't set -state to `normal'
by stefbv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |