]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/framecmn.cpp
wxComboCtrlBase: Fix SEGV due to double deletion where SetPopupControl is called...
[wxWidgets.git] / src / common / framecmn.cpp
index 8532a749299e02b4ff9688152e193305d3161f91..6581648df7b70a960dc70a6920f4bdf4e4f48382 100644 (file)
     #include "wx/menuitem.h"
     #include "wx/dcclient.h"
     #include "wx/toolbar.h"
-#endif // WX_PRECOMP
-
-#if wxUSE_STATUSBAR
     #include "wx/statusbr.h"
-#endif
+#endif // WX_PRECOMP
 
 // ----------------------------------------------------------------------------
 // event table
@@ -461,7 +458,7 @@ wxToolBar* wxFrameBase::CreateToolBar(long style,
                                       wxWindowID id,
                                       const wxString& name)
 {
-    // the main toolbar can't be recreated (unless it was explicitly deeleted
+    // the main toolbar can't be recreated (unless it was explicitly deleted
     // before)
     wxCHECK_MSG( !m_frameToolBar, (wxToolBar *)NULL,
                  wxT("recreating toolbar in wxFrame") );