Skip to content

Commit

Permalink
Windows: pragma link with user32.lib if we are using native clipboard…
Browse files Browse the repository at this point in the history
… function (unless IMGUI_DISABLE_WIN32_DEFAULT_CLIPBOARD_FUNCS) #238
  • Loading branch information
ocornut committed May 31, 2015
1 parent b148f70 commit 8738147
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions imgui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 8738147

Please sign in to comment.