Search found 88 matches

by deepti
Fri Feb 15, 2019 4:48 am
Forum: Platform Related Issues
Topic: wxHyperlinkCtrl - hover color and visited color not working on Mac
Replies: 10
Views: 268

Re: wxHyperlinkCtrl - hover color and visited color not working on Mac

oh wow!! thanks a ton for trying out.
To me, it seems like since blue is the default color, it seems to be working.
If you get a chance, could you change the color, to say, red, and try please?
I am also trying another time at my end.
by deepti
Fri Feb 15, 2019 2:36 am
Forum: Platform Related Issues
Topic: wxHyperlinkCtrl - hover color and visited color not working on Mac
Replies: 10
Views: 268

Re: wxHyperlinkCtrl - hover color and visited color not working on Mac

oh wow!! thanks a ton for trying out.
Yes, it executed that code.
To me, it seems like since blue is the default color, it seems to be working.
If you get a chance, could you change the color, to say, red, and try please?
I am also trying another time at my end.
by deepti
Thu Feb 14, 2019 5:24 pm
Forum: Platform Related Issues
Topic: wxHyperlinkCtrl - hover color and visited color not working on Mac
Replies: 10
Views: 268

Re: wxHyperlinkCtrl - hover color and visited color not working on Mac

Yes, it works fine on Windows.. but has no effect on Mac :(
Is there any other way we can get it working for Mac? Please help!
by deepti
Thu Feb 14, 2019 10:35 am
Forum: Platform Related Issues
Topic: wxHyperlinkCtrl - hover color and visited color not working on Mac
Replies: 10
Views: 268

Re: wxHyperlinkCtrl - hover color and visited color not working on Mac

wxGenericHyperlinkCtrl does not work either :(
Is there anything else I could try?
by deepti
Thu Feb 14, 2019 7:30 am
Forum: Platform Related Issues
Topic: wxHyperlinkCtrl - hover color and visited color not working on Mac
Replies: 10
Views: 268

Re: wxHyperlinkCtrl - hover color and visited color not working on Mac

Thank you for your reply @doublemax.

In fact, i do not want the colours of wxHyperlinkCtrl to change, which is the default behavior on Windows.
by deepti
Thu Feb 14, 2019 6:27 am
Forum: Platform Related Issues
Topic: wxHyperlinkCtrl - hover color and visited color not working on Mac
Replies: 10
Views: 268

wxHyperlinkCtrl - hover color and visited color not working on Mac

Hi, I have a wxHyperlinkCtrl instance. On Mac, when the mouse is hovered over the control, or the link is clicked, the color changes to red and purple respectively. I am using the following functions, and setting the color to blue but they are not having any effect, and hover and click colors are st...
by deepti
Thu Feb 07, 2019 6:47 pm
Forum: Platform Related Issues
Topic: wxDialog is displayed in the background only on Mac
Replies: 12
Views: 262

Re: wxDialog is displayed in the background only on Mac

Yes yes, the parent of the dialog is indeed NULL. Is it not supposed to be?

And i tried the taskbar sample too..it works fine. Even in this sample, the dialog's parent is set to NULL
by deepti
Thu Feb 07, 2019 5:37 pm
Forum: Platform Related Issues
Topic: wxDialog is displayed in the background only on Mac
Replies: 12
Views: 262

Re: wxDialog is displayed in the background only on Mac

All the dialogs appear correctly in the sample dialogs app. They are all seen in the foreground.
Is it because they are being opened as menu items?
Whereas in my case, it is on right-click option of the tray icon/docked icon at the top..
by deepti
Thu Feb 07, 2019 5:15 pm
Forum: Platform Related Issues
Topic: wxDialog is displayed in the background only on Mac
Replies: 12
Views: 262

Re: wxDialog is displayed in the background only on Mac

Thanks a lot for the detailed post. I tried out the sample dialogs app. It just opens up a simple dialog with minimise, maximise and close buttons. But does open up in the foreground. In the case of our application, when it is opened, it creates an icon in the dock (similar to say Skype), and then o...
by deepti
Thu Feb 07, 2019 4:09 pm
Forum: Platform Related Issues
Topic: wxDialog is displayed in the background only on Mac
Replies: 12
Views: 262

Re: wxDialog is displayed in the background only on Mac

Hi,

It is a custom dialog derived from wxDialog.
Could you please point out the link to the dialogs sample you are referring to?
I am completely new to Mac, so it might take a while to try out this sample app.
Meanwhile, is there something else I could try?
by deepti
Thu Feb 07, 2019 3:29 pm
Forum: Platform Related Issues
Topic: wxDialog is displayed in the background only on Mac
Replies: 12
Views: 262

Re: wxDialog is displayed in the background only on Mac

The Mac application has been existing for a while now, but the dialog popping behind issue has been there too, and no one really worked on it before! So, this is what I tried in the OnInit() function: ProcessSerialNumber psn = { 0, kCurrentProcess }; (void) TransformProcessType(&psn, kProcessTransfo...
by deepti
Thu Feb 07, 2019 12:29 pm
Forum: Platform Related Issues
Topic: wxDialog is displayed in the background only on Mac
Replies: 12
Views: 262

wxDialog is displayed in the background only on Mac

Hi, I have a wxDialog instance (with parent set to NULL). On Show(), it ends up being displayed behind some other application windows that are open, and not shown in the front. This works perfectly on Windows. Setting the flag to wx_STAY_ON_TOP will not be so useful, since there are other UI options...
by deepti
Mon Feb 04, 2019 5:26 am
Forum: C++ Development
Topic: wxDialog not increasing in size to show all controls
Replies: 10
Views: 307

Re: wxDialog not increasing in size to show all controls

@doublemax,

thank you for the letting me know that wxGridSizer makes all cells to be of the same size. That helped me fix almost all the issues - so now, i am using a wxFlexGridsizer and have specified the size of the controls. So, the UI looks pretty good :) thanks again!
by deepti
Sat Feb 02, 2019 7:38 am
Forum: C++ Development
Topic: wxDialog not increasing in size to show all controls
Replies: 10
Views: 307

Re: wxDialog not increasing in size to show all controls

The current code should already do this. Just set the window to wxSize(1000, 500) instead of the SetClientSize() call. That worked..removing the SetClientSize() did the trick. Can you show the complete sizer code you have right now? Sure, please find attached the sample.cpp which has the entire cod...
by deepti
Fri Feb 01, 2019 6:31 pm
Forum: C++ Development
Topic: wxDialog not increasing in size to show all controls
Replies: 10
Views: 307

Re: wxDialog not increasing in size to show all controls

If you want all controls to be visible all the time, why did you use a scrolled window? Then you could have used a normal wxPanel instead. The scrollbar is needed for vertical scrolling. My intention is to have a fixed size dialog, say wxSize(1000, 500). And then when more controls are added, the s...