From 07476eeabfa056ad71df87e8b23435d7f0a521a5 Mon Sep 17 00:00:00 2001 From: Jaakko Salli Date: Thu, 7 Jan 2010 19:35:33 +0000 Subject: [PATCH] Do not use deprecated property attribute wxPG_ATTR_INLINE_HELP (fixes #11605) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/propgrid/propgrid.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/samples/propgrid/propgrid.cpp b/samples/propgrid/propgrid.cpp index 16dc91e8ab..1762bbfa8a 100644 --- a/samples/propgrid/propgrid.cpp +++ b/samples/propgrid/propgrid.cpp @@ -1328,7 +1328,7 @@ void FormMain::PopulateWithStandardItems () // an empty value cell, while help string is shown either in the // description text box, as a tool tip, or on the status bar. pg->SetPropertyHelpString("Height", - "This property uses attributes \"Units\" and \"InlineHelp\"." ); + "This property uses attributes \"Units\" and \"Hint\"." ); pg->Append( new wxIntProperty(wxT("Width"),wxPG_LABEL,640) ); pg->SetPropertyAttribute(wxT("Width"), wxPG_ATTR_MIN, (long)10 ); @@ -1336,8 +1336,10 @@ void FormMain::PopulateWithStandardItems () pg->SetPropertyAttribute(wxT("Width"), wxPG_ATTR_UNITS, wxT("Pixels") ); pg->SetPropertyValueUnspecified(wxT("Width")); - pg->SetPropertyAttribute(wxT("Width"), wxPG_ATTR_INLINE_HELP, wxT("Enter new width for window") ); - pg->SetPropertyHelpString(wxT("Width"), wxT("This property uses attributes \"Units\" and \"InlineHelp\".") ); + pg->SetPropertyAttribute("Width", wxPG_ATTR_HINT, + "Enter new width for window" ); + pg->SetPropertyHelpString("Width", + "This property uses attributes \"Units\" and \"Hint\"." ); pg->Append( new wxIntProperty(wxT("X"),wxPG_LABEL,10) ); pg->SetPropertyAttribute(wxT("X"), wxPG_ATTR_UNITS, wxT("Pixels") ); -- 2.47.2