]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/dialog.h
Added missing "const" for operator== and operator!=.
[wxWidgets.git] / include / wx / cocoa / dialog.h
index e736b8f756e001aa3d612786241e35c695c25e13..38cdea30def36f042fcf52dc4937ff28c3d81813 100644 (file)
@@ -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; }
 
@@ -84,7 +84,8 @@ public:
     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();