Re-tagging 2.9.3.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/tags/WX_2_9_3@70004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
rem Uncomment the next line to set the version; used also in wxWidgets.iss
|
rem Uncomment the next line to set the version; used also in wxWidgets.iss
|
||||||
SET WXW_VER=2.9.3-rc2
|
SET WXW_VER=2.9.3
|
||||||
if (%WXW_VER%)==() SET WXW_VER=SVN
|
if (%WXW_VER%)==() SET WXW_VER=SVN
|
||||||
|
|
||||||
echo docs building for %WXW_VER%
|
echo docs building for %WXW_VER%
|
||||||
|
@@ -672,6 +672,8 @@ wxDataViewRendererBase::wxDataViewRendererBase( const wxString &varianttype,
|
|||||||
|
|
||||||
wxDataViewRendererBase::~wxDataViewRendererBase()
|
wxDataViewRendererBase::~wxDataViewRendererBase()
|
||||||
{
|
{
|
||||||
|
if ( m_editorCtrl )
|
||||||
|
DestroyEditControl();
|
||||||
}
|
}
|
||||||
|
|
||||||
wxDataViewCtrl* wxDataViewRendererBase::GetView() const
|
wxDataViewCtrl* wxDataViewRendererBase::GetView() const
|
||||||
@@ -740,6 +742,8 @@ void wxDataViewRendererBase::DestroyEditControl()
|
|||||||
|
|
||||||
wxPendingDelete.Append(handler);
|
wxPendingDelete.Append(handler);
|
||||||
wxPendingDelete.Append(m_editorCtrl);
|
wxPendingDelete.Append(m_editorCtrl);
|
||||||
|
|
||||||
|
m_editorCtrl = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxDataViewRendererBase::CancelEditing()
|
void wxDataViewRendererBase::CancelEditing()
|
||||||
|
@@ -2433,7 +2433,7 @@ void wxDataViewMainWindow::ScrollTo( int rows, int column )
|
|||||||
int x, y;
|
int x, y;
|
||||||
m_owner->GetScrollPixelsPerUnit( &x, &y );
|
m_owner->GetScrollPixelsPerUnit( &x, &y );
|
||||||
int sy = GetLineStart( rows )/y;
|
int sy = GetLineStart( rows )/y;
|
||||||
int sx = 0;
|
int sx = -1;
|
||||||
if( column != -1 )
|
if( column != -1 )
|
||||||
{
|
{
|
||||||
wxRect rect = GetClientRect();
|
wxRect rect = GetClientRect();
|
||||||
@@ -3775,6 +3775,8 @@ bool wxDataViewMainWindow::TryAdvanceCurrentColumn(wxDataViewTreeNode *node, boo
|
|||||||
if ( idx >= (int)GetOwner()->GetColumnCount() )
|
if ( idx >= (int)GetOwner()->GetColumnCount() )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
GetOwner()->EnsureVisible(m_currentRow, idx);
|
||||||
|
|
||||||
if ( idx < 1 )
|
if ( idx < 1 )
|
||||||
{
|
{
|
||||||
// We are going to the left of the second column. Reset to whole-row
|
// We are going to the left of the second column. Reset to whole-row
|
||||||
|
Reference in New Issue
Block a user