X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b15b970e084b5b8de23d7f44734e6cc714d2a66..3cd94a0d119ade811cd876a309cfe6d28b5c36dd:/src/msw/window.cpp diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 004d5d78bd..aba22e63b4 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -2955,7 +2955,7 @@ bool wxWindowMSW::MSWGetCreateWindowCoords(const wxPoint& pos, WXHWND wxWindowMSW::MSWGetParent() const { - return m_parent ? m_parent->GetHWND() : NULL; + return m_parent ? m_parent->GetHWND() : WXHWND(NULL); } bool wxWindowMSW::MSWCreate(const wxChar *wclass,