From d284f892b5f2b463655fc12821a6e66aaa1db998 Mon Sep 17 00:00:00 2001 From: jules Date: Thu, 25 Sep 2014 12:46:01 +0100 Subject: [PATCH] Workaround for VS2005 compiler bug. --- modules/juce_gui_basics/widgets/juce_Label.cpp | 2 -- modules/juce_gui_basics/widgets/juce_Label.h | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/juce_gui_basics/widgets/juce_Label.cpp b/modules/juce_gui_basics/widgets/juce_Label.cpp index 778425e303..7ab3d5e231 100644 --- a/modules/juce_gui_basics/widgets/juce_Label.cpp +++ b/modules/juce_gui_basics/widgets/juce_Label.cpp @@ -460,5 +460,3 @@ void Label::textEditorFocusLost (TextEditor& ed) { textEditorTextChanged (ed); } - -void Label::Listener::editorShown (Label*, TextEditor&) {} diff --git a/modules/juce_gui_basics/widgets/juce_Label.h b/modules/juce_gui_basics/widgets/juce_Label.h index e47fb681e6..825b0a03d8 100644 --- a/modules/juce_gui_basics/widgets/juce_Label.h +++ b/modules/juce_gui_basics/widgets/juce_Label.h @@ -184,7 +184,7 @@ public: virtual void labelTextChanged (Label* labelThatHasChanged) = 0; /** Called when a Label goes into editing mode and displays a TextEditor. */ - virtual void editorShown (Label*, TextEditor& textEditorShown); + virtual void editorShown (Label*, TextEditor&) {} }; /** Registers a listener that will be called when the label's text changes. */