void wxMDIParentFrame::OnIconized(wxIconizeEvent& event) { event.Skip(); if ( !event.IsIconized() ) UpdateClientSize(); }
//------------------------------------------------------------------------------ //void OnIconize(wxIconizeEvent &event) //------------------------------------------------------------------------------ void GmatMdiChildFrame::OnIconize(wxIconizeEvent &event) { #ifdef DEBUG_ICONIZE MessageInterface::ShowMessage ("\nGmatMdiChildFrame::OnIconize() entered, title='%s', mItemType=%d\n", GetTitle().c_str(), mItemType); #endif // Update both edit and animation tools if frame is restored #ifdef DEBUG_UPDATE_GUI_ITEM MessageInterface::ShowMessage(" Calling UpdateGuiItem()\n"); #endif if (event.Iconized()) { #ifdef DEBUG_UPDATE_GUI_ITEM MessageInterface::ShowMessage(" Frame is iconized.\n"); #endif UpdateGuiItem(0, 0); } else { #ifdef DEBUG_UPDATE_GUI_ITEM MessageInterface::ShowMessage(" Frame is restored.\n"); #endif UpdateGuiItem(1, 1); } #ifdef DEBUG_ICONIZE MessageInterface::ShowMessage ("GmatMdiChildFrame::OnIconize() leaving, title='%s'\n", GetTitle().c_str()); #endif event.Skip(); }
void wxZRColaFrame::OnIconize(wxIconizeEvent& event) { if (m_taskBarIcon) Show(!event.IsIconized()); event.Skip(); }
void NaviMainFrame::onIconize(wxIconizeEvent& event) { bool trayEnabled; wxConfigBase::Get()->Read(Preferences::MINIMIZE_TO_TRAY, &trayEnabled, false); if (trayEnabled) { Show(!event.Iconized()); } event.Skip(); }
void CamuleDlg::OnMinimize(wxIconizeEvent& evt) { // Evil Hack: check if the mouse is inside the window #ifndef __WINDOWS__ if (GetScreenRect().Contains(wxGetMousePosition())) #endif { if (m_prefsDialog && m_prefsDialog->IsShown()) { // Veto. } else { if (m_wndTaskbarNotifier) { #if wxCHECK_VERSION(2, 9, 0) DoIconize(evt.IsIconized()); #else DoIconize(evt.Iconized()); #endif } evt.Skip(); } } }
void OBSBasic::OnMinimize(wxIconizeEvent &event) { event.Skip(); }