]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dde.h
Don't return a dangling pointer from wxDateTime::ParseXXX(wxCStrData).
[wxWidgets.git] / include / wx / dde.h
index e7373533112bad88590d860bccf63a7a96bd2783..0f74768f2ec4448d7f16dd850f390f5ff5ec8eb1 100644 (file)
@@ -1,26 +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"
 
-class wxDDEClient;
-class wxDDEServer;
-class wxDDEConnection;
+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__)
+#if defined(__WINDOWS__)
     #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 under Windows
 #endif
 
 #endif