]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dde.h
invalidate m_selection in DoRemovePage(), not in DeletePage() (replaces patch 998984)
[wxWidgets.git] / include / wx / dde.h
index e103c7882eda853e849a7aa6ecf7d10cd1c8a795..0f8ebbfe15321d23b47f247761cbe234c188fb2d 100644 (file)
@@ -1,13 +1,21 @@
-#ifndef __DDEH_BASE__
-#define __DDEH_BASE__
-
-#if defined(__WINDOWS__)
-#include "wx/msw/dde.h"
-#elif defined(__MOTIF__)
-#include "wx/xt/dde.h"
-#elif defined(__GTK__)
-#include "wx/gtk/dde.h"
+#ifndef _WX_DDE_H_BASE_
+#define _WX_DDE_H_BASE_
+
+#include "wx/list.h"
+
+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"
+#else
+    #error DDE is only supported on MSW
 #endif
 
 #endif
-    // __DDEH_BASE__
+    // _WX_DDE_H_BASE_