diff --git a/samples/vscroll/vscroll.bkl b/samples/vscroll/vscroll.bkl
index f0463498c6..b5af8f07ed 100644
--- a/samples/vscroll/vscroll.bkl
+++ b/samples/vscroll/vscroll.bkl
@@ -4,7 +4,7 @@
- vscroll.cpp
+ vstest.cpp
core
base
vscroll.rc
diff --git a/samples/vscroll/vscroll.dsp b/samples/vscroll/vscroll.dsp
index 818cc1aacf..33de1217fd 100644
--- a/samples/vscroll/vscroll.dsp
+++ b/samples/vscroll/vscroll.dsp
@@ -468,11 +468,11 @@ LINK32=link.exe
# PROP Default_Filter ""
# Begin Source File
-SOURCE=.\vscroll.cpp
+SOURCE=.\vscroll.rc
# End Source File
# Begin Source File
-SOURCE=.\vscroll.rc
+SOURCE=.\vstest.cpp
# End Source File
# End Group
# End Target
diff --git a/samples/wxtest/wxtest.bkl b/samples/wxtest/wxtest.bkl
index c4ed8d09f7..75dc43623a 100644
--- a/samples/wxtest/wxtest.bkl
+++ b/samples/wxtest/wxtest.bkl
@@ -4,7 +4,7 @@
- wxtest.cpp
+ test.cpp
core
base
wxtest.rc
diff --git a/samples/wxtest/wxtest.dsp b/samples/wxtest/wxtest.dsp
index e84d3d55e4..1b09706ee0 100644
--- a/samples/wxtest/wxtest.dsp
+++ b/samples/wxtest/wxtest.dsp
@@ -468,7 +468,7 @@ LINK32=link.exe
# PROP Default_Filter ""
# Begin Source File
-SOURCE=.\wxtest.cpp
+SOURCE=.\test.cpp
# End Source File
# Begin Source File