]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/frame.cpp
build fixes and cleanup
[wxWidgets.git] / src / os2 / frame.cpp
index 98dbc1ba94061782d4653aeac5c66f5cdab4bac2..57db7ded2886b1dddc2f078598e5119812336fdb 100644 (file)
@@ -499,7 +499,7 @@ bool wxFrame::ShowFullScreen( bool bShow, long lStyle )
         if ((lStyle & wxFULLSCREEN_NOSTATUSBAR) && pTheStatusBar)
         {
             m_nFsStatusBarFields = pTheStatusBar->GetFieldsCount();
-            SetStatusBar((wxStatusBar*) NULL);
+            SetStatusBar(NULL);
             delete pTheStatusBar;
         }
         else