Fixed wxMSW compilation with wxUSE_POPUPWIN = 0.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Dimitri Schoolwerth
2003-11-16 20:43:06 +00:00
parent a135cdfbde
commit e1a23b2d89

View File

@@ -29,8 +29,11 @@
#endif
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif //WX_PRECOMP
#if wxUSE_POPUPWIN
#include "wx/popupwin.h"
#include "wx/msw/private.h" // for GetDesktopWindow()
@@ -85,3 +88,5 @@ WXHWND wxPopupWindow::MSWGetParent() const
return (WXHWND)::GetDesktopWindow();
}
#endif // #if wxUSE_POPUPWIN