Removed some deprecated usage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -248,7 +248,7 @@ wxTopLevelWindowX11::~wxTopLevelWindowX11()
|
||||
wxTopLevelWindows.DeleteObject(this);
|
||||
|
||||
// If this is the last top-level window, exit.
|
||||
if ( wxTheApp && (wxTopLevelWindows.Number() == 0) )
|
||||
if ( wxTheApp && (wxTopLevelWindows.GetCount() == 0) )
|
||||
{
|
||||
wxTheApp->SetTopWindow(NULL);
|
||||
|
||||
|
Reference in New Issue
Block a user