User forums > General (but related to Code::Blocks)
[Work In Progress] Patches to Compile C::B against wxWidgets 2.9.0
stahta01:
@Biplab:
Ok, Will do the rest of C::B Plugins using wxCHECK_VERSION() around wx_str() and C_str().
My Method is to use wxWidgets version of wxPropertyGrid; which will need OK from wxSmith maintainer.
Will submit the wxSmith patch as separate file from rest. And, I am not sure how to do this using wxCHECK_VERSION() so will likely take time to work on some parts of wxSmith patch.
Note: I am currently getting new error, less that two months old, on shutting in down Code::Blocks.
I plan to work on finding this error before doing the wxSmith patch.
Tim S
PS: Waiting for a rebuild of wxWidgets 2.9.0 RC2 to finish patches.
stahta01:
Patch to Contrib envvars attached to message.
Deleted patch to save space.
Not had time to test under wxWidgets 2.8, but compiles under wxWidgets 2.9.0 RC2.
Tim S
Note: The file also contains patch to devpak_plugin
stahta01:
Patch to Contrib ThreadSearch
Tim S
--- Code: ---Index: src/plugins/contrib/ThreadSearch/ThreadSearchView.cpp
===================================================================
--- src/plugins/contrib/ThreadSearch/ThreadSearchView.cpp (revision 5585)
+++ src/plugins/contrib/ThreadSearch/ThreadSearchView.cpp (working copy)
@@ -491,7 +491,11 @@
wxFocusEvent ev(wxEVT_SET_FOCUS);
ev.SetWindow(this);
+ #if wxCHECK_VERSION(2, 9, 0)
+ control->GetEventHandler()->AddPendingEvent(ev);
+ #else
control->AddPendingEvent(ev);
+ #endif
}
}
--- End code ---
stahta01:
Patch to lib_finder attached to this message.
Deleted Patch to save website resources
stahta01:
Patches Still Needed for
Profiler
Exporter
Games
Code Snippets
DragScroll
wxSmith
wxSmith - Contrib Items
Note: I am working currently on a very large patch for wxSmith
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version