int palette_proc(int msg, DIALOG *d, int c) {

   switch (msg) {
      case MSG_DRAW:
         draw_palette(); 
         break;
   }
   return D_O_K;
      
}
Esempio n. 2
0
void ggscfg_ColorEditSheet::on_paint_palette(wxPaintEvent& event) {
  draw_palette(&wxPaintDC((wxWindow*)event.GetEventObject()));
}