Browse Source

Mingw fix. Spelling correction.

tags/2021-05-28
jules 13 years ago
parent
commit
f12f85ac06
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      modules/juce_core/native/juce_win32_ComSmartPtr.h
  2. +1
    -1
      modules/juce_gui_basics/widgets/juce_ListBox.cpp
  3. +1
    -1
      modules/juce_gui_basics/widgets/juce_TableListBox.cpp

+ 1
- 1
modules/juce_core/native/juce_win32_ComSmartPtr.h View File

@@ -136,7 +136,7 @@ public:
JUCE_COMRESULT QueryInterface (REFIID refId, void** result)
{
if (refId == __uuidof (ComClass))
return this->castToType <ComClass> (result);
return this->template castToType <ComClass> (result);
return ComBaseClassHelperBase <ComClass>::QueryInterface (refId, result);
}


+ 1
- 1
modules/juce_gui_basics/widgets/juce_ListBox.cpp View File

@@ -933,7 +933,7 @@ void ListBox::startDragAndDrop (const MouseEvent& e, const var& dragDescription,
Component* ListBoxModel::refreshComponentForRow (int, bool, Component* existingComponentToUpdate)
{
(void) existingComponentToUpdate;
jassert (existingComponentToUpdate == nullptr); // indicates a failure in the code the recycles the components
jassert (existingComponentToUpdate == nullptr); // indicates a failure in the code that recycles the components
return nullptr;
}


+ 1
- 1
modules/juce_gui_basics/widgets/juce_TableListBox.cpp View File

@@ -472,6 +472,6 @@ var TableListBoxModel::getDragSourceDescription (const SparseSet<int>&)
Component* TableListBoxModel::refreshComponentForCell (int, int, bool, Component* existingComponentToUpdate)
{
(void) existingComponentToUpdate;
jassert (existingComponentToUpdate == nullptr); // indicates a failure in the code the recycles the components
jassert (existingComponentToUpdate == nullptr); // indicates a failure in the code that recycles the components
return nullptr;
}

Loading…
Cancel
Save