]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/geometry.cpp
fixed incorrect GetTextExtent for wxTELETYPE font
[wxWidgets.git] / src / common / geometry.cpp
index 985fbb36b1d0f926e3a2ab184d6bd20fbb62fd29..2d7694b1efc5603c5ec5572485c5d7916c0ac82c 100644 (file)
@@ -22,6 +22,8 @@
 #pragma hdrstop
 #endif
 
+#if wxUSE_GEOMETRY
+
 #include "wx/log.h"
 #include <string.h>
 
@@ -309,3 +311,4 @@ void wxRect2DInt::ReadFrom( wxDataInputStream &stream )
        m_height = stream.Read32() ; 
 }
 
+#endif // wxUSE_GEOMETRY