]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dde.h
Fix compilation of generic message dialog.
[wxWidgets.git] / include / wx / dde.h
index dcecc27ddcba6817c122d460fd6b913745979808..0f8ebbfe15321d23b47f247761cbe234c188fb2d 100644 (file)
@@ -3,24 +3,18 @@
 
 #include "wx/list.h"
 
-class wxDDEClient;
-class wxDDEServer;
-class wxDDEConnection;
+class WXDLLIMPEXP_BASE wxDDEClient;
+class WXDLLIMPEXP_BASE wxDDEServer;
+class WXDLLIMPEXP_BASE wxDDEConnection;
 
-WX_DECLARE_USER_EXPORTED_LIST(wxDDEClient, wxDDEClientList, WXDLLEXPORT_BASE);
-WX_DECLARE_USER_EXPORTED_LIST(wxDDEServer, wxDDEServerList, WXDLLEXPORT_BASE);
-WX_DECLARE_USER_EXPORTED_LIST(wxDDEConnection, wxDDEConnectionList, WXDLLEXPORT_BASE);
+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"
+#else
+    #error DDE is only supported on MSW
 #endif
 
 #endif