fix some btgui issues on Mac OSX

This commit is contained in:
Erwin Coumans
2014-05-20 14:43:19 -07:00
parent 4912bebfbf
commit 7f300a877f
5 changed files with 45 additions and 32 deletions

View File

@@ -204,13 +204,13 @@ bool TreeControl::OnKeyDown( bool bDown )
}
return true;
}
extern int avoidUpdate;
bool TreeControl::OnKeyRight( bool bDown )
{
if (bDown)
{
extern int avoidUpdate;
avoidUpdate = -3;
ForceUpdateScrollBars();
iterate(ITERATE_ACTION_OPEN,0,0);
@@ -250,7 +250,7 @@ bool TreeControl::OnKeyLeft( bool bDown )
{
if (bDown)
{
extern int avoidUpdate;
avoidUpdate = -3;
ForceUpdateScrollBars();