oops winnt path to fonts wrong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -322,7 +322,6 @@ void MyFrame::OnAbout( wxCommandEvent &WXUNUSED(event) )
 | 
				
			|||||||
bool MyApp::OnInit()
 | 
					bool MyApp::OnInit()
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  m_fontpath = getenv("TRUETYPE");
 | 
					  m_fontpath = getenv("TRUETYPE");
 | 
				
			||||||
   m_fontpath = "c:\WINNT\Fonts\times.ttf";
 | 
					 | 
				
			||||||
  if ( !m_fontpath )
 | 
					  if ( !m_fontpath )
 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
      wxLogError("Please set env var TRUETYPE to the path where times.ttf lives.");
 | 
					      wxLogError("Please set env var TRUETYPE to the path where times.ttf lives.");
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user