Recent Posts

Pages: 1 2 3 4 5 [6] 7 8 9 10
51
Development / Anyone want Code::Blocks for MSys2 in the CygWin like environment?
« Last post by stahta01 on April 01, 2026, 01:25:57 am »
Anyone want Code::Blocks for MSys2 in the Cygwin like environment?

I am getting wxWidgets gtk3 past 90% building right now. I hope to get 100% built today or tomorrow.

It built 100% but it failed to work. Looks like the gtk3 I built is broken.

But I am not sure if I wish to build Code::Blocks directly because I see no need to me.

Tim S.
52
Help / Re: wx3.3.x library build
« Last post by stahta01 on April 01, 2026, 01:03:50 am »
Yes, I did it today for git master branch of wxWidgets under MSys2 UCRT64 MinGW GCC.
I have not yet built Code::Blocks that used it and have no plans to do it in the near future.
Edit: Since someone wanted info I have decided to build wxWidgets today in a MSys2 MinGW package that is easy to build C::B against

I did build Code::Blocks against wx3.3.2 in the past week

Tim S.
53
Help / wx3.3.x library build
« Last post by Frank_CB on April 01, 2026, 12:27:26 am »
Hello,

Has anyone been able to successfully build the widgets libraries for release 3.3.x ?

Thanks  :) :)
54
Development / Re: wxSmith : add option for Create function in inhereited cases
« Last post by ollydbg on March 30, 2026, 01:45:21 pm »
I don't know how to create a "patch file". Do I need a special environment?

Well. A patch file or a diff file can be obtained by some version control tool. For example, svn or git. For C::B source, it has svn code repo, and git code mirrors. You can fetch the code from svn code repo or clone the code from git repo, and make some modification to the source code, and later generate patch file.
55
General (but related to Code::Blocks) / Re: wxSmith Couldn't Add New Handler
« Last post by bezet on March 30, 2026, 10:16:46 am »
Hi, thanks to both for your replies. I'm afraid I can't reproduce the error !?

1) Here is what I did:
- create new Project -> wxWidgets project
(then I added a few components to the main Frame1)
- add a second frame using menu wxSmith -> Add wxFrame
-> second Frame2 which is a child of the first
(I added a few components to Frame2, among them a MathPlot which gives some heartache)
...then I noticed that Frame2 is destroyed when I close it, but I only want to hide it, so it can be reopened
-> I tried to create an event OnClose (using the Component Properties/Events window) , in order to overwrite with a 'simple' Hide()
...but this results in the error "cannot create event", same for components inside Frame2,
but everything is fine for Frame1,
and for a third frame which I created same way as Frame2 !
 
2) reproducing the error:
I have deleted the misbehaving Frame2,
but I found and reinstalled an old version of my program (saved 10 days ago), with Frame2 and Mathplot in it: the problem has disappeared !?

3) submenu "Configure wxSmith for current project"
nothing special inside, I made no changes:
- "automatically loaded ressources" is empty,
- Main resource = Frame1,
- "callwxXmlResource" is ticked
- "'only when necessary' is ticked

Thanks again, and in advance, for any hints!
56
Using Code::Blocks / Re: Lexer for C only?
« Last post by christo on March 29, 2026, 07:05:26 pm »
Attaching patch
1.  new lexer for C language - duplicated C++ lexer, removed c++ keywords and add more C keywords.
2. .c files uses the new lexer by default.
3. .h files uses C++ lexer if C++ files are present in the project,  else uses the new C lexer
57
Development / Re: wxSmith : add option for Create function in inhereited cases
« Last post by LR83 on March 29, 2026, 09:20:07 am »
Yes, the change is very slight and does not disrupt normal behavior.
We now just have a new option to call or not the Create() function (the default value is true in order to keep the old generation code).
I introduced this because when you call the parent in the constructor, you should not use the Create() function.

I don't know how to create a "patch file". Do I need a special environment?
58
Development / Re: wxSmith : add option for Create function in inhereited cases
« Last post by ollydbg on March 29, 2026, 12:22:50 am »
Is my proposition posted above on January 24, 2026 work for everybody and could be added on next release ?

So, you want an option to enable/disable the usage of "Create" function? Sorry I'm still not quite understand your idea, and I'm not quite familiar with wxSmith's source code.

I just copy your code in the attachment to the local code repo, and I see it does not change much. And can you modify your code to a patch file, which is against the last code base?

I hope some devs who are more familiar with wxSmith will review your patch file.
59
Development / Re: wxSmith : add option for Create function in inhereited cases
« Last post by LR83 on March 28, 2026, 02:57:59 pm »
Is my proposition posted above on January 24, 2026 work for everybody and could be added on next release ?
60
General (but related to Code::Blocks) / Re: wxSmith Couldn't Add New Handler
« Last post by Miguel Gimenez on March 27, 2026, 07:41:07 pm »
There are only two possible causes of this error:
- There is no // (*Handlers(FrameName) section in the dialog's include file
- An editor for the source file cannot be opened

See wxsEventsEditor::CreateNewFunction() for more information.

In the wxSmith menu there is a submenu (Configure wxSmith for current project) that may help

I would bet for an invalid file name.
Pages: 1 2 3 4 5 [6] 7 8 9 10