| 13 | // Menu handler functions |
| 14 | |
| 15 | void OnFullScreen(const CommandContext &context) |
| 16 | { |
| 17 | auto &project = context.project; |
| 18 | auto &window = GetProjectFrame( project ); |
| 19 | |
| 20 | bool bChecked = !window.wxTopLevelWindow::IsFullScreen(); |
| 21 | window.wxTopLevelWindow::ShowFullScreen(bChecked); |
| 22 | |
| 23 | ToolManager::Get(project).ModifyToolbarMenus(project); |
| 24 | } |
| 25 | |
| 26 | // Menu definitions |
| 27 |
nothing calls this directly
no test coverage detected