]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/textctrl.cpp
removed files with empty stubs
[wxWidgets.git] / samples / widgets / textctrl.cpp
index 9fc4ead7ebfe0f72dc0befeaa6fcac94c05a8763..6c52e648257e1e81839cb860565b47ac6cbfebad 100644 (file)
@@ -29,6 +29,7 @@
     #include "wx/log.h"
     #include "wx/timer.h"
 
+    #include "wx/bitmap.h"
     #include "wx/button.h"
     #include "wx/checkbox.h"
     #include "wx/radiobox.h"
@@ -542,7 +543,7 @@ void TextWidgetsPage::CreateText()
     {
         valueOld = m_text->GetValue();
 
-        m_sizerText->Remove(m_text);
+        m_sizerText->Detach( m_text );
         delete m_text;
     }
     else