#include "diawxgtk.h" PUBLIC GROUP_FIT::GROUP_FIT( MFORM *_parent, const char *_id, const char *_title) : GROUP (_parent,_id,_title) { stretch_mode = STRETCH_LOOK; } PUBLIC GROUP_FIT::GROUP_FIT (MFORM *_parent, const char *_id) : GROUP (_parent,_id) { stretch_mode = STRETCH_LOOK; } PUBLIC void GROUP_FIT::stretch (int new_width, int new_height) { int diffx = new_width - pref_width; if (diffx > 0){ SetSize (-1,-1,new_width,new_height,0); } } #ifndef PROTO_SKIP BEGIN_EVENT_TABLE(GROUP_FIT, GROUP) END_EVENT_TABLE() #endif