]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/dc.h
don't use m_instanceAsWindow to convert dialog units, it's not fully constructed...
[wxWidgets.git] / include / wx / gtk / dc.h
index 1bc4d18c56c24f4d4992f2738d369d19d6858afb..84c79d735301f0e7284814129f737d95b7c2b189 100644 (file)
@@ -25,6 +25,7 @@ class wxDC;
 // constants
 //-----------------------------------------------------------------------------
 
+#ifndef MM_TEXT
 #define MM_TEXT         0
 #define MM_ISOTROPIC    1
 #define MM_ANISOTROPIC  2
@@ -33,6 +34,7 @@ class wxDC;
 #define MM_TWIPS        5
 #define MM_POINTS       6
 #define MM_METRIC       7
+#endif
 
 //-----------------------------------------------------------------------------
 // wxDC