]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/dirdlg.h
Cast for argument to delete[] - VC6 doesn't want to delete a const pointer
[wxWidgets.git] / include / wx / cocoa / dirdlg.h
index b221050d99bdc9a6e0f056b446a9cf025f2f7e27..5a4017d642e5fb67b6b90ee84ccaf89bc4c73de2 100644 (file)
@@ -19,7 +19,7 @@ DECLARE_WXCOCOA_OBJC_CLASS(NSSavePanel);
 // wxDirDialog
 //-------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDirDialog: public wxDirDialogBase
+class WXDLLIMPEXP_CORE wxDirDialog: public wxDirDialogBase
 {
     DECLARE_DYNAMIC_CLASS(wxDirDialog)
     DECLARE_NO_COPY_CLASS(wxDirDialog)
@@ -31,7 +31,7 @@ public:
                 const wxPoint& pos = wxDefaultPosition,
                 const wxSize& size = wxDefaultSize,
                 const wxString& name = wxDirDialogNameStr);
-    ~wxDirDialog();
+    virtual ~wxDirDialog();
 
     virtual int ShowModal();