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:
parent
12646a5ae2
commit
6fc0f38fe0
@ -1478,7 +1478,7 @@ public:
|
||||
void SetCellBitmap(wxBitmap *WXUNUSED(bitmap), int WXUNUSED(row), int WXUNUSED(col))
|
||||
{ }
|
||||
void SetDividerPen(const wxPen& WXUNUSED(pen)) { }
|
||||
wxPen& GetDividerPen() const { return wxNullPen; }
|
||||
wxPen& GetDividerPen() const;
|
||||
void OnActivate(bool WXUNUSED(active)) {}
|
||||
|
||||
// ******** End of compatibility functions **********
|
||||
|
@ -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
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user