]> 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 96e0da6119f614273e41d30326fa4946c6bffdc4..4b737edd73e8121b6867ee9f3ffbaee444555be8 100644 (file)
@@ -1067,4 +1067,12 @@ bool wxTopLevelWindowGTK::SetShape(const wxRegion& region)
     return do_shape_combine_region(window, region);
 }
 
-// vi:sts=4:sw=4:et
+bool wxTopLevelWindowGTK::IsActive()
+{
+#ifdef __WXGTK20__
+    return GTK_WINDOW( m_widget )->has_toplevel_focus;
+#else
+    return wxTopLevelWindowBase::IsActive();
+#endif
+}
+