X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/67a9999283b942053259fa418fe994eab8dd0b3b..a4c46c19c20ca7717c8c30c4c5b706a31faf42c4:/samples/richedit/wxLayout.cpp diff --git a/samples/richedit/wxLayout.cpp b/samples/richedit/wxLayout.cpp index 034eefb85b..e6a46a1ea3 100644 --- a/samples/richedit/wxLayout.cpp +++ b/samples/richedit/wxLayout.cpp @@ -78,7 +78,7 @@ MyFrame::MyFrame() : { #if wxUSE_STATUSBAR CreateStatusBar( 2 ); - SetStatusText( _T("wxLayout by Karsten Ballüder.") ); + SetStatusText( _T("wxLayout by Karsten Ballueder.") ); #endif // wxUSE_STATUSBAR wxMenuBar *menu_bar = new wxMenuBar(); @@ -183,14 +183,7 @@ void MyFrame::AddSampleText(wxLayoutList *llist) llist->LineBreak(); llist->Insert(_T("Hello ")); - wxBitmap *icon = -#if wxICON_IS_BITMAP - new wxIcon(Micon_xpm) -#else - new wxBitmap (wxIcon(Micon_xpm)) -#endif - - ; + wxBitmap *icon = new wxBitmap (wxIcon(Micon_xpm)); llist->Insert(new wxLayoutObjectIcon(icon)); llist->SetFontWeight(wxBOLD);