From 831dd3a1e8b8d8e21518a1344b736524692f5fb7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Mon, 21 Jun 2004 08:58:52 +0000 Subject: [PATCH] don't export deprecated interface to clipboard from DLL git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/clipbrd.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/wx/msw/clipbrd.h b/include/wx/msw/clipbrd.h index 8432b0f067..377a8ffea9 100644 --- a/include/wx/msw/clipbrd.h +++ b/include/wx/msw/clipbrd.h @@ -22,8 +22,11 @@ #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 //----------------------------------------------------------------------------- -- 2.47.2