X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/371a5b4e62eb415107e045588f614fa49e866e78..dbdf9a176f4239d8204cef176fd9780530ba9302:/include/wx/layout.h

diff --git a/include/wx/layout.h b/include/wx/layout.h
index c46241c1d8..d321287720 100644
--- a/include/wx/layout.h
+++ b/include/wx/layout.h
@@ -16,7 +16,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "layout.h"
 #endif