X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b7e6e7da208b6a95fb23cb50286a09dc90d96d2..236a9de39afa090fdee3cf91cb5364ceca69e3f8:/src/generic/grid.cpp diff --git a/src/generic/grid.cpp b/src/generic/grid.cpp index 592c390854..65a3603c05 100644 --- a/src/generic/grid.cpp +++ b/src/generic/grid.cpp @@ -624,7 +624,7 @@ void wxGridCellTextEditor::HandleReturn( wxKeyEvent& { #if defined(__WXMOTIF__) || defined(__WXGTK__) // wxMotif needs a little extra help... - long pos = Text()->GetInsertionPoint(); + size_t pos = (size_t)( Text()->GetInsertionPoint() ); wxString s( Text()->GetValue() ); s = s.Left(pos) + "\n" + s.Mid(pos); Text()->SetValue(s); @@ -7606,6 +7606,12 @@ void wxGrid::Fit() AutoSize(); } + +wxPen& wxGrid::GetDividerPen() const +{ + return wxNullPen; +} + // ---------------------------------------------------------------------------- // cell value accessor functions // ----------------------------------------------------------------------------