]> git.saurik.com Git - wxWidgets.git/commitdiff
Start/EndDrawingOnTop are still used under Motif, don't deprecate them
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 25 Dec 2005 12:52:53 +0000 (12:52 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 25 Dec 2005 12:52:53 +0000 (12:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/dcscreen.h
src/msw/dcscreen.cpp

index 85da593a3bb5a6defac7843b4a16fae6dee244ae..f48275e41b9809f8cbf0471f7a9fd79403af59f8 100644 (file)
@@ -20,12 +20,11 @@ public:
     // Create a DC representing the whole screen
     wxScreenDC();
 
-    // these functions are obsolete and shouldn't be used
-
-    // Compatibility with X's requirements for drawing on top of all windows
-    wxDEPRECATED( static bool StartDrawingOnTop(wxWindow* window) );
-    wxDEPRECATED( static bool StartDrawingOnTop(wxRect* rect = NULL) );
-    wxDEPRECATED( static bool EndDrawingOnTop() );
+    // Compatibility with X's requirements for drawing on top of all windows:
+    // they don't do anything under MSW
+    static bool StartDrawingOnTop(wxWindow* WXUNUSED(window)) { return true; }
+    static bool StartDrawingOnTop(wxRect* WXUNUSED(rect) = NULL) { return true; }
+    static bool EndDrawingOnTop() { return true; }
 
 protected:
     virtual void DoGetSize(int *w, int *h) const
index eb843c9bff98230b8f40540e26d209418a9788f0..0dc06f194c509dcea070c39432a7b54e4d88fd58 100644 (file)
@@ -37,18 +37,3 @@ wxScreenDC::wxScreenDC()
     ::SetBkMode( GetHdc(), TRANSPARENT );
 }
 
-// deprecated functions
-bool wxScreenDC::StartDrawingOnTop(wxWindow* WXUNUSED(window))
-{
-    return true;
-}
-
-bool wxScreenDC::StartDrawingOnTop(wxRect* WXUNUSED(rect))
-{
-    return true;
-}
-
-bool wxScreenDC::EndDrawingOnTop()
-{
-    return true;
-}