]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/geometry.cpp
chmod is not available in VisualAge
[wxWidgets.git] / src / common / geometry.cpp
index 985fbb36b1d0f926e3a2ab184d6bd20fbb62fd29..9d86956fe5282f129726272231fa979c78522966 100644 (file)
 /////////////////////////////////////////////////////////////////////////////
 
 #ifdef __GNUG__
-#pragma interface "geometry.h"
+    #pragma implementation "geometry.cpp"
 #endif
 
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -22,6 +21,8 @@
 #pragma hdrstop
 #endif
 
+#if wxUSE_GEOMETRY
+
 #include "wx/log.h"
 #include <string.h>
 
@@ -309,3 +310,4 @@ void wxRect2DInt::ReadFrom( wxDataInputStream &stream )
        m_height = stream.Read32() ; 
 }
 
+#endif // wxUSE_GEOMETRY