]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/menuitem.h
Implemented Enable for wxMenuBar to avoid assert
[wxWidgets.git] / include / wx / gtk1 / menuitem.h
index 0fb1eed49dc453e4a7fd74b422d9d3a6fab04b05..790aa6184763255a44875305133099ee2de37862 100644 (file)
@@ -4,13 +4,13 @@
 // Author:      Robert Roebling
 // RCS-ID:      $Id$
 // Copyright:   (c) 1998 Robert Roebling
-// Licence:     wxWindows license
+// Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 #ifndef __GTKMENUITEMH__
 #define __GTKMENUITEMH__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface
 #endif