From bf3e0fbd1ff071caa5d929f01ad6ef9a64ee6494 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Karsten=20Ball=C3=BCder?= Date: Thu, 12 Aug 1999 12:18:49 +0000 Subject: [PATCH] some compilation fixes atttempts for solaris git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/gtk/textctrl.h | 2 +- include/wx/gtk1/textctrl.h | 2 +- include/wx/textctrl.h | 3 +++ src/common/textcmn.cpp | 5 ++++- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/include/wx/gtk/textctrl.h b/include/wx/gtk/textctrl.h index a12d3ccae2..8844ee99fe 100644 --- a/include/wx/gtk/textctrl.h +++ b/include/wx/gtk/textctrl.h @@ -12,7 +12,7 @@ #define __GTKTEXTCTRLH__ #ifdef __GNUG__ - #pragma interface + #pragma interface "textctrl.h" #endif //----------------------------------------------------------------------------- diff --git a/include/wx/gtk1/textctrl.h b/include/wx/gtk1/textctrl.h index a12d3ccae2..8844ee99fe 100644 --- a/include/wx/gtk1/textctrl.h +++ b/include/wx/gtk1/textctrl.h @@ -12,7 +12,7 @@ #define __GTKTEXTCTRLH__ #ifdef __GNUG__ - #pragma interface + #pragma interface "textctrl.h" #endif //----------------------------------------------------------------------------- diff --git a/include/wx/textctrl.h b/include/wx/textctrl.h index 7db565fd5c..5e7d35a11f 100644 --- a/include/wx/textctrl.h +++ b/include/wx/textctrl.h @@ -15,6 +15,9 @@ // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- +#ifdef __GNUG__ + #pragma interface "textctrlbase.h" +#endif #include "wx/defs.h" #include "wx/control.h" // the base class diff --git a/src/common/textcmn.cpp b/src/common/textcmn.cpp index d45fbb7505..63408d24d4 100644 --- a/src/common/textcmn.cpp +++ b/src/common/textcmn.cpp @@ -12,7 +12,10 @@ // ============================================================================ // declarations // ============================================================================ - +#ifdef __GNUG__ + #pragma implementation "textctrlbase.h" +#endif + // for compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" -- 2.45.2