]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/radiobox.cpp
gah. escape $ in the here block.
[wxWidgets.git] / samples / widgets / radiobox.cpp
index 90cb6bb5fa0cb6a813c378cebe9e2295ea88e5ab..962529b808ddd083ac0b4d14db25892b5c3cd0f8 100644 (file)
@@ -288,7 +288,7 @@ void RadioWidgetsPage::CreateRadio()
     {
         sel = m_radio->GetSelection();
 
-        m_sizerRadio->Remove(m_radio);
+        m_sizerRadio->Detach( m_radio );
 
         delete m_radio;
     }