Search found 3971 matches

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

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

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

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

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

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

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

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

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

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.
by DavidHart
Wed Mar 10, 2021 11:00 pm
Forum: Compiler / Linking / IDE Related
Topic: Warning: Mismatch between the program and library build versions detected.
Replies: 43
Views: 1283

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

And yet you can run some program, somewhere, to produce those errors?!

Please would you attach here an archive of your Project, with its current code, so that we can test it.
by DavidHart
Wed Mar 10, 2021 10:06 pm
Forum: Compiler / Linking / IDE Related
Topic: Warning: Mismatch between the program and library build versions detected.
Replies: 43
Views: 1283

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

What is the output of doing, in a terminal:
ldd /path/to/your/executable

And, while you're there,
ls -l /path/to/your/executable
to find when that executable was compiled. Just to check that it is not left over from an old build...
by DavidHart
Wed Mar 10, 2021 7:09 pm
Forum: Compiler / Linking / IDE Related
Topic: Warning: Mismatch between the program and library build versions detected.
Replies: 43
Views: 1283

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

now i think everything is working ok with 3.1 version of the library
triying to find out the reason for this 10 errors
I'm confused! Are you telling us that the program is working, or that it is crashing with those errors?
by DavidHart
Wed Mar 10, 2021 4:34 pm
Forum: Compiler / Linking / IDE Related
Topic: Warning: Mismatch between the program and library build versions detected.
Replies: 43
Views: 1283

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

I did it, now everything is fine, i have uninstalled everything and installed version 3.1 (all the dev ones), and in order for codelite to work the package named lib32-wxgtk3 so now i have the last version and codelite works ok. I think you mean that you now have both a wx3.1 installed, then CodeLi...
by DavidHart
Tue Mar 09, 2021 10:10 pm
Forum: Compiler / Linking / IDE Related
Topic: Warning: Mismatch between the program and library build versions detected.
Replies: 43
Views: 1283

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

if i remove the packages i wouldnt be able to open CodeLite Ah. You presumably have the CodeLite Arch package installed. I don't use Arch, so I can't guess what Arch-specific things might be going wrong. A fix for one possible cause would be to re-install your wx3.1, this time to /usr/ instead of /...
by DavidHart
Tue Mar 09, 2021 7:42 pm
Forum: Compiler / Linking / IDE Related
Topic: Warning: Mismatch between the program and library build versions detected.
Replies: 43
Views: 1283

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

What did you do? Remove the wx3.0 packages? Enter that Linker setting? Fill the Libraries Search Path field? Or all three?