]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/textdlgg.cpp
Corrected some .tex problems
[wxWidgets.git] / src / generic / textdlgg.cpp
index c582cc875f4c2112d255e50d5bdc896228d10eb1..d4ce2cdc1df82854c28e93b0f8c7c34d02b6f62e 100644 (file)
@@ -127,17 +127,18 @@ wxTextEntryDialog::wxTextEntryDialog(wxWindow *parent, const wxString& message,
        c->top.Below            (spacingSizer2);
        c->centreX.SameAs       (textSizer, wxCentreX);
        buttonSizer->SetConstraints(c);
+       buttonSizer->SetSpacing(12,0);
 
     wxButton *ok = NULL;
        wxButton *cancel = NULL;
 
   if (style & wxOK) {
-    ok = new wxButton(this, wxID_OK, _("OK"));
+    ok = new wxButton(this, wxID_OK, _("OK"), wxDefaultPosition, wxSize(75,-1));
        buttonSizer->AddSizerChild(ok);
   }
 
   if (style & wxCANCEL) {
-    cancel = new wxButton(this, wxID_CANCEL, _("Cancel"));
+    cancel = new wxButton(this, wxID_CANCEL, _("Cancel"), wxDefaultPosition, wxSize(75,-1));
        buttonSizer->AddSizerChild(cancel);
   }