(very) small changes for Windows compilation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1998-10-28 21:47:16 +00:00
parent 5a43154b56
commit 3ebf240158
3 changed files with 13 additions and 2 deletions

View File

@@ -90,7 +90,10 @@ MyFrame::MyFrame(void) :
wxMenuBar *menu_bar = new wxMenuBar();
menu_bar->Append(file_menu, "File" );
#ifndef __WXMSW__
menu_bar->Show( TRUE );
#endif // MSW
SetMenuBar( menu_bar );
@@ -112,7 +115,7 @@ MyFrame::AddSampleText(wxLayoutList &llist)
llist.Insert("The quick brown fox jumps over the lazy dog.");
llist.LineBreak();
llist.Insert("Hello ");
llist.Insert(new wxLayoutObjectIcon(new wxIcon(Micon_xpm,-1,-1)));
llist.Insert(new wxLayoutObjectIcon(new wxICON(Micon_xpm)));
llist.LineBreak();
llist.SetFontWeight(wxBOLD);
llist.Insert("World! ");