From: Vadim Zeitlin Date: Wed, 15 Mar 2000 07:52:46 +0000 (+0000) Subject: some fwd declarations added to the header X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9f303149a0ce649d8ce2fa2f3e1aff97aacd078d some fwd declarations added to the header git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/listctrl.h b/include/wx/msw/listctrl.h index 81378145cb..b918bb063a 100644 --- a/include/wx/msw/listctrl.h +++ b/include/wx/msw/listctrl.h @@ -18,9 +18,11 @@ #include "wx/control.h" #include "wx/event.h" -#include "wx/imaglist.h" #include "wx/hash.h" +class WXDLLEXPORT wxTextCtrl; +class WXDLLEXPORT wxImageList; + /* The wxListCtrl can show lists of items in four different modes: wxLC_LIST: multicolumn list view, with optional small icons (icons could be diff --git a/src/msw/listctrl.cpp b/src/msw/listctrl.cpp index 7904f4b673..f6deb429eb 100644 --- a/src/msw/listctrl.cpp +++ b/src/msw/listctrl.cpp @@ -29,14 +29,18 @@ #pragma hdrstop #endif +#ifdef __WIN95__ + #ifndef WX_PRECOMP - #include "wx/wx.h" + #include "wx/app.h" + #include "wx/textctrl.h" + #include "wx/imaglist.h" + #include "wx/intl.h" + #include "wx/log.h" + #include "wx/settings.h" #endif -#ifdef __WIN95__ - #include "wx/listctrl.h" -#include "wx/log.h" #include "wx/msw/private.h"