|
|
|
@ -9,7 +9,6 @@
|
|
|
|
|
#include <MyGUI_TextBox.h>
|
|
|
|
|
#include <MyGUI_Button.h>
|
|
|
|
|
|
|
|
|
|
#include <boost/bind.hpp>
|
|
|
|
|
#include <boost/function.hpp>
|
|
|
|
|
|
|
|
|
|
#include <components/misc/stringops.hpp>
|
|
|
|
@ -124,7 +123,7 @@ namespace
|
|
|
|
|
{
|
|
|
|
|
MWGui::BookPage::ClickCallback callback;
|
|
|
|
|
|
|
|
|
|
callback = boost::bind (&JournalWindowImpl::notifyTopicClicked, this, _1);
|
|
|
|
|
callback = std::bind (&JournalWindowImpl::notifyTopicClicked, this, std::placeholders::_1);
|
|
|
|
|
|
|
|
|
|
getPage (LeftBookPage)->adviseLinkClicked (callback);
|
|
|
|
|
getPage (RightBookPage)->adviseLinkClicked (callback);
|
|
|
|
@ -136,7 +135,7 @@ namespace
|
|
|
|
|
{
|
|
|
|
|
MWGui::BookPage::ClickCallback callback;
|
|
|
|
|
|
|
|
|
|
callback = boost::bind (&JournalWindowImpl::notifyIndexLinkClicked, this, _1);
|
|
|
|
|
callback = std::bind(&JournalWindowImpl::notifyIndexLinkClicked, this, std::placeholders::_1);
|
|
|
|
|
|
|
|
|
|
getPage (LeftTopicIndex)->adviseLinkClicked (callback);
|
|
|
|
|
getPage (RightTopicIndex)->adviseLinkClicked (callback);
|
|
|
|
|