]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/toolbar.cpp
Add more checks for Intel compiler.
[wxWidgets.git] / src / msw / toolbar.cpp
index ecaa2b17efbaf98b66c99a13f301b55bffecdeeb..c292bb77de06b529c24b93406989fe6208ffbf51 100644 (file)
@@ -1948,6 +1948,10 @@ WXLRESULT wxToolBar::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam
                 return 0;
             break;
 #endif // wxHAS_MSW_BACKGROUND_ERASE_HOOK
+
+        case WM_PRINTCLIENT:
+            wxFillRect(GetHwnd(), (HDC)wParam, MSWGetToolbarBgBrush());
+            return 1;
     }
 
     return wxControl::MSWWindowProc(nMsg, wParam, lParam);