X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dae6a419ae7ecaa84d0853b442242b3027cdbe9b..c56ae04274fda26269c6d06be34cf59a45eb70ce:/src/common/dpycmn.cpp?ds=sidebyside diff --git a/src/common/dpycmn.cpp b/src/common/dpycmn.cpp index 7425df4ef6..6527fc64de 100644 --- a/src/common/dpycmn.cpp +++ b/src/common/dpycmn.cpp @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: common/dpycmn.cpp +// Name: src/common/dpycmn.cpp // Purpose: wxDisplayBase implementation // Author: Vadim Zeitlin // Modified by: @@ -24,10 +24,15 @@ #pragma hdrstop #endif -#include "wx/display.h" - #if wxUSE_DISPLAY +#ifndef WX_PRECOMP + #include "wx/gdicmn.h" + #include "wx/window.h" +#endif //WX_PRECOMP + +#include "wx/display.h" + #include "wx/arrimpl.cpp" WX_DEFINE_OBJARRAY(wxArrayVideoModes) @@ -59,4 +64,3 @@ int wxDisplayBase::GetFromWindow(wxWindow *window) #endif // !__WXMSW__ #endif // wxUSE_DISPLAY -