cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -82,13 +82,6 @@ public:
|
|||||||
const wxString& name = wxStatusLineNameStr);
|
const wxString& name = wxStatusLineNameStr);
|
||||||
#endif // wxUSE_STATUSBAR
|
#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
|
// called by wxWindow whenever it gets focus
|
||||||
void SetLastFocus(wxWindow *win) { m_winLastFocused = win; }
|
void SetLastFocus(wxWindow *win) { m_winLastFocused = win; }
|
||||||
wxWindow *GetLastFocus() const { return m_winLastFocused; }
|
wxWindow *GetLastFocus() const { return m_winLastFocused; }
|
||||||
|
@@ -46,20 +46,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxFrame, wxTopLevelWindow)
|
|||||||
|
|
||||||
void wxFrame::Init()
|
void wxFrame::Init()
|
||||||
{
|
{
|
||||||
m_frameMenuBar = NULL;
|
|
||||||
m_frameStatusBar = NULL;
|
|
||||||
m_winLastFocused = 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,
|
bool wxFrame::Create(wxWindow *parent,
|
||||||
|
Reference in New Issue
Block a user