From: James L. <jl...@bi...> - 2002-06-07 06:04:58
|
Hi Mattia, I'm using Wx::Grid in my application, but am having problems accessing its methods. When I try calling $grid->SetEditable(0), for instance, I'm getting the error: Can't locate object method "SetEditable" via package "Wx::Grid"... I've got a 'use Wx::Grid' at the top of my source. $grid->DeleteCols(0,10,1) works fine. I'm using wxPerl 0.10 and wxWindows 2.2.9 (on Windows 98), and wxDesigner to generate my dialog. I note in the wxWindows documentation that there's a new wxGrid implementation (from wxWindows 2.1.14) with a new (supposedly backward compatible) API, and the API documentation in 2.2.9 is not for the new version - is this my problem? Thanks, James |