Remove wxLogWindow::OnFrameCreate() virtual method.
This method couldn't be overridden by the classes deriving from wxLogWindow because it was called (indirectly) from wxLogWindow ctor itself and so was completely useless. Just remove it to avoid confusion. Closes #12763. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -529,8 +529,6 @@ wxLogFrame::wxLogFrame(wxWindow *pParent, wxLogWindow *log, const wxString& szTi
|
||||
// status bar for menu prompts
|
||||
CreateStatusBar();
|
||||
#endif // wxUSE_STATUSBAR
|
||||
|
||||
m_log->OnFrameCreate(this);
|
||||
}
|
||||
|
||||
void wxLogFrame::DoClose()
|
||||
@@ -644,10 +642,6 @@ wxFrame *wxLogWindow::GetFrame() const
|
||||
return m_pLogFrame;
|
||||
}
|
||||
|
||||
void wxLogWindow::OnFrameCreate(wxFrame * WXUNUSED(frame))
|
||||
{
|
||||
}
|
||||
|
||||
bool wxLogWindow::OnFrameClose(wxFrame * WXUNUSED(frame))
|
||||
{
|
||||
// allow to close
|
||||
|
||||
Reference in New Issue
Block a user