diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-14 19:48:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-14 19:48:40 +0300 |
commit | db461ee046e63b7148174c40e05de76c5d7be31a (patch) | |
tree | 06e4386463e495b8e74e7dbc2bfea0da6c34413a /src/gui/popupmenu.cpp | |
parent | 066488a6f4d086b57f4fe32e8799c207552cccb7 (diff) | |
download | manaplus-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/popupmenu.cpp')
-rw-r--r-- | src/gui/popupmenu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp index 379844983..be03f2ef1 100644 --- a/src/gui/popupmenu.cpp +++ b/src/gui/popupmenu.cpp @@ -1873,8 +1873,8 @@ void PopupMenu::showPopup(const int x, const int y, Button *const button) mY = y; mBrowserBox->clearRows(); - std::vector <gcn::Button*> names = windowMenu->getButtons(); - for (std::vector <gcn::Button*>::const_iterator it = names.begin(), + std::vector <Button*> names = windowMenu->getButtons(); + for (std::vector <Button*>::const_iterator it = names.begin(), it_end = names.end(); it != it_end; ++ it) { const Button *const btn = dynamic_cast<Button*>(*it); |