fix some errs

This commit is contained in:
Dana Jansens 2002-11-11 08:42:19 +00:00
parent fcbb82770c
commit 9c398557df

View file

@ -11,7 +11,8 @@ int main(void) {
otk::OBDisplay::initialize(NULL); otk::OBDisplay::initialize(NULL);
otk::Configuration style_conf(False); otk::Configuration style_conf(False);
otk::OBTimerQueueManager *tm = new otk::OBTimerQueueManager(); otk::OBTimerQueueManager *tm = new otk::OBTimerQueueManager();
const otk::ScreenInfo *s_info = otk::OBDisplay::screenInfo(0); const otk::ScreenInfo *s_info =
otk::OBDisplay::screenInfo(DefaultScreen(otk::OBDisplay::display));
otk::BImageControl *ctrl = new otk::BImageControl(tm, s_info, True, 4, 5, 200); otk::BImageControl *ctrl = new otk::BImageControl(tm, s_info, True, 4, 5, 200);
otk::Style *my_style = new otk::Style(0ul, ctrl); otk::Style *my_style = new otk::Style(0ul, ctrl);
@ -53,5 +54,7 @@ int main(void) {
delete tm; delete tm;
delete ctrl; delete ctrl;
otk::OBDisplay::destroy();
return 0; return 0;
} }