Remove duplicate variable definition.

The splitterX variable in wxPropertyGrid::HandleMouseMove() was defined twice
with the same value, remove the second definition to avoid warnings about
shadowing the variable in outer scope from some compilers.

See #11817.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2010-03-20 12:45:19 +00:00
parent d86f721af3
commit 636d5f3f23

View File

@@ -4828,7 +4828,6 @@ bool wxPropertyGrid::HandleMouseMove( int x, unsigned int y,
{
int newSplitterX = x - m_dragOffset;
int splitterX = x - splitterHitOffset;
// Splitter redraw required?
if ( newSplitterX != splitterX )