Fix setting icon for wxProgressDialog (wxMSW)
Icon for wxProgressDialog cannot be changed directly because the dialog is created in another thread and may not yet exist when SetIcon() is called. We have to store new icon(s) in the data structure used to share data between the main thread and the task dialog runner and wait for a cyclic update. Closes #17967.
This commit is contained in:
@@ -41,6 +41,8 @@ public:
|
||||
virtual void SetTitle(const wxString& title) wxOVERRIDE;
|
||||
virtual wxString GetTitle() const wxOVERRIDE;
|
||||
|
||||
virtual void SetIcons(const wxIconBundle& icons) wxOVERRIDE;
|
||||
|
||||
virtual bool Show( bool show = true ) wxOVERRIDE;
|
||||
|
||||
// Must provide overload to avoid hiding it (and warnings about it)
|
||||
|
Reference in New Issue
Block a user