Chnages to focus code with debug code
added wxSL_LABELS git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -101,12 +101,15 @@ bool wxSlider::Create(wxWindow *parent, wxWindowID id,
 | 
			
		||||
 | 
			
		||||
    m_oldPos = 0.0;
 | 
			
		||||
 | 
			
		||||
    if (style & wxSL_VERTICAL == wxSL_VERTICAL)
 | 
			
		||||
    if (style & wxSL_VERTICAL)
 | 
			
		||||
        m_widget = gtk_hscale_new( (GtkAdjustment *) NULL );
 | 
			
		||||
    else
 | 
			
		||||
        m_widget = gtk_vscale_new( (GtkAdjustment *) NULL );
 | 
			
		||||
    
 | 
			
		||||
    gtk_scale_set_draw_value( GTK_SCALE( m_widget ), FALSE );
 | 
			
		||||
    if (style & wxSL_LABELS)
 | 
			
		||||
        gtk_scale_set_draw_value( GTK_SCALE( m_widget ), TRUE );
 | 
			
		||||
    else
 | 
			
		||||
        gtk_scale_set_draw_value( GTK_SCALE( m_widget ), FALSE );
 | 
			
		||||
  
 | 
			
		||||
    m_adjust = gtk_range_get_adjustment( GTK_RANGE(m_widget) );
 | 
			
		||||
  
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user