]> git.saurik.com Git - wxWidgets.git/commitdiff
Declare MeasuringGuard as friend in wxTextMeasureBase.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 19 Oct 2012 10:43:20 +0000 (10:43 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 19 Oct 2012 10:43:20 +0000 (10:43 +0000)
This should hopefully fix VC6 compilation.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/private/textmeasure.h

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