don't use NULL when we mean 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
868302f326
commit
a268f4b734
@ -302,7 +302,7 @@ int wxRendererMSW::GetHeaderButtonHeight(wxWindow * WXUNUSED(win))
|
||||
|
||||
|
||||
// create a temporary header window just to get its geometry
|
||||
HWND hwndHeader = ::CreateWindow(WC_HEADER, NULL, NULL,
|
||||
HWND hwndHeader = ::CreateWindow(WC_HEADER, NULL, 0,
|
||||
0, 0, 0, 0, NULL, NULL, NULL, NULL);
|
||||
if ( !hwndHeader )
|
||||
return DEFAULT_HEIGHT;
|
||||
|
Loading…
Reference in New Issue
Block a user