renamed wxWindow::IsVisible() to IsShownOnScreen() to fix name conflicts with other classes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2006-09-14 12:22:46 +00:00
parent 632aaa1891
commit 865a74c700
4 changed files with 19 additions and 18 deletions

View File

@@ -58,7 +58,7 @@ void wxWindowDC::InitForWin(wxWindow *win, const wxRect *rect)
wxPoint origin;
wxIDirectFBSurfacePtr surface;
if ( !win->IsVisible() )
if ( !win->IsShownOnScreen() )
{
// we're painting on invisible window: the changes won't have any
// effect, as the window will be repainted anyhow when it is shown, but
@@ -117,7 +117,7 @@ wxWindowDC::~wxWindowDC()
// painting on hidden window has no effect on TLW's surface, don't
// waste time flipping the dummy surface:
if ( !m_win->IsVisible() )
if ( !m_win->IsShownOnScreen() )
return;
// if no painting was done on the DC, we don't have to flip the surface: