& operator should be &&
virtual OnDismiss() access should match base extraneous semicolon git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -343,7 +343,7 @@ bool wxDataViewToggleCell::SetValue( const wxVariant &value )
|
||||
{
|
||||
m_toggle = value.GetBool();
|
||||
|
||||
return true;;
|
||||
return true;
|
||||
}
|
||||
|
||||
bool wxDataViewToggleCell::GetValue( wxVariant &WXUNUSED(value) )
|
||||
@@ -460,10 +460,6 @@ public:
|
||||
sizer->Fit( this );
|
||||
}
|
||||
|
||||
virtual void OnDismiss()
|
||||
{
|
||||
}
|
||||
|
||||
void OnCalendar( wxCalendarEvent &event );
|
||||
|
||||
wxCalendarCtrl *m_cal;
|
||||
@@ -471,6 +467,11 @@ public:
|
||||
size_t m_col;
|
||||
size_t m_row;
|
||||
|
||||
protected:
|
||||
virtual void OnDismiss()
|
||||
{
|
||||
}
|
||||
|
||||
private:
|
||||
DECLARE_EVENT_TABLE()
|
||||
};
|
||||
@@ -1519,7 +1520,7 @@ void wxDataViewMainWindow::OnMouse( wxMouseEvent &event )
|
||||
|
||||
if (m_lastOnSame)
|
||||
{
|
||||
if ((col == m_currentCol) & (current == m_currentRow) &&
|
||||
if ((col == m_currentCol) && (current == m_currentRow) &&
|
||||
(cell->GetMode() == wxDATAVIEW_CELL_EDITABLE) )
|
||||
{
|
||||
m_renameTimer->Start( 100, true );
|
||||
|
Reference in New Issue
Block a user