Fix to MDI to restore 3D border; kludge to OGL Studio sample to redraw
the first client frame properly (need wxWindow::Redraw in wxWin API?) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -996,7 +996,7 @@ bool wxMDIChildFrame::HandleMDIActivate(long WXUNUSED(activate),
|
||||
}
|
||||
else
|
||||
{
|
||||
// we have nothing to with it
|
||||
// we have nothing to do with it
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
@@ -1076,6 +1076,10 @@ void wxMDIChildFrame::MSWDestroyWindow()
|
||||
HWND oldHandle = (HWND)GetHWND();
|
||||
SendMessage(GetWinHwnd(parent->GetClientWindow()), WM_MDIDESTROY,
|
||||
(WPARAM)oldHandle, 0);
|
||||
|
||||
if (parent->GetActiveChild() == (wxMDIChildFrame*) NULL)
|
||||
ResetWindowStyle((void*) NULL);
|
||||
|
||||
invalidHandle = 0;
|
||||
|
||||
if (m_hMenu)
|
||||
|
Reference in New Issue
Block a user