#include "wx/log.h"
#include "wx/timer.h"
+ #include "wx/bitmap.h"
#include "wx/button.h"
#include "wx/checkbox.h"
#include "wx/radiobox.h"
#include "widgets.h"
-#if 1
#include "icons/text.xpm"
// ----------------------------------------------------------------------------
{
valueOld = m_text->GetValue();
- m_sizerText->Remove(m_text);
+ m_sizerText->Detach( m_text );
delete m_text;
}
else
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();
}
{
CreateText();
}
-#endif
+