Example #1
0
void TopEffectsPanel::OnButtonUpdateEffectClick(wxCommandEvent& event)
{
    wxCommandEvent eventEffectUpdated(EVT_EFFECT_UPDATED);
    wxPostEvent(GetParent(), eventEffectUpdated);
    Refresh();
}
Example #2
0
void ColorPanel::OnUpdateColorClick(wxCommandEvent& event)
{
    wxCommandEvent eventEffectUpdated(EVT_EFFECT_PALETTE_UPDATED);
    wxPostEvent(GetParent(), eventEffectUpdated);
    Refresh();
}