wxSize/wxPoint/wxRect versions of functions added to wxMSW, wxMotif;
wxScrollBar::Set/GetPosition changed to Set/GetThumbPosition to avoid clash; various other portability changes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -616,7 +616,7 @@ int wxToolBar::FindIndexForWidget(WXWidget w)
|
||||
{
|
||||
WXWidget widget = (WXWidget) node->Data();
|
||||
if (widget == w)
|
||||
return (int) node->key.integer;
|
||||
return (int) node->GetKeyInteger();
|
||||
node = node->Next();
|
||||
}
|
||||
return -1;
|
||||
|
Reference in New Issue
Block a user