Make wxRichTextRectArray usable by other parts of wxRTC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1556,6 +1556,8 @@ WX_DECLARE_USER_EXPORTED_OBJARRAY(wxRichTextAttr, wxRichTextAttrArray, WXDLLIMPE
|
||||
|
||||
WX_DECLARE_USER_EXPORTED_OBJARRAY(wxVariant, wxRichTextVariantArray, WXDLLIMPEXP_RICHTEXT);
|
||||
|
||||
WX_DECLARE_USER_EXPORTED_OBJARRAY(wxRect, wxRichTextRectArray, WXDLLIMPEXP_RICHTEXT);
|
||||
|
||||
/**
|
||||
@class wxRichTextProperties
|
||||
A simple property class using wxVariants. This is used to give each rich text object the
|
||||
|
@@ -9403,10 +9403,6 @@ bool wxRichTextTable::Draw(wxDC& dc, wxRichTextDrawingContext& context, const wx
|
||||
return true;
|
||||
}
|
||||
|
||||
WX_DECLARE_OBJARRAY(wxRect, wxRichTextRectArray);
|
||||
WX_DEFINE_OBJARRAY(wxRichTextRectArray);
|
||||
|
||||
|
||||
// Helper function for Layout() that clears the space needed by a cell with rowspan > 1
|
||||
int GetRowspanDisplacement(const wxRichTextTable* table, int row, int col, int paddingX, const wxArrayInt& colWidths)
|
||||
{
|
||||
@@ -13905,9 +13901,8 @@ void wxTextAttrCollectCommonAttributes(wxTextAttr& currentStyle, const wxTextAtt
|
||||
}
|
||||
|
||||
WX_DEFINE_OBJARRAY(wxRichTextVariantArray);
|
||||
|
||||
// JACS 2013-01-27
|
||||
WX_DEFINE_OBJARRAY(wxRichTextAttrArray);
|
||||
WX_DEFINE_OBJARRAY(wxRichTextRectArray);
|
||||
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxRichTextProperties, wxObject)
|
||||
|
||||
|
Reference in New Issue
Block a user