]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/radiobox.cpp
added Bulgarian translations
[wxWidgets.git] / samples / widgets / radiobox.cpp
index 90cb6bb5fa0cb6a813c378cebe9e2295ea88e5ab..ef45264175c200f32df9947a0d382d108fd31250 100644 (file)
@@ -28,6 +28,7 @@
 #ifndef WX_PRECOMP
     #include "wx/log.h"
 
+    #include "wx/bitmap.h"
     #include "wx/button.h"
     #include "wx/checkbox.h"
     #include "wx/radiobox.h"
@@ -288,7 +289,7 @@ void RadioWidgetsPage::CreateRadio()
     {
         sel = m_radio->GetSelection();
 
-        m_sizerRadio->Remove(m_radio);
+        m_sizerRadio->Detach( m_radio );
 
         delete m_radio;
     }