]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/toplevel.cpp
no real changes; just streamlined ifdef around compositing check and removed redundan...
[wxWidgets.git] / src / msw / toplevel.cpp
index 339734afb1d96e0e8b4da12fb37b0a34f0dde202..c1bba3066e78387ab65a49795219afb0a9fcfba0 100644 (file)
@@ -318,10 +318,10 @@ bool wxTopLevelWindowMSW::HandleSettingChange(WXWPARAM wParam, WXLPARAM lParam)
     SHACTIVATEINFO *info = (SHACTIVATEINFO*) m_activateInfo;
     if ( info )
     {
-        return SHHandleWMSettingChange(GetHwnd(), wParam, lParam, info) == TRUE;
+        SHHandleWMSettingChange(GetHwnd(), wParam, lParam, info);
     }
 
-    return false;
+    return wxWindowMSW::HandleSettingChange(wParam, lParam);
 }
 #endif
 
@@ -349,18 +349,6 @@ WXLRESULT wxTopLevelWindowMSW::MSWWindowProc(WXUINT message, WXWPARAM wParam, WX
 
             break;
         }
-        case WM_SETTINGCHANGE:
-        {
-            processed = HandleSettingChange(wParam, lParam);
-
-            // if it was processed will still need to allow the base class to
-            // forward this message to child windows
-            if ( processed )
-            {
-                wxTopLevelWindowBase::MSWWindowProc(message, wParam, lParam);
-            }
-            break;
-        }
         case WM_HIBERNATE:
         {
             if (wxTheApp)