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:
@@ -1478,7 +1478,7 @@ public:
|
|||||||
void SetCellBitmap(wxBitmap *WXUNUSED(bitmap), int WXUNUSED(row), int WXUNUSED(col))
|
void SetCellBitmap(wxBitmap *WXUNUSED(bitmap), int WXUNUSED(row), int WXUNUSED(col))
|
||||||
{ }
|
{ }
|
||||||
void SetDividerPen(const wxPen& WXUNUSED(pen)) { }
|
void SetDividerPen(const wxPen& WXUNUSED(pen)) { }
|
||||||
wxPen& GetDividerPen() const { return wxNullPen; }
|
wxPen& GetDividerPen() const;
|
||||||
void OnActivate(bool WXUNUSED(active)) {}
|
void OnActivate(bool WXUNUSED(active)) {}
|
||||||
|
|
||||||
// ******** End of compatibility functions **********
|
// ******** End of compatibility functions **********
|
||||||
|
@@ -624,7 +624,7 @@ void wxGridCellTextEditor::HandleReturn( wxKeyEvent&
|
|||||||
{
|
{
|
||||||
#if defined(__WXMOTIF__) || defined(__WXGTK__)
|
#if defined(__WXMOTIF__) || defined(__WXGTK__)
|
||||||
// wxMotif needs a little extra help...
|
// wxMotif needs a little extra help...
|
||||||
long pos = Text()->GetInsertionPoint();
|
size_t pos = (size_t)( Text()->GetInsertionPoint() );
|
||||||
wxString s( Text()->GetValue() );
|
wxString s( Text()->GetValue() );
|
||||||
s = s.Left(pos) + "\n" + s.Mid(pos);
|
s = s.Left(pos) + "\n" + s.Mid(pos);
|
||||||
Text()->SetValue(s);
|
Text()->SetValue(s);
|
||||||
@@ -7606,6 +7606,12 @@ void wxGrid::Fit()
|
|||||||
AutoSize();
|
AutoSize();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
wxPen& wxGrid::GetDividerPen() const
|
||||||
|
{
|
||||||
|
return wxNullPen;
|
||||||
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// cell value accessor functions
|
// cell value accessor functions
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user