Use wxBookCtrl wrapper rather than wxNotebook in common code for native book (Smartphone fix).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -21,6 +21,8 @@
|
||||
#if wxUSE_RICHTEXT
|
||||
|
||||
#include "wx/propdlg.h"
|
||||
#include "wx/bookctrl.h"
|
||||
|
||||
#if wxUSE_HTML
|
||||
#include "wx/htmllbox.h"
|
||||
#endif
|
||||
@@ -28,7 +30,6 @@
|
||||
#include "wx/richtext/richtextbuffer.h"
|
||||
#include "wx/richtext/richtextstyles.h"
|
||||
|
||||
class WXDLLEXPORT wxNotebookEvent;
|
||||
class WXDLLIMPEXP_RICHTEXT wxRichTextFormattingDialog;
|
||||
class WXDLLIMPEXP_CORE wxImageList;
|
||||
|
||||
@@ -145,7 +146,7 @@ public:
|
||||
|
||||
/// Apply the styles when a different tab is selected, so the previews are
|
||||
/// up to date
|
||||
void OnTabChanged(wxNotebookEvent& event);
|
||||
void OnTabChanged(wxBookCtrlEvent& event);
|
||||
|
||||
/// Set/get image list
|
||||
void SetImageList(wxImageList* imageList) { m_imageList = imageList; }
|
||||
|
Reference in New Issue
Block a user