From: Edward H. <ed...@do...> - 2007-01-06 23:02:07
|
I've been looking at this further and wondering if the problem arises somehow from this: http://www.wxwidgets.org/manuals/2.8.0/wx_wxlistctrl.html *Mac Note:* Starting with 2.8, wxListCtrl uses a native implementation for report mode, and uses a generic implementation for other modes. You can use the generic implementation for report mode as well by setting the mac.listctrl.always_use_generic wxSystemOption <http://www.wxwidgets.org/manuals/2.8.0/wx_wxsystemoptions.html#wxsystemoptions> to 1. Sounds likely since this weirdness is seen only in report mode, only on the mac. Also sounds likely that we'll want to set that option in any case because we want consistent behavior across platforms as much as possible. If wxSystemOptions are available in wxPerl, though, it's not clear to me how to get or set them. Can you get or set wxSystemOptions in wxPerl? Mike Schroeder wrote: > Something strange going on with wxMac 2.8.0 ListCtrls. I have verified > that the listctrl c++ sample app that comes with the wxMac source works > correctly, so I am assuming there is something wrong with the wxPerl > bindings. > > In Wx::Demo 0.05, looking at the DemoModules::wxListCtrl example > (report style), the sample frame comes up, but the first ListCtrl column > is *very* wide -- (ie no other columns are visible). If you try to use > the horizontal scroll bar to try and see the other columns, the app > crashes with a "Bus Error". The apple crash reporter gives this: > |