// Cocoa specifics
// ------------------------------------------------------------------------
protected:
- virtual void Cocoa_close(void);
+ virtual void CocoaDelegate_windowWillClose(void);
+ virtual bool Cocoa_canBecomeMainWindow(bool &canBecome)
+ { canBecome = true; return true; }
// ------------------------------------------------------------------------
// Implementation
// ------------------------------------------------------------------------
public:
- bool Show(bool show);
+ bool Show(bool show = true);
void SetModal(bool flag);
virtual bool IsModal() const;