On Fri, 16 Nov 2001, Marco Trudel wrote:
>>> i was unable to use
>> > EVT_LIST_COL_BEGIN_DRAG, EVT_LIST_COL_DRAGGING
>>> or EVT_LIST_COL_END_DRAG
>> Well, since you don't tell us wich wxWindows version, wxPerl version,
>> platform, OS version, and the way you're unable to use these events
>> there is not much I can do...
>> FWIW it works here ( wxWindows 2.3.2, wxPerl 0.08 to be, Win2k )
>sorry, thought the description lags after i sent the mail, but it was too
>ok, here's what i use:
>- win2000 / win98 / linux 2.4 and 2.2
>- wxPerl 0.07 (i don't find 0.08 on sourceforge)
yep, 0.08 is yet to be released
>- wxWindows: ??? i installed wxPerl, that's it (well on linux i had to
>install some gtk stuff, but no wxWindows... isn't this includet in wxPerl
The 0.07 binaries include wxWindows 2.2.7, but the linux distributions
don't; it probably is 2.2.7 too
>and here's how i use it:
>use Wx::Event qw(EVT_LIST_DELETE_ALL_ITEMS EVT_LIST_COL_BEGIN_DRAG);
>this tells me:
>"EVT_LIST_COL_BEGIN_DRAG" is not exported by the Wx::Event module...
OK, the problem is:
1) EVT_COL_* events are only available in wxWindows 2.3.2 ( yet to be
2) they are wrapped only in wxPerl 0.08 ;
>-> think you don't need more code...
>by the way "EVT_LIST_DELETE_ALL_ITEMS" works
Now I just realized that I can't wait forever the 2.2.8 wxWindows
release, so I'll be releasing 0.08 soon ( less than a week );
I'll probably release a version compiled against the 2.3 developement
branch of wxWindows too.
The only solution with the current code is to memorize column widths
and set up an OnIdle handler to check if they hvae changed
( remember to call $event->Skip in the handler )
Get latest updates about Open Source Projects, Conferences and News.