c++ - How to open a web link whenever user click on wxWidget event? -
i'm creating wxwidgets application , i'm trying open web link whenever user press event.
class myframe : public wxframe { void onviewhelp( wxcommandevent &event ); } begin_event_table( myframe, wxframe ) evt_menu( wxid_viewhelp, myframe :: onviewhelp ) end_event_table() void onviewhelp( wxcommandevent &event ) { //open www.google.com }
if searched "browser" in manual, should have been able find wxlaunchdefaultbrowser() function.
Comments
Post a Comment