MCPcopy Create free account
hub / github.com/MyGUI/mygui / onWindowClose

Method onWindowClose

Tools/LayoutEditor/Application.cpp:363–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361 }
362
363 bool Application::onWindowClose(size_t _handle)
364 {
365#if MYGUI_PLATFORM == MYGUI_PLATFORM_WIN32
366 if (::IsIconic((HWND)_handle))
367 ShowWindow((HWND)_handle, SW_SHOWNORMAL);
368#endif
369
370 CommandManager::getInstance().executeCommand("Command_QuitApp");
371 return false;
372 }
373
374 void Application::command_StatisticInfo(const MyGUI::UString& _commandName, bool& _result)
375 {

Callers

nothing calls this directly

Calls 1

executeCommandMethod · 0.45

Tested by

no test coverage detected