fixed bug: removed m_windowStyle = style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -86,8 +86,6 @@ wxProgressDialog::wxProgressDialog(wxString const &title,
 | 
				
			|||||||
                                   int style)
 | 
					                                   int style)
 | 
				
			||||||
                : wxDialog(parent, -1, title)
 | 
					                : wxDialog(parent, -1, title)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    m_windowStyle = style;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    bool hasAbortButton = (style & wxPD_CAN_ABORT) != 0;
 | 
					    bool hasAbortButton = (style & wxPD_CAN_ABORT) != 0;
 | 
				
			||||||
    m_state = hasAbortButton ? Continue : Uncancelable;
 | 
					    m_state = hasAbortButton ? Continue : Uncancelable;
 | 
				
			||||||
    m_maximum = maximum;
 | 
					    m_maximum = maximum;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user