Search found 4996 matches

by ONEEYEMAN
Mon Apr 12, 2021 11:37 pm
Forum: Platform Related Issues
Topic: MenuBar in macOS Catalina
Replies: 41
Views: 4427

Re: MenuBar in macOS Catalina

Hi,
Are you running application bundle?
Can you compile and run the "minimal" sample provided by wxWidgets?
How did you compile the library? How do you create Xcode project?

Thank you.
by ONEEYEMAN
Mon Apr 12, 2021 3:17 pm
Forum: C++ Development
Topic: Redirection of a process output
Replies: 7
Views: 96

Re: Redirection of a process output

Hi,
wxLogXXX?

Thank you.
by ONEEYEMAN
Fri Apr 09, 2021 4:59 pm
Forum: C++ Development
Topic: Using Matplotlib with wxWidgets C++
Replies: 20
Views: 436

Re: Using Matplotlib with wxWidgets C++

Hi,
2.8 does support wxStaticBox and it works just fine.
What issues you encounter when trying to build the library with 3.0? You should probably try to address them with MatPlotLib developers.

Thank you.
by ONEEYEMAN
Fri Apr 09, 2021 3:54 pm
Forum: C++ Development
Topic: Capture mouse events from childwindows
Replies: 5
Views: 114

Re: Capture mouse events from childwindows

Hi,
Mouse events are not propagated up the chain.
You need to catch it at the highest level and send it yourself down the road.

What do you want it to be caught in the window and not the children level?

Thank you.
by ONEEYEMAN
Thu Apr 08, 2021 6:48 pm
Forum: Platform Related Issues
Topic: Load resources such as images and icons in my .dll project
Replies: 10
Views: 228

Re: Load resources such as images and icons in my .dll project

Hi,
Can you show us what is your DllMain looks like?
Do you create an instance of wxApp inside the DLL?

Thank you.
by ONEEYEMAN
Mon Apr 05, 2021 4:00 am
Forum: C++ Development
Topic: Set the grid rfenderer
Replies: 3
Views: 102

Re: Set the grid rfenderer

doublemax,
You have a Hawk Eye. :D

Thank you..
by ONEEYEMAN
Sun Apr 04, 2021 11:27 pm
Forum: C++ Development
Topic: Set the grid rfenderer
Replies: 3
Views: 102

Set the grid rfenderer

Hi, ALL, #pragma once #ifndef _IMAGECELLRENDERER #define _IMAGECELLRENDERER class ImageCellRenderer : wxGridCellStringRenderer { public: ImageCellRenderer(wxImage image); virtual void Draw(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc, const wxRect& rect, int row, int col, bool isSelected) wxOVERRIDE...
by ONEEYEMAN
Sat Apr 03, 2021 2:31 pm
Forum: C++ Development
Topic: wxListview header obscures first row when using wxNotebook
Replies: 12
Views: 462

Re: wxListview header obscures first row when using wxNotebook

Hi,
You say it is on level 3.
Why? Is there a reason you don't want a full blown os?

Thank you
by ONEEYEMAN
Fri Apr 02, 2021 2:58 pm
Forum: C++ Development
Topic: wxListview header obscures first row when using wxNotebook
Replies: 12
Views: 462

Re: wxListview header obscures first row when using wxNotebook

@PB,
It also could be a different theme.
@OP,
What theme do you use and what exact GTK+ version?
Do you see it under GNOME or K?

Thank you.
by ONEEYEMAN
Fri Apr 02, 2021 2:12 pm
Forum: C++ Development
Topic: wxListview header obscures first row when using wxNotebook
Replies: 12
Views: 462

Re: wxListview header obscures first row when using wxNotebook

Hi, Why do you need to set the size? Use sizes with default size and everything will work. Because I want the listview to be a different size from the default. You can override DpGetBestSize() and use any calculation you want. And then use default size with sizer. Try it and see if it helps. Thank y...
by ONEEYEMAN
Fri Apr 02, 2021 12:02 pm
Forum: C++ Development
Topic: wxListview header obscures first row when using wxNotebook
Replies: 12
Views: 462

Re: wxListview header obscures first row when using wxNotebook

Gi,
Why do you need to set the size? Use sizes with default size and everything will work.

Thank you
by ONEEYEMAN
Fri Apr 02, 2021 11:55 am
Forum: wxWidgets Development (Russian)
Topic: Как определить область Desktop-а с учетом Taskbar-а ?
Replies: 21
Views: 1459

Re: Как определить область Desktop-а с учетом Taskbar-а ?

T-Rex,
Разве что из спортивного интереса.
А вообще ЛП в корне не прав лн просто потерял идею использования кросс-платформенной биьлиотеки.

Но это ткма для отдельного разговора...

Спасибо.
by ONEEYEMAN
Fri Apr 02, 2021 11:51 am
Forum: Platform Related Issues
Topic: wxThread: Windows vs *nix
Replies: 4
Views: 218

Re: wxThread: Windows vs *nix

doublemax,
I followed the code from wxThread docs and it looks like everything works. I'll try linux/mac today, but suspect everything will work there as well.

Thank you.
by ONEEYEMAN
Fri Apr 02, 2021 11:43 am
Forum: C++ Development
Topic: Thread and GUI
Replies: 34
Views: 1395

Re: Thread and GUI

doublemax,
After removing Delete() from the thread function everything works and there is no leaks.
I'll try to check Linux and Mac today but suspect everything will work there as well.

Thank you.
by ONEEYEMAN
Fri Apr 02, 2021 2:08 am
Forum: Platform Related Issues
Topic: wxThread: Windows vs *nix
Replies: 4
Views: 218

Re: wxThread: Windows vs *nix

doublemax,
Yes it worked.
But now - where do I kill the thread? Or it will just die and all I will need is to delete the pointer?

Thank you.