Search found 3697 matches

by DavidHart
Tue Sep 04, 2018 1:34 pm
Forum: Platform Related Issues
Topic: wxCursor and GTK
Replies: 6
Views: 70

Re: wxCursor and GTK

AFAIK there is not method SetCursor with wxImage, but only a one with wxCursor...

But the wxCursor ctor has various overloads e.g. wxCursor (const wxImage &image) as used in the 'image' sample. Why not try that?
by DavidHart
Tue Sep 04, 2018 11:00 am
Forum: Platform Related Issues
Topic: wxCursor and GTK
Replies: 6
Views: 70

Re: wxCursor and GTK

Hi, It must be either your code or your bitmap. I do the following without any problem: DnDSelectedCursor = wxCursor( wxGetApp().CorrectForDarkTheme(BITMAPSDIR+"DnDSelectedCursor.png") ); where the png is https://sourceforge.net/p/fourpane/git4pane/ci/master/tree/bitmaps/DnDSelectedCursor....
by DavidHart
Wed Aug 22, 2018 10:47 am
Forum: Platform Related Issues
Topic: Error when building static libraries on Linux
Replies: 2
Views: 82

Re: Error when building static libraries on Linux

Hi, With wxWidgets-3.1.0 on a Mint 19 virtualbox guest, a static build compiles for me. I first did: apt install libgtk2.0-dev zlib1g-dev libjpeg-dev libpng-dev libtiff5-dev libsm-dev libgl1-mesa-dev libglu1-mesa-dev autotools-dev libexpat1-dev libxt-dev libgstreamer-plugins-base1.0-dev libgconf2-de...
by DavidHart
Tue Aug 07, 2018 7:43 pm
Forum: Compiler / Linking / IDE Related
Topic: Install which libwxgtk version?
Replies: 8
Views: 148

Re: Install which libwxgtk version?

So libwxgtk is included in a wxWidgets installation. Yes, on Linux, if you configure in the usual way. You can create a 'base-only' build that has no gui, but a standard ../configure --with-gtk, or even just ../configure, will build libwxgtk. I am going to remove and reinstall wxWidgets 3.0.3. Well...
by DavidHart
Tue Aug 07, 2018 6:19 pm
Forum: Compiler / Linking / IDE Related
Topic: Install which libwxgtk version?
Replies: 8
Views: 148

Re: Install which libwxgtk version?

I'll reply as simply as I can, because you've failed to understand my previous attempts to answer.

I already have wxWidgets 3.0.3 installed

Then you already have libwxgtk installed, and its version is 3.0.3.
by DavidHart
Tue Aug 07, 2018 12:40 pm
Forum: Compiler / Linking / IDE Related
Topic: wx-config No such file or directory
Replies: 5
Views: 138

Re: wx-config No such file or directory

So there is a wx-config directory. It is just that Code::Blocks cannot find it. Is there a search path I need to enter, either in Code::Blocks or my Ubuntu 16.04 OS? If you want C::B to use that wx-config, just tell it to by using the full path, /usr/local/wx-config, in your compiler/linker setting...
by DavidHart
Tue Aug 07, 2018 12:27 pm
Forum: Compiler / Linking / IDE Related
Topic: Install which libwxgtk version?
Replies: 8
Views: 148

Re: Install which libwxgtk version?

wxWidgets 3.0.3 is the version I will use to the project's completion. The question is which version of libwxgtk to use with it. Please read my previous post more carefully. libwxgtk is wxWidgets. Of the above options, the best match with what you say you want is wx3.0.3 from http://codelite.org/Li...
by DavidHart
Tue Aug 07, 2018 9:21 am
Forum: Compiler / Linking / IDE Related
Topic: Install which libwxgtk version?
Replies: 8
Views: 148

Re: Install which libwxgtk version?

Hi, Your question seems a bit confused: to use with wxWidgets 3.0.3 You don't install a wx package to use with wxWidgets; the package is wxWidgets. and Code::Blocks? That's irrelevant. You install whichever wxWidgets, then change your C::B compiler and linker settings to point to that install. So th...
by DavidHart
Fri Aug 03, 2018 1:30 pm
Forum: Platform Related Issues
Topic: Solaris Build Failure wxWidgets 3.1.1
Replies: 5
Views: 180

Re: Solaris Build Failure wxWidgets 3.1.1

Hi, I've no knowledge or experience of solaris, but googling the first type of error produced this result . Most of that will be irrelevant, but worth a look. configure: error: Can't use --enable-std_string without std::wstring or std::basic_string<wchar_t> found configure.in . Have a look around li...
by DavidHart
Wed Aug 01, 2018 7:20 pm
Forum: General Development
Topic: interfacing with builder created gui code?
Replies: 3
Views: 250

Re: interfacing with builder created gui code?

Hi, Some Form Designers embed their code into yours. Others create a 'base' class for the gui. You then derive from that, so your code is separate. I use wxCrafter (with CodeLite) that uses the second method. wxFormbuilder does, or can be told to do, much the same. See https://wiki.wxwidgets.org/Too...
by DavidHart
Wed Aug 01, 2018 10:54 am
Forum: Platform Related Issues
Topic: wxEVT_TEXT_ENTER doesn't get fired on mac
Replies: 2
Views: 135

Re: wxEVT_TEXT_ENTER doesn't get fired on mac

Hi, This works as expected on Linux, so I've moved the topic to 'Platform Related Issues'. In general, if you have a reproducible wx bug, especially one that can be demonstrated in one of the wx samples, you should search wx-trac for previous reports. If none, you should open one. Edit: Oh, and if b...
by DavidHart
Fri Jul 27, 2018 2:35 pm
Forum: Platform Related Issues
Topic: Cross compiling WxWidget application for Debian64 and Debian armhf
Replies: 3
Views: 112

Re: Cross compiling WxWidget application for Debian64 and Debian armhf

apparently the package cannot co-exist for both 64-bit and armhf architectures I'm not surprised. Since you're using VirtualBox one solution, if you have the memory, is to clone the guest and install the other arch in the clone. Another, which should use less memory, is to create a snapshot with on...
by DavidHart
Fri Jul 27, 2018 1:32 pm
Forum: Platform Related Issues
Topic: Cross compiling WxWidget application for Debian64 and Debian armhf
Replies: 3
Views: 112

Re: Cross compiling WxWidget application for Debian64 and Debian armhf

Hi, Debian uses update-alternatives to select between different wx versions. However I don't know if that applies to different arches too; you may find that the two -dev packages 'conflict', so only one can be installed at a time. To find out, try doing: sudo update-alternatives --config wx-config I...
by DavidHart
Mon Jul 23, 2018 8:44 am
Forum: Platform Related Issues
Topic: configure problem with gtk3
Replies: 10
Views: 290

Re: configure problem with gtk3

Unless there are specific suggestions, I will recreate the Ubuntu 18.04 system under Vbox and install libgtk3-dev without installing libgtk2 first. I suggest you take a snapshot before installing libgtk-3-dev. Then, once you've succeeded with a gtk3 wx build, you can switch temporarily to the snaps...
by DavidHart
Sun Jul 22, 2018 9:13 pm
Forum: Platform Related Issues
Topic: configure problem with gtk3
Replies: 10
Views: 290

Re: configure problem with gtk3

OK. How about: 2) Do you have normal permissions for GCCBuildReleaseGTK3Unicode_x64/? e.g. you didn't create it with sudo? you aren't doing this over nfs or ssh or... 3) Googling the error message gave results suggesting a problem with CFLAGS or LDFLAGS. Do you set them anywhere e.g. in your .bashrc...

Go to advanced search