]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
ROM scanner info text window didn't use GUI configured font.
authorToni Wilen <twilen@winuae.net>
Tue, 2 Aug 2022 08:57:37 +0000 (11:57 +0300)
committerToni Wilen <twilen@winuae.net>
Tue, 2 Aug 2022 08:57:37 +0000 (11:57 +0300)
od-win32/win32gui.cpp

index 68bc99aa501625a69bb4aa380b9e444200b1ca5c..310dcb37742680ce30ab41fb2bf2ee66d9dcbc05 100644 (file)
@@ -2043,7 +2043,7 @@ int scan_roms (HWND hDlg, int show)
        infoboxdialogstate = true;
        infoboxhwnd = NULL;
        if (!rp_isactive ()) {
-               HWND hwnd = CreateDialog (hUIDLL ? hUIDLL : hInst, MAKEINTRESOURCE (IDD_INFOBOX), hDlg, InfoBoxDialogProc);
+               HWND hwnd = CustomCreateDialog(IDD_INFOBOX, hDlg, InfoBoxDialogProc);
                if (!hwnd)
                        goto end;
                infoboxhwnd = hwnd;