Some fixes for gcc compilation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-06-13 12:20:33 +00:00
parent 7c5ece9e3c
commit f8105809ef
21 changed files with 46 additions and 26 deletions

View File

@@ -10,7 +10,7 @@
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
#pragma implementation "configtoolview.cpp"
#pragma implementation "configtoolview.h"
#endif
// Includes other headers for precompiled compilation
@@ -448,8 +448,9 @@ void ctConfigToolView::OnDeleteItem(wxCommandEvent& event)
ctConfigItem* sel = GetSelection();
if (sel)
{
wxString name(sel->GetName());
wxString msg;
msg.Printf(_("Delete %s?"), sel->GetName());
msg.Printf(_("Delete %s?"), (const wxChar*) name);
if (wxYES == wxMessageBox(msg, _("Delete item"), wxICON_QUESTION|wxYES_NO))
{
wxGetApp().GetMainFrame()->GetConfigTreeCtrl()->Delete(sel->GetTreeItemId());