i think the API of the wx menu and wxmenubar is enough.
you can insert and take out menus any time you like without destroying
or recreating. i have some dynamic menus buts its not quite the same.
just check Kephra::App::Menu

cheers


> In Padre I'd like to implement changing some menu items according
> to file type and after certain events.
> (e.g. the recent files should be updated when a new file is opened).
> 
> Is there a recommended way? Best practices?
> Shall I remove the whole menu and recreate it or shall I just add/remove
> individual menu items?
> 
> Gabor
> 
> 


_______________________________________________________________________
Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 30 Tage
kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220

Reply via email to