Search found 12 matches

by Tecnoworld
Fri Nov 27, 2020 2:15 pm
Forum: C++ Development
Topic: Problems with using own Events based on wxEvent
Replies: 6
Views: 179

Re: Problems with using own Events based on wxEvent

>> am not sure what you expect by marking the class member variables as volatile.

nothing in this case. On an other compiler I work the compiler strictly optimize the variables out, if you not declare as volatile. So it was a try to check, if this compiler has similar behavior :-)
by Tecnoworld
Fri Nov 27, 2020 1:11 pm
Forum: C++ Development
Topic: Problems with using own Events based on wxEvent
Replies: 6
Views: 179

Re: Problems with using own Events based on wxEvent

Ok, I´ve changed to evt.clone(). So QueueEvent has a pointer on the heap. Now I can copy the complete content, and it works. But still I have sometimes segmentation faults. I will try to use wxTreadEvents(). But I must found out, how I can derivate my event class from this, because now I derivate fr...
by Tecnoworld
Fri Nov 27, 2020 12:32 pm
Forum: C++ Development
Topic: Problems with using own Events based on wxEvent
Replies: 6
Views: 179

Re: Problems with using own Events based on wxEvent

Many thanks for this hints, I will check this...

Best,
Ingolf
by Tecnoworld
Fri Nov 27, 2020 12:00 pm
Forum: C++ Development
Topic: Problems with using own Events based on wxEvent
Replies: 6
Views: 179

Problems with using own Events based on wxEvent

Hello, I´ve created a own Event class (have a look to the end of this message). I´ve created a thread based on wxThread. From this thread I fire the events with wxQueueEvent(OwnerDB[idx].owner,&evt); The owners are stored in a std::vector. The event is declared static. ( static RCEvent evt; Init: RC...
by Tecnoworld
Wed Jan 29, 2020 3:48 pm
Forum: Compiler / Linking / IDE Related
Topic: different versions of wxWidgets
Replies: 5
Views: 623

Re: different versions of wxWidgets

This is what I do since beginning, but no solution. The different builds of wxWidgets are in different folders (with the --prefix) /opt/wxcb (for Codeblocks), /opt/wxrel (release version) /opt/wxdeb (debug version) /opt/wxnouni/ (for other apps with unicode) and so on.... But codeblocks needs, that ...
by Tecnoworld
Wed Jan 29, 2020 3:37 pm
Forum: General Development
Topic: translation.cpp and lexer
Replies: 3
Views: 722

Re: translation.cpp and lexer

Ok, I understand the system of the locale. But this automatism I don´t like and can´t use. In example, I live in Spain, I´m german, but a couple of programs I like to have in english, some in german, and other ones in spanish. I.e. the software we provide is for numeric control. I will, that the use...
by Tecnoworld
Tue Jan 28, 2020 4:06 pm
Forum: Compiler / Linking / IDE Related
Topic: different versions of wxWidgets
Replies: 5
Views: 623

Re: different versions of wxWidgets

Ok, I will explain a little better... The project runs on: Windows32bit Windows64bit Linux32bit Linux64bit Armhf On each plattform I need C::B. C::B uses his own version of wxWidgets, if I install as a binary package. If its a newer version of C::B then its 3.0.2, the same like I use. I have some ch...
by Tecnoworld
Sun Jan 26, 2020 10:48 am
Forum: Compiler / Linking / IDE Related
Topic: different versions of wxWidgets
Replies: 5
Views: 623

different versions of wxWidgets

Hello, I have a problem with different versions of wxWidgets. I will explain this. In the past CodeBlocks comes with wxWidgets 2.8.x, I use wxWidgets 3.0.2 - No problems so far. Now Codeblocks comes with wxWidgets 3.0.2 and installs the libs in the system and provides them through ldconf-system. Cod...
by Tecnoworld
Sat Jan 25, 2020 3:35 pm
Forum: General Development
Topic: translation.cpp and lexer
Replies: 3
Views: 722

translation.cpp and lexer

Hello, I have a smal problem in relation with the translation. The path order expected is (one of them) share/Appname/lang/de_DE/appname.mo Ok - this is the "normal" system of the locale in Linuxsystems and since a couple of years also in Windows. But I like for my own applications the system like: ...
by Tecnoworld
Mon Jul 04, 2016 1:07 pm
Forum: General Development
Topic: Multiple designs with wxWidgets
Replies: 3
Views: 1225

Re: Multiple designs with wxWidgets

One solucion could be a pre-compile script. So I store the resources in: /wxsmith_touch (for the touch version) and /wxsmith_default (for all others) and could copy with a script the correct ones to /wxsmith But the copy must check before the timestamp and version of the file, so that the file was c...
by Tecnoworld
Mon Jul 04, 2016 11:23 am
Forum: General Development
Topic: Multiple designs with wxWidgets
Replies: 3
Views: 1225

Re: Multiple designs with wxWidgets

Ok, I will explain a little bit. I use automaticly generated code from wxSmith Plugin. I use the Target Management from CB, I have 11 different targets for Windows, Linux x86, Linux ARM. For small devices with touchscreen I must make a design for 1024x600 pixel. This is quite different from the othe...
by Tecnoworld
Fri Jun 24, 2016 11:32 am
Forum: General Development
Topic: Multiple designs with wxWidgets
Replies: 3
Views: 1225

Multiple designs with wxWidgets

Hello, I have a small problem. I designed a big application, with a lot of dialogs, frames and so on. All of this is also multilanguage, the project managment is over Code::Blocks with several targets (Linux, Arm, Windows) This only to know, that not a "small thing". We work on this project since se...