]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/dcmemory.h
Fixed bug #1163384. Moved the code that handles activating the cell
[wxWidgets.git] / include / wx / msw / dcmemory.h
index 01f37663aaca1bbf6e80966c2d80642ac08ae607..19ad43e38442507be632bb79d6081b02ba57fc36 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_DCMEMORY_H_
 #define _WX_DCMEMORY_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "dcmemory.h"
 #endif
 
@@ -38,7 +38,7 @@ protected:
     void Init();
 
 private:
-    DECLARE_DYNAMIC_CLASS(wxMemoryDC)
+    DECLARE_DYNAMIC_CLASS_NO_COPY(wxMemoryDC)
 };
 
 #endif