virtual wxControl *GetWidget() const { return m_text; }
virtual void RecreateWidget() { CreateText(); }
+ // lazy creation of the content
+ virtual void CreateContent();
+
protected:
// create an info text contorl
wxTextCtrl *CreateInfoText();
m_posLast =
m_selFrom =
m_selTo = -2; // not -1 which means "no selection"
+}
+void TextWidgetsPage::CreateContent()
+{
// left pane
static const wxString modes[] =
{