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:
Václav Slavík 2013-10-18 15:00:00 +00:00
parent 0e494ab0c3
commit e2a8850cc4
3 changed files with 5 additions and 6 deletions

View File

@ -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"

View File

@ -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 }*
}

View File

@ -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>