]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dde.h
Don't create multiple parent-less top level frames in layout sample.
[wxWidgets.git] / include / wx / dde.h
index a1fc0644f0a73b6d9b113f29f0e9e32de1bc0293..0f74768f2ec4448d7f16dd850f390f5ff5ec8eb1 100644 (file)
@@ -1,27 +1,31 @@
+/////////////////////////////////////////////////////////////////////////////
+// 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"
 
 #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);
+class WXDLLIMPEXP_FWD_BASE wxDDEClient;
+class WXDLLIMPEXP_FWD_BASE wxDDEServer;
+class WXDLLIMPEXP_FWD_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"
+#if defined(__WINDOWS__)
+    #include "wx/msw/dde.h"
+#else
+    #error DDE is only supported under Windows
 #endif
 
 #endif
 #endif
 
 #endif