Replaced wxString[0u] by wxString[(size_t) 0]: size_t is signed for EMX,
so explicitly using '0u' causes problems.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5608
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// headers
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
+#ifdef __GNUG__
+ #pragma implementation "fontutil.h"
+#endif
+
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
// append the extension if none given and it's not an absolute file name
// (otherwise we assume that they know what they're doing)
// append the extension if none given and it's not an absolute file name
// (otherwise we assume that they know what they're doing)
- if ( !wxIsPathSeparator(m_strLocalFilename[0u]) &&
+ if ( !wxIsPathSeparator(m_strLocalFilename[(size_t) 0]) &&
m_strLocalFilename.Find('.') == wxNOT_FOUND )
{
m_strLocalFilename << ".ini";
m_strLocalFilename.Find('.') == wxNOT_FOUND )
{
m_strLocalFilename << ".ini";
if ( strPath.IsEmpty() ) {
// nothing
}
if ( strPath.IsEmpty() ) {
// nothing
}
- else if ( strPath[0u] == wxCONFIG_PATH_SEPARATOR ) {
+ else if ( strPath[(size_t) 0] == wxCONFIG_PATH_SEPARATOR ) {
// absolute path
wxSplitPath(aParts, strPath);
}
// absolute path
wxSplitPath(aParts, strPath);
}
- m_strGroup = aParts[0u];
+ m_strGroup = aParts[(size_t) 0];
for ( size_t nPart = 1; nPart < nPartsCount; nPart++ ) {
if ( nPart > 1 )
m_strPath << PATH_SEP_REPLACE;
for ( size_t nPart = 1; nPart < nPartsCount; nPart++ ) {
if ( nPart > 1 )
m_strPath << PATH_SEP_REPLACE;
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
+#ifdef __GNUG__
+ #pragma implementation "menu.h"
+#endif
+
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
{
// add the leading point if necessary
wxString str;
{
// add the leading point if necessary
wxString str;
- if ( ext[0u] != wxT('.') ) {
+ if ( ext[(size_t) 0] != wxT('.') ) {
str = wxT('.');
}
str << ext;
str = wxT('.');
}
str << ext;