Set the m_isFrame flag corrcetly.
Typo. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
9cc7121f68
commit
d786bf877e
@ -1702,7 +1702,7 @@ void wxListMainWindow::OnPaint( wxPaintEvent &WXUNUSED(event) )
|
||||
x += colWidth ;
|
||||
dc.DrawLine(x, firstItemRect.GetY() - 1, x, lastItemRect.GetBottom() + 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -447,6 +447,7 @@ void wxFrame::Init()
|
||||
m_menuBarDetached = FALSE;
|
||||
m_toolBarDetached = FALSE;
|
||||
m_insertInClientArea = TRUE;
|
||||
m_isFrame = TRUE;
|
||||
m_isIconized = FALSE;
|
||||
m_fsIsShowing = FALSE;
|
||||
m_themeEnabled = TRUE;
|
||||
|
@ -297,7 +297,7 @@ wxMDIChildFrame::wxMDIChildFrame()
|
||||
{
|
||||
m_menuBar = (wxMenuBar *) NULL;
|
||||
m_page = (GtkNotebookPage *) NULL;
|
||||
m_isFrame = TRUE;
|
||||
m_isFrame = FALSE;
|
||||
}
|
||||
|
||||
wxMDIChildFrame::wxMDIChildFrame( wxMDIParentFrame *parent,
|
||||
@ -307,7 +307,7 @@ wxMDIChildFrame::wxMDIChildFrame( wxMDIParentFrame *parent,
|
||||
{
|
||||
m_menuBar = (wxMenuBar *) NULL;
|
||||
m_page = (GtkNotebookPage *) NULL;
|
||||
m_isFrame = TRUE;
|
||||
m_isFrame = FALSE;
|
||||
Create( parent, id, title, wxDefaultPosition, size, style, name );
|
||||
}
|
||||
|
||||
|
@ -447,6 +447,7 @@ void wxFrame::Init()
|
||||
m_menuBarDetached = FALSE;
|
||||
m_toolBarDetached = FALSE;
|
||||
m_insertInClientArea = TRUE;
|
||||
m_isFrame = TRUE;
|
||||
m_isIconized = FALSE;
|
||||
m_fsIsShowing = FALSE;
|
||||
m_themeEnabled = TRUE;
|
||||
|
@ -297,7 +297,7 @@ wxMDIChildFrame::wxMDIChildFrame()
|
||||
{
|
||||
m_menuBar = (wxMenuBar *) NULL;
|
||||
m_page = (GtkNotebookPage *) NULL;
|
||||
m_isFrame = TRUE;
|
||||
m_isFrame = FALSE;
|
||||
}
|
||||
|
||||
wxMDIChildFrame::wxMDIChildFrame( wxMDIParentFrame *parent,
|
||||
@ -307,7 +307,7 @@ wxMDIChildFrame::wxMDIChildFrame( wxMDIParentFrame *parent,
|
||||
{
|
||||
m_menuBar = (wxMenuBar *) NULL;
|
||||
m_page = (GtkNotebookPage *) NULL;
|
||||
m_isFrame = TRUE;
|
||||
m_isFrame = FALSE;
|
||||
Create( parent, id, title, wxDefaultPosition, size, style, name );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user