Search found 3984 matches

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: 550

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: 1356

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: 1356

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: 1152

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: 714

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: 630

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: 962

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: 968

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: 18410

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: 1092

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...
by DavidHart
Thu Apr 15, 2021 8:30 pm
Forum: Platform Related Issues
Topic: GTK3 / wxStaticText size
Replies: 24
Views: 3345

Re: GTK3 / wxStaticText size

Well spotted!
Are you planning to provide 3.1.5 packages in your repository?
I've been busy with other things, so I've not started yet; but yes, it will happen.
by DavidHart
Thu Apr 15, 2021 5:08 pm
Forum: Platform Related Issues
Topic: GTK3 / wxStaticText size
Replies: 24
Views: 3345

Re: GTK3 / wxStaticText size

Hi, I have a faint memory that window creation under GTK is somehow delayed compared to window creation under Windows. That's right. One workaround that I've used is to Bind() wxEVT_IDLE in the top-level window ctor. The event-handler then checks the frame size; when that's sane (e.g. >20,20) it doe...
by DavidHart
Wed Apr 14, 2021 11:22 am
Forum: Compiler / Linking / IDE Related
Topic: Debug wxWidgets classes
Replies: 3
Views: 1101

Re: Debug wxWidgets classes

Hi, CodeLite is very happy to use clang. I've used it for my wx program without problems. As you've probably discovered, it's also happy to use lldb; but I've found that less reliable compared with gdb. And as you say, it can't 'see' wxArrayString contents. Gdb can see inside an wxArrayString though...
by DavidHart
Fri Apr 09, 2021 3:58 pm
Forum: C++ Development
Topic: How do I know which event type to use?
Replies: 2
Views: 295

Re: How do I know which event type to use?

Hi, See this wxWiki page : it links to a page that you should find helpful. In particular you'll find wxEVT_COMMAND_TEXT_UPDATED in a list of aliases, preceded by the comment: "These aliases are new in 3.0. Various event-types of the form 'wxEVT_COMMAND_*' are now 'wxEVT_*'. The old forms still exis...
by DavidHart
Tue Mar 30, 2021 10:10 am
Forum: Compiler / Linking / IDE Related
Topic: GTK3 Woes
Replies: 1
Views: 1120

Re: GTK3 Woes

Hi, Just to make sure I understand: you have a standard wx3.1 install on one computer, and your program compiles and links correctly against this. you have a static-link wx3.1 install on the other computer, and your program fails to link against that. Various questions: Which wxWidgets version (or v...