From 2cbd98abc221cab46a54582c37a77f338b44f6b7 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 14 Sep 2006 19:37:19 +0000 Subject: [PATCH] cleanup git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/carbon/frame.h | 7 ------- src/mac/carbon/frame.cpp | 13 ------------- 2 files changed, 20 deletions(-) diff --git a/include/wx/mac/carbon/frame.h b/include/wx/mac/carbon/frame.h index b047c2bdf3..3119b143fe 100644 --- a/include/wx/mac/carbon/frame.h +++ b/include/wx/mac/carbon/frame.h @@ -82,13 +82,6 @@ public: const wxString& name = wxStatusLineNameStr); #endif // wxUSE_STATUSBAR - // tooltip management -#if wxUSE_TOOLTIPS - wxMacToolTip* GetToolTipCtrl() const { return m_hwndToolTip; } - void SetToolTipCtrl(wxMacToolTip *tt) { m_hwndToolTip = tt; } - wxMacToolTip* m_hwndToolTip ; -#endif // tooltips - // called by wxWindow whenever it gets focus void SetLastFocus(wxWindow *win) { m_winLastFocused = win; } wxWindow *GetLastFocus() const { return m_winLastFocused; } diff --git a/src/mac/carbon/frame.cpp b/src/mac/carbon/frame.cpp index 64a2eea64b..b630e653f4 100644 --- a/src/mac/carbon/frame.cpp +++ b/src/mac/carbon/frame.cpp @@ -46,20 +46,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxFrame, wxTopLevelWindow) void wxFrame::Init() { - m_frameMenuBar = NULL; - m_frameStatusBar = NULL; m_winLastFocused = NULL; - -#if wxUSE_TOOLBAR - m_frameToolBar = NULL; -#endif - -#if wxUSE_TOOLTIPS - // NB: is this used anywhere? - m_hwndToolTip = NULL; -#endif - - m_iconized = false; } bool wxFrame::Create(wxWindow *parent, -- 2.45.2