X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/67a9999283b942053259fa418fe994eab8dd0b3b..05db64b2e987e6c6920f00610b2aa9ad25fb2c64:/demos/dbbrowse/dbgrid.cpp diff --git a/demos/dbbrowse/dbgrid.cpp b/demos/dbbrowse/dbgrid.cpp index 3821a84cca..8647a88c44 100644 --- a/demos/dbbrowse/dbgrid.cpp +++ b/demos/dbbrowse/dbgrid.cpp @@ -67,9 +67,9 @@ wxGrid(parent, id, pos, size, style) { b_EditModus = false; //--------------------------------------------------------------------------------------- - popupMenu1 = new wxMenu(_T("")); + popupMenu1 = new wxMenu; popupMenu1->Append(GRID_EDIT, _("Edit Modus")); - popupMenu2 = new wxMenu(_T("")); + popupMenu2 = new wxMenu; popupMenu2->Append(GRID_BROWSE, _("Browse Modus")); } @@ -192,7 +192,7 @@ void DBGrid::OnEditorHidden( wxGridEvent& ev ) //---------------------------------------------------------------------------------------- void DBGrid::OnSelectCell( wxGridEvent& ev ) { - logBuf = _T(""); + logBuf = wxEmptyString; logBuf << _T("Selected cell at row ") << ev.GetRow() << _T(" col ") << ev.GetCol(); wxLogMessage( _T("%s"), logBuf.c_str() );