From 0b148b75c4573cf563c634986c23a805e1d7ce65 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Mon, 7 Jul 2003 14:20:18 +0000 Subject: [PATCH] Added IsOwnGtkWindow() to wxChoice for mouse click interception. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/gtk/choice.h | 1 + include/wx/gtk1/choice.h | 1 + 2 files changed, 2 insertions(+) diff --git a/include/wx/gtk/choice.h b/include/wx/gtk/choice.h index 6acce9a5de..2739c20267 100644 --- a/include/wx/gtk/choice.h +++ b/include/wx/gtk/choice.h @@ -68,6 +68,7 @@ protected: virtual wxSize DoGetBestSize() const; + virtual bool IsOwnGtkWindow( GdkWindow *window ); private: // common part of Create() and DoAppend() size_t GtkAppendHelper(GtkWidget *menu, const wxString& item); diff --git a/include/wx/gtk1/choice.h b/include/wx/gtk1/choice.h index 6acce9a5de..2739c20267 100644 --- a/include/wx/gtk1/choice.h +++ b/include/wx/gtk1/choice.h @@ -68,6 +68,7 @@ protected: virtual wxSize DoGetBestSize() const; + virtual bool IsOwnGtkWindow( GdkWindow *window ); private: // common part of Create() and DoAppend() size_t GtkAppendHelper(GtkWidget *menu, const wxString& item);