XRC: File bugs in wxFileCtrl spec, schema and samples.
Incredibly, there were bugs, inaccuracies or missing content in all three of them, but each one had its own unique problems. Fix them all to be in sync with the implementation. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
0e494ab0c3
commit
e2a8850cc4
@ -951,9 +951,9 @@ Example:
|
||||
@beginTable
|
||||
@hdr3col{property, type, description}
|
||||
@row3col{defaultdirectory, @ref overview_xrcformat_type_string,
|
||||
Sets the current directory displayed in the control. }
|
||||
Sets the current directory displayed in the control (default: empty). }
|
||||
@row3col{defaultfilename, @ref overview_xrcformat_type_string,
|
||||
Selects a certain file.}
|
||||
Selects a certain file (default: empty).}
|
||||
@row3col{wildcard, @ref overview_xrcformat_type_string,
|
||||
Sets the wildcard, which can contain multiple file types, for example:
|
||||
"BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
|
||||
|
@ -760,9 +760,9 @@ wxFileCtrl =
|
||||
attribute class { "wxFileCtrl" } &
|
||||
stdObjectNodeAttributes &
|
||||
stdWindowProperties &
|
||||
[xrc:p="o"] element value {_, t_string }* &
|
||||
[xrc:p="r"] element message {_, t_text }+ &
|
||||
[xrc:p="o"] element wildcard {_, t_string }*
|
||||
[xrc:p="o"] element defaultdirectory {_, t_string }* &
|
||||
[xrc:p="o"] element defaultfilename {_, t_string }* &
|
||||
[xrc:p="o"] element wildcard {_, t_string }*
|
||||
}
|
||||
|
||||
|
||||
|
@ -472,7 +472,6 @@ lay them out using wxSizers, absolute positioning, everything you like!
|
||||
<border>5</border>
|
||||
<object class="wxFileCtrl">
|
||||
<wildcard>Text files (*.txt)</wildcard>
|
||||
<message>Choose file</message>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
|
Loading…
Reference in New Issue
Block a user