Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -179,7 +179,7 @@ void wxFontRefData::Init(int pointSize,
 | 
				
			|||||||
    m_underlined = underlined;
 | 
					    m_underlined = underlined;
 | 
				
			||||||
    m_encoding = encoding;
 | 
					    m_encoding = encoding;
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    
 | 
					#ifdef __WXGTK20__    
 | 
				
			||||||
    // Create native font info
 | 
					    // Create native font info
 | 
				
			||||||
    m_nativeFontInfo.description = pango_font_description_new();
 | 
					    m_nativeFontInfo.description = pango_font_description_new();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -199,6 +199,7 @@ void wxFontRefData::Init(int pointSize,
 | 
				
			|||||||
    SetStyle( m_style );
 | 
					    SetStyle( m_style );
 | 
				
			||||||
    SetPointSize( m_pointSize );
 | 
					    SetPointSize( m_pointSize );
 | 
				
			||||||
    SetWeight( m_weight );
 | 
					    SetWeight( m_weight );
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
wxFontRefData::wxFontRefData( const wxFontRefData& data )
 | 
					wxFontRefData::wxFontRefData( const wxFontRefData& data )
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -179,7 +179,7 @@ void wxFontRefData::Init(int pointSize,
 | 
				
			|||||||
    m_underlined = underlined;
 | 
					    m_underlined = underlined;
 | 
				
			||||||
    m_encoding = encoding;
 | 
					    m_encoding = encoding;
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    
 | 
					#ifdef __WXGTK20__    
 | 
				
			||||||
    // Create native font info
 | 
					    // Create native font info
 | 
				
			||||||
    m_nativeFontInfo.description = pango_font_description_new();
 | 
					    m_nativeFontInfo.description = pango_font_description_new();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -199,6 +199,7 @@ void wxFontRefData::Init(int pointSize,
 | 
				
			|||||||
    SetStyle( m_style );
 | 
					    SetStyle( m_style );
 | 
				
			||||||
    SetPointSize( m_pointSize );
 | 
					    SetPointSize( m_pointSize );
 | 
				
			||||||
    SetWeight( m_weight );
 | 
					    SetWeight( m_weight );
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
wxFontRefData::wxFontRefData( const wxFontRefData& data )
 | 
					wxFontRefData::wxFontRefData( const wxFontRefData& data )
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user