CMFCVisualManager::SetDefaultManager(RUNTIME_CLASS(CMFCVisualManagerWindows));\r
CMFCButton::EnableWindowsTheming();\r
\r
- \r
+ Gdiplus::GdiplusStartupInput gdiplusStartupInput;\r
+ Gdiplus::GdiplusStartup(&m_gdiplusToken,&gdiplusStartupInput,NULL);\r
+\r
if(!CheckMsysGitDir())\r
{\r
if(CMessageBox::Show(NULL,_T("MSysGit(http://code.google.com/p/msysgit) have not installed Correctly\n\\r
\r
int CTortoiseProcApp::ExitInstance()\r
{\r
+ Gdiplus::GdiplusShutdown(m_gdiplusToken);\r
+\r
CWinAppEx::ExitInstance();\r
if (retSuccess)\r
return 0;\r
#include <afxcontrolbars.h> // MFC support for ribbons and control bars\r
\r
#include <atlbase.h>\r
+#include <gdiplus.h>\r
\r
#ifndef LVS_EX_DOUBLEBUFFER\r
#define LVS_EX_DOUBLEBUFFER 0x00010000\r