diff --git a/include/wx/vscroll.h b/include/wx/vscroll.h index 5f4f2cb0a6..1cdc9d1e48 100644 --- a/include/wx/vscroll.h +++ b/include/wx/vscroll.h @@ -12,6 +12,10 @@ #ifndef _WX_VSCROLL_H_ #define _WX_VSCROLL_H_ +#if defined(__GNUG__) && !defined(__APPLE__) +#pragma interface "vscroll.h" +#endif + #include "wx/panel.h" // base class // ---------------------------------------------------------------------------- diff --git a/src/generic/vscroll.cpp b/src/generic/vscroll.cpp index 87d6f32338..49545e7aba 100644 --- a/src/generic/vscroll.cpp +++ b/src/generic/vscroll.cpp @@ -17,6 +17,17 @@ // headers // ---------------------------------------------------------------------------- +#ifdef __GNUG__ +#pragma implementation "vscroll.h" +#endif + +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + +#ifdef __BORLANDC__ +#pragma hdrstop +#endif + #include "wx/vscroll.h" // ----------------------------------------------------------------------------