]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/tbarbase.cpp
fix digitalmars bug (ambiguous symbol)
[wxWidgets.git] / src / common / tbarbase.cpp
index 636d4133cf32e72c8630b13acf15994be6506dcf..1438c9f3c6e6c5b215fb7f1e22a1d2ad82efcda1 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "tbarbase.h"
 #endif
 
@@ -44,8 +44,6 @@
 // wxWindows macros
 // ----------------------------------------------------------------------------
 
-IMPLEMENT_CLASS(wxToolBarBase, wxControl)
-
 BEGIN_EVENT_TABLE(wxToolBarBase, wxControl)
 END_EVENT_TABLE()