Search found 46 matches

by nmset
Tue Mar 07, 2023 7:06 pm
Forum: Compiler / Linking / IDE Related
Topic: kdevelop crashes when parsing wxWidgets source files
Replies: 9
Views: 1411

Re: kdevelop crashes when parsing wxWidgets source files

ONEEYEMAN wrote: Mon Mar 06, 2023 7:16 pm As you can see from the backtrace the crash is at the KDevelop part.
Please report it there.
To complete this thread, please see https://bugs.kde.org/show_bug.cgi?id=466975 with source problem and solution.

Thank you all for your input.
by nmset
Mon Mar 06, 2023 6:45 pm
Forum: Compiler / Linking / IDE Related
Topic: kdevelop crashes when parsing wxWidgets source files
Replies: 9
Views: 1411

Re: kdevelop crashes when parsing wxWidgets source files

ONEEYEMAN wrote: Mon Mar 06, 2023 6:23 pm It is out of scope here.
OK. Thank you for your time.
by nmset
Mon Mar 06, 2023 6:44 pm
Forum: Compiler / Linking / IDE Related
Topic: kdevelop crashes when parsing wxWidgets source files
Replies: 9
Views: 1411

Re: kdevelop crashes when parsing wxWidgets source files

Please rebuild KDevelop with "-g" (Debug) switch. Arch's makepkg utility was stripping all symbols from the debug build. Here is a new output : Process 57790 stopped * thread #44, name = 'Queue(0x555555e', stop reason = signal SIGSEGV: address access protected (fault address: 0x7fff1d7fb6...
by nmset
Mon Mar 06, 2023 6:42 pm
Forum: Compiler / Linking / IDE Related
Topic: kdevelop crashes when parsing wxWidgets source files
Replies: 9
Views: 1411

Re: kdevelop crashes when parsing wxWidgets source files

ONEEYEMAN wrote: Mon Mar 06, 2023 6:23 pm
P.S. you could also downgrade KDevelop
I did it with same results.
by nmset
Mon Mar 06, 2023 5:50 pm
Forum: Compiler / Linking / IDE Related
Topic: kdevelop crashes when parsing wxWidgets source files
Replies: 9
Views: 1411

Re: kdevelop crashes when parsing wxWidgets source files

Please rebuild KDevelop with "-g" (Debug) switch. kdevelop was configured with cmake -B build -S kdevelop-22.12.3 -DBUILD_TESTING=OFF -DCMAKE_BUILD_TYPE:STRING=Debug I thought it would trigger a debug build. I understand from your reply that it did not, and I'm out of clue about how to pr...
by nmset
Mon Mar 06, 2023 2:37 pm
Forum: Compiler / Linking / IDE Related
Topic: kdevelop crashes when parsing wxWidgets source files
Replies: 9
Views: 1411

kdevelop crashes when parsing wxWidgets source files

I am using kdevelop on Arch Linux to build wx apps as cmake projects. A few weeks or months ago, it was just fine. Now kdevelop 22.12.3 crashes when it parses the source files after the project is successfully loaded. Once in a while, it would load and parse successfully. I can't know if it's relate...
by nmset
Tue Mar 23, 2021 11:26 am
Forum: Compiler / Linking / IDE Related
Topic: wxSearchCtrl : cast to wxTextCtrl fails to compile
Replies: 2
Views: 2976

Re: wxSearchCtrl : cast to wxTextCtrl fails to compile

OK, I didn't fully grasp the meaning of 'generically implemented'. I'm using wxTextCompleterSimple on a few wxTextCtrl controls, and wished to use wxSearchCtrl instead, mainly because of the cancel button. Unfortunately, wxTextCtrl does not provide a cancel button. It's not a real problem, was just ...
by nmset
Mon Mar 22, 2021 9:42 pm
Forum: Compiler / Linking / IDE Related
Topic: wxSearchCtrl : cast to wxTextCtrl fails to compile
Replies: 2
Views: 2976

wxSearchCtrl : cast to wxTextCtrl fails to compile

Hello, This compile failure is hard to understand (GTK3, gcc, Linux) : static_cast<wxTextCtrl*> (aSearchCtrl); According to the docs, wxSearchCtrl derives from wxTextCtrl, and should be able to cast to wxTextCtrl. Compile succeeds with dynamic_cast, but returns a NULL result. Casting to wxControl or...
by nmset
Sat Feb 27, 2021 10:31 am
Forum: Platform Related Issues
Topic: wxGetKeyState always returns false
Replies: 6
Views: 3320

Re: wxGetKeyState always returns false

Reported on trac [url]https://trac.wxwidgets.org/ticket/19083[/url], with a significant bisection result.
by nmset
Fri Feb 26, 2021 10:10 pm
Forum: Platform Related Issues
Topic: wxGetKeyState always returns false
Replies: 6
Views: 3320

Re: wxGetKeyState always returns false

It's always OFF in the statbar sample. I'll report it tomorrow.

Thanks for your input.
by nmset
Fri Feb 26, 2021 9:50 pm
Forum: Platform Related Issues
Topic: wxGetKeyState always returns false
Replies: 6
Views: 3320

Re: wxGetKeyState always returns false

Just tested your code, NUM and CAPS lock both report false, always, on Arch Linux with latest commit (GTK3 build).
by nmset
Fri Feb 26, 2021 9:27 pm
Forum: Platform Related Issues
Topic: wxGetKeyState always returns false
Replies: 6
Views: 3320

wxGetKeyState always returns false

On latest revision 94812c9e06c, wxGetKeyState(WXK_CAPITAL) is always false, even with CAPS LOCK on. Same for WXK_NUMLOCK. Last known good commit is c3856766107b.

I use it to show CAPS and NUM lock state in a status bar.

Should it be reported as a bug ?

Thank you.
by nmset
Sat Feb 13, 2021 3:13 pm
Forum: C++ Development
Topic: Does wxURI encode non-ascii characters in a URI query part ?
Replies: 2
Views: 960

[SOLVED ]Re: Does wxURI encode non-ascii characters in a URI query part ?

Using wide string solves the problem magically ! Thanks.
by nmset
Sat Feb 13, 2021 12:16 pm
Forum: C++ Development
Topic: Does wxURI encode non-ascii characters in a URI query part ?
Replies: 2
Views: 960

Does wxURI encode non-ascii characters in a URI query part ?

The following code does not produce a fully encoded URL : [code] const wxString plain("https://host.domain.tld/search?query=a a à"); wxURI uri(plain); cout << "BuildURI : " << uri.BuildURI() << endl; [/code] The expected result is intented to be passed to a browser using wxExecut...
by nmset
Sat Apr 25, 2020 2:20 pm
Forum: Compiler / Linking / IDE Related
Topic: window id required even with wx built with --disable-gui
Replies: 5
Views: 1282

Re: window id required even with wx built with --disable-gui

After reverting e8b8b0288 and further commenting #include wx/windowid.h, I could get a usable wx build when configured with --disable-gui.

Will just keep a branch as such.

Thanks for your replies.