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
- Add wxCheckListBox::GetCheckedItems() (hartwigw).
- Add wxAUI_TB_PLAIN_BACKGROUND wxAuiToolBar style (Allann Jones).
- Make wxGenericDataViewCtrl::SetFont() really work (Laurent Poujoulat).
- Add wxCheckListBox::GetCheckedItems() (hartwigw).
- Add wxAUI_TB_PLAIN_BACKGROUND wxAuiToolBar style (Allann Jones).
- Make wxGenericDataViewCtrl::SetFont() really work (Laurent Poujoulat).
+- Remove wxLogWindow::OnFrameCreate(), it was never called anyhow.
wxFrame *GetFrame() const;
// overridables
wxFrame *GetFrame() const;
// overridables
- // called immediately after the log frame creation allowing for
- // any extra initializations
- virtual void OnFrameCreate(wxFrame *frame);
// called if the user closes the window interactively, will not be
// called if it is destroyed for another reason (such as when program
// exits) - return true from here to allow the frame to close, false
// called if the user closes the window interactively, will not be
// called if it is destroyed for another reason (such as when program
// exits) - return true from here to allow the frame to close, false
*/
virtual bool OnFrameClose(wxFrame* frame);
*/
virtual bool OnFrameClose(wxFrame* frame);
- /**
- Called immediately after the log frame creation allowing for
- any extra initializations.
- */
- virtual void OnFrameCreate(wxFrame* frame);
-
/**
Called right before the log frame is going to be deleted: will
always be called unlike OnFrameClose().
/**
Called right before the log frame is going to be deleted: will
always be called unlike OnFrameClose().
// status bar for menu prompts
CreateStatusBar();
#endif // wxUSE_STATUSBAR
// status bar for menu prompts
CreateStatusBar();
#endif // wxUSE_STATUSBAR
-
- m_log->OnFrameCreate(this);
}
void wxLogFrame::DoClose()
}
void wxLogFrame::DoClose()
-void wxLogWindow::OnFrameCreate(wxFrame * WXUNUSED(frame))
-{
-}
-
bool wxLogWindow::OnFrameClose(wxFrame * WXUNUSED(frame))
{
// allow to close
bool wxLogWindow::OnFrameClose(wxFrame * WXUNUSED(frame))
{
// allow to close