]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/filectrl.cpp
Remove code that has no effect
[wxWidgets.git] / src / gtk / filectrl.cpp
index 70cd51acbd58329ac439cd9f292f3c1b21e55ff9..7eaf55511731393e938f559e86e81e9fee725acb 100644 (file)
@@ -285,6 +285,12 @@ extern "C"
 
 IMPLEMENT_DYNAMIC_CLASS( wxGtkFileCtrl, wxControl )
 
+wxGtkFileCtrl::~wxGtkFileCtrl()
+{
+    if (m_fcWidget)
+        GTKDisconnect(m_fcWidget);
+}
+
 void wxGtkFileCtrl::Init()
 {
     m_checkNextSelEvent = false;