X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2cd354c9c696fa507f3bd1443da14a320c0e14b9..ddec9f1eeb99ef15f18b0bcb7ff503cca4a2942f:/include/wx/scrolwin.h?ds=sidebyside diff --git a/include/wx/scrolwin.h b/include/wx/scrolwin.h index 4fa1a03af1..dcbc0ef320 100644 --- a/include/wx/scrolwin.h +++ b/include/wx/scrolwin.h @@ -245,8 +245,10 @@ protected: { return ScrollGetWindowSizeForVirtualSize(size); } // include the declaration of wxScrollHelperNative if needed -#if defined(__WXGTK__) && !defined(__WXUNIVERSAL__) +#if defined(__WXGTK20__) && !defined(__WXUNIVERSAL__) #include "wx/gtk/scrolwin.h" +#elif defined(__WXGTK__) && !defined(__WXUNIVERSAL__) + #include "wx/gtk1/scrolwin.h" #else typedef wxScrollHelper wxScrollHelperNative; #endif