Include gtk1 headers for non-gtk2. I don't really like this CPP logic, or more exactly __WXGTK__ without __WXGTK20__
being GTK1, oh well. Might have missed some. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user