X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fotk_test.cc;h=f10c4b3bb3651532af1788ea8050ee99828a3148;hb=3147507622de5ab771c99a4bb636f55344f6cbd7;hp=c36abfd189744914d641d04edccec20a9402c968;hpb=99cd843fc6dc7a7f55b6c90fd1162f233853aad2;p=chaz%2Fopenbox diff --git a/otk/otk_test.cc b/otk/otk_test.cc index c36abfd1..f10c4b3b 100644 --- a/otk/otk_test.cc +++ b/otk/otk_test.cc @@ -1,8 +1,6 @@ // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*- -#ifdef HAVE_CONFIG_H -# include "../config.h" -#endif +#include "config.h" #include "application.hh" #include "appwidget.hh" @@ -27,7 +25,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();