Search found 3989 matches

by DavidHart
Sun Jul 11, 2021 6:24 pm
Forum: General Forum Issues
Topic: Error "The submitted form was invalid"
Replies: 19
Views: 9593

Re: Error "The submitted form was invalid"

The same thing happened here yesterday evening and at 0630 UTC this morning. It had resolved by, iirc, about 0900 UTC.

While it was happening, the Information dialog was empty; now it again says 'Forums have been marked read'.
by DavidHart
Wed Jul 07, 2021 5:11 pm
Forum: General Forum Issues
Topic: Error "The submitted form was invalid"
Replies: 19
Views: 9593

Re: Error "The submitted form was invalid"

I fixed it by clearing my browser cookies But that failed for other posters, and for me. And anyway, the problem affects multiple browsers on multiple computers, so it can't be a simple cookies thing. I find that the issue fixes itself if I wait for an hour or two. PS: ironically, it happened to me...
by DavidHart
Mon Jun 21, 2021 10:40 am
Forum: C++ Development
Topic: wxSplitterWindow - How to set initial position of the sash?
Replies: 12
Views: 1299

Re: wxSplitterWindow - How to set initial position of the sash?

This looks like it is working 'looks like', or 'is'? Is this the correct way to do this? If it is working... I also had to set both splitter window sash gravity to 0, to make the above code work, What goes wrong if you don't set it to zero? More generally: 1) Have you tried the 'splitter' sample? I...
by DavidHart
Sun Jun 20, 2021 2:07 pm
Forum: C++ Development
Topic: wxSplitterWindow - How to set initial position of the sash?
Replies: 12
Views: 1299

Re: wxSplitterWindow - How to set initial position of the sash?

Hi, At least in wxGTK, I've found that trying to set a sash position before the TLW is shown usually fails. That's probably because, at that stage, the TLW has a size of 20,20 px. You can test if this is your problem by setting the position/gravity/whatever in an event handler that gets called later...
by DavidHart
Tue Jun 08, 2021 9:19 am
Forum: Compiler / Linking / IDE Related
Topic: What is your preferred IDE for Linux ?
Replies: 2
Views: 1543

Re: What is your preferred IDE for Linux ?

Hi, There are regular threads on this subforum asking that, and there's also this wxWiki page . For what it's worth, I use and recommend (and help out on) CodeLite , which comes with the form designer wxCrafter. IIUC you are using ubuntu bionic, in which case the version in the CodeLite repo will be...
by DavidHart
Mon Jun 07, 2021 6:32 pm
Forum: Compiler / Linking / IDE Related
Topic: ogledit Where is it and can it be built?
Replies: 24
Views: 3550

Re: ogledit Where is it and can it be built?

IMPLEMENT_DYNAMIC_CLASS(wxExprDatabase, wxList) I do not think this is possible in modern wxWidgets. Out of curiosity, which part of that line is the problem? I know that 'IMPLEMENT_DYNAMIC_CLASS' should now be 'wxIMPLEMENT_DYNAMIC_CLASS(...);'. There were wxList changes too, but I thought they can...
by DavidHart
Sun Jun 06, 2021 10:30 am
Forum: Compiler / Linking / IDE Related
Topic: ogledit Where is it and can it be built?
Replies: 24
Views: 3550

Re: ogledit Where is it and can it be built?

Hi, The 'contrib/' section was removed in wx3, so the latest version that contained contrib/samples/ogl/ogledit is wx2.8.12. I am using ubuntu 18 at the moment. I presume you mean 18.04 (bionic). That doesn't supply wx2.8, but it's not hard to build it from a tarball (which you can get from https://...
by DavidHart
Mon May 31, 2021 7:45 pm
Forum: Open Discussion
Topic: Documentation
Replies: 2
Views: 2228

Re: Documentation

Hi,

There's a link to the docs corresponding to the latest git version; and another for wx3.1.5. Or you can get creative with the second link e.g. 3.1.4, 3.1.3...

Regards,

David
by DavidHart
Mon May 24, 2021 3:28 pm
Forum: Compiler / Linking / IDE Related
Topic: Error loading wxWidgets shared libraries on Debian 10
Replies: 7
Views: 1845

Re: Error loading wxWidgets shared libraries on Debian 10

Hi, The application built successfully. When I tried to run it, however, I got the following error: : error while loading shared libraries: libwx_gtk3u_xrc-3.0.so.0: cannot open shared object file: No such file or directory There was a change to wx-config in wx3 . You now need e.g. `wx-config --libs...
by DavidHart
Thu May 20, 2021 7:29 pm
Forum: General Development
Topic: [SOLVED] GTK-3 Issues as it relates to wxWidgets
Replies: 3
Views: 1527

Re: GTK-3 Issues as it relates to wxWidgets

Hi, Can wxWidgets be built without GTK at all? If so - how? Nowadays you have two choices: 1) wxX11 is the longstanding 'generic' option, that doesn't rely on any toolkit. OTOH it's incomplete, little used and less maintained. You can try it out (on Linux) by doing, in the wx source dir: (mkdir -p x...
by DavidHart
Mon Apr 26, 2021 7:35 pm
Forum: General Development
Topic: wxAUI webpage hyperlink error
Replies: 1
Views: 1887

Re: wxAUI webpage hyperlink error

Hi,

This is a user forum, so not the correct place to contact a wx dev. The wx-dev or wx-users mailing lists would have been the correct place.

However you have spotted a problem on wxWiki which, like most wikis, is a place where anyone can (register and) amend the content.

Regards,

David
by DavidHart
Wed Apr 21, 2021 6:52 pm
Forum: General Development
Topic: Run wx projects on embedded board
Replies: 4
Views: 1915

Re: Run wx projects on embedded board

Hi, There is also wxDFB (FB for framebuffer) which displays a Gui by writing directly into the framebuffer of the graphics card (without running GTK, X11 or similar), but i don't know if this port is still maintained and updated. Not for years, iirc. AFAIK it is also possible to build wxWidgets with...
by DavidHart
Tue Apr 20, 2021 7:15 pm
Forum: Announcements and Discoveries
Topic: wxGTK 3.0 and 3.1 debs and rpms available
Replies: 9
Views: 20177

Re: wxGTK 3.0 and 3.1 debs and rpms available

wx3.1.5 has now been released. As wx3.1 is a development branch distros are very unlikely to package it, so I've again created packages for current and recent versions of the major distros. For debian buster, and ubuntu focal and groovy/hirsute there are repositories. There are rpms for fedora 33 & ...
by DavidHart
Fri Apr 16, 2021 6:54 am
Forum: Compiler / Linking / IDE Related
Topic: Some samples won't compile
Replies: 3
Views: 2058

Re: Some samples won't compile

Hi, If you try to build them in CodeLite, you'll probably have to add the missing libraries to the linker options yourself. In particular, you should change: $(shell wx-config --libs) to $(shell wx-config --libs all) But the wx samples aren't designed to be configured/built like this. Instead you sh...