]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/dirdlg.h
Try to avoid accidental use of wxXmlNode in XRC handlers.
[wxWidgets.git] / include / wx / osx / dirdlg.h
index 4ffad16d3495f979733acb73570bd8a45412c756..882b9beaab849079e1be9809fd94eb58af905c7f 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        dirdlg.h
+// Name:        wx/osx/dirdlg.h
 // Purpose:     wxDirDialog class
 // Author:      Stefan Csomor
 // Modified by:
@@ -17,17 +17,30 @@ class WXDLLIMPEXP_CORE wxDirDialog : public wxDirDialogBase
 public:
     wxDirDialog(wxWindow *parent,
                 const wxString& message = wxDirSelectorPromptStr,
-                const wxString& defaultPath = _T(""),
+                const wxString& defaultPath = wxT(""),
                 long style = wxDD_DEFAULT_STYLE,
                 const wxPoint& pos = wxDefaultPosition,
                 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