compilation fix for wxUSE_DISPLAY==0

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2008-01-05 00:02:29 +00:00
parent 115be92b4f
commit 728cf0ad42

View File

@ -767,7 +767,7 @@ int wxStandardDialogLayoutAdapter::DoMustScroll(wxDialog* dialog, wxSize& window
#if wxUSE_DISPLAY
displaySize = wxDisplay(wxDisplay::GetFromWindow(dialog)).GetClientArea().GetSize();
#else
displaySize = wxGetClientDisplayRect();
displaySize = wxGetClientDisplayRect().GetSize();
#endif
int flags = 0;