Mac Column sorting

Page 1 of 1
5 posts
Mac Column sorting

elliswr
MMEX Developer

Posts: 151
Joined: Tue May 05, 2009 2:21 am
Location: Granbury, TX
So after much searching, I think I have found the reason for the inability of wxMac to sort the checkingpanel columns. This one has been giving me as much trouble as the hotkeys.

At any rate, Vadim, is this you? http://groups.google.com/group/wx-users/browse_thread/thread/d1d52c1d5e32464c

From all that I can tell, there is a confirmed bug in wxMac 2.8.10, or perhaps just incomplete functionality regarding wxlistctrl.

So I need to set mac.listctrl.always_use_generic true, but I am not sure how to do it.
Re: Mac Column sorting

elliswr
MMEX Developer

Posts: 151
Joined: Tue May 05, 2009 2:21 am
Location: Granbury, TX
Got it, so now column sorting works on mac.
Code: Select all
#include wx/sysopt.h

...

#if defined (__WXMAC__) || defined (__WXOSX__)
   wxApp::s_macAboutMenuItemId = MENU_ABOUT;
   wxApp::s_macPreferencesMenuItemId = MENU_OPTIONS;
   wxApp::s_macHelpMenuTitleName = "&Help";
   wxSystemOptions::SetOption(wxMAC_ALWAYS_USE_GENERIC_LISTCTRL, 1);
#endif
Re: Mac Column sorting

omalleypat
MMEX Developer

Posts: 175
Joined: Tue Jul 28, 2009 4:34 pm
Location: Atchison, KS
Nikolay,

Here is a diff for this one (made from r566), can you add to trunk and 0.9.5?

Pat
Attachments
mmex_566.zip
(488 Bytes) Downloaded 250 times
Re: Mac Column sorting

Nikolay
MMEX Developer

Posts: 2284
Joined: Sat Dec 06, 2008 8:27 am
Location: Sankt-Petersburg, Russia
Done svn 573
Re: Mac Column sorting

Vadim
MMEX Developer

Posts: 159
Joined: Mon Aug 03, 2009 1:35 am
Page 1 of 1
Who is online

Users browsing this forum: No registered users and 14 guests