Search found 29 matches
- Thu Oct 21, 2021 6:30 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Disabling -Werror and -Wall for tests on Cygwin
- Replies: 0
- Views: 11326
Disabling -Werror and -Wall for tests on Cygwin
Hi there, I'm trying to get wxWidgets 3.1.5 build and validated on Cygwin (I'm the package maintainer), but I can't get the tests to build, because apparently no matter how I author the Makefile, -Werror or -Wall is still somehow getting in there and making all the warnings into errors. (I have trie...
- Wed Jun 30, 2021 6:11 pm
- Forum: Open Discussion
- Topic: wx.Frame style=SIMPLE_BORDER issues
- Replies: 7
- Views: 17918
Re: wx.Frame style=SIMPLE_BORDER issues
Happened back across this and realised I forgot to post the solution I found. The solution I found was to just either use SetClientSize() or define it in the constructor, but not both. So the 1x1 pixel window only occurs if: The window isn't resizable. The size is defined in the call to the supercla...
- Sat Apr 17, 2021 7:17 am
- Forum: Open Discussion
- Topic: wx.Frame style=SIMPLE_BORDER issues
- Replies: 7
- Views: 17918
Re: wx.Frame style=SIMPLE_BORDER issues
Hi, No resizability needed, it just doesn't display at the right size unless resizing is enabled and then prevented from working. Apart from the workaround I found for that - I'll post that shortly. I wanted custom chaneable text and a progress bar so I think advanced splash isn't quite enough for t...
- Thu Mar 11, 2021 7:21 pm
- Forum: Platform Related Issues
- Topic: SetMinSize() and SetSizeHints() platform differences with X11 and Wayland
- Replies: 10
- Views: 5501
- Wed Mar 10, 2021 7:19 pm
- Forum: Open Discussion
- Topic: wx.Frame style=SIMPLE_BORDER issues
- Replies: 7
- Views: 17918
Re: wx.Frame style=SIMPLE_BORDER issues
The problem is that SetClientSize doesn't do it consistently across X11 and Wayland when resizing is enabled. At any rate, I found a workaround for this issue.
If you want, I'll post it here.
If you want, I'll post it here.
- Wed Mar 10, 2021 7:17 pm
- Forum: Platform Related Issues
- Topic: SetMinSize() and SetSizeHints() platform differences with X11 and Wayland
- Replies: 10
- Views: 5501
Re: SetMinSize() and SetSizeHints() platform differences with X11 and Wayland
I never got a response. Anything else I can try?
I guess I could make a ticket on Trac?
I guess I could make a ticket on Trac?
- Mon Nov 30, 2020 2:21 pm
- Forum: Open Discussion
- Topic: wx.Frame style=SIMPLE_BORDER issues
- Replies: 7
- Views: 17918
Re: wx.Frame style=SIMPLE_BORDER issues
Seems to happen more consistently on wxWidgets 3.1.x/wxPython 4.1.x than wxWidgets 3.0.x/wxPython 4.0.x. Does that mean it doesn't happen every time? No, the behaviour is just different on wxPython 4.0.x/wxWidgets 3.0.x - I think this bug was introduced oin wxWidgets 3.1.x or wxPython 4.1.x. Using ...
- Fri Nov 27, 2020 4:15 pm
- Forum: Open Discussion
- Topic: wx.Frame style=SIMPLE_BORDER issues
- Replies: 7
- Views: 17918
wx.Frame style=SIMPLE_BORDER issues
I have recently found that when setting the client size of a wx.Frame at the same time as setting the size in the constructor, the windows is created with a size of 1x1 pixels. It seems a lot of conditions have to be met for this: Running Linux (X11 in my case), though I haven't tested on other plat...
- Tue Oct 06, 2020 4:03 pm
- Forum: Platform Related Issues
- Topic: SetMinSize() and SetSizeHints() platform differences with X11 and Wayland
- Replies: 10
- Views: 5501
Re: SetMinSize() and SetSizeHints() platform differences with X11 and Wayland
Behaviour is identical on wxWidgets 3.1.4 (GTK3). NB: ONEEYEMAN: I usually do both SetClientSize and SetMinSize, is that an okay thing to do or is there another way? Just setting the minimum size for me isn't (or at least didn't used to be) very reliable across different platforms, so I think that i...
- Tue Oct 06, 2020 3:53 pm
- Forum: Platform Related Issues
- Topic: SetMinSize() and SetSizeHints() platform differences with X11 and Wayland
- Replies: 10
- Views: 5501
Re: SetMinSize() and SetSizeHints() platform differences with X11 and Wayland
Okay, I have managed to compile wxwidgets 3.0.4 (GTK3) and confirm that there are platform differences between X11 and Wayland when setting the minimum size and client size both to 640x480 for the minimal sample. It behaves slightly oddly as with GDK_BACKEND=x11 the height can go below 480px (392 in...
- Mon Oct 05, 2020 3:55 pm
- Forum: Platform Related Issues
- Topic: SetMinSize() and SetSizeHints() platform differences with X11 and Wayland
- Replies: 10
- Views: 5501
Re: SetMinSize() and SetSizeHints() platform differences with X11 and Wayland
Okay, seems fair. I'm pretty sure it's GTK3 but I shall check and update the first post.
Is there a simple demo program I can compile and use like with the wxPython demo?
Is there a simple demo program I can compile and use like with the wxPython demo?
- Mon Oct 05, 2020 2:56 pm
- Forum: Platform Related Issues
- Topic: SetMinSize() and SetSizeHints() platform differences with X11 and Wayland
- Replies: 10
- Views: 5501
SetMinSize() and SetSizeHints() platform differences with X11 and Wayland
Platform: Fedora 32 (also seems to affect 30, 31, and 33 beta) Compiler: Unsure how to determine, but official package from Fedora 32 (Python3 reports compiler as GCC 10.2.1 20200723, so likely the same) wx version: 3.0.4 wxPython version: 4.0.7 As I first reported here: https://discuss.wxpython.org...
- Mon Oct 05, 2020 2:41 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Compiling wxWidgets 3.0.4 on Cygwin
- Replies: 31
- Views: 8780
Re: Compiling wxWidgets 3.0.4 on Cygwin
NB: In the end, I did get this to work and I now maintain wxwidgets and wxPython packages in the official Cygwin repos.
- Thu Sep 05, 2019 2:14 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Compiling wxWidgets 3.0.4 on Cygwin
- Replies: 31
- Views: 8780
Re: Compiling wxWidgets 3.0.4 on Cygwin
Ignore this, there was a dependency issue where libEGL-devel needed to be installed after the package update.
- Thu Sep 05, 2019 10:18 am
- Forum: Compiler / Linking / IDE Related
- Topic: Compiling wxWidgets 3.0.4 on Cygwin
- Replies: 31
- Views: 8780
Re: Compiling wxWidgets 3.0.4 on Cygwin
So, I've now had some time to mess about with this again. I was just getting to make a cygport file, but after the upgrade I just did to cygwin, the openGL libraries aren't being found any more. I have no idea why, because they're all still there, but the build options that were working before have ...