diff --git a/interface/wx/propgrid/advprops.h b/interface/wx/propgrid/advprops.h index 0e6a9bcc25..38bfa51889 100644 --- a/interface/wx/propgrid/advprops.h +++ b/interface/wx/propgrid/advprops.h @@ -238,10 +238,10 @@ protected: calling wxMultiChoiceProperty::GetValueAsArrayInt(). Supported special attributes: - - "UserStringMode": If > 0, allow user to manually enter strings that are - not in the list of choices. If this value is 1, user strings are - preferably placed in front of valid choices. If value is 2, then those - strings will placed behind valid choices. + - ::wxPG_ATTR_MULTICHOICE_USERSTRINGMODE: If > 0, allow user to manually + enter strings that are not in the list of choices. If this value is 1, + user strings are preferably placed in front of valid choices. If value is + 2, then those strings will placed behind valid choices. */ class wxMultiChoiceProperty : public wxPGProperty { @@ -292,9 +292,9 @@ protected: Property representing wxDateTime. Supported special attributes: - - "DateFormat": Determines displayed date format. - - "PickerStyle": Determines window style used with wxDatePickerCtrl. - Default is wxDP_DEFAULT | wxDP_SHOWCENTURY. Using wxDP_ALLOWNONE + - ::wxPG_DATE_FORMAT: Determines displayed date format. + - ::wxPG_DATE_PICKER_STYLE: Determines window style used with wxDatePickerCtrl. + Default is ::wxDP_DEFAULT | ::wxDP_SHOWCENTURY. Using ::wxDP_ALLOWNONE enables additional support for unspecified property value. */ class wxDateProperty : public wxPGProperty diff --git a/interface/wx/propgrid/property.h b/interface/wx/propgrid/property.h index 53127845d3..c21c55df01 100644 --- a/interface/wx/propgrid/property.h +++ b/interface/wx/propgrid/property.h @@ -1423,7 +1423,7 @@ public: Returns map-like storage of property's attributes. @remarks - If extra style wxPG_EX_WRITEONLY_BUILTIN_ATTRIBUTES is set, + If extra style ::wxPG_EX_WRITEONLY_BUILTIN_ATTRIBUTES is set, then builtin-attributes are not included in the storage. */ const wxPGAttributeStorage& GetAttributes() const; diff --git a/interface/wx/propgrid/propgridiface.h b/interface/wx/propgrid/propgridiface.h index 9ce491ee8a..4aa4b4c880 100644 --- a/interface/wx/propgrid/propgridiface.h +++ b/interface/wx/propgrid/propgridiface.h @@ -411,7 +411,7 @@ public: Returns map-like storage of property's attributes. @remarks - Note that if extra style wxPG_EX_WRITEONLY_BUILTIN_ATTRIBUTES is set, + Note that if extra style ::wxPG_EX_WRITEONLY_BUILTIN_ATTRIBUTES is set, then builtin-attributes are not included in the storage. */ const wxPGAttributeStorage& GetPropertyAttributes( wxPGPropArg id ) const; diff --git a/interface/wx/propgrid/props.h b/interface/wx/propgrid/props.h index 93740e0e14..d99e63b52a 100644 --- a/interface/wx/propgrid/props.h +++ b/interface/wx/propgrid/props.h @@ -35,7 +35,8 @@ public: Basic property with string value. Supported special attributes: - - "Password": set to 1 in order to enable wxTE_PASSWORD on the editor. + - ::wxPG_STRING_PASSWORD: set to @true in order to enable ::wxTE_PASSWORD + on the editor. @remarks - If value "" is set, then actual value is formed (or composed) @@ -140,7 +141,7 @@ public: Supported special attributes: - - "Min", "Max": Specify acceptable value range. + - ::wxPG_ATTR_MIN, ::wxPG_ATTR_MAX: Specify acceptable value range. */ class wxIntProperty : public wxPGProperty { @@ -181,13 +182,13 @@ public: Seamlessly supports 64-bit integer (wxULongLong) on overflow. Supported special attributes: - - "Min", "Max": Specify acceptable value range. - - "Base": Define base. Valid constants are wxPG_BASE_OCT, wxPG_BASE_DEC, - wxPG_BASE_HEX and wxPG_BASE_HEXL (lowercase characters). Arbitrary bases - are not supported. - - "Prefix": Possible values are wxPG_PREFIX_NONE, wxPG_PREFIX_0x, and - wxPG_PREFIX_DOLLAR_SIGN. Only wxPG_PREFIX_NONE works with Decimal and Octal - numbers. + - ::wxPG_ATTR_MIN, ::wxPG_ATTR_MAX: Specify acceptable value range. + - ::wxPG_UINT_BASE: Define base. Valid constants are ::wxPG_BASE_OCT, + ::wxPG_BASE_DEC, ::wxPG_BASE_HEX and ::wxPG_BASE_HEXL (lowercase characters). + Arbitrary bases are not supported. + - ::wxPG_UINT_PREFIX: Possible values are ::wxPG_PREFIX_NONE, ::wxPG_PREFIX_0x, + and ::wxPG_PREFIX_DOLLAR_SIGN. Only ::wxPG_PREFIX_NONE works with Decimal + and Octal numbers. @remarks - For example how to use seamless 64-bit integer support, see wxIntProperty @@ -226,8 +227,8 @@ protected: Basic property with double-precision floating point value. Supported special attributes: - - "Precision": Sets the (max) precision used when floating point value is - rendered as text. The default -1 means infinite precision. + - ::wxPG_FLOAT_PRECISION: Sets the (max) precision used when floating point + value is rendered as text. The default -1 means infinite precision. */ class wxFloatProperty : public wxPGProperty { @@ -267,8 +268,10 @@ protected: Basic property with boolean value. Supported special attributes: - - "UseCheckbox": Set to 1 to use check box editor instead of combo box. - - "UseDClickCycling": Set to 1 to cycle combo box instead showing the list. + - ::wxPG_BOOL_USE_CHECKBOX: Set to @true to use check box editor instead + of combo box. + - ::wxPG_BOOL_USE_DOUBLE_CLICK_CYCLING: Set to @true to cycle combo box + instead showing the list. */ class wxBoolProperty : public wxPGProperty { @@ -508,14 +511,14 @@ public: Like wxLongStringProperty, but the button triggers file selector instead. Supported special attributes: - - "Wildcard": Sets wildcard (see wxFileDialog for format details), "All - files..." is default. - - "ShowFullPath": Default 1. When 0, only the file name is shown (i.e. drive - and directory are hidden). - - "ShowRelativePath": If set, then the filename is shown relative to the - given path string. - - "InitialPath": Sets the initial path of where to look for files. - - "DialogTitle": Sets a specific title for the dir dialog. + - ::wxPG_FILE_WILDCARD: Sets wildcard (see wxFileDialog for format details), + "All files..." is default. + - ::wxPG_FILE_SHOW_FULL_PATH: Default 1. When 0, only the file name is shown + (i.e. drive and directory are hidden). + - ::wxPG_FILE_SHOW_RELATIVE_PATH: If set, then the filename is shown relative + to the given path string. + - ::wxPG_FILE_INITIAL_PATH: Sets the initial path of where to look for files. + - ::wxPG_FILE_DIALOG_TITL: Sets a specific title for the dir dialog. - ::wxPG_FILE_DIALOG_STYLE: Sets a specific wxFileDialog style for the file dialog (since 2.9.4). */ @@ -607,7 +610,7 @@ public: Like wxLongStringProperty, but the button triggers dir selector instead. Supported special attributes: - - "DialogMessage": Sets specific message in the dir selector. + - ::wxPG_DIR_DIALOG_MESSAGE: Sets specific message in the dir selector. */ class wxDirProperty : public wxLongStringProperty {