]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/choice.cpp
Wait() doesn't cancel the thread any longer
[wxWidgets.git] / src / gtk1 / choice.cpp
index d746df7874c29b17198ba98987c4083606e941c7..b04477bdd413790c13825defd7900669fef02254 100644 (file)
@@ -502,5 +502,15 @@ wxSize wxChoice::DoGetBestSize() const
     return ret;
 }
 
+bool wxChoice::IsOwnGtkWindow( GdkWindow *window )
+{
+#ifdef __WXGTK20__
+    return GTK_BUTTON(m_widget)->event_window;
+#else
+    return (window == m_widget->window);
+#endif
+}
+
+
 #endif // wxUSE_CHOICE