From 37d983ef6f3461c19e0e983eb3886e4e6978859f Mon Sep 17 00:00:00 2001 From: Reece Date: Tue, 12 Oct 2021 01:41:27 +0100 Subject: [PATCH] [*] i cant be arsed to debug this. something is making the wxWindow class register twice. the other win32 apis are hardened. we can just fail later. i dont care. lets not fail here. --- src/msw/app.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/app.cpp b/src/msw/app.cpp index be4bc5e9dc..66ea461c6c 100644 --- a/src/msw/app.cpp +++ b/src/msw/app.cpp @@ -693,7 +693,7 @@ const wxChar *wxApp::GetRegisteredClassName(const wxChar *name, { wxLogLastError(wxString::Format(wxT("RegisterClass(%s)"), regClass.regname)); - return NULL; + return name; } }