#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();
wxChar *formatName,
int maxCount);
-#endif // WXWIN_COMPATIBILITY_2_4
-
//-----------------------------------------------------------------------------
// wxClipboard
//-----------------------------------------------------------------------------
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;
};