ddPrecisionScaleDialog::ddPrecisionScaleDialog( wxWindow *parent, const wxString &defaultValue1, const wxString &defaultValue2 ) { SetFont(settings->GetSystemFont()); LoadResource(parent, wxT("ddPrecisionScaleDialog")); RestorePosition(); Init(); SetValue1(defaultValue1); SetValue2(defaultValue2); txtPrecision->SetFocus(); }
ddTableNameDialog::ddTableNameDialog( wxWindow *parent, const wxString &defaultValue1, const wxString &defaultValue2, ddTextTableItemFigure *tableItem ) : pgDialog() { wxWindowBase::SetFont(settings->GetSystemFont()); LoadResource(parent, wxT("ddTableNameDialog")); RestorePosition(); Init(); tabItem = tableItem; checkGenerate = false; SetValue1(defaultValue1); SetValue2(defaultValue2); txtUsualTableName->SetFocus(); }
ddPrecisionScaleDialog::ddPrecisionScaleDialog( wxWindow* parent, wxWindowID id, const wxString& caption, const wxString& captionLabel1, const int& defaultValue1, const wxString& captionLabel2, const int& defaultValue2, const wxPoint& pos, const wxSize& size, long style ) { Init(); label1=captionLabel1; SetValue1(defaultValue1); label2=captionLabel2; SetValue2(defaultValue2); Create(parent, id, caption, pos, size, style); }
ddTableNameDialog::ddTableNameDialog( wxWindow* parent, wxWindowID id, const wxString& caption, const wxString& captionLabel1, const wxString& defaultValue1, const wxString& captionLabel2, const wxString& defaultValue2, const wxPoint& pos, const wxSize& size, long style, ddTextTableItemFigure* tableItem ) { Init(); tabItem = tableItem; checkGenerate = false; label1=captionLabel1; SetValue1(defaultValue1); label2=captionLabel2; SetValue2(defaultValue2); Create(parent, id, caption, pos, size, style); }