Recent Posts

Pages: 1 2 [3] 4 5 6 7 8 ... 10
21
Development / Multiple declarations/definitions of wxSwitcherDialog
« Last post by christo on June 10, 2026, 07:09:22 pm »
wxSwitcherDialog is declared/defined  in  src/src/switcherdlg.h / switcherdlg.cpp and
src/plugins/contrib/BrowseTracker/btswitcherdlg.h   /  btswitcherdlg.cpp

The two implementations are different.

@Developers, Shall I rename that in BrowseTracker to use a different class name?

I'm trying to do more static linking in autotools to create a more portable linux appImage eventually and the above problem causes crashes.

Code
(gdb) bt
#0  0x00000000007fb392 in wxEventTableEntryBase::~wxEventTableEntryBase (this=0x144fb80 <wxSwitcherDialog::sm_eventTableEntries+96>)
    at /usr/include/wx-3.2/wx/event.h:3501
#1  0x00000000007fe998 in wxEventTableEntry::~wxEventTableEntry (this=0x144fb80 <wxSwitcherDialog::sm_eventTableEntries+96>)
    at /usr/include/wx-3.2/wx/event.h:3520
#2  0x0000000000921603 in __tcf_ZN16wxSwitcherDialog20sm_eventTableEntriesE () at switcherdlg.cpp:848
#3  0x00007ffff5a47a76 in __run_exit_handlers
    (status=0, listp=<optimized out>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at ./stdlib/exit.c:108
#4  0x00007ffff5a47bbe in __GI_exit (status=<optimized out>) at ./stdlib/exit.c:138

22
Development / Re: multiple frames
« Last post by cppuser on June 09, 2026, 11:09:41 pm »
I forgot to mention that the example works on windows, linux mint and macos.
23
Development / multiple frames
« Last post by cppuser on June 09, 2026, 11:00:13 pm »
Hello all,
I have a proposal for codeblock devs. I have made a small example,  how to make an application test, in wxwidgets using wxaui, similar to codeblocks to have multiple frames.

To test the code, download the zip file,
inside the folder you have to provide wx3.2.10.zip/tar.bz2  in the root folder.
I am using cmake to build the source code. You need CMake application.
 
I am fan in writing code in multiple screens. And  the state of the codeblocks using wxaui panel are not suitable for manipulating the float panels like a regular window.

The code is not working 100%, I notice a bug in my latest test, when moving a panel to the main window.
Sorry for this, I will upload the another fixed version when I have the time.

I wrote you, all this post,
If you want me try to make codeblock working similar like my example.
The last two months I am slowly reading the codeblock code so I can contribute at some point.
I am not ready yet and I will need a ton of assistant.
24
Nightly builds / Re: The 27 May 2026 build (13855) is out.
« Last post by gd_on on June 04, 2026, 04:39:00 pm »
Effectively, I forgot to mention this as a third solution, introduced quite recently.
Nevertheless, the 2nd solution may be applied to many wxwidgets softwares where darkmode is not explicitely implemented. 
25
Nightly builds / Re: The 27 May 2026 build (13855) is out.
« Last post by luisalberto on June 04, 2026, 04:07:09 pm »
Goto to Settings -> Environments Select Colours and over the OK and Cancel Buttons You will see the combo Box to change the theme. I am using Windows 11 25 H2. See the attach Image file. I dont like the dark mode and I use Light mode in Codeblocks.
26
Nightly builds / Re: The 27 May 2026 build (13855) is out.
« Last post by MaxGaspa on June 04, 2026, 11:54:22 am »
[Main Instruction]
A debugging check in this application has failed.
I've found that deleting the .conf file just one time solved this for me.

Pecan, trying to re-customize my default.conf I think I found the root cause of the issue and so a quick way to fix it. The root cause of the debugging checks is a specific setting

Settings->Environment Settings->Notebooks Appearance->Tab Style

If you set the tab style to Firefox2 or Microsoft Visual Studio 7.1 the debugging checks are raised

Uisng default or Simple Tabs no debugging checks are raised.

So to me is enough to change my old settings from Firefox 2 to default to get a working default.conf (my old one). I hope this helps to understand how to fix the issue.
27
Nightly builds / Re: The 27 May 2026 build (13855) is out.
« Last post by MaxGaspa on June 04, 2026, 11:47:37 am »
set WX_MSW_DARK_MODE=2

Thanks...I wasn't aware of the environment variable WX_MSW_DARK_MODE. Now I set this environment variable and I'm able to switch between the two modes quickly.
28
Nightly builds / Re: The 27 May 2026 build (13855) is out.
« Last post by gd_on on June 04, 2026, 11:30:15 am »
You can use C:B in darkmode. At least 2 ways to obtain this :
  • Use darkmode for Windows: C::B will follow Windows mode
  • Use a small cmd file to force darkmode: This cmd file is something like:
Code
REM To force darkmode (if 0 standard color mode, if 1 follow system mode)
set WX_MSW_DARK_MODE=2
codeblocks.exe
    Then you can adjust different colors.
    In this example, this codeblocks_DarkMode.cmd file is placed where codeblocks.exe is installed.
    29
    Nightly builds / Re: The 27 May 2026 build (13855) is out.
    « Last post by MaxGaspa on June 04, 2026, 10:44:04 am »
    I lookfor a setings to get the dark mode using this nightly and Windows 11 25H2. It seems there is no such an option. So can you confirm that dark mode is not supported in Windows 11? Is it possible to enable the dark mode in Windows11? Is a long waited feature....
    30
    Nightly builds / Re: The 27 May 2026 build (13855) is out.
    « Last post by ThierryD on June 03, 2026, 04:35:24 pm »
    Today, I try to download this last nightly of CB into WSL2 (Ubuntu 24.04) using Firefox browser (just my choice ...  ;D  )

    BitDefender AV don't control this 7z archive (YES !), by default stored on "$HOME/Downloads".

    Into terminal Ubuntu 24.04, I use command "7z" to extract directly to "/mnt/c/CodeBlocks", ... and BD AV detect like previous downloads an malware, and, like Eckart, link to file "CB_soncole_runner.exe" just decompressed ...

    I force BD AV to restore this specific file. 

    After that, I run CB (after decompress also two dependencies files with MinGW64 and WX DLL), and result is OK.

    I don't know why, CB has been very long time to start ... but (be patient) ..., after I can use last nightly of CB normally.

    Story is closed !

    Thank's.




     

    Pages: 1 2 [3] 4 5 6 7 8 ... 10