X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/67a9999283b942053259fa418fe994eab8dd0b3b..32485259c1342115488d219776dfebeb3d4d81b1:/demos/dbbrowse/dbgrid.cpp?ds=sidebyside 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() );