From: Mark D. <mar...@zn...> - 2007-01-07 01:32:58
|
Hi, SystemOptions isn't currently wrapped (probably because it hasn't been particularly useful until now) The attached diff wraps Wx::SystemOptions. On Win32 the methods 'work' in that I can set an option then retrieve it's value / check if it exists etc. On Win32 though, there's nothing obvious to test to see if settings are having any effect. Would you like to test it on the Mac ? Wx::SystemOptions::SetOptionInt('mac.listctrl.always_use_generic',1); would seem to be the required call once the functions are available. Regards Mark Edward Heil wrote: > 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: >> > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users |