33 |
|
#include "cdrom.h" |
34 |
|
#include "xpram.h" |
35 |
|
#include "prefs.h" |
36 |
< |
#include "version.h" |
36 |
> |
#include "about_window.h" |
37 |
|
#include "user_strings.h" |
38 |
|
#include "prefs_editor.h" |
39 |
|
|
767 |
|
break; |
768 |
|
|
769 |
|
case B_ABOUT_REQUESTED: { // "About" menu item selected |
770 |
< |
char str[256]; |
771 |
< |
sprintf(str, GetString(STR_ABOUT_TEXT1), VERSION_MAJOR, VERSION_MINOR); |
772 |
< |
strcat(str, " "); |
773 |
< |
strcat(str, GetString(STR_ABOUT_TEXT2)); |
774 |
< |
BAlert *about = new BAlert(GetString(STR_WINDOW_TITLE), str, GetString(STR_OK_BUTTON)); |
775 |
< |
about->Go(); |
770 |
> |
ShowAboutWindow(); |
771 |
|
break; |
772 |
|
} |
773 |
|
|