]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/srchctlg.cpp
remove old libpng 1.2.7
[wxWidgets.git] / src / generic / srchctlg.cpp
index fc5adf6dee80f9b7cc0232ce6e0a88ab4c51a85c..b12fe8e6ae326aa2dd8a3afcdd7b0b0ab29180a1 100644 (file)
@@ -342,8 +342,6 @@ bool wxSearchCtrl::Create(wxWindow *parent, wxWindowID id,
     m_text = new wxSearchTextCtrl(this, value, style & ~wxBORDER_MASK);
     m_text->SetDescriptiveText(_("Search"));
 
-    wxSize sizeText = m_text->GetBestSize();
-
     m_searchButton = new wxSearchButton(this,
                                         wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN,
                                         m_searchBitmap);