Search found 109 matches

by deepti
Fri Oct 04, 2019 10:43 am
Forum: Platform Related Issues
Topic: wxDialog is displayed in the background only on Mac
Replies: 11
Views: 159

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!
by deepti
Thu Oct 03, 2019 5:24 pm
Forum: Platform Related Issues
Topic: wxDialog is displayed in the background only on Mac
Replies: 11
Views: 159

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.
by deepti
Wed Oct 02, 2019 2:19 pm
Forum: Platform Related Issues
Topic: wxDialog is displayed in the background only on Mac
Replies: 11
Views: 159

Re: wxDialog is displayed in the background only on Mac

Can someone please help me with this issue please ?
by deepti
Tue Oct 01, 2019 8:16 am
Forum: Platform Related Issues
Topic: wxDialog is displayed in the background only on Mac
Replies: 11
Views: 159

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 in the ap...
by deepti
Mon Sep 30, 2019 5:31 pm
Forum: Platform Related Issues
Topic: wxDialog is displayed in the background only on Mac
Replies: 11
Views: 159

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 ?
After rebuilding try to replicate it inside the dialogs sample.
Check whether the issue resolves in the sample taskbar app - is this what you imply?

Thanks in advance.
by deepti
Mon Sep 30, 2019 3:32 pm
Forum: Platform Related Issues
Topic: wxDialog is displayed in the background only on Mac
Replies: 11
Views: 159

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 about thi...
by deepti
Mon Sep 30, 2019 12:58 pm
Forum: Platform Related Issues
Topic: wxDialog is displayed in the background only on Mac
Replies: 11
Views: 159

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 ...
by deepti
Fri Aug 23, 2019 5:59 pm
Forum: C++ Development
Topic: App exit seamlessly when system powered off
Replies: 9
Views: 169

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 app. So, i cannot be ...
by deepti
Fri Aug 23, 2019 12:23 pm
Forum: C++ Development
Topic: App exit seamlessly when system powered off
Replies: 9
Views: 169

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 sends on sys...
by deepti
Fri Aug 23, 2019 11:50 am
Forum: Platform Related Issues
Topic: wxRadioBox appearance on Mac is messed up
Replies: 4
Views: 120

Re: wxRadioBox appearance on Mac is messed up

The issue is that for the size of the radiobox, if i use wxDefaultSize, then it looks ok. But if i use shareOptionsSize (which is wxSize(185,-1)) , then it appears messed up, only on Mac. But looks perfect on Windows There are 4 radioboxes one below the other. So, for better appearance i want the si...
by deepti
Fri Aug 23, 2019 8:30 am
Forum: C++ Development
Topic: App exit seamlessly when system powered off
Replies: 9
Views: 169

Re: App exit seamlessly when system powered off

Hi @doublemax, Thanks a ton for your response. Here is my code. WxSyncApp derives from wxApp. BEGIN_EVENT_TABLE(WxSyncApp, wxApp) EVT_END_SESSION(WxSyncApp::OnAppEndSession) END_EVENT_TABLE() void WxSyncApp::OnAppEndSession(wxCloseEvent &event) { // option 1: close mainframe //m_frame->Close(); // o...
by deepti
Thu Aug 22, 2019 6:05 am
Forum: Platform Related Issues
Topic: wxRadioBox appearance on Mac is messed up
Replies: 4
Views: 120

Re: wxRadioBox appearance on Mac is messed up

Can anyone help me on this please?
by deepti
Wed Aug 21, 2019 7:43 pm
Forum: C++ Development
Topic: App exit seamlessly when system powered off
Replies: 9
Views: 169

Re: App exit seamlessly when system powered off

Thank you for your responses.
I am a bit unclear on which all events need to be handled. Basically looking for clean exit when system is powered off when app is running.
Could you elaborate with some sample code please?

Thank you!
by deepti
Wed Aug 21, 2019 7:06 pm
Forum: Platform Related Issues
Topic: wxRadioBox appearance on Mac is messed up
Replies: 4
Views: 120

wxRadioBox appearance on Mac is messed up

Hi All, The following Radio Box implementation looks fine on Windows. But on Mac, the buttons appear with lots of spaces before the first button and also in between two buttons! How can i fix this? Please help. wxBoxSizer* itemBoxSizer7 = new wxBoxSizer(wxVERTICAL); wxArrayString expireOptions = wxA...
by deepti
Tue Aug 06, 2019 12:39 pm
Forum: Database Related
Topic: Catching SQLITEFULL exception
Replies: 2
Views: 580

Re: Catching SQLITEFULL exception

Thank you Utelle for your detailed explanation.