17 #include <gwenhywfar/debug.h>
18 #include <gwenhywfar/i18n.h>
19 #include <gwenhywfar/stringlist.h>
24 #define MAX_DEFAULT_WIDTH 400
43 FXint x, FXint y, FXint w, FXint h,
46 :FXFrame(p, opts, x, y, w, h, pl, pr, pt, pb)
50 ,m_haveDefaultDims(false)
56 flags|=FLAG_ENABLED|FLAG_DIRTY|FLAG_RECALC;
185 FXEvent *ev=(FXEvent*)ptr;
186 FXDCWindow dc(
this, ev);
188 dc.setForeground(backColor);
189 dc.fillRectangle(border, border, width-(border*2), height-(border*2));
198 dc.drawIcon(
m_icon, border, border);
200 dc.drawIconSunken(
m_icon, border, border);
251 if (options & FLAGS_NO_WORDWRAP)