summaryrefslogtreecommitdiff
path: root/src/gui/windowmenu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-14 19:48:40 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-14 19:48:40 +0300
commitdb461ee046e63b7148174c40e05de76c5d7be31a (patch)
tree06e4386463e495b8e74e7dbc2bfea0da6c34413a /src/gui/windowmenu.cpp
parent066488a6f4d086b57f4fe32e8799c207552cccb7 (diff)
downloadmanaplus-db461ee046e63b7148174c40e05de76c5d7be31a.tar.gz
manaplus-db461ee046e63b7148174c40e05de76c5d7be31a.tar.bz2
manaplus-db461ee046e63b7148174c40e05de76c5d7be31a.tar.xz
manaplus-db461ee046e63b7148174c40e05de76c5d7be31a.zip
Replace gcn::Button to Button in all classes.
Diffstat (limited to 'src/gui/windowmenu.cpp')
-rw-r--r--src/gui/windowmenu.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windowmenu.cpp b/src/gui/windowmenu.cpp
index ad4c6970a..40e004fdb 100644
--- a/src/gui/windowmenu.cpp
+++ b/src/gui/windowmenu.cpp
@@ -133,7 +133,7 @@ WindowMenu::~WindowMenu()
delete mTextPopup;
mTextPopup = nullptr;
mButtonNames.clear();
- for (std::vector <gcn::Button*>::iterator it = mButtons.begin(),
+ for (std::vector <Button*>::iterator it = mButtons.begin(),
it_end = mButtons.end(); it != it_end; ++it)
{
Button *btn = dynamic_cast<Button*>(*it);
@@ -330,7 +330,7 @@ void WindowMenu::showButton(const std::string &name, const bool visible)
void WindowMenu::updateButtons()
{
int x = 0, h = 0;
- std::vector <gcn::Button*>::const_iterator it, it_end;
+ std::vector <Button*>::const_iterator it, it_end;
for (it = mButtons.begin(), it_end = mButtons.end(); it != it_end; ++it)
safeRemove(*it);
for (it = mButtons.begin(), it_end = mButtons.end(); it != it_end; ++it)
@@ -374,7 +374,7 @@ void WindowMenu::loadButtons()
void WindowMenu::saveButtons()
{
int i = 0;
- for (std::vector <gcn::Button*>::iterator it = mButtons.begin(),
+ for (std::vector <Button*>::iterator it = mButtons.begin(),
it_end = mButtons.end();
it != it_end; ++it)
{