phoenix/windows/action/action.cpp
raw| 1 | namespace phoenix { |
| 2 | |
| 3 | void pAction::setEnabled(bool enabled) { |
| 4 | if(parentWindow) parentWindow->p.updateMenu(); |
| 5 | } |
| 6 | |
| 7 | void pAction::setVisible(bool visible) { |
| 8 | if(parentWindow) parentWindow->p.updateMenu(); |
| 9 | } |
| 10 | |
| 11 | void pAction::constructor() { |
| 12 | parentMenu = 0; |
| 13 | parentWindow = 0; |
| 14 | } |
| 15 | |
| 16 | } |