Search found 72 matches

by Ksawery
Wed Aug 28, 2019 1:48 pm
Forum: Platform Related Issues
Topic: How to set application icon in Linux
Replies: 5
Views: 639

Re: How to set application icon in Linux

Actually, even though the icon is now working, I'm still seeing tons of warnings and errors when building the project: The warnings disappear after compilation: 15:56:23 **** Build of configuration Debug for project PomiarWiazki_wxWidgets_Linux **** make all Building file: ../cApp.cpp Invoking: GCC ...
by Ksawery
Wed Aug 28, 2019 1:29 pm
Forum: Platform Related Issues
Topic: How to set application icon in Linux
Replies: 5
Views: 639

Re: How to set application icon in Linux

Thank you. I went into the xpm file and manually changed the variable name to icon_xpm. Now it works fine. And just for the record: This will only set the icon you see inside your application. This will not change the icon of the executable when seen on the desktop For that I will need a .desktop fi...
by Ksawery
Wed Aug 28, 2019 1:02 pm
Forum: Platform Related Issues
Topic: How to set application icon in Linux
Replies: 5
Views: 639

How to set application icon in Linux

I've successfully setup icons for my app in Windows, using a resource file and a .ico file. Now i'd like to setup an icon for my app in Linux Mint, where (as I understand) resource files don't exist. I found a post that recommends using a .xpm file: https://forums.wxwidgets.org/viewtopic.php?t=13983...
by Ksawery
Tue Aug 27, 2019 2:02 pm
Forum: Compiler / Linking / IDE Related
Topic: Eclipse - Unresolved Symbol Errors
Replies: 1
Views: 481

Re: Eclipse - Unresolved Symbol Errors

I managed to solve the issues using the following guide:

https://www.youtube.com/watch?v=MrwDSDYPF0M

Now Eclipse correctly recognizes all wxWidgets symbols.

Ksawery
by Ksawery
Tue Aug 27, 2019 1:42 pm
Forum: Platform Related Issues
Topic: Certain methods not working under Linux Mint
Replies: 21
Views: 1131

Re: Certain methods not working under Linux Mint

After installing different versions of wxWidgets, as well as Code::Blocks, running make install , and then make uninstall several times, and installing/uninstalling several packages, I wanted to start from scratch, since things simply didn't want to work. I messed something up, somewhere. So I had t...
by Ksawery
Tue Aug 27, 2019 1:00 pm
Forum: Compiler / Linking / IDE Related
Topic: Eclipse - Unresolved Symbol Errors
Replies: 1
Views: 481

Eclipse - Unresolved Symbol Errors

After successfully using wxWidgets with Code::Blocks on Linux Mint, I'm trying to setup my environment in Eclipse (I prefer to use that IDE). I've configured Eclipse according to the following instructions: https://wiki.wxwidgets.org/Eclipse My application runs fine, but what's weird is that I'm see...
by Ksawery
Tue Aug 27, 2019 10:17 am
Forum: Platform Related Issues
Topic: Certain methods not working under Linux Mint
Replies: 21
Views: 1131

Re: Certain methods not working under Linux Mint

Thank you. Also, for any people having issues with conflicting versions of wxWidgets installed on their system, the following instructions helped me a lot: http://wiki.amule.org/wiki/How_to_uninstall_wxWidgets The -rm commands helped me make sure that no older versions are present on my system; whic...
by Ksawery
Mon Aug 26, 2019 1:21 pm
Forum: Platform Related Issues
Topic: Certain methods not working under Linux Mint
Replies: 21
Views: 1131

Re: Certain methods not working under Linux Mint

Yes, I believe they were back ticks, since I copied them directly from the browser. For some reason they just didn't want to work.
by Ksawery
Mon Aug 26, 2019 11:39 am
Forum: Platform Related Issues
Topic: Certain methods not working under Linux Mint
Replies: 21
Views: 1131

Re: Certain methods not working under Linux Mint

Thank you again for your help. I reinstalled wxWidgets 3.1.2, making sure I'm installing it into the gtk-build directory. I then copied the wx-config commands from the terminal directly into the compiler and linker flags - instead of using 'wx-config --cxxflags', for example. The application now wor...
by Ksawery
Fri Aug 23, 2019 2:42 pm
Forum: Platform Related Issues
Topic: Certain methods not working under Linux Mint
Replies: 21
Views: 1131

Re: Certain methods not working under Linux Mint

Out of curiosity - what was the exact configure line you used? I followed the instructions at: https://wiki.wxwidgets.org/Compiling_and_getting_started. I used ../configure --enable-unicode --enable-debug with admin privileges and it installed without problems. I then tested it with the ./minimal s...
by Ksawery
Fri Aug 23, 2019 1:28 pm
Forum: Platform Related Issues
Topic: Certain methods not working under Linux Mint
Replies: 21
Views: 1131

Re: Certain methods not working under Linux Mint

While your (any) wx program is running, do over it: Ctrl-Alt-Middleclick Looks like I was wrong regarding the version of wxWidgets that I am using: Screenshot from 2019-08-23 14-58-01.png I'm also pretty new to Linux, and I (wrongly) assumed that Code::Blocks will automatically use the latest versi...
by Ksawery
Fri Aug 23, 2019 11:48 am
Forum: Platform Related Issues
Topic: Certain methods not working under Linux Mint
Replies: 21
Views: 1131

Re: Certain methods not working under Linux Mint

I found the following post, which seems to indicate that this is an issue with GTK2, but not GTK3. Perhaps I compiled wxWidgets using the wrong GTK version?

https://trac.wxwidgets.org/ticket/12539

Regards,
Ksawery
by Ksawery
Fri Aug 23, 2019 11:11 am
Forum: Platform Related Issues
Topic: Certain methods not working under Linux Mint
Replies: 21
Views: 1131

Re: Certain methods not working under Linux Mint

Thank you for your replies. wxWidgets seldom uses absolute positioning. Instead it positions using wxSizer. See this (very old but still valid) sizer demo. I tried using the sizer according to the article, but no combination of options would make the static text center horizontally; despite removin...
by Ksawery
Thu Aug 22, 2019 1:03 pm
Forum: Platform Related Issues
Topic: Certain methods not working under Linux Mint
Replies: 21
Views: 1131

Re: Certain methods not working under Linux Mint

Thanks for your reply. What exactly do you mean by the following? Don't do that! The control is inside a sizer; the sizer sets its position. If you want it to be offset, either give that side a border or add wxSpacer(s) with the appropriate width/height. How do I add a wxSpacer with the appropriate ...
by Ksawery
Thu Aug 22, 2019 8:42 am
Forum: Platform Related Issues
Topic: Certain methods not working under Linux Mint
Replies: 21
Views: 1131

Certain methods not working under Linux Mint

Hello, As mentioned in my previous post, I'm in the process of porting my wxWidgets application from Windows 10 to Linux Mint. I have the latest version of Linux and wxWidgets (installed from source), and I'm using the Code::Blocks IDE with all wxWidgets plugins installed. I setup a wxWidgets 3.0.x ...