X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b2644cc3ccb41de07e2160857f1cc0c2a2069d79..ab6e49136690b92c4879f8f964f7523a775dc7ee:/include/wx/display.h?ds=sidebyside diff --git a/include/wx/display.h b/include/wx/display.h index a63376b6c7..a9eeb86607 100644 --- a/include/wx/display.h +++ b/include/wx/display.h @@ -14,7 +14,7 @@ #if wxUSE_DISPLAY -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "displaybase.h" #endif @@ -150,7 +150,7 @@ protected: #if defined(__WXMSW__) #include "wx/msw/display.h" #elif defined(__WXMOTIF__) - #include "wx/motif/display.h" + #include "wx/unix/displayx11.h" #elif defined(__WXGTK__) #include "wx/unix/displayx11.h" #elif defined(__WXMAC__)