]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/dirdlg.h
adding bestsize for osx_cocoa combobox
[wxWidgets.git] / include / wx / osx / dirdlg.h
index 8e7761505da90c84aa82d64d5510ddad08a0fc95..5cb641617ae6d9560260f4102d2dd3fe4c74972d 100644 (file)
@@ -17,16 +17,20 @@ 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);
 
     virtual int ShowModal();
+    
+#if wxOSX_USE_COCOA
+    virtual void ShowWindowModal();
+    virtual void ModalFinishedCallback(void* panel, int returnCode);
+#endif    
 
 protected:
-    wxWindow *  m_parent;
 
     DECLARE_DYNAMIC_CLASS(wxDirDialog)
 };