Declare MeasuringGuard as friend in wxTextMeasureBase.

This should hopefully fix VC6 compilation.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-10-19 10:43:20 +00:00
parent a6b40a9aa2
commit b93bc51ed9

View File

@@ -70,6 +70,8 @@ protected:
virtual void BeginMeasuring() { } virtual void BeginMeasuring() { }
virtual void EndMeasuring() { } virtual void EndMeasuring() { }
friend class MeasuringGuard;
// RAII wrapper for the two methods above. // RAII wrapper for the two methods above.
class MeasuringGuard class MeasuringGuard
{ {