X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5d2788a3e2d090d402ececb68acd89993a4bc9cf..835165d576b66441987b78519e6ef1fe74ea795a:/include/wx/richtext/richtextliststylepage.h diff --git a/include/wx/richtext/richtextliststylepage.h b/include/wx/richtext/richtextliststylepage.h index 2b387ca226..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,6 +30,7 @@ ////@begin control identifiers #define SYMBOL_WXRICHTEXTLISTSTYLEPAGE_STYLE wxRESIZE_BORDER|wxTAB_TRAVERSAL +#define SYMBOL_WXRICHTEXTLISTSTYLEPAGE_TITLE wxEmptyString #define SYMBOL_WXRICHTEXTLISTSTYLEPAGE_IDNAME ID_RICHTEXTLISTSTYLEPAGE #define SYMBOL_WXRICHTEXTLISTSTYLEPAGE_SIZE wxSize(400, 300) #define SYMBOL_WXRICHTEXTLISTSTYLEPAGE_POSITION wxDefaultPosition @@ -37,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 @@ -64,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 );