The following did sort them in {"2", "3", "11"} order for me:
Code: Select all
wxSortedArrayString sas(wxNaturalStringSortAscending);
sas.Add("2");
sas.Add("11");
sas.Add("3");
Code: Select all
wxSortedArrayString sas(wxNaturalStringSortAscending);
sas.Add("2");
sas.Add("11");
sas.Add("3");
https://docs.wxwidgets.org/trunk/overvi ... chtextctrlNotice that wxRichTextCtrl support in XRC is available in wxWidgets 2.9.5 and later only and you need to explicitly register its handler usingto use it.Code: Select all
#include <wx/xrc/xh_richtext.h> AddHandler(new wxRichTextCtrl);