Search found 115 matches

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: 3098

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: 3098

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: 3098

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: 928

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 ...
by deepti
Mon Sep 24, 2018 11:37 am
Forum: Platform Related Issues
Topic: wxCollapsiblePane - not expanding correctly on Linux
Replies: 2
Views: 928

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 Li...
by deepti
Mon Sep 24, 2018 11:29 am
Forum: Platform Related Issues
Topic: Issue with nested wxStaticBox on Linux.
Replies: 2
Views: 995

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: 995

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: 1660

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: 1660

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: 1660

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 cla...
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: 1660

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: 721

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: 982

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

Thank you! that worked!
by deepti
Tue Sep 04, 2018 7:02 pm
Forum: C++ Development
Topic: Destroy call on wxHyperlinkCtrl crashes the application
Replies: 6
Views: 862

Re: Destroy call on wxHyperlinkCtrl crashes the application

Great!! Thanks a lot, my savior! :D
by deepti
Tue Sep 04, 2018 7:00 pm
Forum: C++ Development
Topic: wxEditableListBox - border issue
Replies: 3
Views: 721

wxEditableListBox - border issue

Hi, I have a wxEditableListBox, which looks like the screenshot below. Is there a way the border drawn can be changed? The box containing the New, Edit and Delete buttons looks like it can be edited! But in reality, it is just for displaying the label. Can i change that border to a non-3D border? Pl...