From a6c864ae7892bc8777b3e373ca43d1187135d78f Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 27 Apr 2017 09:28:22 -0700 Subject: [PATCH] Add a missing constant and enum --- interface/wx/grid.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/interface/wx/grid.h b/interface/wx/grid.h index 6df1a21d05..d4d38c9513 100644 --- a/interface/wx/grid.h +++ b/interface/wx/grid.h @@ -5,6 +5,21 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// + +/// Magic constant which tells (to some functions) to automatically calculate +/// the appropriate size +#define wxGRID_AUTOSIZE (-1) + +/// Many wxGrid methods work either with columns or rows, this enum is used for +/// the parameter indicating which one should it be +enum wxGridDirection +{ + wxGRID_COLUMN, + wxGRID_ROW +}; + + + /** @class wxGridCellRenderer