Dear all,
with the most recent wxWidgets (v3.1.2) my app does not show the question icon anymore. I can reproduce this with the "dialogs" app from the samples folder. Just setup as "Yes/No" and enable the "Question icon". If you let the dialog show the question icon does not appear. For all other cases (Info, Warning, Error) it works as expected.
Any idea why?
wxICON_QUESTION broken? Topic is solved
-
- Experienced Solver
- Posts: 73
- Joined: Thu Feb 09, 2006 8:13 am
Re: wxICON_QUESTION broken?
From the documentation:
https://docs.wxwidgets.org/trunk/classw ... ialog.htmlwxICON_QUESTION:
Displays a question mark symbol. This icon is automatically used with wxYES_NO so it's usually unnecessary to specify it explicitly. This style is not supported for message dialogs under wxMSW when a task dialog is used to implement them (i.e. when running under Windows Vista or later) because Microsoft guidelines indicate that no icon should be used for routine confirmations. If it is specified, no icon will be displayed.
Use the source, Luke!
-
- Experienced Solver
- Posts: 73
- Joined: Thu Feb 09, 2006 8:13 am
Re: wxICON_QUESTION broken?
Oh well, that explains things. The link to the reference in to the docs is broken though. Strange that MS seems not to see a question mark for a question, but hey - they surely know why...
Thank you!
Thank you!
-
- Experienced Solver
- Posts: 73
- Joined: Thu Feb 09, 2006 8:13 am
Re: wxICON_QUESTION broken?
...for the reference: I guess the link in the docs could have pointed to:
https://docs.microsoft.com/de-de/dotnet ... ageboxicon
Although its a .NET documentation it is a generic description for Windows...
https://docs.microsoft.com/de-de/dotnet ... ageboxicon
Although its a .NET documentation it is a generic description for Windows...
Re: wxICON_QUESTION broken?
Based on some webarchive digging, I believe this is what the link in wxWidgets documentation should point to now
https://docs.microsoft.com/en-us/window ... ss-confirm
I will submit a PR to fix that.
https://docs.microsoft.com/en-us/window ... ss-confirm
I will submit a PR to fix that.