Unicode compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -158,10 +158,10 @@ void MyApp::PropertyListTest(bool useDialog)
|
||||
sheet->AddProperty(new wxProperty("bill", 25.0, "real", new wxRealListValidator(0.0, 100.0)));
|
||||
sheet->AddProperty(new wxProperty("julian", "one", "string"));
|
||||
sheet->AddProperty(new wxProperty("bitmap", "none", "string", new wxFilenameListValidator("Select a bitmap file", "*.bmp")));
|
||||
wxStringList *strings = new wxStringList("one", "two", "three", NULL);
|
||||
wxStringList *strings = new wxStringList(wxT("one"), wxT("two"), wxT("three"), NULL);
|
||||
sheet->AddProperty(new wxProperty("constrained", "one", "string", new wxStringListValidator(strings)));
|
||||
|
||||
wxStringList *strings2 = new wxStringList("earth", "fire", "wind", "water", NULL);
|
||||
wxStringList *strings2 = new wxStringList(wxT("earth"), wxT("fire"), wxT("wind"), wxT("water"), NULL);
|
||||
sheet->AddProperty(new wxProperty("string list", strings2, "stringlist"));
|
||||
|
||||
wxPropertyListView *view =
|
||||
@@ -212,7 +212,7 @@ void MyApp::PropertyFormTest(bool useDialog)
|
||||
sheet->AddProperty(new wxProperty("tough choice", (bool)TRUE, "bool"));
|
||||
sheet->AddProperty(new wxProperty("ian", (long)45, "integer", new wxIntegerFormValidator(-50, 50)));
|
||||
sheet->AddProperty(new wxProperty("julian", "one", "string"));
|
||||
wxStringList *strings = new wxStringList("one", "two", "three", NULL);
|
||||
wxStringList *strings = new wxStringList(wxT("one"), wxT("two"), wxT("three"), NULL);
|
||||
sheet->AddProperty(new wxProperty("constrained", "one", "string", new wxStringFormValidator(strings)));
|
||||
|
||||
wxPropertyFormView *view = new wxPropertyFormView(NULL);
|
||||
|
Reference in New Issue
Block a user