fix non-compiling wxdlg code in linux

This commit is contained in:
zeromus 2009-12-19 18:47:01 +00:00
parent 99ba104317
commit ab429334f4
3 changed files with 6 additions and 6 deletions

View File

@ -56,9 +56,9 @@ public:
void NewFrame()
{
listPolys->SetItemCount(viewer3d_state.polylist.count);
labelFrameCounter->SetLabel(wxString::Format("%s: %d",_("Frame"),viewer3d_state.frameNumber));
labelUserPolycount->SetLabel(wxString::Format("%s: %d",_("User Polys"),viewer3d_state.polylist.count));
labelFinalPolycount->SetLabel(wxString::Format("%s: %d",_("Final Polys"),viewer3d_state.polylist.count));
labelFrameCounter->SetLabel(wxString::Format(wxT("Frame: %d"),viewer3d_state.frameNumber));
labelUserPolycount->SetLabel(wxString::Format(wxT("User Polys: %d"),viewer3d_state.polylist.count));
labelFinalPolycount->SetLabel(wxString::Format(wxT("Final Polys: %d"),viewer3d_state.polylist.count));
//tree->DeleteAllItems();
//tree->Freeze();
//wxTreeItemId root = tree->AddRoot("");
@ -71,7 +71,7 @@ public:
virtual wxString OnGetItemText(const wxListCtrl* list, long item, long column) const
{
return "hi";
return wxT("hi");
}
virtual void OnListPolysSelected( wxListEvent& event )

View File

@ -71,7 +71,7 @@ wxdlg3dViewer::wxdlg3dViewer( wxWindow* parent, wxWindowID id, const wxString& c
Init();
Create(parent, id, caption, pos, size, style);
listPolys->callbacks = this;
listPolys->InsertColumn(0,"polys");
listPolys->InsertColumn(0,wxT("polys"));
}

View File

@ -96,7 +96,7 @@ public:
void CreateControls();
virtual wxString OnGetItemText(const wxListCtrl* list, long item, long column) const {
return "";
return wxT("");
}
virtual void RepaintPanel() {}
virtual void _OnPaintPanel( wxPaintEvent& event ) {};