diff --git a/include/wx/geometry.h b/include/wx/geometry.h index 1d42615fa0..1dedc55fc5 100644 --- a/include/wx/geometry.h +++ b/include/wx/geometry.h @@ -13,7 +13,7 @@ #define _WX_GEOMETRY_H_ #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "geometry.cpp" + #pragma interface "geometry.h" #endif #include "wx/defs.h" diff --git a/src/common/geometry.cpp b/src/common/geometry.cpp index d74af422a9..1eb3d7b26f 100644 --- a/src/common/geometry.cpp +++ b/src/common/geometry.cpp @@ -10,7 +10,7 @@ ///////////////////////////////////////////////////////////////////////////// #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "geometry.cpp" + #pragma implementation "geometry.h" #endif // For compilers that support precompilation, includes "wx.h".