]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/statbar/statbar.cpp
Corrected dangerous cast.
[wxWidgets.git] / samples / statbar / statbar.cpp
index 436c6dd44ec69bba7a3e1232b0662af0406e2f60..2b9924d343edfc62d913e9bcb294c138d33db803 100644 (file)
@@ -413,7 +413,7 @@ void MyFrame::OnSetStatusFields(wxCommandEvent& WXUNUSED(event))
 
 void MyFrame::OnUpdateStatusBarToggle(wxUpdateUIEvent& event)
 {
-       event.Check(GetStatusBar() != 0);
+    event.Check(GetStatusBar() != 0);
 }
 
 void MyFrame::OnStatusBarToggle(wxCommandEvent& WXUNUSED(event))