mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-05 05:42:18 +00:00
Merge branch 'master' into experimental
This commit is contained in:
commit
87bc46abf6
2 changed files with 7 additions and 3 deletions
|
@ -12,9 +12,9 @@
|
||||||
void cocoaMessageBox(const std::string &title, const std::string &msg)
|
void cocoaMessageBox(const std::string &title, const std::string &msg)
|
||||||
{
|
{
|
||||||
@autoreleasepool {
|
@autoreleasepool {
|
||||||
NSString *nstitle = [NSString stringWithUTF8String:title.c_str()];
|
NSString *nstitle = @(title.c_str());
|
||||||
NSString *nsmsg = [NSString stringWithUTF8String:msg.c_str()];
|
NSString *nsmsg = @(msg.c_str());
|
||||||
NSRunAlertPanel(nstitle, nsmsg, nil, nil, nil);
|
NSRunAlertPanel(nstitle, @"%@", nil, nil, nil, nsmsg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -63,6 +63,10 @@ Core *core = 0;
|
||||||
HICON icon_windows = 0;
|
HICON icon_windows = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef KMOD_GUI
|
||||||
|
#define KMOD_GUI KMOD_META
|
||||||
|
#endif
|
||||||
|
|
||||||
void Core::initIcon()
|
void Core::initIcon()
|
||||||
{
|
{
|
||||||
#ifdef BBGE_BUILD_WINDOWS
|
#ifdef BBGE_BUILD_WINDOWS
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue