I get the following error on jucedemo 1.44 (GNU/Linux x86) when clicking on “click for popup menu…” button in WidgetDemo:
JUCE Assertion failure in …/…/src/juce_appframework/gui/graphics/contexts/juce_Graphics.cpp, line 495
The following patch appear to fix it.
diff -r af8c44bfc766 -r 3bf259fb547b juce/extras/juce demo/src/demos/WidgetsDemo.cpp
--- a/juce/extras/juce demo/src/demos/WidgetsDemo.cpp Tue Oct 02 15:31:53 2007 +0200
+++ b/juce/extras/juce demo/src/demos/WidgetsDemo.cpp Tue Oct 02 15:37:59 2007 +0200
@@ -176,6 +176,8 @@ public:
public:
CustomMenuComponent()
{
+ blobX = 0;
+ blobY = 0;
// set off a timer to move a blob around on this component every
// 300 milliseconds - see the timerCallback() method.
startTimer (300);