summaryrefslogtreecommitdiff
path: root/ui/triple_splitter.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:22:55 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:22:55 +0200
commitc4182431ac7d9d306fdd2267e082fa4cec6fec2c (patch)
tree865cca543c062b7af2586f85cee19f9af4e7614d /ui/triple_splitter.cpp
parent5.11 (diff)
downloadFreeFileSync-c4182431ac7d9d306fdd2267e082fa4cec6fec2c.tar.gz
FreeFileSync-c4182431ac7d9d306fdd2267e082fa4cec6fec2c.tar.bz2
FreeFileSync-c4182431ac7d9d306fdd2267e082fa4cec6fec2c.zip
5.12
Diffstat (limited to 'ui/triple_splitter.cpp')
-rw-r--r--ui/triple_splitter.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/ui/triple_splitter.cpp b/ui/triple_splitter.cpp
index 8132fd13..f6ef006d 100644
--- a/ui/triple_splitter.cpp
+++ b/ui/triple_splitter.cpp
@@ -198,8 +198,12 @@ void TripleSplitter::onMouseMovement(wxMouseEvent& event)
}
else
{
- //we receive those only while above the sash, not the managed windows!
- SetCursor(wxCURSOR_SIZEWE); //set window-local only!
+ //we receive those only while above the sash, not the managed windows (except when the managed windows are disabled!)
+ const int posX = event.GetPosition().x;
+ if (hitOnSashLine(posX))
+ SetCursor(wxCURSOR_SIZEWE); //set window-local only!
+ else
+ SetCursor(*wxSTANDARD_CURSOR);
}
event.Skip();
}
bgstack15