From: Karsten Ballüder Date: Thu, 12 Aug 1999 12:18:49 +0000 (+0000) Subject: some compilation fixes atttempts for solaris X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/bf3e0fbd1ff071caa5d929f01ad6ef9a64ee6494 some compilation fixes atttempts for solaris git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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"