X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..277806225e146740f73965b11375d387b02961b7:/interface/wx/dcscreen.h diff --git a/interface/wx/dcscreen.h b/interface/wx/dcscreen.h index 80e4c9ec66..707b8cbbbf 100644 --- a/interface/wx/dcscreen.h +++ b/interface/wx/dcscreen.h @@ -8,7 +8,6 @@ /** @class wxScreenDC - @wxheader{dcscreen.h} A wxScreenDC can be used to paint on the screen. This should normally be constructed as a temporary stack object; don't store a wxScreenDC object. @@ -32,7 +31,7 @@ public: This function destroys the temporary window created to implement on-top drawing (X only). */ - bool EndDrawingOnTop(); + static bool EndDrawingOnTop(); /** Use this in conjunction with EndDrawingOnTop() to ensure that drawing @@ -55,7 +54,7 @@ public: that this function allows the screen to be refreshed afterwards, may be useful to some applications. */ - bool StartDrawingOnTop(wxWindow* window); + static bool StartDrawingOnTop(wxWindow* window); /** Use this in conjunction with EndDrawingOnTop() to ensure that drawing to the screen occurs on top of existing windows. Without this, some @@ -78,6 +77,6 @@ public: that this function allows the screen to be refreshed afterwards, may be useful to some applications. */ - bool StartDrawingOnTop(wxRect* rect = NULL); + static bool StartDrawingOnTop(wxRect* rect = NULL); };