Use correct DLL import/export specifier for multi-lib builds

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-05-18 01:22:06 +00:00
parent e328812d74
commit f460c29d59
37 changed files with 3885 additions and 3429 deletions

View File

@@ -7957,23 +7957,24 @@ void wxGrid::ShowCellEditControl()
editor->SetCellAttr( attr );
editor->SetSize( rect );
editor->GetControl()->Move(
editor->GetControl()->GetPosition().x + nXMove,
editor->GetControl()->GetPosition().y );
if (nXMove != 0)
editor->GetControl()->Move(
editor->GetControl()->GetPosition().x + nXMove,
editor->GetControl()->GetPosition().y );
editor->Show( true, attr );
int colXPos = 0;
for (int i = 0; i < m_currentCellCoords.GetCol(); i++)
{
colXPos += GetColSize( i );
}
int colXPos = GetColLeft(col);
// for (int i = 0; i < m_currentCellCoords.GetCol(); i++)
// {
// colXPos += GetColSize( i );
// }
int xUnit = 1, yUnit = 1;
GetScrollPixelsPerUnit( &xUnit, &yUnit );
if (m_currentCellCoords.GetCol() != 0)
Scroll( colXPos / xUnit - 1, GetScrollPos( wxVERTICAL ) );
else
Scroll( colXPos / xUnit, GetScrollPos( wxVERTICAL ) );
// int xUnit = 1, yUnit = 1;
// GetScrollPixelsPerUnit( &xUnit, &yUnit );
// if (col != 0)
// Scroll( colXPos / xUnit - 1, GetScrollPos( wxVERTICAL ) );
// else
// Scroll( colXPos / xUnit, GetScrollPos( wxVERTICAL ) );
// recalc dimensions in case we need to
// expand the scrolled window to account for editor