X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/831dd3a1e8b8d8e21518a1344b736524692f5fb7..0c06c9839c0ca2f5857ed336bcbfd98031f97f08:/include/wx/msw/clipbrd.h diff --git a/include/wx/msw/clipbrd.h b/include/wx/msw/clipbrd.h index 377a8ffea9..be3f0b64e5 100644 --- a/include/wx/msw/clipbrd.h +++ b/include/wx/msw/clipbrd.h @@ -12,21 +12,14 @@ #ifndef _WX_CLIPBRD_H_ #define _WX_CLIPBRD_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "clipbrd.h" -#endif - #if wxUSE_CLIPBOARD #include "wx/list.h" #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 exported from DLL to preserve compatibility - -// - otherwise they are only implementation details of src/msw/clipbrd.cpp). +// implement wxClipboard, and for compatibility. // open/close the clipboard WXDLLEXPORT bool wxOpenClipboard(); @@ -50,8 +43,6 @@ WXDLLEXPORT bool wxGetClipboardFormatName(wxDataFormat dataFormat, wxChar *formatName, int maxCount); -#endif // WXWIN_COMPATIBILITY_2_4 - //----------------------------------------------------------------------------- // wxClipboard //----------------------------------------------------------------------------- @@ -95,10 +86,10 @@ public: virtual bool Flush(); // X11 has two clipboards which get selected by this call. Empty on MSW. - void UsePrimarySelection( bool WXUNUSED(primary) = FALSE ) { } + void UsePrimarySelection( bool WXUNUSED(primary) = false ) { } private: - bool m_clearOnExit; + IDataObject *m_lastDataObject; bool m_isOpened; };