diff --git a/src/msw/mdi.cpp b/src/msw/mdi.cpp index 8b0ab4e871..68faa155db 100644 --- a/src/msw/mdi.cpp +++ b/src/msw/mdi.cpp @@ -1037,6 +1037,11 @@ void wxMDIChildFrame::Activate() wxMDIParentFrame * const parent = GetMDIParent(); if ( parent && parent->GetClientWindow() ) { + // Activating an iconized MDI frame doesn't do anything, so restore it + // first to really present it to the user. + if ( IsIconized() ) + Restore(); + ::SendMessage(GetWinHwnd(parent->GetClientWindow()), WM_MDIACTIVATE, (WPARAM) GetHwnd(), 0); }