git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36659
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
- ::WinQueryWindowPos(hWnd, &m_vWinSwp);
+ ::WinQueryWindowPos(GetHwnd(), &m_vWinSwp);
else
{
int nYDiff = m_vWinSwp.cy - nHeight;
else
{
int nYDiff = m_vWinSwp.cy - nHeight;
nAdjustWidth = 0L;
else
nAdjustWidth = nVSBWidth;
nAdjustWidth = 0L;
else
nAdjustWidth = nVSBWidth;
- ::WinQueryWindowPos(hWnd, &vSwpScroll);
- ::WinSetWindowPos( hWnd
+ ::WinQueryWindowPos(GetHwnd(), &vSwpScroll);
+ ::WinSetWindowPos( GetHwnd()
,HWND_TOP
,vSwpScroll.x
,vSwpScroll.y + nAdjustHeight
,HWND_TOP
,vSwpScroll.x
,vSwpScroll.y + nAdjustHeight