]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dde.h
fix memory leak as Dimitri suggested
[wxWidgets.git] / include / wx / dde.h
index 765190b157e17b9b71c95c26358faa261452929c..a1fc0644f0a73b6d9b113f29f0e9e32de1bc0293 100644 (file)
@@ -1,13 +1,28 @@
-#ifndef __DDEH_BASE__
-#define __DDEH_BASE__
+#ifndef _WX_DDE_H_BASE_
+#define _WX_DDE_H_BASE_
+
+#include "wx/list.h"
+
+class wxDDEClient;
+class wxDDEServer;
+class wxDDEConnection;
+
+WX_DECLARE_EXPORTED_LIST(wxDDEClient, wxDDEClientList);
+WX_DECLARE_EXPORTED_LIST(wxDDEServer, wxDDEServerList);
+WX_DECLARE_EXPORTED_LIST(wxDDEConnection, wxDDEConnectionList);
+
 
 #if defined(__WXMSW__)
 #include "wx/msw/dde.h"
 #elif defined(__WXMOTIF__)
-#include "wx/xt/dde.h"
+#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"
 #endif
 
 #endif
-    // __DDEH_BASE__
+    // _WX_DDE_H_BASE_