// HANDLE_WM_NCDESTROY void IRA_Dialog::OnNCDestroy(HWND hwnd) { if (hFont) delete_font(); if (hIcon) delete_icon(); if (lpCaption) delete_caption(); if (hwnd) DestroyWindow(hwnd); // could use a better name ira = null; }
void menu_cb(Fl_Widget *w, long a) { if(menu_item) { switch(a) { case 1: Icon::cb_execute((Fl_Item*)w, menu_item); break; case 3: delete_icon(w, menu_item); break; case 4: property_dialog(w, menu_item, false); break; } } }
void briefing_editor_dlg::OnDeleteIcon() { delete_icon(m_cur_icon); }