summaryrefslogtreecommitdiff
path: root/wx+/grid.h
diff options
context:
space:
mode:
Diffstat (limited to 'wx+/grid.h')
-rw-r--r--wx+/grid.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/wx+/grid.h b/wx+/grid.h
index 918b4a4f..a5082039 100644
--- a/wx+/grid.h
+++ b/wx+/grid.h
@@ -202,7 +202,9 @@ private:
void redirectRowLabelEvent(wxMouseEvent& event);
-#if defined FFS_WIN && !wxCHECK_VERSION(2, 9, 0)
+ virtual wxSize GetSizeAvailableForScrollTarget(const wxSize& size); //required since wxWidgets 2.9 if SetTargetWindow() is used
+
+#if defined FFS_WIN || defined FFS_MAC
virtual void SetScrollbar(int orientation, int position, int thumbSize, int range, bool refresh); //get rid of scrollbars, but preserve scrolling behavior!
#endif
bgstack15