Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: Someone else on May 08, 2012, 06:36:53 pm
-
I was working on a project, in which I needed to use wxStyledTextCtrl, and it was nowhere to be found in wxSmith, so instead of just simply writing plain C++ code (which would be the easy option), I decided, that I might as well learn how to write a C::B plugin, so I did.
That delayed my project about a week, but at least I got a nice plugin done.
Now that it is done I decided I might as well release it for everyone to use.
Basically it allows you to use wxStyledTextCtrl, from within wxSmith, and it might be useful to some.
I'm uploading the source code, since I don't know if there would be any use in attaching the compiled plugin, as it would only function in one version of Code::Blocks.
Link: http://www.mediafire.com/download.php?hgyes5dssg4ps92 (http://www.mediafire.com/download.php?hgyes5dssg4ps92)
-
Basically it allows you to use wxStyledTextCtrl, from within wxSmith, and it might be useful to some.
Well sorry to say that, but in recent nightly builds wxStyledTextCtrl is integrated with wxSmith already...?!
-
Well, this is quite old, so at the time I wrote it, I don't think that was the case.
Since when?
Edit: I've downloaded nightly build 7932, but I can't find it in wxSmith.
I've noticed other additions but not wxStc. Where is it?
-
I've noticed other additions but not wxStc. Where is it?
I answered in the other thread.
-
Nowadays, wxWidgets 3.x already have wxStyledTextCtrl component as regular (not contributed) item.
Unfortunately, there is still no stable version of Code::Blocks for modern wx, right?
So, I decided to update the wxSmith plugin from "Someone else".
It is now can be built both on Windows and Linux.
It allows design wx-3.x.x applications with wxStyledTextCtrl component from within Code::Blocks
built against wx-2.8.12.
I aware about wxSmithSTC pugin shipped with C::B source, but
in my opinion, the "Someone else" variant is better,
because it directly exposes the wxStyledTextCtrl interface available in wx itself, making resulting code more uniform
between different wx-RAD tools (wxFormBuilder for example),
thus making future maintanance of code easier.
Link: http://www.mediafire.com/download/xumv7nh9z5mguti/wxSmithStc-2.0.zip
-
Please post patches against latest svn trunk or some of the git master branches.
Here you can find guides how to make patches: http://wiki.codeblocks.org/index.php/Creating_a_patch_to_submit_%28Patch_Tracker%29