Mac Column sorting

Money Manager Ex Development related posts for both Android and Desktop

Moderator: Renato

Post Reply
elliswr
Super MMEX User
Posts: 102
Joined: Tue May 05, 2009 8:21 am
Are you a spam bot?: No
Location: Granbury, TX

Mac Column sorting

Post 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.
elliswr
Super MMEX User
Posts: 102
Joined: Tue May 05, 2009 8:21 am
Are you a spam bot?: No
Location: Granbury, TX

Re: Mac Column sorting

Post 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
omalleypat
Super MMEX User
Posts: 112
Joined: Tue Jul 28, 2009 10:34 pm
Are you a spam bot?: No
Location: Atchison, KS

Re: Mac Column sorting

Post by omalleypat »

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 462 times
Nikolay
MMEX Developer
Posts: 1535
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: Mac Column sorting

Post by Nikolay »

Done svn 573
Vadim
Super MMEX User
Posts: 142
Joined: Mon Aug 03, 2009 7:35 am
Are you a spam bot?: No

Re: Mac Column sorting

Post by Vadim »

No, it's not me :-)
Post Reply