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
This commit is contained in:
@@ -696,7 +696,7 @@ wxSize wxToolBar::DoGetBestSize() const
|
|||||||
wxToolBarToolBase *wxToolBar::FindToolForPosition(wxCoord WXUNUSED(x),
|
wxToolBarToolBase *wxToolBar::FindToolForPosition(wxCoord WXUNUSED(x),
|
||||||
wxCoord WXUNUSED(y)) const
|
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") );
|
wxFAIL_MSG( wxT("wxToolBar::FindToolForPosition() not implemented") );
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Reference in New Issue
Block a user