]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dde.h
Generalized compilation fix for old compilers.
[wxWidgets.git] / include / wx / dde.h
index e7373533112bad88590d860bccf63a7a96bd2783..3cd44336430e8ed03b0b01454a539017bc84d6b9 100644 (file)
@@ -1,11 +1,22 @@
+/////////////////////////////////////////////////////////////////////////////
+// Name:        wx/dde.h
+// Purpose:     DDE base header
+// Author:      Julian Smart
+// Modified by:
+// Created:
+// Copyright:   (c) Julian Smart
+// RCS-ID:      $Id$
+// Licence:     wxWindows Licence
+/////////////////////////////////////////////////////////////////////////////
+
 #ifndef _WX_DDE_H_BASE_
 #define _WX_DDE_H_BASE_
 
 #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, WXDLLIMPEXP_BASE);
 WX_DECLARE_USER_EXPORTED_LIST(wxDDEServer, wxDDEServerList, WXDLLIMPEXP_BASE);
@@ -13,14 +24,8 @@ WX_DECLARE_USER_EXPORTED_LIST(wxDDEConnection, wxDDEConnectionList, WXDLLIMPEXP_
 
 #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