diff --git a/build/wx/setup-installed.h b/build/wx/setup-installed.h
index 76f6d4070..8738df286 100644
--- a/build/wx/setup-installed.h
+++ b/build/wx/setup-installed.h
@@ -30,20 +30,13 @@
#pragma comment(lib, wxWX_LIB_NAME("base", ""))
#pragma comment(lib, wxBASE_LIB_NAME("net"))
#pragma comment(lib, wxBASE_LIB_NAME("xml"))
-#pragma comment(lib, wx3RD_PARTY_LIB_NAME_U("regex"))
#pragma comment(lib, wx3RD_PARTY_LIB_NAME("expat"))
-#pragma comment(lib, wx3RD_PARTY_LIB_NAME("jpeg"))
#pragma comment(lib, wx3RD_PARTY_LIB_NAME("png"))
-#pragma comment(lib, wx3RD_PARTY_LIB_NAME("tiff"))
#pragma comment(lib, wx3RD_PARTY_LIB_NAME("zlib"))
#pragma comment(lib, wxMSW_LIB_NAME("core"))
#pragma comment(lib, wxMSW_LIB_NAME("adv"))
-#pragma comment(lib, wxMSW_LIB_NAME("html"))
#pragma comment(lib, wxMSW_LIB_NAME("gl"))
#pragma comment(lib, wxMSW_LIB_NAME("qa"))
-#pragma comment(lib, wxMSW_LIB_NAME("propgrid"))
-#pragma comment(lib, wxMSW_LIB_NAME("ribbon"))
-#pragma comment(lib, wxMSW_LIB_NAME("richtext"))
#pragma comment(lib, wxMSW_LIB_NAME("stc"))
#pragma comment(lib, wx3RD_PARTY_LIB_NAME("scintilla"))
#pragma comment(lib, "kernel32")
diff --git a/build/wx/wxWidgets.vcxproj b/build/wx/wxWidgets.vcxproj
index de17c9d02..5fd8eb575 100644
--- a/build/wx/wxWidgets.vcxproj
+++ b/build/wx/wxWidgets.vcxproj
@@ -16,7 +16,7 @@
X64
debug
release
- LIBDIRNAME=$(AegisubLibraryDir) OBJS=$(AegisubObjectDir) SHARED=0 UNICODE=0 USE_OPENGL=1 VENDOR=aegisub TARGET_CPU=$(WxTargetCpu) BUILD=$(WxBuild)
+ LIBDIRNAME=$(AegisubLibraryDir) OBJS=$(AegisubObjectDir) SHARED=0 UNICODE=0 USE_OPENGL=1 USE_WEBVIEW=0 USE_HTML=0 USE_MEDIA=0 USE_XRC=0 USE_AUI=0 USE_RIBBON=0 USE_PROPGRID=0 USE_RICHTEXT=0 USE_CAIRO=0 VENDOR=aegisub TARGET_CPU=$(WxTargetCpu) BUILD=$(WxBuild)
d