- // Set value to unspecified so that InlineHelp attribute will be demonstrated
- pg->SetPropertyValueUnspecified(wxT("Height"));
- pg->SetPropertyAttribute(wxT("Height"), wxPG_ATTR_INLINE_HELP, wxT("Enter new height for window") );
- pg->SetPropertyHelpString(wxT("Height"), wxT("This property uses attributes \"Units\" and \"InlineHelp\".") );
+ // Set value to unspecified so that Hint attribute will be demonstrated
+ pg->SetPropertyValueUnspecified("Height");
+ pg->SetPropertyAttribute("Height", wxPG_ATTR_HINT,
+ "Enter new height for window" );
+
+ // Difference between hint and help string is that the hint is shown in
+ // 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 \"Hint\"." );