]> git.saurik.com Git - wxWidgets.git/blobdiff - src/propgrid/propgridiface.cpp
Store menus titles in menus themselves in wxOSX.
[wxWidgets.git] / src / propgrid / propgridiface.cpp
index 66dcd9e67c05f5cd93eda37c76f0ca659497a5ee..f8aab4650791af392cb821e9da632ae89c421e24 100644 (file)
@@ -277,7 +277,7 @@ bool wxPropertyGridInterface::EnableProperty( wxPGPropArg id, bool enable )
             grid->DoSelectProperty( p, wxPG_SEL_FORCE );
     }
 
-    state->DoEnableProperty(p, enable);
+    p->DoEnable(enable);
 
     RefreshProperty( p );