mod/maxgui.mod/fltkmaxgui.mod/src/Fl_win32.cxx
void Fl_Window::make_current() {
  fl_GetDC(fl_xid(this));

#if USE_COLORMAP
  // Windows maintains a hardware and software color palette; the
  // SelectPalette() call updates the current soft->hard mapping
  // for all drawing calls, so we must select it here before any
  // code does any drawing...

  fl_select_palette();
#endif // USE_COLORMAP

  current_ = this;
  fl_clip_region(0);


}
// make X drawing go into this window (called by subclass flush() impl.)
make X drawing go into this window (called by subclass flush() impl.)
make X drawing go into this window ( called by subclass flush () impl . )
void Fl_Window::make_current() {
  fl_GetDC(fl_xid(this));
#if USE_COLORMAP
  fl_select_palette();
#endif 
  current_ = this;
  fl_clip_region(0);
}
void Fl_Window :: make_current ( ) { fl_GetDC ( fl_xid ( this ) ) ; #if USE_COLORMAP fl_select_palette ( ) ; #endif current_ = this ; fl_clip_region ( 0 ) ; }
make X drawing go into this window (called by subclass flush() impl.)
make X drawing go into this window ( called by subclass flush () impl . )
// Windows maintains a hardware and software color palette; the // SelectPalette() call updates the current soft->hard mapping // for all drawing calls, so we must select it here before any // code does any drawing... // USE_COLORMAP