ui/win32/toolkit.c

changeset 1148
6ebe1b98f53b
parent 1146
35e098a663a7
equal deleted inserted replaced
1147:30476eaff3ba 1148:6ebe1b98f53b
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