virtual ~ButtonWidgetsPage(){};
virtual wxControl *GetWidget() const { return m_button; }
+ virtual void RecreateWidget() { CreateButton(); }
protected:
// event handlers
label = m_textLabel->GetValue();
}
- int flags = 0;
+ int flags = ms_defaultFlags;
switch ( m_radioHAlign->GetSelection() )
{
case ButtonHAlign_Left:
// fall through
case ButtonVAlign_Centre:
- flags |= wxALIGN_CENTRE_VERTICAL;
+ // centre vertical alignment is the default (no style)
break;
case ButtonVAlign_Bottom: