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:
parent
115be92b4f
commit
728cf0ad42
@ -767,7 +767,7 @@ int wxStandardDialogLayoutAdapter::DoMustScroll(wxDialog* dialog, wxSize& window
|
|||||||
#if wxUSE_DISPLAY
|
#if wxUSE_DISPLAY
|
||||||
displaySize = wxDisplay(wxDisplay::GetFromWindow(dialog)).GetClientArea().GetSize();
|
displaySize = wxDisplay(wxDisplay::GetFromWindow(dialog)).GetClientArea().GetSize();
|
||||||
#else
|
#else
|
||||||
displaySize = wxGetClientDisplayRect();
|
displaySize = wxGetClientDisplayRect().GetSize();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int flags = 0;
|
int flags = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user