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 wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users