ui/win32/toolkit.c

changeset 1146
35e098a663a7
parent 1075
be89ffebd4f3
equal deleted inserted replaced
1145:57cc5fc047f3 1146:35e098a663a7
46 #include <commctrl.h> 46 #include <commctrl.h>
47 47
48 static const char *application_name; 48 static const char *application_name;
49 49
50 static HFONT ui_font = NULL; 50 static HFONT ui_font = NULL;
51
52 // NOOP on most platforms, expect macos
53 UIEXPORT void ui_set_main_thread_error_msg(const char *msg) {}
51 54
52 void ui_init(const char *appname, int argc, char **argv) { 55 void ui_init(const char *appname, int argc, char **argv) {
53 application_name = appname ? strdup(appname) : NULL; 56 application_name = appname ? strdup(appname) : NULL;
54 57
55 uic_init_global_context(); 58 uic_init_global_context();

mercurial