Calling a Refresh() before the window is created no longer

gives an assert. Nothing will happen.
  Added wxTreeCtrl::InsertItem( paret, before, ... ),
  Correct some places with incorrectly indented code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-12-28 13:08:04 +00:00
parent 9b6b575004
commit f2593d0dda
18 changed files with 350 additions and 306 deletions

View File

@@ -218,15 +218,15 @@ void wxBitmapButton::SetBitmap()
else
{
if (m_isSelected)
{
the_one = m_selected;
}
{
the_one = m_selected;
}
else
{
{
if (m_hasFocus)
the_one = m_focus;
the_one = m_focus;
else
the_one = m_bitmap;
the_one = m_bitmap;
}
}