X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..c6ea1fdaf924be4ee49a19d12f76e4fcd257bb0a:/include/wx/richtext/richtextstylepage.h diff --git a/include/wx/richtext/richtextstylepage.h b/include/wx/richtext/richtextstylepage.h index e80b0bbb66..0d6457a8db 100644 --- a/include/wx/richtext/richtextstylepage.h +++ b/include/wx/richtext/richtextstylepage.h @@ -12,13 +12,15 @@ #ifndef _RICHTEXTSTYLEPAGE_H_ #define _RICHTEXTSTYLEPAGE_H_ +#include "wx/richtext/richtextdialogpage.h" + /*! * Control identifiers */ ////@begin control identifiers #define SYMBOL_WXRICHTEXTSTYLEPAGE_STYLE wxRESIZE_BORDER|wxTAB_TRAVERSAL -#define SYMBOL_WXRICHTEXTSTYLEPAGE_TITLE wxT("") +#define SYMBOL_WXRICHTEXTSTYLEPAGE_TITLE wxEmptyString #define SYMBOL_WXRICHTEXTSTYLEPAGE_IDNAME ID_RICHTEXTSTYLEPAGE #define SYMBOL_WXRICHTEXTSTYLEPAGE_SIZE wxSize(400, 300) #define SYMBOL_WXRICHTEXTSTYLEPAGE_POSITION wxDefaultPosition @@ -28,10 +30,11 @@ * wxRichTextStylePage class declaration */ -class wxRichTextStylePage: public wxPanel +class WXDLLIMPEXP_RICHTEXT wxRichTextStylePage: public wxRichTextDialogPage { DECLARE_DYNAMIC_CLASS( wxRichTextStylePage ) DECLARE_EVENT_TABLE() + DECLARE_HELP_PROVISION() public: /// Constructors @@ -52,7 +55,7 @@ public: virtual bool TransferDataToWindow(); /// Gets the attributes associated with the main formatting dialog - wxTextAttr* GetAttributes(); + wxRichTextAttr* GetAttributes(); ////@begin wxRichTextStylePage event handler declarations