From 06292da40fe3dd47b8fc2c54b62919d70ab660f4 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 5 May 2014 14:42:40 +0000 Subject: [PATCH] Add a TODO comment to wxGTK wxToolBar::FindToolForPosition(). Replace the out of date comment saying that GTK+ doesn't have a function to do this with a TODO comment mentioning the name of the function which should be used here. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/toolbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gtk/toolbar.cpp b/src/gtk/toolbar.cpp index ebc50a073e..d95f4d7cb8 100644 --- a/src/gtk/toolbar.cpp +++ b/src/gtk/toolbar.cpp @@ -696,7 +696,7 @@ wxSize wxToolBar::DoGetBestSize() const wxToolBarToolBase *wxToolBar::FindToolForPosition(wxCoord WXUNUSED(x), wxCoord WXUNUSED(y)) const { - // VZ: GTK+ doesn't seem to have such thing + // TODO: implement this using gtk_toolbar_get_drop_index() wxFAIL_MSG( wxT("wxToolBar::FindToolForPosition() not implemented") ); return NULL;