]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/statbmp.cpp
Remove hard TABs from 3rd party files in src directory.
[wxWidgets.git] / samples / widgets / statbmp.cpp
index 5305c650486a1b810639e3a3966444ee20355f97..69c67bfe89a99114a2a81272de561d5126976f33 100644 (file)
@@ -115,8 +115,7 @@ void StatBmpWidgetsPage::CreateContent()
 
 void StatBmpWidgetsPage::RecreateWidget()
 {
-    delete m_statbmp;
-    m_statbmp = NULL;
+    wxDELETE(m_statbmp);
 
     wxString filepath = m_filepicker->GetPath();
     if ( filepath.empty() )