]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/gppanel/00001-fix-build.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / gppanel / 00001-fix-build.patch
1 diff --git a/gpPanel/gpPanel.cpp b/gpPanel/gpPanel.cpp
2 index 7af20b5..908523c 100644
3 --- a/gpPanel/gpPanel.cpp
4 +++ b/gpPanel/gpPanel.cpp
5 @@ -720,8 +720,8 @@ void gpPanel::OnMenuItemPrintPreview(wxCommandEvent& event)
6 gpLayer_s *gp = GetLayerByMenuId(event.GetId() );
7 if(gp==NULL)return;
8
9 - mpPrintout *plotPrint = new mpPrintout(gp->m_plot, gp->layer->GetName());
10 - mpPrintout *plotPrintPreview = new mpPrintout(gp->m_plot, gp->layer->GetName());
11 + mpPrintout *plotPrint = new mpPrintout(gp->m_plot, gp->layer->GetName().c_str());
12 + mpPrintout *plotPrintPreview = new mpPrintout(gp->m_plot, gp->layer->GetName().c_str());
13
14 wxPrintPreview *preview = new wxPrintPreview(plotPrintPreview, plotPrint);
15
16 @@ -765,7 +765,7 @@ void gpPanel::OnMenuItemSaveScreenshot(wxCommandEvent& event)
17 if(index!=-1)
18 {
19 wxString reso = aChoices.Item(index);
20 - if( reso.CompareTo(_("custom")) == 0 ){
21 + if( reso.CompareTo(_("custom").c_str()) == 0 ){
22 reso = wxGetTextFromUser(_("Write image resolution (format: [width]x[height]"), _("Custom resolution for image"), _("640x480"), this);
23 }
24 if(reso.Find('x') != -1)