| 64 | } |
| 65 | |
| 66 | void DemoKeeper::destroyScene() |
| 67 | { |
| 68 | MyGUI::Gui::getInstance().destroyChildWidget(m_button); |
| 69 | |
| 70 | #ifdef MYGUI_STATIC |
| 71 | MyGUI::PluginManager::getInstance().uninstallPlugin(plugin_item); |
| 72 | delete plugin_item; |
| 73 | plugin_item = nullptr; |
| 74 | #else |
| 75 | #ifdef _DEBUG |
| 76 | MyGUI::PluginManager::getInstance().unloadPlugin("Plugin_StrangeButton_d.dll"); |
| 77 | #else |
| 78 | MyGUI::PluginManager::getInstance().unloadPlugin("Plugin_StrangeButton.dll"); |
| 79 | #endif |
| 80 | #endif |
| 81 | } |
| 82 | |
| 83 | } // namespace demo |
| 84 |
nothing calls this directly
no test coverage detected