News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

CC NONPCH issue/patch for wxWidgets 3.3

Started by stahta01, April 24, 2025, 05:07:34 PM

Previous topic - Next topic

stahta01


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>
--
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Miguel Gimenez