]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/progdlgg.cpp
fix assert failure if NULL size pointer was passed to Request() (as happened in the...
[wxWidgets.git] / src / generic / progdlgg.cpp
index 25a42355ae779be7ce2db4b41e097af304ee5b7a..b3050261fe5c3f2eeb5d0ccb773b58a611be215e 100644 (file)
@@ -148,7 +148,6 @@ wxProgressDialog::wxProgressDialog(const wxString& title,
     m_msg = new wxStaticText(this, wxID_ANY, message);
     sizerTop->Add(m_msg, 0, wxLEFT | wxTOP, 2*LAYOUT_MARGIN);
 
-    wxSize sizeLabel = m_msg->GetSize();
     if ( maximum > 0 )
     {
         int gauge_style = wxGA_HORIZONTAL;