// ... and attach this menu bar to the frame
SetMenuBar(menuBar);
+#if wxUSE_STATUSBAR
// create a status bar just for fun (by default with 1 pane only)
CreateStatusBar();
SetStatusText(_T("Welcome to wxWidgets!"));
+#endif // wxUSE_STATUSBAR
// now create some controls
{
wxString key = wxGetTextFromUser(_T("Search for?"),
_T("Search help for keyword"),
- _T(""),
+ wxEmptyString,
this);
if(! key.IsEmpty())
helpController.KeywordSearch(key);
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);