Browse Source

tags/2021-05-28
jules 17 years ago
parent
commit
05980836ce
2 changed files with 1 additions and 2 deletions
  1. +0
    -1
      src/juce_appframework/gui/components/controls/juce_Toolbar.cpp
  2. +1
    -1
      src/juce_appframework/gui/components/special/juce_OpenGLComponent.h

+ 0
- 1
src/juce_appframework/gui/components/controls/juce_Toolbar.cpp View File

@@ -212,7 +212,6 @@ public:
{ {
tc->setVisible (false); tc->setVisible (false);
const int index = oldIndexes.remove (i); const int index = oldIndexes.remove (i);
owner.items.insert (index, tc);
owner.addChildComponent (tc, index); owner.addChildComponent (tc, index);
--i; --i;
} }


+ 1
- 1
src/juce_appframework/gui/components/special/juce_OpenGLComponent.h View File

@@ -263,7 +263,7 @@ public:
@see newOpenGLContextCreated() @see newOpenGLContextCreated()
*/ */
OpenGLContext* getCurrentContext() const throw();
OpenGLContext* getCurrentContext() const throw() { return context; }
/** Makes this component the current openGL context. /** Makes this component the current openGL context.


Loading…
Cancel
Save