X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/243dbf1a5088be31980df51b97831b52cb6986cd..68d4172048cfc0f3e658ef90ff5af926eedfdd57:/src/gtk1/choice.cpp diff --git a/src/gtk1/choice.cpp b/src/gtk1/choice.cpp index d746df7874..b04477bdd4 100644 --- a/src/gtk1/choice.cpp +++ b/src/gtk1/choice.cpp @@ -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