Make wxTaskBarJumpList ctor explicit

It doesn't make sense to convert strings to this class implicitly.
This commit is contained in:
Vadim Zeitlin
2025-06-21 15:27:51 +02:00
parent d8d397e65f
commit 54d57e0cd7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -223,7 +223,7 @@ typedef wxVector<wxTaskBarJumpListCategory*> wxTaskBarJumpListCategories;
class WXDLLIMPEXP_CORE wxTaskBarJumpList
{
public:
wxTaskBarJumpList(const wxString& appID = wxEmptyString);
explicit wxTaskBarJumpList(const wxString& appID = wxEmptyString);
virtual ~wxTaskBarJumpList();
void ShowRecentCategory(bool shown = true);
void HideRecentCategory();
+1 -1
View File
@@ -622,7 +622,7 @@ public:
See <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/dd378459(v=vs.85).aspx">
Application User Model IDs</a> on MSDN for further details.
*/
wxTaskBarJumpList(const wxString& appID = wxEmptyString);
explicit wxTaskBarJumpList(const wxString& appID = wxEmptyString);
virtual ~wxTaskBarJumpList();
/**