1. added a brief overview of Unicode support
2. added and documented wxBITMAP() macros (as wxICON) 3. restructured wxFont class, added support of encoding parameter 4. regenerated makefiles to compile the new fontcmn.cpp file 5. corrected bug with non existing files in document-view history git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1279,6 +1279,10 @@ int wxString::PrintfV(const wxChar* pszFormat, va_list argptr)
|
||||
// ----------------------------------------------------------------------------
|
||||
// misc other operations
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// returns TRUE if the string matches the pattern which may contain '*' and
|
||||
// '?' metacharacters (as usual, '?' matches any character and '*' any number
|
||||
// of them)
|
||||
bool wxString::Matches(const wxChar *pszMask) const
|
||||
{
|
||||
// check char by char
|
||||
@@ -1289,8 +1293,8 @@ bool wxString::Matches(const wxChar *pszMask) const
|
||||
if ( *pszTxt == _T('\0') )
|
||||
return FALSE;
|
||||
|
||||
pszTxt++;
|
||||
pszMask++;
|
||||
// pszText and pszMask will be incremented in the loop statement
|
||||
|
||||
break;
|
||||
|
||||
case _T('*'):
|
||||
|
Reference in New Issue
Block a user