void wxsGridSizer::OnEnumSizerProperties(long Flags) { WXS_LONG(wxsGridSizer,Cols,_("Cols"),_T("cols"),0); WXS_LONG(wxsGridSizer,Rows,_("Rows"),_T("rows"),0); WXS_DIMENSION(wxsGridSizer,VGap,_("V-Gap"),_("V-Gap in dialog units"),_T("vgap"),0,false); WXS_DIMENSION(wxsGridSizer,HGap,_("H-Gap"),_("H,y-Gap in dialog units"),_T("hgap"),0,false); }
void wxsGridBagSizer::OnEnumSizerProperties(cb_unused long Flags) { FixupList(GrowableCols); FixupList(GrowableRows); WXS_DIMENSION(wxsGridBagSizer,VGap,_("V-Gap"),_("V-Gap in dialog units"),_T("vgap"),0,false); WXS_DIMENSION(wxsGridBagSizer,HGap,_("H-Gap"),_("H,y-Gap in dialog units"),_T("hgap"),0,false); WXS_SHORT_STRING(wxsGridBagSizer,GrowableCols,_("Growable cols"),_T("growablecols"),_T(""),false); WXS_SHORT_STRING(wxsGridBagSizer,GrowableRows,_("Growable rows"),_T("growablerows"),_T(""),false); FixupList(GrowableCols); FixupList(GrowableRows); }
void wxsFlexGridSizer::OnEnumSizerProperties(long Flags) { FixupList(GrowableCols); FixupList(GrowableRows); WXS_LONG(wxsFlexGridSizer,Cols,_("Cols"),_T("cols"),0); WXS_LONG(wxsFlexGridSizer,Rows,_("Rows"),_T("rows"),0); WXS_DIMENSION(wxsFlexGridSizer,VGap,_("V-Gap"),_("V-Gap in dialog units"),_T("vgap"),0,false); WXS_DIMENSION(wxsFlexGridSizer,HGap,_("H-Gap"),_("H,y-Gap in dialog units"),_T("hgap"),0,false); WXS_SHORT_STRING(wxsFlexGridSizer,GrowableCols,_("Growable cols"),_T("growablecols"),_T(""),false); WXS_SHORT_STRING(wxsFlexGridSizer,GrowableRows,_("Growable rows"),_T("growablerows"),_T(""),false); FixupList(GrowableCols); FixupList(GrowableRows); }
Preview->SetBorders(Borders.GetPixels(Parent)); } if ( !Url.empty() ) { if ( Flags & pfExact ) { Preview->LoadPage(Url); } else { Preview->SetPage( wxString(_T("<body><center>")) + _("Following url will be used:") + _T("<br>") + Url + _T("</center></body>")); } } else if ( !HtmlCode.empty() ) { Preview->SetPage(HtmlCode); } return SetupWindow(Preview,Flags); } void wxsHtmlWindow::OnEnumWidgetProperties(long Flags) { WXS_SHORT_STRING(wxsHtmlWindow,Url,_("Url"),_T("url"),_T(""),false) WXS_STRING(wxsHtmlWindow,HtmlCode,_("Html Code"),_T("htmlcode"),_T(""),false) WXS_DIMENSION(wxsHtmlWindow,Borders,_("Borders"),_("Borders in Dialog Units"),_("borders"),0,false) }