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 //-----------------------------------------------------------------------------