From: Václav Slavík Date: Fri, 4 Jul 2003 18:03:29 +0000 (+0000) Subject: added wxprec.h X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/687dcff3a46a55c11851b1cabdbbbef5492a2f5f added wxprec.h git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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" // ----------------------------------------------------------------------------