]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/grid.cpp
moved wxDash typedef to gdicmn.h
[wxWidgets.git] / src / generic / grid.cpp
index 592c3908543c5e606d5e0935e6a19f9d6c55a846..65a3603c05aef9ecabc2a4567fcb6691c02b061e 100644 (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
 // ----------------------------------------------------------------------------