Changeset 171 for trunk


Ignore:
Timestamp:
10/04/2008 06:49:31 AM (4 years ago)
Author:
guyru
Message:

fix the "Conditional jump or move depends on uninitialised value(s)" error that occurred in wxDynamicBitmap::SetGrayScale?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wxDynamicBitmap.cpp

    r141 r171  
    3333        Connect(id, wxEVT_PAINT, wxPaintEventHandler(wxDynamicBitmap::OnPaint)); 
    3434        Connect(id, wxEVT_LEFT_UP,wxMouseEventHandler(wxDynamicBitmap::OnClick)); 
     35        m_grayscale=false; 
    3536        SetBitmap( bitmap); 
    36         m_grayscale=false; 
    3737         
    3838} 
Note: See TracChangeset for help on using the changeset viewer.