git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@933
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxMenuBar *menu_bar = new wxMenuBar();
menu_bar->Append(file_menu, "File" );
+
+#ifndef __WXMSW__
menu_bar->Show( TRUE );
+#endif // MSW
SetMenuBar( menu_bar );
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! ");
{
// ugly hack to get number of pages
#ifdef __WXMSW__
- wxPrinterDC psdc(WXLLIST_TEMPFILE,false);
+ wxPrinterDC psdc("", "", WXLLIST_TEMPFILE,false);
#else
wxPostScriptDC psdc(WXLLIST_TEMPFILE,false);
#endif
# endif // USE_PCH
# include "gui/wxlwindow.h"
#else
+# ifdef __WXMSW__
+# include <windows.h>
+
+# undef FindWindow
+# undef GetCharWidth
+# undef StartDoc
+# endif
+
# include "wxlwindow.h"
# define TRACEMESSAGE(x)
#endif