]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/mdi.cpp
In wxGDIPlusContext::GetTextExtent(), return more accurate text height if possible
[wxWidgets.git] / src / msw / mdi.cpp
index ad76a20f54d2e16b2a3d1691e06460ccdddd24fe..6dd3e63db51017bf09f232a18f03d842bea144e2 100644 (file)
@@ -574,19 +574,6 @@ WXLRESULT wxMDIParentFrame::MSWWindowProc(WXUINT message,
 
             processed = true;
             break;
-
-        case WM_ERASEBKGND:
-            processed = true;
-
-            // we erase background ourselves
-            rc = true;
-            break;
-
-        case WM_SIZE:
-            // though we don't (usually) resize the MDI client to exactly fit
-            // the client area we need to pass this one to DefFrameProc to
-            // allow the children to show
-            break;
     }
 
     if ( !processed )
@@ -699,7 +686,7 @@ bool wxMDIParentFrame::TryBefore(wxEvent& event)
     if ( event.GetEventType() == wxEVT_COMMAND_MENU_SELECTED )
     {
         wxMDIChildFrame * const child = GetActiveChild();
-        if ( child && child->ProcessEventHere(event) )
+        if ( child && child->ProcessWindowEventLocally(event) )
             return true;
     }