X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5982058625b149a820cc53a2e8098026e9d3ce4..4b7ded8bad3a45ea4838e6d3f5d1957a134050ec:/contrib/src/deprecated/propform.cpp?ds=sidebyside diff --git a/contrib/src/deprecated/propform.cpp b/contrib/src/deprecated/propform.cpp index e7730d4281..2395e564c5 100644 --- a/contrib/src/deprecated/propform.cpp +++ b/contrib/src/deprecated/propform.cpp @@ -218,7 +218,7 @@ void wxPropertyFormView::OnCommand(wxWindow& win, wxCommandEvent& event) if (!m_propertySheet) return; - if (win.GetName() == wxT("")) + if (win.GetName().empty()) return; if (wxStrcmp(win.GetName(), wxT("ok")) == 0)