From f0505b4bec0e2502b0beb4eb1a51e40437fa5583 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 4 May 2025 19:57:29 +0200 Subject: [PATCH] python: application Configuration WindowFlags were not plural-named. Plus the docstring was wrong as well. Sigh. --- src/python/magnum/platform/application.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/magnum/platform/application.h b/src/python/magnum/platform/application.h index 62467bc..ef373eb 100644 --- a/src/python/magnum/platform/application.h +++ b/src/python/magnum/platform/application.h @@ -39,7 +39,7 @@ namespace magnum { namespace platform { template void application(py::class_& c) { py::class_ configuration{c, "Configuration", "Configuration"}; - py::enum_ configurationWindowFlags{configuration, "WindowFlag", "WindowFlag"}; + py::enum_ configurationWindowFlags{configuration, "WindowFlags", "Window flags"}; configurationWindowFlags .value("RESIZABLE", T::Configuration::WindowFlag::Resizable); corrade::enumOperators(configurationWindowFlags);