virtual wxMenuBar *GetMenuBar() const;
// Call this to simulate a menu command
- bool Command(int id) { ProcessCommand(id); }
+ bool Command(int id) { return ProcessCommand(id); }
// process menu command: returns TRUE if processed
bool ProcessCommand(int id);
+ // make the window modal (all other windows unresponsive)
+ virtual void MakeModal(bool modal = TRUE);
+
// Set icon
virtual void SetIcon(const wxIcon& icon);