]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/toplevel.cpp
Moved function from mslu to utils to make the
[wxWidgets.git] / src / gtk1 / toplevel.cpp
index d5fff696dd247c683f636880743875e9c1bfd666..4b737edd73e8121b6867ee9f3ffbaee444555be8 100644 (file)
@@ -1067,13 +1067,12 @@ bool wxTopLevelWindowGTK::SetShape(const wxRegion& region)
     return do_shape_combine_region(window, region);
 }
 
-bool wxTopLevelWindowGTK::HasFocus()
+bool wxTopLevelWindowGTK::IsActive()
 {
 #ifdef __WXGTK20__
     return GTK_WINDOW( m_widget )->has_toplevel_focus;
 #else
-    return ( wxGetTopLevelParent(FindFocus()) = this );
+    return wxTopLevelWindowBase::IsActive();
 #endif
 }
 
-// vi:sts=4:sw=4:et