Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
1
Nightly builds / Re: The 09 February 2026 build (13785) is out.
« Last post by ollydbg on Today at 12:55:34 am »
Hi.

There is also some few code modifications to the wxSmith plugin for wxWidgets-3.3.2.

Attached is a patch  from svn 13810.

Regards
Xav'

Hi, Xaviou, I'm not sure why the "at" is preferred instead of "[]"?

We have some discussion here: New wxWidgets releases

Thanks.

2
Nightly builds / Re: The 09 February 2026 build (13785) is out.
« Last post by Xaviou on Yesterday at 08:40:48 pm »
Hi.

There is also some few code modifications to the wxSmith plugin for wxWidgets-3.3.2.

Attached is a patch  from svn 13810.

Regards
Xav'
3
Why do you need such feature.

I think mostly, the files in the cbp are the same(mostly), but different OSs have different include search files and linker options.
4
Is there a script or program that would create a project file from 'Linux' to 'Windows' or vice versa?
5
Using Code::Blocks / Re: Line spacing in editor
« Last post by ollydbg on Yesterday at 03:06:53 am »
If you look at this file: sdk\wxscintilla\include\wx\wxscintilla.h

You will see some code snippet:

Code
    // Set extra ascent for each line
    void SetExtraAscent(int extraAscent);

    // Get extra ascent for each line
    int GetExtraAscent() const;

But after searching, I see those 2 functions are not called by other clients, so my guess is that you need a way to call them.
6
General (but related to Code::Blocks) / Re: New wxWidgets releases
« Last post by ollydbg on March 04, 2026, 11:15:38 pm »
I have tested the patch with wx3.0.2 on Linux and wx3.2.10 on MSW, works OK. Do you plan to commit it?

I will do it in this morning.

EDIT

Done in [r13810], thanks!
7
General (but related to Code::Blocks) / Re: New wxWidgets releases
« Last post by Miguel Gimenez on March 04, 2026, 06:09:38 pm »
I have tested the patch with wx3.0.2 on Linux and wx3.2.10 on MSW, works OK. Do you plan to commit it?
8
General (but related to Code::Blocks) / Re: New wxWidgets releases
« Last post by ollydbg on March 04, 2026, 02:48:52 pm »
Let me try this first:

WX_DEFINE_ARRAY_INT(unsigned char, wxArrayBool)

Code
diff --git a/src/plugins/contrib/wxSmith/wxwidgets/properties/wxsarraystringcheckproperty.h b/src/plugins/contrib/wxSmith/wxwidgets/properties/wxsarraystringcheckproperty.h
index ab0b632..d9846f1 100644
--- a/src/plugins/contrib/wxSmith/wxwidgets/properties/wxsarraystringcheckproperty.h
+++ b/src/plugins/contrib/wxSmith/wxwidgets/properties/wxsarraystringcheckproperty.h
@@ -25,7 +25,7 @@
 
 #include "../../properties/wxsproperties.h"
 
-WX_DEFINE_ARRAY_INT(bool,wxArrayBool);
+WX_DEFINE_ARRAY_INT(unsigned char,wxArrayBool);
 
 /** \brief Property for editing arrays of strings with checked option
  *


This patch works OK now.


EDIT:

Now, I see the whole workspace is built OK now with wx 3.3.2. (note I do not build Fortran plugin nor the NassiShneiderman plugin)
9
General (but related to Code::Blocks) / Re: New wxWidgets releases
« Last post by ollydbg on March 04, 2026, 02:34:21 pm »
Thanks for testing. The problem is explained here

Quote
WX_DEFINE_ARRAY_INT(bool) cannot be used because of the differences in std::vector<bool> specialization compared with the generic std::vector<> class. Please either use std::vector<bool> directly or use wxArrayInt instead.

So the solution may be using WX_DEFINE_ARRAY_INT(int, wxArrayBool) or using wxArrayInt directly, possibly using a typedef.

Yes, this is the direction. I have conversation with chatgpt, and it also gives me similar advice.

Let me try this first:

WX_DEFINE_ARRAY_INT(unsigned char, wxArrayBool)


10
General (but related to Code::Blocks) / Re: New wxWidgets releases
« Last post by Miguel Gimenez on March 04, 2026, 02:11:45 pm »
Thanks for testing. The problem is explained here

Quote
WX_DEFINE_ARRAY_INT(bool) cannot be used because of the differences in std::vector<bool> specialization compared with the generic std::vector<> class. Please either use std::vector<bool> directly or use wxArrayInt instead.

So the solution may be using WX_DEFINE_ARRAY_INT(int, wxArrayBool) or using wxArrayInt directly, possibly using a typedef.
Pages: [1] 2 3 4 5 6 ... 10