Use wxWidgets context menus in the state graph viewer rather than jQuery based context menus within the wxWebView.