Fixed an assert.
It didn't appear in release, but it could have bitten me in the ass at some point.
This commit is contained in:
parent
854a7bbcca
commit
fdf72544fb
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ void EvtNameChangeDialog::textEditEvent(wxCommandEvent&) {
|
||||||
_lengthBitmap->SetBitmap(wxArtProvider::GetBitmap(wxART_CROSS_MARK, wxART_BUTTON));
|
_lengthBitmap->SetBitmap(wxArtProvider::GetBitmap(wxART_CROSS_MARK, wxART_BUTTON));
|
||||||
}
|
}
|
||||||
|
|
||||||
_nameLength->SetLabel(wxString::Format("%u", value.length()));
|
_nameLength->SetLabel(wxString::Format("%zu", value.length()));
|
||||||
|
|
||||||
if(_nameInput->Validate() == true) {
|
if(_nameInput->Validate() == true) {
|
||||||
_charsBitmap->SetBitmap(wxArtProvider::GetBitmap(wxART_TICK_MARK, wxART_BUTTON));
|
_charsBitmap->SetBitmap(wxArtProvider::GetBitmap(wxART_TICK_MARK, wxART_BUTTON));
|
||||||
|
|
Loading…
Reference in a new issue