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:
@@ -4828,7 +4828,6 @@ bool wxPropertyGrid::HandleMouseMove( int x, unsigned int y,
|
|||||||
{
|
{
|
||||||
|
|
||||||
int newSplitterX = x - m_dragOffset;
|
int newSplitterX = x - m_dragOffset;
|
||||||
int splitterX = x - splitterHitOffset;
|
|
||||||
|
|
||||||
// Splitter redraw required?
|
// Splitter redraw required?
|
||||||
if ( newSplitterX != splitterX )
|
if ( newSplitterX != splitterX )
|
||||||
|
Reference in New Issue
Block a user