#include "richtextbulletspage.cpp"
#include "richtextstylepage.cpp"
-#ifdef __WXMAC__
+#if 0 // def __WXMAC__
#define wxRICHTEXT_USE_TOOLBOOK true
#else
#define wxRICHTEXT_USE_TOOLBOOK false
int availablePageCount = GetPageIdCount();
int i;
+ bool selected = false;
for (i = 0; i < availablePageCount; i ++)
{
int pageId = GetPageId(i);
if (panel)
{
int imageIndex = GetPageImage(pageId);
- dialog->GetBookCtrl()->AddPage(panel, title, false, imageIndex);
+ dialog->GetBookCtrl()->AddPage(panel, title, !selected, imageIndex);
+ selected = true;
}
}
}
+
return true;
}