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:
Włodzimierz Skiba
2006-10-09 14:37:53 +00:00
parent b9e5acc540
commit 2b741a391c
2 changed files with 8 additions and 6 deletions

View File

@@ -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; }