X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8f7b34a878bbcb2f71a0c7694e2a3bec51460218..553c5bcc3ab65e8b8a002dc6d5f51cba4f39292c:/include/wx/mgl/dcscreen.h diff --git a/include/wx/mgl/dcscreen.h b/include/wx/mgl/dcscreen.h index b1c429aa17..1bc300e86e 100644 --- a/include/wx/mgl/dcscreen.h +++ b/include/wx/mgl/dcscreen.h @@ -3,14 +3,14 @@ // Purpose: // Author: Vaclav Slavik // Id: $Id$ -// Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com) +// Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com) // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef __WX_DCSCREEN_H__ #define __WX_DCSCREEN_H__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dcscreen.h" #endif @@ -26,16 +26,15 @@ class WXDLLEXPORT wxScreenDC; // wxScreenDC //----------------------------------------------------------------------------- -//FIXME_MGL -class WXDLLEXPORT wxScreenDC: public wxPaintDC +class WXDLLEXPORT wxScreenDC: public wxDC { public: - wxScreenDC() {} - ~wxScreenDC() {} + wxScreenDC(); + ~wxScreenDC(); - static bool StartDrawingOnTop( wxWindow *window ) {} - static bool StartDrawingOnTop( wxRect *rect = (wxRect *) NULL ) {} - static bool EndDrawingOnTop() {} + static bool StartDrawingOnTop(wxWindow *WXUNUSED(window)) { return TRUE; } + static bool StartDrawingOnTop(wxRect *WXUNUSED(rect) = NULL) { return TRUE; } + static bool EndDrawingOnTop() { return TRUE; } private: DECLARE_DYNAMIC_CLASS(wxScreenDC)