]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/frame.cpp
Fixed DDE memory leaks.
[wxWidgets.git] / src / mac / carbon / frame.cpp
index e3824f30bba9cabc8f7f96a432eca64eb7bd7d3f..b56f24712bdeedad834b5613ae5e68793b9aa169 100644 (file)
@@ -40,12 +40,6 @@ END_EVENT_TABLE()
 IMPLEMENT_DYNAMIC_CLASS(wxFrame, wxTopLevelWindow)
 #endif
 
-#if wxUSE_NATIVE_STATUSBAR
-bool wxFrame::m_useNativeStatusBar = TRUE;
-#else
-bool wxFrame::m_useNativeStatusBar = FALSE;
-#endif
-
 #define WX_MAC_STATUSBAR_HEIGHT 15 
 // ----------------------------------------------------------------------------
 // creation/destruction
@@ -107,10 +101,10 @@ bool wxFrame::Create(wxWindow *parent,
         return FALSE;
     
     MacCreateRealWindow( title, pos , size , MacRemoveBordersFromStyle(style) , name ) ;
-    
+
     m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ;
     SetThemeWindowBackground( (WindowRef) m_macWindow , m_macWindowBackgroundTheme , false ) ;
-    
+
     wxModelessWindows.Append(this);
     
     return TRUE;
@@ -119,7 +113,6 @@ bool wxFrame::Create(wxWindow *parent,
 wxFrame::~wxFrame()
 {
     m_isBeingDeleted = TRUE;
-    
     DeleteAllBars();
 }