diff --git a/headers/private/interface/WidthBuffer.h b/headers/private/interface/WidthBuffer.h index 0c1ea6197c..db111e83c2 100644 --- a/headers/private/interface/WidthBuffer.h +++ b/headers/private/interface/WidthBuffer.h @@ -1,10 +1,8 @@ #ifndef __WIDTHBUFFER_H #define __WIDTHBUFFER_H -#include "TextGapBuffer.h" #include "TextViewSupportBuffer.h" - struct _width_table_ { #if B_BEOS_VERSION_DANO BFont font; // corresponding font @@ -17,7 +15,7 @@ struct _width_table_ { void *widths; // width table }; - +class _BTextGapBuffer_; class _BWidthBuffer_ : public _BTextViewSupportBuffer_<_width_table_> { public: _BWidthBuffer_();