Search found 115 matches
- Fri Jan 03, 2020 8:11 am
- Forum: Platform Related Issues
- Topic: wxWidgets based application is not displayed properly in dark mode on Mac
- Replies: 2
- Views: 1320
wxWidgets based application is not displayed properly in dark mode on Mac
Hi All, I am running the application on MacOS in dark mode. But the controls look ugly. With wxTextCtrl, the text is not visible at all. And wxListCtrl looks fully black. I went through the discussion in https://trac.wxwidgets.org/ticket/18146, and it seems like every control needs to be handled sep...
- Mon Dec 16, 2019 5:06 pm
- Forum: Platform Related Issues
- Topic: wxDialog repaint not working on Mac
- Replies: 1
- Views: 689
wxDialog repaint not working on Mac
Hi All, There is a wxDialog which has a lot of widgets (lot of wxButton, wxHyperlinkCtrl, wxStaticText, wxBoxSizer etc). Now, when a particular button is clicked, one static text changes and hence the size changes. Because of this, it results in an overlap of that text control with the adjoining but...
- Mon Nov 18, 2019 12:23 pm
- Forum: C++ Development
- Topic: wxTimer causing memory leaks
- Replies: 8
- Views: 1576
Re: wxTimer causing memory leaks
Got it. thanks a lot PB
- Mon Nov 18, 2019 11:55 am
- Forum: C++ Development
- Topic: wxTimer causing memory leaks
- Replies: 8
- Views: 1576
Re: wxTimer causing memory leaks
@PB, how about wxButton, wxStaticText, wxTextCtrl etc, created using new? They need to be deleted too ?
- Mon Nov 18, 2019 11:15 am
- Forum: C++ Development
- Topic: wxTimer causing memory leaks
- Replies: 8
- Views: 1576
Re: wxTimer causing memory leaks
Thank for for your replies @PB and @Kvaz1r. I have not deleted the timer at all. Ofcourse there is no need to create it with a new. It can be a static instance too. But that is how ALL other wxWidgets objects in our application are created - using new, so did that with the timer as well. We don't de...
- Mon Nov 18, 2019 7:58 am
- Forum: C++ Development
- Topic: wxTimer causing memory leaks
- Replies: 8
- Views: 1576
wxTimer causing memory leaks
Hi All, Our application uses wxTimer instance like this. Created like in step 1 below, started like in step 2, and stopped as in step 3. 1. m_savedChangesTextHideTimer = new wxTimer(this); 2. m_savedChangesTextHideTimer->StartOnce(TEN_SECONDS); 3. if (m_savedChangesTextHideTimer->IsRunning() { m_sav...
- Fri Oct 04, 2019 10:43 am
- Forum: Platform Related Issues
- Topic: wxDialog is displayed in the background only on Mac
- Replies: 11
- Views: 2200
Re: wxDialog is displayed in the background only on Mac
Hi @doublemax,
I have opened the ticket https://trac.wxwidgets.org/ticket/18518
But could you give me an idea of a timeline for the resolution? Depending on that we could decide whether i should wait for the fix, or go ahead with a work-around.
Thank you again!
I have opened the ticket https://trac.wxwidgets.org/ticket/18518
But could you give me an idea of a timeline for the resolution? Depending on that we could decide whether i should wait for the fix, or go ahead with a work-around.
Thank you again!
- Thu Oct 03, 2019 5:24 pm
- Forum: Platform Related Issues
- Topic: wxDialog is displayed in the background only on Mac
- Replies: 11
- Views: 2200
Re: wxDialog is displayed in the background only on Mac
Hi @doublemax,
The application bundle is in place and it's been working for many years now.
It happens even with the sample taskbar app. So, will need to raise a ticket for this.
Thank you for your reply.
The application bundle is in place and it's been working for many years now.
It happens even with the sample taskbar app. So, will need to raise a ticket for this.
Thank you for your reply.
- Wed Oct 02, 2019 2:19 pm
- Forum: Platform Related Issues
- Topic: wxDialog is displayed in the background only on Mac
- Replies: 11
- Views: 2200
Re: wxDialog is displayed in the background only on Mac
Can someone please help me with this issue please ?
- Tue Oct 01, 2019 8:16 am
- Forum: Platform Related Issues
- Topic: wxDialog is displayed in the background only on Mac
- Replies: 11
- Views: 2200
Re: wxDialog is displayed in the background only on Mac
Hello @ONEEYEMAN, I did try with the option "--with-macosx-version-min=10.9". However, there is no change in behavior. I recall having solved a similar issue even with Electron app, only on Mac. The Electron app's window just would not be shown on top, until the following logic was written...
- Mon Sep 30, 2019 5:31 pm
- Forum: Platform Related Issues
- Topic: wxDialog is displayed in the background only on Mac
- Replies: 11
- Views: 2200
Re: wxDialog is displayed in the background only on Mac
Hi @ONEEYEMAN,
thank you for your response.
That option should go into the ./configure command, am i correct ?
Thanks in advance.
thank you for your response.
That option should go into the ./configure command, am i correct ?
Check whether the issue resolves in the sample taskbar app - is this what you imply?After rebuilding try to replicate it inside the dialogs sample.
Thanks in advance.
- Mon Sep 30, 2019 3:32 pm
- Forum: Platform Related Issues
- Topic: wxDialog is displayed in the background only on Mac
- Replies: 11
- Views: 2200
Re: wxDialog is displayed in the background only on Mac
Hi @ONEEYEMAN, Thank you for your response. It is a custom dialog derived from wxDialog. I just tried it with wxFrame and it still does not work, unless the wxSTAY_ON_TOP attribute is used. And the behavior is the same in the sample app under "samples" as well. Is there any other way to go...
- Mon Sep 30, 2019 12:58 pm
- Forum: Platform Related Issues
- Topic: wxDialog is displayed in the background only on Mac
- Replies: 11
- Views: 2200
wxDialog is displayed in the background only on Mac
Hi, I have a wxDialog instance (with parent set to NULL). It is created on click of a popup menu option of wxTaskbarIcon instance. On Show(), it ends up being displayed behind some other application windows that are open, and is not shown in the front. This works perfectly on Windows. I had brought ...
- Fri Aug 23, 2019 5:59 pm
- Forum: C++ Development
- Topic: App exit seamlessly when system powered off
- Replies: 9
- Views: 1317
Re: App exit seamlessly when system powered off
Did you also make a cross-check with your old code, and a "real" shutdown process? Yes, checked with "real" system shutdown.. it doesnt crash the app. But honestly, I have never seen it crashing even WITHOUT the new EVT_END_SESSION handler. It was reported by a customer of our a...
- Fri Aug 23, 2019 12:23 pm
- Forum: C++ Development
- Topic: App exit seamlessly when system powered off
- Replies: 9
- Views: 1317
Re: App exit seamlessly when system powered off
Thanks a ton @doublemax! Tried with the "restart manager" tool and the app exited fine with code sample you provided below. Just hope that it is the same message that Windows 10 actually uses too :-D Because i see that it is a very old tool.. so, hoping that the message which Windows 10 se...