From b261fbf3dc56561472ff78925d5fe0b48efadceb Mon Sep 17 00:00:00 2001 From: Gilles Depeyrot Date: Wed, 4 Sep 2002 11:14:55 +0000 Subject: [PATCH] SetBackground with a bitmap is only implemented in wxUniversal git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/mobile/styles/styles.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/samples/mobile/styles/styles.cpp b/samples/mobile/styles/styles.cpp index cf72c73786..3c7de87fbc 100644 --- a/samples/mobile/styles/styles.cpp +++ b/samples/mobile/styles/styles.cpp @@ -44,7 +44,9 @@ MyFrame::MyFrame( wxWindow *parent, wxWindowID id, const wxString &title, image.LoadFile( "marble.jpg", wxBITMAP_TYPE_JPEG ); wxBitmap bitmap( image ); +#ifdef __WXUNIVERSAL__ SetBackground( bitmap, 0, wxTILE ); +#endif new wxStaticText( this, -1, "This is text", wxPoint( 20,50 ) ); -- 2.47.2