Search found 50 matches

by El_isra
Wed Aug 30, 2023 6:45 pm
Forum: C++ Development
Topic: Avoid UI Frezing on event that calls wxExecute several times
Replies: 7
Views: 430

Re: Avoid UI Frezing on event that calls wxExecute several times

Hi, Can you do that asynchronously? Yes, I could... But the main issue persists... How can I make the program wait for the current async process to be finished before proceeding to the next one... You can use wxProgressDialog for that. And I believe it has a "Cancel" button, so no need to...
by El_isra
Wed Aug 30, 2023 6:33 pm
Forum: C++ Development
Topic: Avoid UI Frezing on event that calls wxExecute several times
Replies: 7
Views: 430

Re: Avoid UI Frezing on event that calls wxExecute several times

Can you do that asynchronously? Yes, I could... But the main issue persists... How can I make the program wait for the current async process to be finished before proceeding to the next one... What are you using to execute the process? https://github.com/israpps/HDL-Batch-installer/blob/main/HDL-Ba...
by El_isra
Wed Aug 30, 2023 5:45 pm
Forum: C++ Development
Topic: Avoid UI Frezing on event that calls wxExecute several times
Replies: 7
Views: 430

Avoid UI Frezing on event that calls wxExecute several times

I Have a wxwidgets-based program that calls an external executable to perform a long task (install PS2 games into PS2 HDD) When calling sync processes, the UI frezes. and I would like to avoid that (for several reasons, but the most importantly, so the cancel button can be used) here's the code for ...
by El_isra
Mon Jan 30, 2023 3:46 pm
Forum: Platform Related Issues
Topic: multiple manifest files
Replies: 4
Views: 1039

Re: multiple manifest files

Did you check the build log to make sure the define was properly passed to the resource compiler? AFAIK, C::B does not pass the C++ defines to the resource compiler, these need to be defined in the build target's Project / Compiler settings / Other resource compiler options cb-windres-def.png and c...
by El_isra
Sun Jan 29, 2023 4:54 pm
Forum: Platform Related Issues
Topic: multiple manifest files
Replies: 4
Views: 1039

Re: multiple manifest files

If you #define wxUSE_NO_MANIFEST to 1 before including "wx/msw/wx.rc" you disable wxWidgets' own manifest. Then you can provide your own, complete manifest. Tested it and still same issue... Could this be related to the windres version provided on tdm-gcc? the 32bit compiler has windres 2...
by El_isra
Sun Jan 29, 2023 2:07 am
Forum: Platform Related Issues
Topic: multiple manifest files
Replies: 4
Views: 1039

multiple manifest files

Hi. how can I use multiple manifest files on the same program? i'm trying to add an extra manifest to auto request admin privileges for my program (wich needs them to function) i'm using Compiler: TDM-GCC 10.3.0 (both 32bit and 64bit versions) IDE: Code::Blocks wxwidget: 3.0.5 Unicode, Monolithic, s...
by El_isra
Tue Nov 01, 2022 3:27 pm
Forum: Platform Related Issues
Topic: Questions about how the UI looks like
Replies: 4
Views: 9563

Re: Questions about how the UI looks like

Thanks!

Adding the resource file fixed the issue!
by El_isra
Tue Nov 01, 2022 2:56 pm
Forum: Platform Related Issues
Topic: Questions about how the UI looks like
Replies: 4
Views: 9563

Re: Questions about how the UI looks like

There's a manifest missing. This can either be a separate file or linked into the executables' resources. Search the forum, there are several threads about this. Thanks! will check it Unrelated: Instead of putting the controls directly onto a wxFrame, you should have a wxPanel as the only child of ...
by El_isra
Tue Nov 01, 2022 2:09 pm
Forum: Platform Related Issues
Topic: Questions about how the UI looks like
Replies: 4
Views: 9563

Questions about how the UI looks like

Some time ago, I started using a github actions CI for compiling certain wxwidgets projects via cmake & CPM, and I realized the UI looks way different to the same program, but compiled locally on code::blocks. At first I thought it was wxwidgets version faul (as I always used 3.0.5 for local bui...
by El_isra
Fri Dec 10, 2021 7:50 pm
Forum: Compiler / Linking / IDE Related
Topic: building 32bits library always fails
Replies: 37
Views: 11253

Re: building 32bits library always fails

A litle bit late, but might be worth mentioning.

al the wxDEPRECATED shit dissapeared after switching one of the compiler switchs on code::blocks project setup, it had marked the switch "optimize for space", and i switched to "optimize for speed"
by El_isra
Wed Jul 28, 2021 5:41 pm
Forum: Compiler / Linking / IDE Related
Topic: building 32bits library always fails
Replies: 37
Views: 11253

Re: building 32bits library always fails

ONEEYEMAN wrote: Tue Jul 27, 2021 12:24 pm Hi,
Those are just warnings and can be ignored.
Is executable be made?

Thank you.
is it possible to hide the wxDEPRECATED warnings?
there are more than 85 warnings of that type, they are very annoying...
by El_isra
Wed Jul 28, 2021 12:28 am
Forum: Compiler / Linking / IDE Related
Topic: building 32bits library always fails
Replies: 37
Views: 11253

Re: building 32bits library always fails

ONEEYEMAN wrote: Tue Jul 27, 2021 12:24 pm Hi,
Those are just warnings and can be ignored.
Is executable be made?

Thank you.
after discovering mispelled library names (somehow, CB wizard prepended the 'd' like if wxwidgets was built as debug) it worked very well
by El_isra
Wed Jul 28, 2021 12:10 am
Forum: Compiler / Linking / IDE Related
Topic: building 32bits library always fails
Replies: 37
Views: 11253

Re: building 32bits library always fails

No, it produces HUNDREEDS of wxdeprecated warnings.
it stops at one of them (codeblocks still marks as building) but it doesn't go any further....
by El_isra
Tue Jul 27, 2021 3:02 am
Forum: Compiler / Linking / IDE Related
Topic: building 32bits library always fails
Replies: 37
Views: 11253

Re: building 32bits library always fails

IT WORKED! Now i have another problem... how can I setup the build targets for both toolchains. i tried to create a code::blocks project with the 32bit wxwidgets. then passed every setting into a new target con my project. it starts to build but then the console gets plagued of warnings/errors relat...
by El_isra
Sun Jul 25, 2021 6:47 pm
Forum: Compiler / Linking / IDE Related
Topic: building 32bits library always fails
Replies: 37
Views: 11253

Re: building 32bits library always fails

../../src/msw/webview_ie.cpp: In member function 'void wxWebViewIE::onActiveXEvent(wxActiveXEvent&)': ..\..\include/wx/msw/missing.h:553:28: error: narrowing conversion of '2148270082' from 'long unsigned int' to 'long in ' [-Wnarrowing] 553 | #define INET_E_INVALID_URL 0x800C0002L | ^~~~~~~~~~...