int palette_proc(int msg, DIALOG *d, int c) { switch (msg) { case MSG_DRAW: draw_palette(); break; } return D_O_K; }
void ggscfg_ColorEditSheet::on_paint_palette(wxPaintEvent& event) { draw_palette(&wxPaintDC((wxWindow*)event.GetEventObject())); }