Move common/ui/message.c -> common/ui/message.cpp

This commit is contained in:
Kp 2012-11-17 06:14:09 +00:00
parent 3f696829fb
commit 0b36b406d9
2 changed files with 2 additions and 2 deletions

View file

@ -644,7 +644,7 @@ class DXXArchive(DXXCommon):
'ui/listbox.cpp',
'ui/menu.cpp',
'ui/menubar.cpp',
'ui/message.c',
'ui/message.cpp',
'ui/popup.c',
'ui/radio.c',
'ui/scroll.c',

View file

@ -173,7 +173,7 @@ int ui_messagebox_n( short xc, short yc, int NumButtons, const char * text, char
y = h - height;
}
dlg = ui_create_dialog( x, y, width, height, DF_DIALOG | DF_MODAL, (int (*)(UI_DIALOG *, d_event *, void *))messagebox_handler, m );
dlg = ui_create_dialog( x, y, width, height, static_cast<dialog_flags>(DF_DIALOG | DF_MODAL), (int (*)(UI_DIALOG *, d_event *, void *))messagebox_handler, m );
//ui_draw_line_in( MESSAGEBOX_BORDER, MESSAGEBOX_BORDER, width-MESSAGEBOX_BORDER, height-MESSAGEBOX_BORDER );