diff --git a/include/wx/generic/logg.h b/include/wx/generic/logg.h index 83038d08b1..627de94207 100644 --- a/include/wx/generic/logg.h +++ b/include/wx/generic/logg.h @@ -14,6 +14,10 @@ #if wxUSE_GUI +class WXDLLIMPEXP_FWD_CORE wxTextCtrl; +class WXDLLIMPEXP_FWD_CORE wxLogFrame; +class WXDLLIMPEXP_FWD_CORE wxWindow; + // ---------------------------------------------------------------------------- // the following log targets are only compiled in if the we're compiling the // GUI part (andnot just the base one) of the library, they're implemented in diff --git a/include/wx/log.h b/include/wx/log.h index 006620413f..e7d2b6cabc 100644 --- a/include/wx/log.h +++ b/include/wx/log.h @@ -73,9 +73,6 @@ typedef unsigned long wxLogLevel; #if wxUSE_GUI class WXDLLIMPEXP_FWD_CORE wxFrame; - class WXDLLIMPEXP_FWD_CORE wxTextCtrl; - class WXDLLIMPEXP_FWD_CORE wxLogFrame; - class WXDLLIMPEXP_FWD_CORE wxWindow; #endif // wxUSE_GUI // ----------------------------------------------------------------------------