]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/dc.h
fixes for moving wxHTML files into their own DLL
[wxWidgets.git] / include / wx / gtk / dc.h
index 8c447ae4266e3bfad9dc04add64ea32a1b5af054..1550c268e76d983f8a4cd11c914b79be13d9c9b5 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef __GTKDCH__
 #define __GTKDCH__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface
 #endif
 
@@ -147,9 +147,16 @@ public:
     bool         m_needComputeScaleX,
                  m_needComputeScaleY; // not yet used
 
-    
+
 private:
     DECLARE_ABSTRACT_CLASS(wxDC)
 };
 
+// this must be defined when wxDC::Blit() honours the DC origian and needed to
+// allow wxUniv code in univ/winuniv.cpp to work with versions of wxGTK
+// 2.3.[23]
+#ifndef wxHAS_WORKING_GTK_DC_BLIT
+    #define wxHAS_WORKING_GTK_DC_BLIT
+#endif
+
 #endif // __GTKDCH__