]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/window.cpp
Fix best size computation for buttons without image and with empty label.
[wxWidgets.git] / src / msw / window.cpp
index 033882715129ed07f075145bbef326a1a50e4cb0..ed1076ccfa4405b6cc57c267ca07e2546ad4ba45 100644 (file)
@@ -4755,6 +4755,11 @@ wxColour wxWindowMSW::MSWGetThemeColour(const wchar_t *themeName,
                 themeName, themePart, themeState, themeProperty),
             hr);
     }
+#else
+    wxUnusedVar(themeName);
+    wxUnusedVar(themePart);
+    wxUnusedVar(themeState);
+    wxUnusedVar(themeColour);
 #endif
     return wxSystemSettings::GetColour(fallback);
 }