|
From: John L. <jla...@gm...> - 2007-07-28 23:57:12
|
Thank you very much! Committed to CVS.
I wrote the bit in bindings.wx.lua to find overridden C++ functions to
get rid of unnecessary duplicates, but I forgot to check to make sure
that the functions were virtual. I don't remember there being too many
of them, so hopefully there won't be more problems.
Thanks,
John Labenski
On 7/28/07, FC <frc...@ho...> wrote:
> Hi,
>
> I recently updated to the latest version 2.8.4.1 and the
> wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED event seems to be broken.
>
> Before the update to 2.8.4.1, when I received a wxNotebookEvent object from a
> wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED event, a call to event:GetSelection()
> returned the correct value for the newly selected page, but in 2.8.4.1 it
> returns an out-of-range value that seems to always be in the range of 150-300
> (I have under 10 pages in my notebook).
>
> I suspect it's because the GetSelection() called on the wxNotebookEvent object
> is inherited from wxCommandEvent and the wxCommandEvent's GetSelection has
> another meaning than the wxNotebookEvent's GetSelection(), because I
> uncommented the wxBookCtrlBaseEvent's GetSelection() (which wxNotebookEvent
> inherits of) and it fixed the problem (I uncommented line 441 in
> windows.i, "int GetSelection() const" in the declaration of %class
> wxBookCtrlBaseEvent).
>
> Now I fixed it in my own build but it would be nice to fix it in the main
> distrib.
>
> My build:
> wxMSW-2.8.4 + wxLua-2.8.4.1 static, no debug, no unicode
> all compiled using mingw on windows xp sp2 (anyway I doubt it's system-
> specific, but i'll let someone who knows better judge of that)
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> wxlua-users mailing list
> wxl...@li...
> https://lists.sourceforge.net/lists/listinfo/wxlua-users
>
|