Parent::~Parent() { delete mChild; mChild = 0; InitGraph(); InitSoftImage(); InitSoundMem(); InitFontToHandle(); }
FontManager::~FontManager(void) { // フォントデータ開放 InitFontToHandle(); if ( RemoveFontResourceEx( m_filePath.c_str() ,FR_PRIVATE, NULL)) { PostMessage(HWND_BROADCAST, WM_FONTCHANGE, 0, 0); } else { MessageBox(NULL, "remove failure", "", MB_OK); } }