Search found 5026 matches

by ONEEYEMAN
Mon Apr 19, 2021 12:27 pm
Forum: Platform Related Issues
Topic: GTK3 / wxStaticText size
Replies: 21
Views: 949

Re: GTK3 / wxStaticText size

Hi,
Do you have a simple and minimal reproducer? Preferably as a patch to one of the samples?

Thank you.
by ONEEYEMAN
Sun Apr 18, 2021 6:08 pm
Forum: C++ Development
Topic: wxAuiNotebook::OnLeftUp not working
Replies: 21
Views: 191

Re: wxAuiNotebook::OnLeftUp not working

Hi,
But did you actually run the code?

And as mentioned before - could you post your code from the minimal sample so we can see what is happenning?

Thank you.
by ONEEYEMAN
Sun Apr 18, 2021 4:54 pm
Forum: C++ Development
Topic: wxAuiNotebook::OnLeftUp not working
Replies: 21
Views: 191

Re: wxAuiNotebook::OnLeftUp not working

Hi,
Did you try it?
And we still wants to see your reproducer...

Thank you.
by ONEEYEMAN
Sun Apr 18, 2021 3:17 pm
Forum: C++ Development
Topic: wxAuiNotebook::OnLeftUp not working
Replies: 21
Views: 191

Re: wxAuiNotebook::OnLeftUp not working

Hi,
So can we get the "minimal sample reproducing the problem"

It should be as minimal as possible and can be easily run after compiling.

Just post the sources here. Don't attach the archive.

Thank you.
by ONEEYEMAN
Sun Apr 18, 2021 1:35 pm
Forum: C++ Development
Topic: wxAuiNotebook::OnLeftUp not working
Replies: 21
Views: 191

Re: wxAuiNotebook::OnLeftUp not working

Hi,
Is auidemo sample works for you?

Thank you.
by ONEEYEMAN
Sun Apr 18, 2021 1:32 pm
Forum: C++ Development
Topic: Is there automatic dynamic Unbinding upon windows deletion?
Replies: 2
Views: 51

Re: Is there automatic dynamic Unbinding upon windows deletion?

Hi,
You shouldn't care about Unbind()'ing the event handler. Everything will be destroyed properly.

Try it and get back if it doesn't

Thank you.
by ONEEYEMAN
Sun Apr 18, 2021 5:37 am
Forum: The Code Dump
Topic: Simple wxSwitchCtrl class
Replies: 9
Views: 279

Re: Simple wxSwitchCtrl class

Hi, IIUC this control can be implemented natively n GTK and OSX and MSW will use generic version. If you are familiar with GTK/OSX and can create native implementation for those toolkit, it is better to make it as one PR for all 3 platforms. But if you are not - submitting just you implementation wi...
by ONEEYEMAN
Sat Apr 17, 2021 3:40 am
Forum: Compiler / Linking / IDE Related
Topic: Have anyone tried the meganz mingw-std-threads C++11 std::thread for mingw-w64 win32 for production without issues?
Replies: 1
Views: 63

Re: Have anyone tried the meganz mingw-std-threads C++11 std::thread for mingw-w64 win32 for production without issues?

Hi, While wxWidgets is not using C++11, no one prevents you from using C++11 in your own code. I'm doing that and I don't have any issues. You will need to compile wxWidgets in C++11 mode. but that''s about it. And it is only to keep the same exact options to the compiler. Just use std::thread unles...
by ONEEYEMAN
Fri Apr 16, 2021 8:39 pm
Forum: The Code Dump
Topic: Simple wxSwitchCtrl class
Replies: 9
Views: 279

Re: Simple wxSwitchCtrl class

Hi, FWIW, GTK has this control natively, and MSW (WPF I think) has it as well. GTK reference - https://docs.gtk.org/gtk4/class.Switch.html. Not sure about the OSX thiough - it looks like it is available for OSX since 10.15 (ref. https://developer.apple.com/documentation/appkit/nsswitch?language=objc...
by ONEEYEMAN
Fri Apr 16, 2021 4:57 pm
Forum: Platform Related Issues
Topic: GTK3 / wxStaticText size
Replies: 21
Views: 949

Re: GTK3 / wxStaticText size

Hi, This is actually very easy and straightforward. 1. Download and untar the archive (in e.g. ~/wxWidgets-3.1.5) 2. cd ~/wxWidgets-3.1.5 mkdir buildGTK cd buildGTK ../configure --with-gtk=3 --enable-debug make -j4 sudo make install 3. Recompile your project 4. Test Very simple and it will take abou...
by ONEEYEMAN
Fri Apr 16, 2021 3:16 pm
Forum: C++ Development
Topic: wxEVT_CHAR works, wxEVT_KEY_UP does not
Replies: 7
Views: 128

Re: wxEVT_CHAR works, wxEVT_KEY_UP does not

Hi, Not necessarily. Those 2 events are independent - you can click the mouse, press the key or do both at the same time. But it shouldn't matter anyway - you don't need the "Del" key binding without the selection, right? So do just that in your program. And then when you delete what you don't want ...
by ONEEYEMAN
Fri Apr 16, 2021 3:12 pm
Forum: C++ Development
Topic: wxListview header obscures first row when using wxNotebook
Replies: 14
Views: 554

Re: wxListview header obscures first row when using wxNotebook

Hi,
So you are seeing it under GNOME.
What about the GTK+ version? You also didn't say what theme do you use?

Thank you.
by ONEEYEMAN
Fri Apr 16, 2021 12:55 pm
Forum: Platform Related Issues
Topic: GTK3 / wxStaticText size
Replies: 21
Views: 949

Re: GTK3 / wxStaticText size

Hi,
Why don't you compile that version yourself and try it?

Thank you.
by ONEEYEMAN
Thu Apr 15, 2021 6:09 pm
Forum: Compiler / Linking / IDE Related
Topic: MSW: 3.1.2 + CMake3.19 install link errors (VS2015) (Edited: actually FindwxWidgets.cmake mostly)
Replies: 14
Views: 227

Re: MSW: 3.1.2 + CMake3.19 install link errors (VS2015) (Edited: actually FindwxWidgets.cmake mostly)

Hi, I'm not trying to debate that, but you give several different solutions in different settings, which is the problem CMake is designed to address, by reducing it to one system. I understand. However CMake is not a compiler - it is merely a tool to generate the Makefile/solution that will be used ...
by ONEEYEMAN
Thu Apr 15, 2021 5:54 pm
Forum: C++ Development
Topic: wxEVT_CHAR works, wxEVT_KEY_UP does not
Replies: 7
Views: 128

Re: wxEVT_CHAR works, wxEVT_KEY_UP does not

Hi,
Can't you do the binding inside the mouse click handler and then unbind the event at the end of the function?

Also - try to use wxEVT_KEY_DOWN, not _UP.

Thank you.