Search found 2409 matches
- Mon Nov 07, 2022 4:21 pm
- Forum: Compiler / Linking / IDE Related
- Topic: CMake - make it find wxWidgets with gcc_x64_dll
- Replies: 5
- Views: 4109
Re: CMake - make it find wxWidgets with gcc_x64_dll
It seems like MSVC is well tested than MinGW. Possibly because many just opt to use configure/make than cmake. although it is changing (IMHO)
- Sun Nov 06, 2022 7:24 pm
- Forum: Compiler / Linking / IDE Related
- Topic: CMake - make it find wxWidgets with gcc_x64_dll
- Replies: 5
- Views: 4109
Re: CMake - make it find wxWidgets with gcc_x64_dll
Just noted that CMake does not use github PR. I hope someone takes it into CMake gitlab repo as it is a simple change
- Sun Nov 06, 2022 7:23 pm
- Forum: Compiler / Linking / IDE Related
- Topic: CMake - make it find wxWidgets with gcc_x64_dll
- Replies: 5
- Views: 4109
Re: CMake - make it find wxWidgets with gcc_x64_dll
Assuming you are using FindwxWidgets module in your cmakefile, you could set wxWidgets_LIB_DIR to point to your lib folder, before calling find_package(wxWidgets....) . See here for more: https://cmake.org/cmake/help/latest/module/FindwxWidgets.html Thanks for the comment. I just found that for Min...
- Sun Nov 06, 2022 5:15 pm
- Forum: Compiler / Linking / IDE Related
- Topic: CMake - make it find wxWidgets with gcc_x64_dll
- Replies: 5
- Views: 4109
CMake - make it find wxWidgets with gcc_x64_dll
I have built wxWidgets with gcc_64 and my lib is having gcc_x64_dll instead of gcc_dll
But wxWidgets find cannot find that until renamed to gcc_dll
Is there a way to tell GCC to look for that something other than gcc_dll
But wxWidgets find cannot find that until renamed to gcc_dll
Is there a way to tell GCC to look for that something other than gcc_dll
- Mon Oct 17, 2022 8:04 pm
- Forum: C++ Development
- Topic: Event enumerations
- Replies: 10
- Views: 1051
Re: Event enumerations
Page like this one?
https://docs.wxwidgets.org/trunk/overview_events.html
https://docs.wxwidgets.org/trunk/overview_events.html
- Sun Sep 04, 2022 2:57 pm
- Forum: C++ Development
- Topic: Apply red squiggle to words in wxRichTextCtrl
- Replies: 3
- Views: 387
Re: Apply red squiggle to words in wxRichTextCtrl
Keep us posted if you find something that solves the issue!NeoFahrenheit wrote: ↑Sun Sep 04, 2022 2:45 pm Oh, that is unfortunate.
I guess I'll have to choose another framework.
- Fri Sep 02, 2022 2:05 pm
- Forum: C++ Development
- Topic: Spell checking wxStyledTextCtrl
- Replies: 12
- Views: 1613
Re: Spell checking wxStyledTextCtrl
1) As I will be saving in .xml format, how do I apply the red squiggle in wxRichTextCtrl and how do I make to not be saved into the file (only for editor)? I don't remember having something like that in wxRTC. However it is long time since I played with it and so I don't know how. As of saving, I s...
- Fri Sep 02, 2022 10:20 am
- Forum: C++ Development
- Topic: Spell checking wxStyledTextCtrl
- Replies: 12
- Views: 1613
Re: Spell checking wxStyledTextCtrl
The app is complex and I did few years back but basically all you do is you get text in a range and send it to spell checker. If it not okay apply squiggles on that range. When that range is clicked, show box to select correct word and replace it in the same range. Spell checker will give you the li...
- Tue Aug 23, 2022 6:54 pm
- Forum: C++ Development
- Topic: wxLocal dynamic change language
- Replies: 8
- Views: 658
Re: wxLocal dynamic change language
Adding to the discussion: I don't remember a desktop app that I changed language that didn't ask to restart app!
- Tue Aug 23, 2022 10:21 am
- Forum: General Development
- Topic: Creating a release for distribution from wxWidgets project
- Replies: 2
- Views: 8081
Re: Creating a release for distribution from wxWidgets project
I second Inno Setup. Super simple and effective and can do quiet complex stuffs! For Linux there is Snap which works fine too but am not sure how far it is supported beyond Ubuntu based distros. Oldie is making Deb and Rpm files. But it is tedious and requires efforts to make working scripts See htt...
- Tue Aug 23, 2022 6:51 am
- Forum: C++ Development
- Topic: Spell checking wxStyledTextCtrl
- Replies: 12
- Views: 1613
Re: Spell checking wxStyledTextCtrl
You cannot just arbitrary switch. I thought you already use wxRTC. If not sorry.
Just know that wxRTC is for richtext editing and wxSTC is for code editing.
Which one are you using?
Just know that wxRTC is for richtext editing and wxSTC is for code editing.
Which one are you using?
- Mon Aug 22, 2022 4:25 pm
- Forum: C++ Development
- Topic: Spell checking wxStyledTextCtrl
- Replies: 12
- Views: 1613
Re: Spell checking wxStyledTextCtrl
Can you give me some tips in how you achieved that, please? I've got the richtext sample from wxWidgets and strip out some functionality I don't need and it would be awesome for my application to have spell checking. Richtext is different from wxSTC. However you can use Hunspell to do checking. The...
- Sun Aug 14, 2022 8:34 pm
- Forum: C++ Development
- Topic: Check connection to IP
- Replies: 23
- Views: 1523
Re: Check connection to IP
Maybe someone could say something about my solution concerning the thread not being terminated actively. Is this a problem and if it is, how could I do it better? I have read that one shouldn't "kill" a thread. But maybe this is only true for threads that are critical. The mere check of t...
- Thu Aug 04, 2022 6:45 am
- Forum: C++ Development
- Topic: Check connection to IP
- Replies: 23
- Views: 1523
Re: Check connection to IP
That all looks quite a big efffort for such an easy task. unfortunately, bad design always have such consequences! I think I'd rather create a thread to ping the ip and I time this thread to 2 seconds. If by then there was no answer from the ping (thread return value) I'll just say that there seems...
- Tue Aug 02, 2022 6:48 pm
- Forum: C++ Development
- Topic: Mapping keyboard keys to buttons on my calculator application
- Replies: 8
- Views: 987
Re: Mapping keyboard keys to buttons on my calculator application
Pseudocode will look like this!
Code: Select all
if(key == "+"){
plusButton->SetFocus();
}