]> git.saurik.com Git - wxWidgets.git/commitdiff
don't export deprecated interface to clipboard from DLL
authorVáclav Slavík <vslavik@fastmail.fm>
Mon, 21 Jun 2004 08:58:52 +0000 (08:58 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Mon, 21 Jun 2004 08:58:52 +0000 (08:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/clipbrd.h

index 8432b0f067b7d342f7f2adecb4f091d6d2dbb592..377a8ffea9a764088da5aa3a6588497a884e36d9 100644 (file)
 #include "wx/module.h"
 #include "wx/dataobj.h"     // for wxDataFormat
 
+#if WXWIN_COMPATIBILITY_2_4
+
 // These functions superceded by wxClipboard, but retained in order to
-// implement wxClipboard, and for compatibility.
+// implement wxClipboard (and exported from DLL to preserve compatibility -
+// - otherwise they are only implementation details of src/msw/clipbrd.cpp).
 
 // open/close the clipboard
 WXDLLEXPORT bool wxOpenClipboard();
@@ -47,6 +50,8 @@ WXDLLEXPORT bool wxGetClipboardFormatName(wxDataFormat dataFormat,
                                           wxChar *formatName,
                                           int maxCount);
 
+#endif // WXWIN_COMPATIBILITY_2_4
+
 //-----------------------------------------------------------------------------
 // wxClipboard
 //-----------------------------------------------------------------------------