#include "widgets.h"
-#if 1
#include "icons/text.xpm"
// ----------------------------------------------------------------------------
valueOld,
wxDefaultPosition, wxDefaultSize,
flags);
+
+ // cast to int needed to silence gcc warning about different enums
m_sizerText->Add(m_text, 1, wxALL |
- (flags & wxTE_MULTILINE ? wxGROW
+ (flags & wxTE_MULTILINE ? (int)wxGROW
: wxALIGN_TOP), 5);
m_sizerText->Layout();
}
{
long elapsed = sw.Time();
wxLogMessage(_T("Loaded file '%s' in %lu.%us"),
- filename.c_str(), elapsed / 1000, elapsed % 1000);
+ filename.c_str(), elapsed / 1000,
+ (unsigned int) elapsed % 1000);
}
}
}
{
CreateText();
}
-#endif
+