Search found 3977 matches

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

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

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 there are repositories. There are rpms for fedora 33; and for o...
by DavidHart
Fri Apr 16, 2021 6:54 am
Forum: Compiler / Linking / IDE Related
Topic: Some samples won't compile
Replies: 3
Views: 82

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: 21
Views: 1015

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: 21
Views: 1015

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

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

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

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...
by DavidHart
Wed Mar 24, 2021 9:09 pm
Forum: C++ Development
Topic: Multiple problems in wxWidgets Layout Application
Replies: 17
Views: 796

Re: Multiple problems in wxWidgets Layout Application

bgining2this, unless something has changed, you're using CodeLite; and that comes with a graphical GUI editor: wxCrafter.
by DavidHart
Sat Mar 20, 2021 4:36 pm
Forum: C++ Development
Topic: Subsampling an event queue
Replies: 2
Views: 252

Re: Subsampling an event queue

Hi, You could override wxApp::FilterEvent in your subclass, and do <whatever> to certain types of mouse events. An example (looking a key events): int MyApp::FilterEvent(wxEvent& event) { if (frame && event.GetEventType() == wxEVT_KEY_DOWN) { if (((wxKeyEvent&)event).GetKeyCode() == WXK_F1) { frame-...
by DavidHart
Mon Mar 15, 2021 4:41 pm
Forum: General Forum Issues
Topic: Moderators: Please check
Replies: 4
Views: 1364

Re: Moderators: Please check

The original works for me, fwiw.
by DavidHart
Sat Mar 13, 2021 11:30 am
Forum: Compiler / Linking / IDE Related
Topic: Warning: Mismatch between the program and library build versions detected.
Replies: 43
Views: 1357

Re: Warning: Mismatch between the program and library build versions detected.

It's hard to know which of the changes were actually needed, but what I did was to create a new C++ project, check it worked, then merged the two until it built with your files. I've attached a diff of the old/new DentalOrganizer.projects. Some bits (e.g. the qmake section) are almost certainly irre...
by DavidHart
Thu Mar 11, 2021 9:25 pm
Forum: Compiler / Linking / IDE Related
Topic: Warning: Mismatch between the program and library build versions detected.
Replies: 43
Views: 1357

Re: Warning: Mismatch between the program and library build versions detected.

OK, I've altered your project settings. I've also altered the frame code to make it compiler and run. I suggest you (extract and) add the attached tarball project and files to your workspace: select the workspace name in the Workspace View, right-click and 'Add an Existing Project'. Then check it bu...
by DavidHart
Thu Mar 11, 2021 10:01 am
Forum: Compiler / Linking / IDE Related
Topic: Warning: Mismatch between the program and library build versions detected.
Replies: 43
Views: 1357

Re: Warning: Mismatch between the program and library build versions detected.

My actual project code i have post it above but here it is again, It was not just the code that I asked for, but also an archive of the whole CodeLite Project. I don't know where that is stored (probably /home/jorgecg/Documentos/ProyectosCodeliteywxWidgets/TheDentalOrganizer or nearby) but it will ...
by DavidHart
Thu Mar 11, 2021 9:55 am
Forum: Compiler / Linking / IDE Related
Topic: Warning: Mismatch between the program and library build versions detected.
Replies: 43
Views: 1357

Re: Warning: Mismatch between the program and library build versions detected.

`wx-config --libs`
@DavidHart - will this work?
No, not in the CodeLite settings. It needs to be:
$(shell wx-config --libs <whatever>)
which does the same thing.