+ void ToggleFlag(int flag, bool enable);
+ void ToggleLive(wxCommandEvent& event)
+ { ToggleFlag(wxSP_LIVE_UPDATE, event.IsChecked()); }
+ void ToggleBorder(wxCommandEvent& event)
+ { ToggleFlag(wxSP_BORDER, event.IsChecked()); }
+ void Toggle3DSash(wxCommandEvent& event)
+ { ToggleFlag(wxSP_3DSASH, event.IsChecked()); }