Search found 3712 matches

by DavidHart
Sun Nov 18, 2018 8:32 pm
Forum: Platform Related Issues
Topic: Internationalization- name of mo files Windows / Linux [SOLVED]
Replies: 6
Views: 72

Re: Internationalization- name of mo files Windows / Linux [SOLVED]

I should have mentioned: doing in a terminal
locale -a
will tell you what locales are installed on your system.
by DavidHart
Sun Nov 18, 2018 4:30 pm
Forum: Platform Related Issues
Topic: Internationalization- name of mo files Windows / Linux [SOLVED]
Replies: 6
Views: 72

Re: Internationalization- name of mo files Windows / Linux [SOLVED]

Well, guess the reason was simply using "en" instead of "en_us" for wxLANGUAGE_ENGLISH_US

Linux is case-sensitive, so that probably should be en_US (or en_US.utf8 or...)
by DavidHart
Sun Nov 18, 2018 1:50 pm
Forum: Platform Related Issues
Topic: Internationalization- name of mo files Windows / Linux [SOLVED]
Replies: 6
Views: 72

Re: Internationalization- name of mo files Windows / Linux [SOLVED]

Hi, 1) Generic answer: look at the relevant wx sample ('internat' in this case) and see what you do that's different ;) . 2) More specifically, a Linux program expects to find its locale files under /usr/share/locale/ so if yours are somewhere different, you may need to announce this with wxLocale::...
by DavidHart
Fri Nov 16, 2018 7:41 pm
Forum: Platform Related Issues
Topic: wxwidgets app compiled on Deepin OS not working???
Replies: 4
Views: 65

Re: wxwidgets app compiled on Deepin OS not working???

Hi, There is obviously something wrong with the deepin wxwidgets packages ...or perhaps with the deepin libpng or its dependencies. I suggest the first thing you should do is to check which wxWidgets compile/runtime versions you are using on each distro. The easy way to do that is: Ctl-Alt-Middlecli...
by DavidHart
Fri Nov 09, 2018 11:20 am
Forum: Platform Related Issues
Topic: Fedora repository: is there a package for samples
Replies: 3
Views: 79

Re: Fedora repository: is there a package for samples

However I just tested that against the above wx3.1.1 and it failed because of a missing regex library. I don't know why that happens... Update: I still don't know why the makefile thought wxregex was a dynamic lib (it's static), but after doing: ./configure --with-regex=no both 'minimal' and 'widge...
by DavidHart
Fri Nov 09, 2018 10:29 am
Forum: Platform Related Issues
Topic: Fedora repository: is there a package for samples
Replies: 3
Views: 79

Re: Fedora repository: is there a package for samples

Hi, For debian and similar there is a 'samples' package. That's not the case for the rpm-using distros; at least not the ones mentioned here . Assuming you already have wx installed, normally the easiest solution is to download and extract the wx source tarball and configure it (but don't compile); ...
by DavidHart
Wed Oct 31, 2018 7:42 pm
Forum: C++ Development
Topic: Upgrade 2.6.3 -> 2.8.12 -> 3.0
Replies: 2
Views: 76

Re: Upgrade 2.6.3 -> 2.8.12 -> 3.0

Hi, What I'm trying to figure out is whether that control has been moved to wxCode as part of the gizmo library move or it was always part of the wxCode library. The official 3.0 wxTreeListCtrl is quite different from the wxCode one. As the doc says: "It is currently implemented using wxDataVie...
by DavidHart
Wed Oct 24, 2018 6:40 pm
Forum: C++ Development
Topic: Multiple source files with a GUI
Replies: 2
Views: 114

Re: Multiple source files with a GUI

Hi,

For the record, Markmilleru is a spammer and his question was copied from an old thread.

Regards,

David
Moderator
by DavidHart
Mon Oct 22, 2018 8:09 pm
Forum: Platform Related Issues
Topic: Ubuntu16 GTK3 wxWindow::Show() crashes
Replies: 2
Views: 100

Re: Ubuntu16 GTK3 wxWindow::Show() crashes

You post is cut out

which made me suspicious. In fact he copied the start of https://forums.wxwidgets.org/viewtopic.php?t=43426.

Now banned.

Regards,

David
by DavidHart
Mon Oct 22, 2018 10:57 am
Forum: General Development
Topic: Writing autocomplete plugin for IDE's
Replies: 1
Views: 73

Re: Writing autocomplete plugin for IDE's

Hi, The generic answer is probably that the details will vary a lot between IDEs, so look at your target IDE. However, have you looked at CodeLite ? It was started as an IDE specialising in code-completion, and I'd be surprised if you were unhappy with it. And if you are, the owner, eranif, cares im...
by DavidHart
Tue Oct 09, 2018 6:24 pm
Forum: Platform Related Issues
Topic: Don't understand warning
Replies: 10
Views: 428

Re: Don't understand warning

Hi, You can probably turn off those warning with something from https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html . But wxX11 is undermaintained and little-used, and so is far from bug-free. If at all possible I suggest using wxGTK instead. If for some reason you really can't, I'm afraid that ...
by DavidHart
Thu Sep 20, 2018 4:52 pm
Forum: Compiler / Linking / IDE Related
Topic: Linux File naming debug/release or --enable-debug not working? [SOLVED]
Replies: 13
Views: 665

Re: Linux File naming debug/release or --enable-debug not working? [SOLVED]

Hi,

It's an intentional platform difference in wx3. See this wx blog post for details, but the short answer is that, on non-Windows platforms, all builds are debug.

Regards,

David
by DavidHart
Thu Sep 20, 2018 1:04 pm
Forum: Compiler / Linking / IDE Related
Topic: Linux compilation - tons of warnings [SOLVED]
Replies: 2
Views: 493

Re: Linux compilation - tons of warnings [SOLVED]

Hi, It's almost certainly related to the g++ you're using; recent versions have become increasingly pedantic and noisy. What can you do about it? I just shut my eyes ;) But if you wish, you could try the latest git version of wx as IIRC there has been some work to reduce the number of warnings. Or y...
by DavidHart
Thu Sep 20, 2018 10:48 am
Forum: Compiler / Linking / IDE Related
Topic: wx compilation freezes ubuntu [SOLVED]
Replies: 6
Views: 536

Re: wx compilation freezes ubuntu [SOLVED]

I guess with console/terminal you mean

I mean a gui terminal-emulator like konsole or lxterminal or..., not the raw terminal that you get from Ctrl-Alt-F?.
by DavidHart
Thu Sep 20, 2018 9:20 am
Forum: Compiler / Linking / IDE Related
Topic: wx compilation freezes ubuntu [SOLVED]
Replies: 6
Views: 536

Re: wx compilation freezes ubuntu [SOLVED]

Hi, I get this often when building in under-resourced VirtualBox guests. Sometimes the build errors-out after a few minutes with a gcc 'internal error' message; sometimes it crashes the system, which has to be rebooted. It seems to have two reasons: One possibility is too little swap space. I don't ...

Go to advanced search