Closed GoogleCodeExporter closed 8 years ago
This is very specific to wxWidgets 3.0 and OSX. Added the following workaround
to all views that inherit from TemplateCanvas / TemplateFrame. Works well on
OSX, but more testing needed on other platforms.
Fixed in GeoDa 1.5.26, SVN commit 3019
void ExampleCanvas::DisplayRightClickMenu(const wxPoint& pos)
{
// Workaround for right-click not changing window focus in OSX / wxW 3.0
wxActivateEvent ae(wxEVT_NULL, true, 0, wxActivateEvent::Reason_Mouse);
((ExampleFrame*) template_frame)->OnActivate(ae);
// ...
}
Original comment by mmcc...@gmail.com
on 12 Feb 2014 at 11:44
Original issue reported on code.google.com by
mmcc...@gmail.com
on 12 Feb 2014 at 11:01