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