From 2cdcee612a0ea692f0d20f7a039950a793294ac0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Tue, 25 Jul 2006 06:50:19 +0000 Subject: [PATCH] PCH build fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk1/button.cpp | 5 +++++ src/motif/button.cpp | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/gtk1/button.cpp b/src/gtk1/button.cpp index b3898b46b0..f84cfc3221 100644 --- a/src/gtk1/button.cpp +++ b/src/gtk1/button.cpp @@ -13,6 +13,11 @@ #if wxUSE_BUTTON #include "wx/button.h" + +#ifndef WX_PRECOMP + #include "wx/toplevel.h" +#endif + #include "wx/stockitem.h" #include "wx/gtk1/private.h" diff --git a/src/motif/button.cpp b/src/motif/button.cpp index ed2ded5373..b917a07c12 100644 --- a/src/motif/button.cpp +++ b/src/motif/button.cpp @@ -27,6 +27,11 @@ #pragma message enable nosimpint #endif + +#ifndef WX_PRECOMP + #include "wx/toplevel.h" +#endif + #include "wx/stockitem.h" #include "wx/motif/private.h" #include "wx/sysopt.h" -- 2.45.2