From: Václav Slavík Date: Mon, 21 Jun 2004 08:58:52 +0000 (+0000) Subject: don't export deprecated interface to clipboard from DLL X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/831dd3a1e8b8d8e21518a1344b736524692f5fb7 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 --- 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 //-----------------------------------------------------------------------------