Document that wxTE_READONLY can't be used with wxTextEntryDialog
This style doesn't make any sense here, but using it is confusing because it has the same value as wxCANCEL and is interpreted as it, rather than as expected by users. We can't do much about this, but at least document that this flag doesn't work to prevent people from wasting time trying to use it.
This commit is contained in:
@@ -109,9 +109,10 @@ public:
|
|||||||
The default value, which may be the empty string.
|
The default value, which may be the empty string.
|
||||||
@param style
|
@param style
|
||||||
A dialog style, specifying the buttons (wxOK, wxCANCEL)
|
A dialog style, specifying the buttons (wxOK, wxCANCEL)
|
||||||
and an optional wxCENTRE style. Additionally, wxTextCtrl styles
|
and an optional wxCENTRE style. Additionally, most wxTextCtrl
|
||||||
(such as @c wxTE_PASSWORD or @c wxTE_MULTILINE) may be specified
|
styles (such as @c wxTE_PASSWORD or @c wxTE_MULTILINE) may be
|
||||||
here.
|
specified here, but @c wxTE_READONLY may not be used, as it doesn't
|
||||||
|
make sense for this dialog, used for text input.
|
||||||
@param pos
|
@param pos
|
||||||
Dialog position.
|
Dialog position.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user