]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/scrolbar.cpp
don't return the next line text from GetLineText() for empty lines (patch 1697208)
[wxWidgets.git] / src / gtk1 / scrolbar.cpp
index bc2977ba69f2f99be70f2c7b414c4adece742773..b2ef2c4cf1ccbe49d3a74c75085e0485a906cd41 100644 (file)
 
 #include "wx/scrolbar.h"
 
-#include "wx/utils.h"
-#include "wx/math.h"
+#ifndef WX_PRECOMP
+    #include "wx/utils.h"
+    #include "wx/math.h"
+#endif
+
 #include "wx/gtk1/private.h"
 
 //-----------------------------------------------------------------------------
@@ -362,4 +365,4 @@ wxScrollBar::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant))
     return GetDefaultAttributesFromGTKWidget(gtk_vscrollbar_new);
 }
 
-#endif
+#endif // wxUSE_SCROLLBAR