]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/toolbar.h
DoPrepareDC needs the dc.
[wxWidgets.git] / include / wx / motif / toolbar.h
index 4ad276b8cf15af0aa46e7cfd8909e3f008302db4..6bb1e36d64387b36d3dfdbf68fc388beb5254983 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_TOOLBAR_H_
 #define _WX_TOOLBAR_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "toolbar.h"
 #endif