]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/deprecated/propform.cpp
compilation fix for gcc (closes bug 996701)
[wxWidgets.git] / contrib / src / deprecated / propform.cpp
index e7730d42812bee7ead117653f090c509a6b9593d..2395e564c55c13670744684defdcbdc0563d70a0 100644 (file)
@@ -218,7 +218,7 @@ void wxPropertyFormView::OnCommand(wxWindow& win, wxCommandEvent& event)
     if (!m_propertySheet)
         return;
 
     if (!m_propertySheet)
         return;
 
-    if (win.GetName() == wxT(""))
+    if (win.GetName().empty())
         return;
 
     if (wxStrcmp(win.GetName(), wxT("ok")) == 0)
         return;
 
     if (wxStrcmp(win.GetName(), wxT("ok")) == 0)