diff --git a/include/wx/private/rescale.h b/include/wx/private/rescale.h index d5a8b81831..81c80c66b1 100644 --- a/include/wx/private/rescale.h +++ b/include/wx/private/rescale.h @@ -70,7 +70,7 @@ private: const wxSize m_oldScale; // Only it can create objects of this class. - friend wxRescaleCoordWithValue; + friend class wxRescaleCoordWithValue; }; // Specialization for just a single value. @@ -95,7 +95,7 @@ private: const wxSize m_oldScale; // Only it can create objects of this class. - friend wxRescaleCoordWithValue; + friend class wxRescaleCoordWithValue; }; template