Skip to content

Commit 99bd9d3

Browse files
author
fooDayuyu@gmail.com
committed
Enable MFC Future Tests
1 parent cd5efda commit 99bd9d3

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

foo_discogs.rc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,16 @@ BEGIN
130130
END
131131

132132

133+
/////////////////////////////////////////////////////////////////////////////
134+
//
135+
// Icon
136+
//
137+
138+
// Icon with lowest ID value placed first to ensure application icon
139+
// remains consistent on all systems.
140+
IDI_SCROLL ICON "..\\..\\libPPUI\\IDI_SCROLL.ico"
141+
142+
133143
/////////////////////////////////////////////////////////////////////////////
134144
//
135145
// Dialog

resource.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#define IDD_DIALOG_UPDATE_TAGS 110
99
#define IDD_DIALOG_CONF_TAGGING 111
1010
#define IDD_DIALOG_CONF_ART 113
11+
#define IDI_SCROLL 113
1112
#define IDD_DIALOG_CONF_OAUTH 114
1213
#define IDD_DIALOG_TAG_MAPPINGS 116
1314
#define IDD_DIALOG_CONF_FIND_RELEASE_DIALOG 122

track_matching_dialog.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#include "stdafx.h"
2-
2+
#include "resource.h"
33
#include "track_matching_dialog.h"
44
#include "preview_dialog.h"
55
#include "tasks.h"
@@ -17,7 +17,7 @@ namespace listview_helper {
1717
{
1818
pfc::stringcvt::string_os_from_utf8 os_string_temp(p_name);
1919

20-
RECT rect = { 0, 0, p_width_dlu, 0 };
20+
RECT rect = { 0, 0, static_cast<LONG>(p_width_dlu), 0 };
2121
MapDialogRect(GetParent(p_listview), &rect);
2222

2323
LVCOLUMN data = {};

0 commit comments

Comments
 (0)