diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl
index a064a870d0..3965e4681a 100644
--- a/build/bakefiles/common.bkl
+++ b/build/bakefiles/common.bkl
@@ -372,7 +372,18 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
ole2w32
-
+
+ ole32
+ oleaut32
+ uuid
+ commctrl
+ commdlg
+ ceshell
+ aygshell
+ winsock
+ wininet
+
+
kernel32
user32
gdi32
@@ -391,7 +402,9 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
oleacc
- odbc32
+
+ odbc32
+
diff --git a/build/bakefiles/files.bkl b/build/bakefiles/files.bkl
index b6c47ba88a..53fc4d9207 100644
--- a/build/bakefiles/files.bkl
+++ b/build/bakefiles/files.bkl
@@ -1076,7 +1076,6 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/msw/dcscreen.cpp
src/msw/dialup.cpp
src/msw/dib.cpp
- src/msw/dirdlg.cpp
src/msw/display.cpp
src/msw/enhmeta.cpp
src/msw/evtloop.cpp
@@ -1110,6 +1109,11 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
+
+
+ src/msw/dirdlg.cpp
+
+
src/generic/statusbr.cpp
src/generic/prntdlgg.cpp
@@ -1307,6 +1311,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
+ src/generic/dirdlgg.cpp
src/generic/fdrepdlg.cpp
src/generic/fontdlgg.cpp
src/msw/wince/filedlgwce.cpp
@@ -2292,7 +2297,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
$(GTK_LOWLEVEL_SRC)
$(MOTIF_LOWLEVEL_SRC)
- $(MSW_LOWLEVEL_SRC)
+ $(MSW_LOWLEVEL_SRC) $(MSW_ONLY_LOWLEVEL_SRC)
$(MSW_LOWLEVEL_SRC)
$(MAC_LOWLEVEL_SRC)
$(COCOA_LOWLEVEL_SRC)