|
|
|
@ -123,8 +123,7 @@ namespace
|
|
|
|
|
topicsList->eventItemSelected += MyGUI::newDelegate(this, &JournalWindowImpl::notifyTopicSelected);
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
MWGui::BookPage::ClickCallback callback =
|
|
|
|
|
[this](intptr_t linkId) { notifyTopicClicked(linkId); };
|
|
|
|
|
MWGui::BookPage::ClickCallback callback = [this](intptr_t linkId) { notifyTopicClicked(linkId); };
|
|
|
|
|
|
|
|
|
|
getPage(LeftBookPage)->adviseLinkClicked(callback);
|
|
|
|
|
getPage(RightBookPage)->adviseLinkClicked(callback);
|
|
|
|
@ -136,8 +135,8 @@ namespace
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
MWGui::BookPage::ClickCallback callback =
|
|
|
|
|
[this](MWGui::TypesetBook::InteractiveId index) { notifyTopicClicked(index); };
|
|
|
|
|
MWGui::BookPage::ClickCallback callback
|
|
|
|
|
= [this](MWGui::TypesetBook::InteractiveId index) { notifyTopicClicked(index); };
|
|
|
|
|
|
|
|
|
|
getPage(LeftTopicIndex)->adviseLinkClicked(callback);
|
|
|
|
|
getPage(CenterTopicIndex)->adviseLinkClicked(callback);
|
|
|
|
|