Displaying 1 result from an estimated 1 matches for "filemenu_".
Did you mean:
  filemenu
  
2008 Jun 12
0
[Foxgui-users] Segmentation fault on exit
....create();
> 
>   // Run the application
>   return application.run();
> 
> Viewer is a gl window with a menubar across the top; one of the
entries
> in the pull-down menu is an exit button, implemented thus;
> 
> 
>   filemenuQuit_ = new FXMenuCommand
>   (
>       filemenu_,
>       "&Quit\tCtl-Q",
>       NULL,
>       getApp(),
>       FXApp::ID_QUIT
>   );
>   
> which I believe is the standard way of exiting a Fox application
window.
> viewer also contains a destructor function ~viewer which cleans up all
> the memory alloc...