diff options
Diffstat (limited to 'src/FbWinFrame.cc')
-rw-r--r-- | src/FbWinFrame.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc index 00bc118..1051dc8 100644 --- a/src/FbWinFrame.cc +++ b/src/FbWinFrame.cc | |||
@@ -43,7 +43,7 @@ | |||
43 | #include <algorithm> | 43 | #include <algorithm> |
44 | 44 | ||
45 | using std::max; | 45 | using std::max; |
46 | using std::mem_fun; | 46 | using std::mem_fn; |
47 | using std::string; | 47 | using std::string; |
48 | 48 | ||
49 | using FbTk::STLUtil::forAll; | 49 | using FbTk::STLUtil::forAll; |
@@ -405,7 +405,7 @@ void FbWinFrame::notifyMoved(bool clear) { | |||
405 | 405 | ||
406 | if ((m_tabmode == EXTERNAL && m_use_tabs) || m_use_titlebar) { | 406 | if ((m_tabmode == EXTERNAL && m_use_tabs) || m_use_titlebar) { |
407 | m_tab_container.parentMoved(); | 407 | m_tab_container.parentMoved(); |
408 | m_tab_container.for_each(mem_fun(&FbTk::Button::parentMoved)); | 408 | m_tab_container.for_each(mem_fn(&FbTk::Button::parentMoved)); |
409 | } | 409 | } |
410 | 410 | ||
411 | if (m_use_titlebar) { | 411 | if (m_use_titlebar) { |
@@ -414,8 +414,8 @@ void FbWinFrame::notifyMoved(bool clear) { | |||
414 | 414 | ||
415 | m_titlebar.parentMoved(); | 415 | m_titlebar.parentMoved(); |
416 | 416 | ||
417 | forAll(m_buttons_left, mem_fun(&FbTk::Button::parentMoved)); | 417 | forAll(m_buttons_left, mem_fn(&FbTk::Button::parentMoved)); |
418 | forAll(m_buttons_right, mem_fun(&FbTk::Button::parentMoved)); | 418 | forAll(m_buttons_right, mem_fn(&FbTk::Button::parentMoved)); |
419 | } | 419 | } |
420 | 420 | ||
421 | if (m_use_handle) { | 421 | if (m_use_handle) { |
@@ -434,8 +434,8 @@ void FbWinFrame::clearAll() { | |||
434 | 434 | ||
435 | if (m_use_titlebar) { | 435 | if (m_use_titlebar) { |
436 | redrawTitlebar(); | 436 | redrawTitlebar(); |
437 | forAll(m_buttons_left, mem_fun(&FbTk::Button::clear)); | 437 | forAll(m_buttons_left, mem_fn(&FbTk::Button::clear)); |
438 | forAll(m_buttons_right, mem_fun(&FbTk::Button::clear)); | 438 | forAll(m_buttons_right, mem_fn(&FbTk::Button::clear)); |
439 | } else if (m_tabmode == EXTERNAL && m_use_tabs) | 439 | } else if (m_tabmode == EXTERNAL && m_use_tabs) |
440 | m_tab_container.clear(); | 440 | m_tab_container.clear(); |
441 | 441 | ||