]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/dirdlg.h
guarding agains NULL
[wxWidgets.git] / include / wx / osx / dirdlg.h
index 7a40c8524cafbebad2df6b70125da97da76c9bb6..882b9beaab849079e1be9809fd94eb58af905c7f 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        dirdlg.h
+// Name:        wx/osx/dirdlg.h
 // Purpose:     wxDirDialog class
 // Author:      Stefan Csomor
 // Modified by:
@@ -23,11 +23,24 @@ public:
                 const wxSize& size = wxDefaultSize,
                 const wxString& name = wxDirDialogNameStr);
 
+#if wxOSX_USE_COCOA
+    ~wxDirDialog();
+#endif
+
     virtual int ShowModal();
 
+#if wxOSX_USE_COCOA
+    virtual void ShowWindowModal();
+    virtual void ModalFinishedCallback(void* panel, int returnCode);
+#endif
+
 protected:
 
     DECLARE_DYNAMIC_CLASS(wxDirDialog)
+
+#if wxOSX_USE_COCOA
+    WX_NSObject m_sheetDelegate;
+#endif
 };
 
 #endif