Start/EndDrawingOnTop are still used under Motif, don't deprecate them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -20,12 +20,11 @@ public:
|
|||||||
// Create a DC representing the whole screen
|
// Create a DC representing the whole screen
|
||||||
wxScreenDC();
|
wxScreenDC();
|
||||||
|
|
||||||
// these functions are obsolete and shouldn't be used
|
// Compatibility with X's requirements for drawing on top of all windows:
|
||||||
|
// they don't do anything under MSW
|
||||||
// Compatibility with X's requirements for drawing on top of all windows
|
static bool StartDrawingOnTop(wxWindow* WXUNUSED(window)) { return true; }
|
||||||
wxDEPRECATED( static bool StartDrawingOnTop(wxWindow* window) );
|
static bool StartDrawingOnTop(wxRect* WXUNUSED(rect) = NULL) { return true; }
|
||||||
wxDEPRECATED( static bool StartDrawingOnTop(wxRect* rect = NULL) );
|
static bool EndDrawingOnTop() { return true; }
|
||||||
wxDEPRECATED( static bool EndDrawingOnTop() );
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void DoGetSize(int *w, int *h) const
|
virtual void DoGetSize(int *w, int *h) const
|
||||||
|
@@ -37,18 +37,3 @@ wxScreenDC::wxScreenDC()
|
|||||||
::SetBkMode( GetHdc(), TRANSPARENT );
|
::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;
|
|
||||||
}
|
|
||||||
|
Reference in New Issue
Block a user