Skip to content

[BUG]String and caption are reversed in message boxes in macOS #426

@sdatkinson

Description

@sdatkinson

This fixes it:

EMsgBoxResult _ShowMessageBox(iplug::igraphics::IGraphics* pGraphics, const char* str, const char* caption, EMsgBoxType type) {
#ifdef OS_MAC
  // Apple is backwards?
  return pGraphics->ShowMessageBox(caption, str, type);
#elif defined OS_WIN
  return pGraphics->ShowMessageBox(str, caption, type);
#else
#error NOT IMPLEMENTED
#endif
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:lowLow priority issues

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions