Search found 102 matches

by deepti
Fri Oct 05, 2018 11:08 am
Forum: Platform Related Issues
Topic: Dialogs end up behind wxFRAME_FLOAT_ON_PARENT frames
Replies: 1
Views: 245

Dialogs end up behind wxFRAME_FLOAT_ON_PARENT frames

Hi All, When you create a frame in Mac using the wxFRAME_FLOAT_ON_PARENT style any modal dialogs you pop up with the frame as the parent actually show up BEHIND the frame? On windows this work situation works properly. I am seeing this issue on Mac High Sierra, wxWidgets 3.1.0. I see there was a tic...
by deepti
Wed Sep 26, 2018 7:59 pm
Forum: Platform Related Issues
Topic: wxMessageBox and wxMessageDialog - go behind the dialog only on Mac
Replies: 7
Views: 584

Re: wxMessageBox and wxMessageDialog - go behind the dialog only on Mac

BTW: Does the messagebox/dialog come to the front when you click it?
Yes it does..

So, i made the dialog Modal and it works. It was modeless because there was no need for it to be modal. But, just to solve this issue, i made it modal :-|
by deepti
Wed Sep 26, 2018 6:48 pm
Forum: Platform Related Issues
Topic: wxMessageBox and wxMessageDialog - go behind the dialog only on Mac
Replies: 7
Views: 584

Re: wxMessageBox and wxMessageDialog - go behind the dialog only on Mac

Thanks a lot for your reply. I've already set the parent of the message dialog to the dialog invoking it, still doesnt work. wxSTAY_ON_TOP is not implemented for OSX, as per the documentation. [Even if i sound like a broken record: Dialogs should always be modal, if you want something non-modal, use...
by deepti
Wed Sep 26, 2018 4:59 pm
Forum: Platform Related Issues
Topic: wxMessageBox and wxMessageDialog - go behind the dialog only on Mac
Replies: 7
Views: 584

Re: wxMessageBox and wxMessageDialog - go behind the dialog only on Mac

i am using 3.1.0 version of wxWidgets. Is there any other way of achieving the same action as a message box? I need to fix this in the next couple of hours maximum :(

And this issue is seen only in modeless dialogs...not modal.
by deepti
Wed Sep 26, 2018 4:45 pm
Forum: Platform Related Issues
Topic: wxMessageBox and wxMessageDialog - go behind the dialog only on Mac
Replies: 7
Views: 584

wxMessageBox and wxMessageDialog - go behind the dialog only on Mac

Hi All, I have to fix this issue urgently for a code freeze, and something annoying has cropped up on Mac again. Both wxMessageBox and wxMessageDialog go behind a modeless dialog. This issue is only on Mac. Both the following ones dont work. The dialog which is displaying the message box is modeless...
by deepti
Mon Sep 24, 2018 5:19 pm
Forum: Platform Related Issues
Topic: wxCollapsiblePane - not expanding correctly on Linux
Replies: 2
Views: 254

Re: wxCollapsiblePane - not expanding correctly on Linux

I think it is GTK3. The command "dpkg -l libgtk2.0-0 libgtk-3-0" gives the following output: Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Descriptio...
by deepti
Mon Sep 24, 2018 11:37 am
Forum: Platform Related Issues
Topic: wxCollapsiblePane - not expanding correctly on Linux
Replies: 2
Views: 254

wxCollapsiblePane - not expanding correctly on Linux

Hi, I have the following code, which adds a custom wxCollapsiblePane to a wxScrolledWindow instance. I am calling the "Collapse(false)" function on the newly added wxCollapsiblePane instance, and also calling SetSizeHints and FitInside on the containing sizer. This issue is seen only on Linux. On Wi...
by deepti
Mon Sep 24, 2018 11:29 am
Forum: Platform Related Issues
Topic: Issue with nested wxStaticBox on Linux.
Replies: 2
Views: 249

Re: Issue with nested wxStaticBox on Linux.

Awesome! that worked..thanks a lot PB :)
by deepti
Mon Sep 24, 2018 7:21 am
Forum: Platform Related Issues
Topic: Issue with nested wxStaticBox on Linux.
Replies: 2
Views: 249

Issue with nested wxStaticBox on Linux.

Hi, Is there any known issue with nested wxStaticBox, containing wxCheckBox, wxTextCtrl etc? I have a wxDialog which looks perfect on Windows and Mac, but is completely screwed up on Linux. This is how it looks on Linux... Linux.png And this is on Windows and Mac.. Win_Mac.jpg The following is the c...
by deepti
Mon Sep 17, 2018 4:50 pm
Forum: C++ Development
Topic: How to gracefully close all dialogs on Application exit
Replies: 8
Views: 365

Re: How to gracefully close all dialogs on Application exit

Hi, The wxTheApp->ExitMainLoop() call didn't help :( Should i set the parent of the dialog to the one that created it? With this, it seems to be solving the issue, but it looks kinda weird, because the main dialog of the app gets closed before the child dialogs. But the app is exiting. But, is this ...
by deepti
Mon Sep 17, 2018 3:07 pm
Forum: C++ Development
Topic: How to gracefully close all dialogs on Application exit
Replies: 8
Views: 365

Re: How to gracefully close all dialogs on Application exit

Yeah, they have NULL set as parent. Should that be changed to the dialog which is creating them?
Thank you!
by deepti
Mon Sep 17, 2018 5:37 am
Forum: C++ Development
Topic: How to gracefully close all dialogs on Application exit
Replies: 8
Views: 365

Re: How to gracefully close all dialogs on Application exit

Hi, Please find below the code explaining the creation of the dialogs. So, there is a dialog "WxMainDialog" which has a hyperlink. On click of that, another dialog "WxAdvancedSettingsDialog" will be launched, as shown in the code below: "m_asd" is member variable of class WxMainDialog. void WxMainDi...
by deepti
Fri Sep 14, 2018 7:37 pm
Forum: C++ Development
Topic: How to gracefully close all dialogs on Application exit
Replies: 8
Views: 365

How to gracefully close all dialogs on Application exit

Hi All, I have a wxDialog instance which on click of a button, creates another instance of wxDialog, and this in turn creates another wxDialog on click of a button. It is basically a nested parent-child relationship. Each wxDialog instance is a member variable of its parent class. On application exi...
by deepti
Wed Sep 05, 2018 4:30 am
Forum: C++ Development
Topic: wxEditableListBox - border issue
Replies: 3
Views: 235

Re: wxEditableListBox - border issue

Superb! I love this forum...makes life so much easier.
Thanks a lot PB, and to all of you who help us with wxWidgets!
by deepti
Tue Sep 04, 2018 7:02 pm
Forum: C++ Development
Topic: Can we get handle to wxDialog from its ID?
Replies: 2
Views: 187

Re: Can we get handle to wxDialog from its ID?

Thank you! that worked!