Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: stahta01 on April 24, 2025, 05:07:34 pm

Title: CC NONPCH issue/patch for wxWidgets 3.3
Post by: stahta01 on April 24, 2025, 05:07:34 pm
Code
Subject: codecompletion: Add include of "wx/xrc/xmlres.h" for nonPCH builds

---
 src/plugins/codecompletion/parsemanager.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/plugins/codecompletion/parsemanager.cpp b/src/plugins/codecompletion/parsemanager.cpp
index 281fb5142..21d3e7b7e 100644
--- a/src/plugins/codecompletion/parsemanager.cpp
+++ b/src/plugins/codecompletion/parsemanager.cpp
@@ -16,6 +16,7 @@
     #include <wx/log.h> // for wxSafeShowMessage()
     #include <wx/regex.h>
     #include <wx/wfstream.h>
+    #include <wx/xrc/xmlres.h>
 
     #include <cbauibook.h>
     #include <cbeditor.h>
--
Title: Re: CC NONPCH issue/patch for wxWidgets 3.3
Post by: Miguel Gimenez on April 25, 2025, 04:37:54 pm
Applied in r13656 (https://sourceforge.net/p/codeblocks/code/13656/), thank you.