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:
parent
7d09b97f53
commit
f81dc6e931
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user