X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..9fe52545f5b4a21e3cdeab5d0aa8d9e6a91355c3:/include/wx/dialog.h?ds=sidebyside

diff --git a/include/wx/dialog.h b/include/wx/dialog.h
index b594449b03..c96c015e73 100644
--- a/include/wx/dialog.h
+++ b/include/wx/dialog.h
@@ -22,8 +22,8 @@
 class WXDLLEXPORT wxDialogBase : public wxPanel
 {
 public:
-#ifdef __WXMAC_X__
-    ~wxDialogBase() {}  // Added min for Mac X
+#ifdef __DARWIN__
+    ~wxDialogBase() { }
 #endif
     // the modal dialogs have a return code - usually the id of the last
     // pressed button