// Created: 2002/12/15
// RCS-ID: $Id:
// Copyright: David Elliott
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_COCOA_DIALOG_H_
// 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 = true);
+ virtual bool Show(bool show = true);
void SetModal(bool flag);
- virtual bool IsModal() const;
+ virtual bool IsModal() const { return m_isModal; }
+ bool m_isModal;
// For now, same as Show(TRUE) but returns return code
virtual int ShowModal();