summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--otk/otk_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/otk/otk_test.cc b/otk/otk_test.cc
index c36abfd1..b438b3b1 100644
--- a/otk/otk_test.cc
+++ b/otk/otk_test.cc
@@ -27,7 +27,7 @@ int main(int argc, char **argv) {
lab2.setBorderColor(otk::RenderStyle::style(app.screen())->buttonFocusColor());
but.setText("Im not the default button...");
but2.setText("But I AM!!");
- but2.setDefault(true);
+ but2.setHighlighted(true);
foo.show();