X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3fe1edc244d8cd253c48148ea0de843c11b47338..4d01e350fe2d8cb15c068d579c4022345f3ff0c0:/samples/help/demo.cpp diff --git a/samples/help/demo.cpp b/samples/help/demo.cpp index a593c3e810..d0dc6d9471 100644 --- a/samples/help/demo.cpp +++ b/samples/help/demo.cpp @@ -595,7 +595,7 @@ void MyFrame::ShowHelp(int commandId, wxHelpControllerBase& helpController) { wxString key = wxGetTextFromUser(_T("Search for?"), _T("Search help for keyword"), - _T(""), + wxEmptyString, this); if(! key.IsEmpty()) helpController.KeywordSearch(key); @@ -666,7 +666,6 @@ MyModalDialog::MyModalDialog(wxWindow *parent) sizerTop->Add(text, 0, wxEXPAND|wxALIGN_CENTER_VERTICAL|wxALL, 5 ); sizerTop->Add(sizerRow, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - SetAutoLayout(true); SetSizer(sizerTop); sizerTop->SetSizeHints(this);