]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/ownerdrw.h
Works a little better when you remember to say "virtual"
[wxWidgets.git] / include / wx / ownerdrw.h
index fdbc769b15cd3c8c790cdc483061f80c67da2d6d..b2b144c9bd71546a85a65c354c3e99b096709035 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     11.11.97
 // RCS-ID:      $Id$
 // Copyright:   (c) 1998 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
-// Licence:     wxWindows license
+// Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 #ifndef   _OWNERDRW_H
@@ -14,7 +14,7 @@
 
 #if wxUSE_OWNER_DRAWN
 
-#ifdef    __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "ownerdrw.h"
 #endif