void CFrame::OnFloatingPageClosed(wxCloseEvent& event) { ToggleFloatWindow(event.GetId() - IDM_LOG_WINDOW_PARENT + IDM_FLOAT_LOG_WINDOW); }
void ItemForm::onModalClose(wxCloseEvent& event) { if (m_pDialog && m_pDialog->GetId() == event.GetId()) m_pDialog = nullptr; }