removed unused OnSetFocus()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2002-04-22 15:44:36 +00:00
parent efbcd6fb83
commit 73847506eb
4 changed files with 0 additions and 44 deletions

View File

@ -101,9 +101,6 @@ protected:
// common part of all ctors
void Init();
// focus event handler
void OnSetFocus(wxFocusEvent& event);
// override wxWindow methods to take into account tool/menu/statusbars
virtual void DoSetSize(int x, int y,
int width, int height,
@ -114,8 +111,6 @@ protected:
// is the frame currently iconized?
bool m_isIconized;
DECLARE_EVENT_TABLE()
};
#endif // __GTKTOPLEVELH__

View File

@ -101,9 +101,6 @@ protected:
// common part of all ctors
void Init();
// focus event handler
void OnSetFocus(wxFocusEvent& event);
// override wxWindow methods to take into account tool/menu/statusbars
virtual void DoSetSize(int x, int y,
int width, int height,
@ -114,8 +111,6 @@ protected:
// is the frame currently iconized?
bool m_isIconized;
DECLARE_EVENT_TABLE()
};
#endif // __GTKTOPLEVELH__

View File

@ -248,10 +248,6 @@ static void gtk_window_draw_callback( GtkWidget *widget, GdkRectangle *rect, wxW
// wxTopLevelWindowGTK itself
// ----------------------------------------------------------------------------
BEGIN_EVENT_TABLE(wxTopLevelWindowGTK, wxTopLevelWindowBase)
EVT_SET_FOCUS(wxTopLevelWindowGTK::OnSetFocus)
END_EVENT_TABLE()
//-----------------------------------------------------------------------------
// InsertChild for wxTopLevelWindowGTK
//-----------------------------------------------------------------------------
@ -775,19 +771,6 @@ void wxTopLevelWindowGTK::OnInternalIdle()
wxWindow::OnInternalIdle();
}
void wxTopLevelWindowGTK::OnSetFocus(wxFocusEvent& event)
{
#if 0
if ( !g_delayedFocus || wxGetTopLevelParent(g_delayedFocus) != this )
{
// let the base class version set the focus to the first child which
// accepts it
event.Skip();
}
//else: the focus will be really set from OnInternalIdle() later
#endif
}
// ----------------------------------------------------------------------------
// frame title/icon
// ----------------------------------------------------------------------------

View File

@ -248,10 +248,6 @@ static void gtk_window_draw_callback( GtkWidget *widget, GdkRectangle *rect, wxW
// wxTopLevelWindowGTK itself
// ----------------------------------------------------------------------------
BEGIN_EVENT_TABLE(wxTopLevelWindowGTK, wxTopLevelWindowBase)
EVT_SET_FOCUS(wxTopLevelWindowGTK::OnSetFocus)
END_EVENT_TABLE()
//-----------------------------------------------------------------------------
// InsertChild for wxTopLevelWindowGTK
//-----------------------------------------------------------------------------
@ -775,19 +771,6 @@ void wxTopLevelWindowGTK::OnInternalIdle()
wxWindow::OnInternalIdle();
}
void wxTopLevelWindowGTK::OnSetFocus(wxFocusEvent& event)
{
#if 0
if ( !g_delayedFocus || wxGetTopLevelParent(g_delayedFocus) != this )
{
// let the base class version set the focus to the first child which
// accepts it
event.Skip();
}
//else: the focus will be really set from OnInternalIdle() later
#endif
}
// ----------------------------------------------------------------------------
// frame title/icon
// ----------------------------------------------------------------------------