DnD updates

Clipboard pasting (for wxDF_TEXT)
  print dialog looks better now
  font dialog ibid


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1998-12-08 08:40:00 +00:00
parent ef44a62179
commit b527aac54a
10 changed files with 623 additions and 197 deletions

View File

@@ -188,13 +188,13 @@ void wxGenericFontDialog::CreateWidgets(void)
{
wxBeginBusyCursor();
fontRect.x = 5;
fontRect.x = 10;
#ifdef __X__
fontRect.y = 125;
#else
fontRect.y = 115;
#endif
fontRect.width = 350;
fontRect.width = 430;
fontRect.height = 100;
/*
@@ -254,10 +254,10 @@ void wxGenericFontDialog::CreateWidgets(void)
fontRect.y+=y+5; //NL mod
int by = (fontRect.y + fontRect.height + 5);
int by = (fontRect.y + fontRect.height + 10);
wxButton *okButton = new wxButton(this, wxID_OK, _("OK"), wxPoint(5, by));
(void) new wxButton(this, wxID_OK, _("Cancel"), wxPoint(50, by));
wxButton *okButton = new wxButton(this, wxID_OK, _("OK"), wxPoint(220, by), wxSize(100,-1));
(void) new wxButton(this, wxID_OK, _("Cancel"), wxPoint(340, by), wxSize(100,-1));
familyChoice->SetStringSelection( wxFontFamilyIntToString(dialogFont.GetFamily()) );
styleChoice->SetStringSelection(wxFontStyleIntToString(dialogFont.GetStyle()));