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);