Bug fix to scrolwin.cpp (position not set in SetScrollbars); redundant variable
in wxGrid removed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -405,7 +405,6 @@ void wxGenericGrid::SetGridClippingRegion(wxDC *dc)
|
||||
|
||||
void wxGenericGrid::OnPaint(wxPaintEvent& WXUNUSED(event))
|
||||
{
|
||||
wxRectangle rect;
|
||||
int w, h;
|
||||
GetClientSize(&w, &h);
|
||||
|
||||
|
@@ -96,6 +96,8 @@ void wxScrolledWindow::SetScrollbars (int pixelsPerUnitX, int pixelsPerUnitY,
|
||||
|
||||
m_xScrollPixelsPerLine = pixelsPerUnitX;
|
||||
m_yScrollPixelsPerLine = pixelsPerUnitY;
|
||||
m_xScrollPosition = xPos;
|
||||
m_yScrollPosition = yPos;
|
||||
m_xScrollLines = noUnitsX;
|
||||
m_yScrollLines = noUnitsY;
|
||||
|
||||
|
Reference in New Issue
Block a user