Page 1 of 1

Mac Column sorting

Posted: Fri Sep 11, 2009 1:50 am
by elliswr
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 ... 1d5e32464c

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

Posted: Sat Sep 12, 2009 10:48 pm
by elliswr
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

Posted: Tue Oct 06, 2009 8:35 pm
by omalleypat
Nikolay,

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

Pat

Re: Mac Column sorting

Posted: Wed Oct 07, 2009 6:39 am
by Nikolay
Done svn 573

Re: Mac Column sorting

Posted: Wed Oct 07, 2009 6:43 am
by Vadim
No, it's not me :-)