diff --git a/samples/dialogs/dialogs.bkl b/samples/dialogs/dialogs.bkl
index 3734f1db95..f17950fb6e 100644
--- a/samples/dialogs/dialogs.bkl
+++ b/samples/dialogs/dialogs.bkl
@@ -3,28 +3,28 @@
-
+
- ../../src/generic/colrdlgg.cpp
- ../../src/generic/dirdlgg.cpp
- ../../src/generic/filedlgg.cpp
- ../../src/generic/fontdlgg.cpp
+ $(WXTOPDIR)src/generic/colrdlgg.cpp
+ $(WXTOPDIR)src/generic/dirdlgg.cpp
+ $(WXTOPDIR)src/generic/filedlgg.cpp
+ $(WXTOPDIR)src/generic/fontdlgg.cpp
- ../../src/generic/colrdlgg.cpp
- ../../src/generic/dirdlgg.cpp
- ../../src/generic/filedlgg.cpp
+ $(WXTOPDIR)src/generic/colrdlgg.cpp
+ $(WXTOPDIR)src/generic/dirdlgg.cpp
+ $(WXTOPDIR)src/generic/filedlgg.cpp
- ../../src/generic/fontdlgg.cpp
- ../../src/generic/filedlgg.cpp
+ $(WXTOPDIR)src/generic/fontdlgg.cpp
+ $(WXTOPDIR)src/generic/filedlgg.cpp
dialogs.cpp
- $(GENERIC_FILES)
+ $(GENERIC_DIALOGS_IN_NATIVE_BUILDS)
adv
core