VC warning fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-05-06 06:09:24 +00:00
parent bbc916e23c
commit 3d104ec357
3 changed files with 9 additions and 7 deletions

View File

@@ -552,13 +552,13 @@ void wxRadioBox::DoSetSize(int x, int y, int width, int height, int sizeFlags)
// if our parent had prepared a defer window handle for us, use it (unless
// we are a top level window)
wxWindowMSW *parent = GetParent();
#if USE_DEFERRED_SIZING
wxWindowMSW *parent = GetParent();
HDWP hdwp = parent && !IsTopLevel() ? (HDWP)parent->m_hDWP : NULL;
#else
HDWP hdwp = 0;
#endif
#endif
wxMoveWindowDeferred(hdwp, this, GetHwnd(), xx, yy, width, height);