Would it be possible for windows people building wx3.x+64bit builds to test if the patch below resolves the problem with the editor redraw?
diff --git a/src/src/main.cpp b/src/src/main.cpp
index 0ed4811..4707aa0 100644
--- a/src/src/main.cpp
+++ b/src/src/main.cpp
@@ -4321,7 +4321,15 @@ void MainFrame::OnEditorUpdateUI(CodeBlocksEvent& event)
}
if (Manager::Get()->GetEditorManager() && event.GetEditor() == Manager::Get()->GetEditorManager()->GetActiveEditor())
+ {
+#if defined(__WXMSW__) && wxCHECK_VERSION(3, 0, 0)
+ // Execute the code to update the status bar outside of the paint event for scintilla.
+ // Executing this function directly in the event handler causes redraw problems on Windows.
+ CallAfter(DoUpdateStatusBar);
+#else
DoUpdateStatusBar();
+#endif // defined(__wxMSW__) && wxCHECK_VERSION(3, 0, 0)
+ }
event.Skip();
}
--