X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..6b30ffedb18b86329fdc41ac1be27bc85bd758ff:/include/wx/cocoa/dcscreen.h diff --git a/include/wx/cocoa/dcscreen.h b/include/wx/cocoa/dcscreen.h index 6d097f32ab..cd00c5528e 100644 --- a/include/wx/cocoa/dcscreen.h +++ b/include/wx/cocoa/dcscreen.h @@ -1,26 +1,27 @@ ///////////////////////////////////////////////////////////////////////////// // Name: wx/cocoa/dcscreen.h -// Purpose: wxScreenDC class +// Purpose: wxScreenDCImpl class // Author: David Elliott // Modified by: // Created: 2003/03/16 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) 2003 David Elliott -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef __WX_COCOA_DCSCREEN_H__ #define __WX_COCOA_DCSCREEN_H__ -#include "wx/dcclient.h" +#include "wx/dcscreen.h" +#include "wx/cocoa/dc.h" -class WXDLLEXPORT wxScreenDC: public wxDC +class WXDLLIMPEXP_CORE wxScreenDCImpl: public wxCocoaDCImpl { - DECLARE_DYNAMIC_CLASS(wxScreenDC) + DECLARE_DYNAMIC_CLASS(wxScreenDCImpl) public: - wxScreenDC(void); - wxScreenDC( wxDC *dc ); // Create compatible DC - ~wxScreenDC(void); + wxScreenDCImpl(wxScreenDC *owner); + wxScreenDCImpl(wxScreenDC *owner, wxDC *dc ); // Create compatible DC + virtual ~wxScreenDCImpl(void); // Compatibility with X's requirements for drawing on top of all windows static bool StartDrawingOnTop(wxWindow* WXUNUSED(window)) { return true; }