Make sure space for message is reserved in APP_PROGRESS_DIALOG
Fixes https://gitlab.com/kicad/code/kicad/-/issues/7953
This commit is contained in:
parent
812d38736e
commit
cc9787e47a
|
@ -28,7 +28,9 @@
|
|||
APP_PROGRESS_DIALOG::APP_PROGRESS_DIALOG( const wxString& aTitle, const wxString& aMessage,
|
||||
int aMaximum, wxWindow* aParent,
|
||||
bool aIndeterminateTaskBarStatus, int aStyle )
|
||||
: wxProgressDialog( aTitle, aMessage, aMaximum, aParent, aStyle )
|
||||
: wxProgressDialog( aTitle,
|
||||
aMessage == wxEmptyString ? wxT( " " ) : aMessage,
|
||||
aMaximum, aParent, aStyle )
|
||||
#if wxCHECK_VERSION( 3, 1, 0 )
|
||||
,
|
||||
m_appProgressIndicator( aParent, aMaximum ),
|
||||
|
|
Loading…
Reference in New Issue