diff --git a/apps/openmw/mwgui/container.cpp b/apps/openmw/mwgui/container.cpp index b040f9d7a..8c3625468 100644 --- a/apps/openmw/mwgui/container.cpp +++ b/apps/openmw/mwgui/container.cpp @@ -180,7 +180,7 @@ void ContainerWindow::Update() } } -void ContainerWindow::onByeClicked(MyGUI::Widget* _sender) +void ContainerWindow::onCloseButtonClicked(MyGUI::Widget* _sender) { if(!mDragAndDrop->mIsOnDragAndDrop) { diff --git a/apps/openmw/mwgui/container.hpp b/apps/openmw/mwgui/container.hpp index 33a12968b..607138f96 100644 --- a/apps/openmw/mwgui/container.hpp +++ b/apps/openmw/mwgui/container.hpp @@ -69,12 +69,10 @@ namespace MWGui void drawItems(); - void onByeClicked(MyGUI::Widget* _sender); + void onCloseButtonClicked(MyGUI::Widget* _sender); void onSelectedItem(MyGUI::Widget* _sender); void onContainerClicked(MyGUI::Widget* _sender); void onMouseMove(MyGUI::Widget* _sender, int _left, int _top); - - //MWWorld::Ptr& mContainer; }; } #endif // CONTAINER_H