mirror of
https://github.com/ocornut/imgui.git
synced 2024-11-25 00:00:40 +01:00
Windows: pragma link with user32.lib if we are using native clipboard function (unless IMGUI_DISABLE_WIN32_DEFAULT_CLIPBOARD_FUNCS) #238
This commit is contained in:
parent
b148f70f83
commit
8738147aee
@ -10043,6 +10043,7 @@ void ImFont::RenderText(float size, ImVec2 pos, ImU32 col, const ImVec4& clip_re
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#endif
|
||||
#pragma comment(lib, "user32")
|
||||
|
||||
// Win32 API clipboard implementation
|
||||
static const char* GetClipboardTextFn_DefaultImpl()
|
||||
|
Loading…
Reference in New Issue
Block a user