X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/831dd3a1e8b8d8e21518a1344b736524692f5fb7..c670c85582ca995105f14a6c62b54c580582f624:/include/wx/msw/clipbrd.h?ds=sidebyside 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; };