Skip to content

Commit 4a1b78a

Browse files
committed
alcframe: Fix build with wxWidgets 3.2.6 and --enable-compat28
Author: https://github.com/david-geiger Closes amule-project#390
1 parent 212b189 commit 4a1b78a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/utils/aLinkCreator/src/alcframe.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -253,18 +253,18 @@ AlcFrame::AlcFrame (const wxString & title):
253253
m_toolbar->SetToolBitmapSize (wxSize (32, 32));
254254
m_toolbar->SetMargins (2, 2);
255255

256-
m_toolbar->AddTool (ID_BAR_OPEN, _("Open"), m_toolBarBitmaps[0],
256+
m_toolbar->AddTool (ID_BAR_OPEN, _("Open"), wxBitmapBundle(m_toolBarBitmaps[0]),
257257
_("Open a file to compute its eD2k link"));
258258

259-
m_toolbar->AddTool (ID_BAR_COPY, _("Copy"), m_toolBarBitmaps[1],
259+
m_toolbar->AddTool (ID_BAR_COPY, _("Copy"), wxBitmapBundle(m_toolBarBitmaps[1]),
260260
_("Copy computed eD2k link to clipboard"));
261261

262-
m_toolbar->AddTool (ID_BAR_SAVEAS, _("Save as"), m_toolBarBitmaps[2],
262+
m_toolbar->AddTool (ID_BAR_SAVEAS, _("Save as"), wxBitmapBundle(m_toolBarBitmaps[2]),
263263
_("Save computed eD2k link to file"));
264264

265265
m_toolbar->AddSeparator ();
266266

267-
m_toolbar->AddTool (ID_BAR_ABOUT, _("About"), m_toolBarBitmaps[3],
267+
m_toolbar->AddTool (ID_BAR_ABOUT, _("About"), wxBitmapBundle(m_toolBarBitmaps[3]),
268268
_("About aLinkCreator"));
269269

270270
m_toolbar->Realize ();

0 commit comments

Comments
 (0)