Test a couple more cases in wxControl label unit test
Check that double ampersand also works correctly.
This commit is contained in:
@@ -43,6 +43,9 @@ void DoTestLabel(wxControl* c)
|
|||||||
"label with &mnemonic",
|
"label with &mnemonic",
|
||||||
"label with <span foreground='blue'>some</span> <b>markup</b>",
|
"label with <span foreground='blue'>some</span> <b>markup</b>",
|
||||||
"label with <span foreground='blue'>some</span> <b>markup</b> and &mnemonic",
|
"label with <span foreground='blue'>some</span> <b>markup</b> and &mnemonic",
|
||||||
|
"label with an && (ampersand)",
|
||||||
|
"label with an && (&ersand)",
|
||||||
|
"", // empty label should work too
|
||||||
};
|
};
|
||||||
|
|
||||||
for ( unsigned int s = 0; s < WXSIZEOF(testLabelArray); s++ )
|
for ( unsigned int s = 0; s < WXSIZEOF(testLabelArray); s++ )
|
||||||
|
Reference in New Issue
Block a user