initialize all fields of WINDOWPOS struct to avoid mingw32 warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -311,7 +311,7 @@ int wxRendererMSW::GetHeaderButtonHeight(wxWindow * WXUNUSED(win))
|
||||
|
||||
// initialize the struct filled with the values by Header_Layout()
|
||||
RECT parentRect = { 0, 0, 100, 100 };
|
||||
WINDOWPOS wp = { 0 };
|
||||
WINDOWPOS wp = { 0, 0, 0, 0, 0, 0, 0 };
|
||||
HDLAYOUT hdl = { &parentRect, &wp };
|
||||
|
||||
return Header_Layout(hwndHeader, &hdl) ? wp.cy : DEFAULT_HEIGHT;
|
||||
|
Reference in New Issue
Block a user