moved text creation after tbar creation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -380,7 +380,6 @@ MyFrame::MyFrame(wxFrame* parent,
|
|||||||
: wxFrame(parent, id, title, pos, size, style)
|
: wxFrame(parent, id, title, pos, size, style)
|
||||||
{
|
{
|
||||||
m_tbar = NULL;
|
m_tbar = NULL;
|
||||||
m_textWindow = new wxTextCtrl(this, -1, _T(""), wxPoint(0, 0), wxSize(-1, -1), wxTE_MULTILINE);
|
|
||||||
|
|
||||||
m_smallToolbar = TRUE;
|
m_smallToolbar = TRUE;
|
||||||
m_horzToolbar = TRUE;
|
m_horzToolbar = TRUE;
|
||||||
@@ -458,6 +457,8 @@ MyFrame::MyFrame(wxFrame* parent,
|
|||||||
|
|
||||||
// Create the toolbar
|
// Create the toolbar
|
||||||
RecreateToolbar();
|
RecreateToolbar();
|
||||||
|
|
||||||
|
m_textWindow = new wxTextCtrl(this, -1, _T(""), wxPoint(0, 0), wxSize(-1, -1), wxTE_MULTILINE);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if USE_GENERIC_TBAR
|
#if USE_GENERIC_TBAR
|
||||||
|
Reference in New Issue
Block a user