]> git.saurik.com Git - wxWidgets.git/commitdiff
Make wxRichTextCtrl again buildable on WinCE.
authorWłodzimierz Skiba <abx@abx.art.pl>
Wed, 25 Oct 2006 15:50:15 +0000 (15:50 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Wed, 25 Oct 2006 15:50:15 +0000 (15:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/richtext/richtextliststylepage.h
src/richtext/richtextliststylepage.cpp

index 8e40bc091e838152281cf8e6132293d4a64ecdca..0da975f78724a3a073289cbca03a5f970ab962be 100644 (file)
@@ -228,7 +228,7 @@ public:
         ID_RICHTEXTLISTSTYLEPAGE = 10616,
         ID_RICHTEXTLISTSTYLEPAGE_LEVEL = 10617,
         ID_RICHTEXTLISTSTYLEPAGE_CHOOSE_FONT = 10604,
-        ID_RICHTEXTLISTSTYLEPAGE_NOTEBOOK = 10618,
+        ID_RICHTEXTLISTSTYLEPAGE_BOOK = 10618,
         ID_RICHTEXTLISTSTYLEPAGE_BULLETS = 10619,
         ID_RICHTEXTLISTSTYLEPAGE_STYLELISTBOX = 10620,
         ID_RICHTEXTLISTSTYLEPAGE_PERIODCTRL = 10627,
index 75a7f77ee67fe696855be6757cc47ac3d4334edc..66c49aa8c9ef069d80aa138ad43c7f42cd42da63 100644 (file)
@@ -189,9 +189,9 @@ void wxRichTextListStylePage::CreateControls()
         itemButton8->SetToolTip(_("Click to choose the font for this level."));
     itemBoxSizer4->Add(itemButton8, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
 
-    wxNotebook* itemNotebook9 = new wxNotebook( itemPanel1, ID_RICHTEXTLISTSTYLEPAGE_NOTEBOOK, wxDefaultPosition, wxDefaultSize, wxNB_TOP );
+    wxBookCtrl* itemBook9 = new wxBookCtrl( itemPanel1, ID_RICHTEXTLISTSTYLEPAGE_BOOK, wxDefaultPosition, wxDefaultSize, wxBC_TOP );
 
-    wxPanel* itemPanel10 = new wxPanel( itemNotebook9, ID_RICHTEXTLISTSTYLEPAGE_BULLETS, wxDefaultPosition, wxDefaultSize, wxNO_BORDER|wxTAB_TRAVERSAL );
+    wxPanel* itemPanel10 = new wxPanel( itemBook9, ID_RICHTEXTLISTSTYLEPAGE_BULLETS, wxDefaultPosition, wxDefaultSize, wxNO_BORDER|wxTAB_TRAVERSAL );
     wxBoxSizer* itemBoxSizer11 = new wxBoxSizer(wxVERTICAL);
     itemPanel10->SetSizer(itemBoxSizer11);
 
@@ -275,9 +275,9 @@ void wxRichTextListStylePage::CreateControls()
         m_bulletNameCtrl->SetToolTip(_("A standard bullet name."));
     itemBoxSizer22->Add(m_bulletNameCtrl, 0, wxGROW|wxALL, 5);
 
-    itemNotebook9->AddPage(itemPanel10, _("Bullet style"));
+    itemBook9->AddPage(itemPanel10, _("Bullet style"));
 
-    wxPanel* itemPanel33 = new wxPanel( itemNotebook9, ID_RICHTEXTLISTSTYLEPAGE_SPACING, wxDefaultPosition, wxDefaultSize, wxNO_BORDER|wxTAB_TRAVERSAL );
+    wxPanel* itemPanel33 = new wxPanel( itemBook9, ID_RICHTEXTLISTSTYLEPAGE_SPACING, wxDefaultPosition, wxDefaultSize, wxNO_BORDER|wxTAB_TRAVERSAL );
     wxBoxSizer* itemBoxSizer34 = new wxBoxSizer(wxVERTICAL);
     itemPanel33->SetSizer(itemBoxSizer34);
 
@@ -437,9 +437,9 @@ void wxRichTextListStylePage::CreateControls()
         m_spacingLine->SetToolTip(_("The line spacing."));
     itemBoxSizer78->Add(m_spacingLine, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
 
-    itemNotebook9->AddPage(itemPanel33, _("Spacing"));
+    itemBook9->AddPage(itemPanel33, _("Spacing"));
 
-    itemBoxSizer3->Add(itemNotebook9, 0, wxGROW|wxALL, 5);
+    itemBoxSizer3->Add(itemBook9, 0, wxGROW|wxALL, 5);
 
     m_previewCtrl = new wxRichTextCtrl( itemPanel1, ID_RICHTEXTLISTSTYLEPAGE_RICHTEXTCTRL, wxEmptyString, wxDefaultPosition, wxSize(350, 180), wxSUNKEN_BORDER );
     m_previewCtrl->SetHelpText(_("Shows a preview of the bullet settings."));