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

Method onWindowClose

Tools/SkinEditor/Application.cpp:313–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311 }
312
313 bool Application::onWindowClose(size_t _handle)
314 {
315#if MYGUI_PLATFORM == MYGUI_PLATFORM_WIN32
316 if (::IsIconic((HWND)_handle))
317 ShowWindow((HWND)_handle, SW_SHOWNORMAL);
318#endif
319
320 CommandManager::getInstance().executeCommand("Command_QuitApp");
321 return false;
322 }
323
324 void Application::injectKeyPress(MyGUI::KeyCode _key, MyGUI::Char _text)
325 {

Callers

nothing calls this directly

Calls 1

executeCommandMethod · 0.45

Tested by

no test coverage detected