Search found 8 matches

by davidlondonuk
Fri Nov 16, 2018 9:39 pm
Forum: Platform Related Issues
Topic: wxwidgets app compiled on Deepin OS not working???
Replies: 4
Views: 207

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

Thanks for the answers but it gets worse. I removed all the debian wxwidgets packages from deepin os, installed gtk-3-dev and compiled wxwidgets-3.0.4 from source - and compiled my app again. The program compiled without a hitch but I still have the same problem - the png files will not display on ...
by davidlondonuk
Fri Nov 16, 2018 5:15 pm
Forum: Platform Related Issues
Topic: wxwidgets app compiled on Deepin OS not working???
Replies: 4
Views: 207

wxwidgets app compiled on Deepin OS not working???

Hi all, This is a strange one. I have coded a small wxwidgets app that displays png files on an image panel. When I compile it on Ubuntu 18.04 it works perfectly - If I copy the same source-code folder over to deepin-15.8 and run the program it works perfectly. However, when I compile the exact same...
by davidlondonuk
Sat Jul 28, 2018 10:42 am
Forum: C++ Development
Topic: wxrichtextctrl reading/writing to file?
Replies: 1
Views: 190

wxrichtextctrl reading/writing to file?

Hi, I cannot work out how you use wxrichtextctrl to read from a file or write back to that file when a user edits a section of richtext. I'm coding a simple flash-card learning program, I have it working with plain text (read from a file and displayed in a wxtextctrl) , but I don't get how you read ...
by davidlondonuk
Mon Jul 23, 2018 10:58 am
Forum: C++ Development
Topic: How do I put escape codes in a text file read by wxtextfile?
Replies: 2
Views: 222

Re: How do I put escape codes in a text file read by wxtextfile?

Thanks for that.
As wxtextfile reads in text as wxstrings, I assumed escape codes would work - which they do, but not from a file.

I have to code an edit dialog so rich text is the way to go. C++ escapes was the simplest solution, but ultimately too simple.
by davidlondonuk
Sun Jul 22, 2018 9:14 am
Forum: C++ Development
Topic: How do I put escape codes in a text file read by wxtextfile?
Replies: 2
Views: 222

How do I put escape codes in a text file read by wxtextfile?

Hi, I'm writing a flash-card program using wxtextfile to read in questions and answers(each on a line) - this is output to a textctrl. My problem is I can't find a way to format the text, whatever I put in the text file is output, as is, to the textctrl e.g if I put an escape code like "\n" in the f...
by davidlondonuk
Wed May 23, 2018 9:49 am
Forum: Compiler / Linking / IDE Related
Topic: Cannot compile with wxMediaCtrl - linker errors
Replies: 6
Views: 666

Re: Cannot compile with wxMediaCtrl - linker errors [SOLVED]

Hi, The linking problem was due to a missing package (top one below), that provided libwx_gtk2u_media-3.0: libwxgtk-media3.0-0v5:amd64 (gtk2) libwxgtk-media3.0-gtk3-0v5:amd64 (gtk3) However, that package had a missing symlink (libwx_gtk2u_media-3.0.so) which I created manually - after that and using...
by davidlondonuk
Mon May 21, 2018 10:30 am
Forum: Compiler / Linking / IDE Related
Topic: Cannot compile with wxMediaCtrl - linker errors
Replies: 6
Views: 666

Re: Cannot compile with wxMediaCtrl - linker errors

Thanks David, wx-config libs all : -L/usr/lib/x86_64-linux-gnu -pthread -lwx_gtk2u_xrc-3.0 -lwx_gtk2u_stc-3.0 -lwx_gtk2u_richtext-3.0 -lwx_gtk2u_ribbon-3.0 -lwx_gtk2u_propgrid-3.0 -lwx_gtk2u_aui-3.0 -lwx_gtk2u_gl-3.0 -lwx_gtk2u_media-3.0 -lwx_gtk2u_html-3.0 -lwx_gtk2u_qa-3.0 -lwx_gtk2u_adv-3.0 -lwx_...
by davidlondonuk
Mon May 21, 2018 7:25 am
Forum: Compiler / Linking / IDE Related
Topic: Cannot compile with wxMediaCtrl - linker errors
Replies: 6
Views: 666

Cannot compile with wxMediaCtrl - linker errors

Hi All, I am using Xubuntu 18.04 and have been able to compile wxwidgets apps without problems until I tried to use wxMediaCtrl. I have the following ubuntu wx packages installed: libwxgtk-media3.0-gtk3-0v5:amd64 libwxgtk3.0-0v5:amd64 libwxgtk3.0-dev libwxgtk3.0-gtk3-0v5:amd64 wx-config --list gives...