#include "wx/list.h"
-class wxDDEClient;
-class wxDDEServer;
-class wxDDEConnection;
-
-WX_DECLARE_LIST(wxDDEClient, wxDDEClientList);
-WX_DECLARE_LIST(wxDDEServer, wxDDEServerList);
-WX_DECLARE_LIST(wxDDEConnection, wxDDEConnectionList);
+class WXDLLIMPEXP_BASE wxDDEClient;
+class WXDLLIMPEXP_BASE wxDDEServer;
+class WXDLLIMPEXP_BASE wxDDEConnection;
+WX_DECLARE_USER_EXPORTED_LIST(wxDDEClient, wxDDEClientList, WXDLLIMPEXP_BASE);
+WX_DECLARE_USER_EXPORTED_LIST(wxDDEServer, wxDDEServerList, WXDLLIMPEXP_BASE);
+WX_DECLARE_USER_EXPORTED_LIST(wxDDEConnection, wxDDEConnectionList, WXDLLIMPEXP_BASE);
#if defined(__WXMSW__)
-#include "wx/msw/dde.h"
-#elif defined(__WXMOTIF__)
-#include "wx/motif/dde.h"
-#elif defined(__WXGTK__)
-#include "wx/gtk/dde.h"
-#elif defined(__WXMAC__)
-#include "wx/mac/dde.h"
-#elif defined(__WXPM__)
-#include "wx/os2/dde.h"
+ #include "wx/msw/dde.h"
+#else
+ #error DDE is only supported on MSW
#endif
#endif