Drop down arrow can get stuck in 'hover' state. fix supplied
Brought to you by:
eranif
The drop down arrow can get stuck in the 'hover state' after the mouse leaves the window because it is not redrawn.
Its simple to fix:
svn diff:
Index: wxFlatNotebook.cpp
===================================================================
--- wxFlatNotebook.cpp (revision 42)
+++ wxFlatNotebook.cpp (working copy)
@@ -1596,6 +1596,7 @@
render->DrawX(this, dc);
render->DrawLeftArrow(this, dc);
render->DrawRightArrow(this, dc);
+ render->DrawDropDownArrow(this, dc);
if(GetSelection() != -1 && IsTabVisible((size_t)GetSelection()))
{
render->DrawTabX(this, dc, m_pagesInfoVec[GetSelection()].GetXRect(), GetSelection(), m_nTabXButtonStatus);