diff --git a/src/msw/sockmsw.cpp b/src/msw/sockmsw.cpp index 7ea56a4ea1..d531813ca6 100644 --- a/src/msw/sockmsw.cpp +++ b/src/msw/sockmsw.cpp @@ -347,7 +347,7 @@ LRESULT CALLBACK wxSocket_Internal_WinProc(HWND hWnd, // only then). Ignore such dummy notifications. { fd_set fds; - timeval tv = { 0 }; + timeval tv = { 0, 0 }; wxFD_ZERO(&fds); wxFD_SET(socket->m_fd, &fds); diff --git a/src/msw/statusbar.cpp b/src/msw/statusbar.cpp index e694abf247..a63dcc4fb6 100644 --- a/src/msw/statusbar.cpp +++ b/src/msw/statusbar.cpp @@ -374,7 +374,7 @@ int wxStatusBar::MSWGetBorderWidth() const /* static */ const wxStatusBar::MSWMetrics& wxStatusBar::MSWGetMetrics() { - static MSWMetrics s_metrics = { 0 }; + static MSWMetrics s_metrics = { 0, 0 }; if ( !s_metrics.textMargin ) { // Grip size should be self explanatory (the only problem with it is