]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/dialog.h
always forcing a relayout when position changes, making mlte a system option
[wxWidgets.git] / include / wx / cocoa / dialog.h
index e736b8f756e001aa3d612786241e35c695c25e13..b4e0145e911d1ca548d5aaf1c0a2042c122d62ae 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     2002/12/15
 // RCS-ID:      $Id:
 // Copyright:   David Elliott
-// Licence:    wxWindows license
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_COCOA_DIALOG_H_
@@ -73,7 +73,7 @@ protected:
 // Cocoa specifics
 // ------------------------------------------------------------------------
 protected:
-    virtual void Cocoa_close(void);
+    virtual void CocoaDelegate_windowWillClose(void);
     virtual bool Cocoa_canBecomeMainWindow(bool &canBecome)
     {   canBecome = true; return true; }
 
@@ -81,10 +81,11 @@ protected:
 // 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();