X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c187b472449ed799d3b53bdaa3e6542399c632bc..57bf8a6f1efc2d58099f058bfd17579b147baac2:/include/wx/richtext/richtextliststylepage.h diff --git a/include/wx/richtext/richtextliststylepage.h b/include/wx/richtext/richtextliststylepage.h index 0f2ab83690..4eedafa1cb 100644 --- a/include/wx/richtext/richtextliststylepage.h +++ b/include/wx/richtext/richtextliststylepage.h @@ -16,6 +16,8 @@ * Includes */ +#include "wx/richtext/richtextdialogpage.h" + ////@begin includes #include "wx/spinctrl.h" #include "wx/notebook.h" @@ -28,7 +30,7 @@ ////@begin control identifiers #define SYMBOL_WXRICHTEXTLISTSTYLEPAGE_STYLE wxRESIZE_BORDER|wxTAB_TRAVERSAL -#define SYMBOL_WXRICHTEXTLISTSTYLEPAGE_TITLE _T("") +#define SYMBOL_WXRICHTEXTLISTSTYLEPAGE_TITLE wxEmptyString #define SYMBOL_WXRICHTEXTLISTSTYLEPAGE_IDNAME ID_RICHTEXTLISTSTYLEPAGE #define SYMBOL_WXRICHTEXTLISTSTYLEPAGE_SIZE wxSize(400, 300) #define SYMBOL_WXRICHTEXTLISTSTYLEPAGE_POSITION wxDefaultPosition @@ -38,10 +40,11 @@ * wxRichTextListStylePage class declaration */ -class WXDLLIMPEXP_RICHTEXT wxRichTextListStylePage: public wxPanel +class WXDLLIMPEXP_RICHTEXT wxRichTextListStylePage: public wxRichTextDialogPage { DECLARE_DYNAMIC_CLASS( wxRichTextListStylePage ) DECLARE_EVENT_TABLE() + DECLARE_HELP_PROVISION() public: /// Constructors @@ -65,7 +68,7 @@ public: virtual bool TransferDataToWindow(); /// Get attributes for selected level - wxTextAttr* GetAttributesForSelection(); + wxRichTextAttr* GetAttributesForSelection(); /// Update for symbol-related controls void OnSymbolUpdate( wxUpdateUIEvent& event );