More compilation fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2000-03-13 12:04:25 +00:00
parent 12646a5ae2
commit 6fc0f38fe0
2 changed files with 8 additions and 2 deletions

View File

@@ -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
// ----------------------------------------------------------------------------