Kaydet (Commit) 0c648002 authored tarafından Jan Holesovsky's avatar Jan Holesovsky

opengl: Don't cache the menubar background.

It can change based on the _toolbar_ size.  The toolbar itself is fine though;
it may depend on the menubar size, but that should be constant.

Change-Id: Id2c68c89f4ec0774bc74b8c4a5b9a5e59e22137f
üst e140ab91
...@@ -287,6 +287,12 @@ public: ...@@ -287,6 +287,12 @@ public:
case CTRL_CHECKBOX: case CTRL_CHECKBOX:
case CTRL_RADIOBUTTON: case CTRL_RADIOBUTTON:
return false; return false;
case CTRL_MENUBAR:
if (mnPart == PART_ENTIRE_CONTROL)
return false;
break;
default: default:
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment