X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7e1bcfa80e19ac853b8bc7084075fe3b01e63f03..997176a34641a870b1f6c6102e30f64f86b4122a:/include/wx/motif/dialog.h

diff --git a/include/wx/motif/dialog.h b/include/wx/motif/dialog.h
index 0e3b7980f6..65f3ed28f4 100644
--- a/include/wx/motif/dialog.h
+++ b/include/wx/motif/dialog.h
@@ -12,12 +12,10 @@
 #ifndef _WX_DIALOG_H_
 #define _WX_DIALOG_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "dialog.h"
 #endif
 
-WXDLLEXPORT_DATA(extern const char*) wxDialogNameStr;
-
 class WXDLLEXPORT wxEventLoop;
 
 // Dialog boxes