Apparently wxImage::HasAlpha and wxMenuBase::AppendSeparator are

not present (anymore?) in the wx2.6 .so, but gcc wants to use the
exported functions instead of inlining them. Comment them out for now.

Change-Id: I1b2385c48c77e23f9885f79092f69795a41afd8f
This commit is contained in:
Marco Nelissen
2010-10-06 13:20:12 -07:00
parent 7da3f9f51e
commit fe524684fb
2 changed files with 3 additions and 3 deletions

View File

@@ -172,7 +172,7 @@ void DeviceWindow::OnUserEvent(UserEvent& event)
if (fileNameExists && *onionSkinFileName) {
wxImage onionSkinImage(wxString::FromAscii(onionSkinFileName));
onionSkinImage.SetAlpha(NULL);
bool hasAlpha = onionSkinImage.HasAlpha();
bool hasAlpha = false; // onionSkinImage.HasAlpha();
int width = onionSkinImage.GetWidth();
int height = onionSkinImage.GetHeight();
if (hasAlpha) {